diff --git a/src/project/huizhili/AppCooperationPropaganda/addPropaganda.vue b/src/project/huizhili/AppCooperationPropaganda/addPropaganda.vue index d5b9fd92..3b94d590 100644 --- a/src/project/huizhili/AppCooperationPropaganda/addPropaganda.vue +++ b/src/project/huizhili/AppCooperationPropaganda/addPropaganda.vue @@ -535,12 +535,7 @@ export default { type: ["user"], selectedUserIds: this.form.examines?.map(e => e.id) }).then((res)=>{ - if (res.err_msg == "selectEnterpriseContact:ok") { - if(typeof res.result == 'string') { - res.result = JSON.parse(res.result) - } - this.form.examines = res.userList - } + this.form.examines = res.userList }).catch((err) => { this.$u.toast(err) }) diff --git a/src/project/huizhili/AppCooperationPropaganda/scopedSelect.vue b/src/project/huizhili/AppCooperationPropaganda/scopedSelect.vue index d16ea31b..c2928807 100644 --- a/src/project/huizhili/AppCooperationPropaganda/scopedSelect.vue +++ b/src/project/huizhili/AppCooperationPropaganda/scopedSelect.vue @@ -98,14 +98,7 @@ export default { type: ["department"], selectedDepartmentIds: this.deptListArr?.map(e => e.id) // 已选部门ID列表 }).then((res)=>{ - console.log(res,'企微通讯录'); - if(res.err_msg == "selectEnterpriseContact:ok") { - if(typeof res.result == 'string') { - res.result = JSON.parse(res.result) - } - this.deptListArr = res.departmentList - console.log(this.deptListArr, '111'); - } + this.deptListArr = res.departmentList }).catch((err) => { this.$u.toast(err) })