From c8e0f1eceae1697539d8dee4c0de7e896bd53152 Mon Sep 17 00:00:00 2001 From: douzhuo <17611323298@163.com> Date: Tue, 23 Aug 2022 11:10:35 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manifest.json | 4 ++-- pages/mine/reception/addreception.vue | 12 +++++++++--- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/manifest.json b/manifest.json index 16c8fd4..d5bfc1e 100644 --- a/manifest.json +++ b/manifest.json @@ -1,5 +1,5 @@ { - "name" : "去房智控管家", + "name" : "数智工牌", "appid" : "__UNI__7A1611D", "description" : "去房智控管家", "versionName" : "1.1.0", @@ -91,7 +91,7 @@ }, "quickapp" : {}, "mp-weixin" : { - "appid" : "wx8f883dca5ecc5510", + "appid" : "wxe044603515ff2cb5", "setting" : { "urlCheck" : false, "es6" : true, diff --git a/pages/mine/reception/addreception.vue b/pages/mine/reception/addreception.vue index ec3f0e0..a4cf68d 100644 --- a/pages/mine/reception/addreception.vue +++ b/pages/mine/reception/addreception.vue @@ -122,6 +122,8 @@ tap: true, fdFlag: null, isPass: false, // 当前顾问是否正在接待 + fromBack: false, // 从选择顾问页面跳回 + }; }, @@ -135,6 +137,7 @@ onLoad() { uni.$on('addreception', customerId => { let obj = this.freeList.find(item => item.agentId == customerId) + this.fromBack = true this.text = obj.name; this.parames.agentId = customerId; }) @@ -391,9 +394,12 @@ item.label = item.name + "(无设备)"; } item.value = item.agentId - if (this.userInfo.accountId == item.agentId) { - this.text = item.label - this.parames.agentId = item.agentId; + // 从选择顾问页面跳回时需阻断用当前登录人的顾问id选中自身 + if (!this.fromBack) { + if (this.userInfo.accountId == item.agentId) { + this.text = item.label + this.parames.agentId = item.agentId; + } } }) })