|
|
@@ -916,6 +916,8 @@ export default {
|
|
|
components: {selectDoctor, Treeselect ,selectUser,AiSipCallUser},
|
|
|
data() {
|
|
|
return {
|
|
|
+ projectFrom:process.env.VUE_APP_PROJECT_FROM,
|
|
|
+
|
|
|
selectedMember: null,
|
|
|
currentCompanyId: null,
|
|
|
bindCidServerLoading:false,
|
|
|
@@ -1755,13 +1757,17 @@ export default {
|
|
|
},
|
|
|
|
|
|
qwSubmitForm() {
|
|
|
+ this.qwForm.id = (this.qwUser).join(',');
|
|
|
+ if (this.projectFrom ==='sxsm' && this.qwUser.length>5){
|
|
|
+ return this.msgError("同一个销售账号最多绑定 5个企微账号!!");
|
|
|
+ }
|
|
|
+
|
|
|
let loadingRock = this.$loading({
|
|
|
- lock: true,
|
|
|
- text: '绑定中.....同步客户信息中.....',
|
|
|
- spinner: 'el-icon-loading',
|
|
|
- background: 'rgba(0, 0, 0, 0.7)'
|
|
|
+ lock: true,
|
|
|
+ text: '绑定中.....同步客户信息中.....',
|
|
|
+ spinner: 'el-icon-loading',
|
|
|
+ background: 'rgba(0, 0, 0, 0.7)'
|
|
|
});
|
|
|
- this.qwForm.id = (this.qwUser).join(',');
|
|
|
bindQwUser(this.qwForm).then(response => {
|
|
|
this.msgSuccess("绑定成功");
|
|
|
this.qwOpen = false;
|