|
@@ -122,6 +122,8 @@ |
|
|
tap: true, |
|
|
tap: true, |
|
|
fdFlag: null, |
|
|
fdFlag: null, |
|
|
isPass: false, // 当前顾问是否正在接待 |
|
|
isPass: false, // 当前顾问是否正在接待 |
|
|
|
|
|
fromBack: false, // 从选择顾问页面跳回 |
|
|
|
|
|
|
|
|
}; |
|
|
}; |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
@@ -135,6 +137,7 @@ |
|
|
onLoad() { |
|
|
onLoad() { |
|
|
uni.$on('addreception', customerId => { |
|
|
uni.$on('addreception', customerId => { |
|
|
let obj = this.freeList.find(item => item.agentId == customerId) |
|
|
let obj = this.freeList.find(item => item.agentId == customerId) |
|
|
|
|
|
this.fromBack = true |
|
|
this.text = obj.name; |
|
|
this.text = obj.name; |
|
|
this.parames.agentId = customerId; |
|
|
this.parames.agentId = customerId; |
|
|
}) |
|
|
}) |
|
@@ -391,9 +394,12 @@ |
|
|
item.label = item.name + "(无设备)"; |
|
|
item.label = item.name + "(无设备)"; |
|
|
} |
|
|
} |
|
|
item.value = item.agentId |
|
|
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; |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|
}) |
|
|
}) |
|
|