找到原因了
This commit is contained in:
@@ -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)
|
||||
})
|
||||
|
||||
@@ -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)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user