瀏覽代碼

提交修改

newyun
douzhuo 1 年之前
父節點
當前提交
c8e0f1ecea
共有 2 個文件被更改,包括 11 次插入5 次删除
  1. +2
    -2
      manifest.json
  2. +9
    -3
      pages/mine/reception/addreception.vue

+ 2
- 2
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,


+ 9
- 3
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;
}
}
})
})


Loading…
取消
儲存