From e04145531b14dffad3d1ca3b5a639acca1efc766 Mon Sep 17 00:00:00 2001
From: jyt <1592211625@qq.com>
Date: Thu, 5 May 2022 17:59:42 +0800
Subject: [PATCH] =?UTF-8?q?=E6=8C=89=E9=92=AE=E9=98=B2=E6=8A=96=E9=99=90?=
=?UTF-8?q?=E5=88=B6?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/index/customer.vue | 28 +-
pages/mine/details2.vue | 65 +-
pages/mine/reception/addreception.vue | 940 +++++++++++++-------------
utils/domain.js | 4 +-
4 files changed, 543 insertions(+), 494 deletions(-)
diff --git a/pages/index/customer.vue b/pages/index/customer.vue
index b8267f1..2e94fe6 100644
--- a/pages/index/customer.vue
+++ b/pages/index/customer.vue
@@ -82,6 +82,7 @@
dataCode: '',
addAccount: '',
endReception: true,
+ fdFlag:null
};
},
components: {},
@@ -213,16 +214,23 @@
cancelColor: "#999999",
success: res => {
if (res.confirm) {
- this.$u.post("/customer/endReception", {
- id: id,
- houseId: this.buildingID
- }).then(res => {
- uni.showToast({
- icon: "none",
- title: "操作成功"
- })
- this.init();
- });
+ let that = this
+ clearTimeout(this.fdFlag)
+ this.fdFlag = setTimeout(() => {
+ this.$u.post("/customer/endReception", {
+ id: id,
+ houseId: this.buildingID
+ }).then(res => {
+ uni.showToast({
+ icon: "none",
+ title: "操作成功"
+ })
+ this.init();
+ });
+ that.fdFlag = null;
+ }, 500)
+
+
}
}
})
diff --git a/pages/mine/details2.vue b/pages/mine/details2.vue
index b6ba067..e5dd447 100644
--- a/pages/mine/details2.vue
+++ b/pages/mine/details2.vue
@@ -210,7 +210,7 @@
取消
- 确认
+ 确认
@@ -464,7 +464,7 @@
取消
- 确认
+ 确认
@@ -598,7 +598,11 @@
roleisshaw: false,
roleindexrow: 0,
roletiaoshu: 0,
- infos:null
+ infos:null,
+ fdFlag:null,
+ fdFlag1:null,
+ fdFlag2:null,
+ tap: true,
};
},
computed: {
@@ -937,20 +941,29 @@
content: msg,
success: function(res) {
if (res.confirm) {
- let parames = {
- id: that.customerId,
- validInvalid: '',
- invalidReason: 0
- }
- if (that.userlistobj.validInvalid == 0) {
- parames.validInvalid = 1;
- } else {
- parames.validInvalid = 0;
- }
- that.$u.post("/customer/updateValidInvalid", parames).then(res => {
- console.log(res)
- that.Thetapeidisshow = false;
- })
+
+ clearTimeout(that.fdFlag1)
+ that.fdFlag1 = setTimeout(() => {
+
+ let parames = {
+ id: that.customerId,
+ validInvalid: '',
+ invalidReason: 0
+ }
+ if (that.userlistobj.validInvalid == 0) {
+ parames.validInvalid = 1;
+ } else {
+ parames.validInvalid = 0;
+ }
+ that.$u.post("/customer/updateValidInvalid", parames).then(res => {
+ console.log(res)
+ that.Thetapeidisshow = false;
+ })
+
+ that.fdFlag1 = null;
+ }, 500)
+
+
}
}
});
@@ -958,7 +971,14 @@
this.effective = true;
}
},
-
+ btnEffectiveAdd() {
+ let that = this
+ clearTimeout(this.fdFlag)
+ this.fdFlag = setTimeout(() => {
+ that.effectiveAdd()
+ that.fdFlag = null;
+ }, 500)
+ },
effectiveAdd() {
if (this.effectiveindex == 4) {
if (this.effectiveitext.length == 0) {
@@ -981,6 +1001,7 @@
this.$u.post("/customer/updateValidInvalid", parames).then(res => {
console.log(res)
this.Thetapeidisshow = false;
+ this.tap = false
})
},
radioChange(evt) {
@@ -1045,6 +1066,14 @@
this.roleindexbiaoji = this.dshfkjsdkksodofydwfkhwdfkjh;
this.roleisshaw = false
},
+ btnConfirmthetag() {
+ let that = this
+ clearTimeout(this.fdFlag2)
+ this.fdFlag2 = setTimeout(() => {
+ that.Confirmthetag()
+ that.fdFlag2 = null;
+ }, 500)
+ },
//确认标记
Confirmthetag() {
var num = this.roleindexbiaoji + 1;
diff --git a/pages/mine/reception/addreception.vue b/pages/mine/reception/addreception.vue
index 9cab4ea..4b42a21 100644
--- a/pages/mine/reception/addreception.vue
+++ b/pages/mine/reception/addreception.vue
@@ -1,468 +1,480 @@
-
-
- 客户信息
-
-
-
- 客户姓名
-
-
-
-
-
-
-
-
- 客户性别
-
- 男士
- 女士
-
-
-
-
- 联系电话
-
-
-
-
-
-
- 接待人数
-
-
- {{i + 1}}
-
-
-
-
-
- 客户来源
-
- {{showSourceName}}
- 请选择客户来源
-
-
-
-
-
-
-
- 顾问
-
-
- 接待顾问
-
-
- {{text}}
- 请选择接待顾问
-
-
-
-
-
-
-
- 确定
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/utils/domain.js b/utils/domain.js
index 9905e5c..654cf98 100644
--- a/utils/domain.js
+++ b/utils/domain.js
@@ -4,12 +4,12 @@
// const baseUrl = 'http://192.168.31.89:9090/api';// sh
// const baseUrl = 'http://121.42.63.138:9091/autoSR/api';// 测试站
// const baseUrl = 'http://192.168.31.92:8080/api';// 测试站
-// const baseUrl = 'http://81.70.55.170:9090/autoSR/api';// 测试站
+const baseUrl = 'http://81.70.55.170:9090/autoSR/api';// 测试站
// const baseUrl = 'http://192.168.31.167:8080/autoSR/api'; // 长龙
// const baseUrl = 'http://192.168.31.134:8080/autoSR/api'; // 佳豪
// const baseUrl = 'http://10.2.1.104:8081/autoSR/api'; // 刘敏
// const baseUrl = 'https://zkgj.quhouse.com/api'; // 质控正式
-const baseUrl = 'https://hfju.com/api'; // 数智正式
+// const baseUrl = 'https://hfju.com/api'; // 数智正式
// config使用域名
/**192.168.31.167