From c58a2ed851d478986fa34f63e5a9a8a50ffa164e Mon Sep 17 00:00:00 2001 From: douzhuo <17611323298@163.com> Date: Tue, 10 May 2022 18:48:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manifest.json | 4 ++-- pages/mine/reception/addreception.vue | 20 ++++++++++---------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/manifest.json b/manifest.json index 8003bb7..1fa64e0 100644 --- a/manifest.json +++ b/manifest.json @@ -1,5 +1,5 @@ { - "name" : "数智工牌", + "name" : "去房智控管家", "appid" : "__UNI__D88F14A", "description" : "AI营销助理", "versionName" : "1.1.0", @@ -91,7 +91,7 @@ }, "quickapp" : {}, "mp-weixin" : { - "appid" : "wxe044603515ff2cb5", + "appid" : "wx8f883dca5ecc5510", "setting" : { "urlCheck" : false, "es6" : true, diff --git a/pages/mine/reception/addreception.vue b/pages/mine/reception/addreception.vue index 01c8802..99f2f62 100644 --- a/pages/mine/reception/addreception.vue +++ b/pages/mine/reception/addreception.vue @@ -115,9 +115,9 @@ Showhid: false, text: null, show: false, - content: '东临碣石,以观沧海', - confirmtext: '1', //确认文字 - canceltext: '2', //取消文字 + content: '', + confirmtext: '', //确认文字 + canceltext: '', //取消文字 daitiReceptionobj: {}, saveisshow: true, isBand: false, // 阻止二次提交 @@ -173,12 +173,7 @@ }, btnSave() { if (this.isBand) return - this.save() - // let that = this - // clearTimeout(this.fdFlag) - // this.fdFlag = setTimeout(() => { - // that.fdFlag = null; - // }, 500) + this.save() }, save() { @@ -224,6 +219,7 @@ that.confirmtext = res.replacement.name + "代接待", //确认文字 that.canceltext = res.owner.name + '接待', //取消文字 that.show = true; + this.isBand = false } else { that.daitiReceptionobj = res; console.log(that.daitiReceptionobj) @@ -232,11 +228,11 @@ that.confirmtext = res.replacement.name + "代接待", //确认文字 that.canceltext = res.assign.name + '接待', //取消文字 that.show = true; + this.isBand = false } } } } - this.isBand = false }).catch(e => { that.show = true; this.isBand = false @@ -262,6 +258,8 @@ title: "保存成功" }) uni.navigateBack() + }).catch(e => { + this.isBand = false }) } else { this.$u.post("/customer/add", this.parames).then(res => { @@ -272,6 +270,8 @@ title: "保存成功" }) uni.navigateBack() + }).catch(e => { + this.isBand = false }) } },