找到原因了
This commit is contained in:
@@ -535,12 +535,7 @@ export default {
|
|||||||
type: ["user"],
|
type: ["user"],
|
||||||
selectedUserIds: this.form.examines?.map(e => e.id)
|
selectedUserIds: this.form.examines?.map(e => e.id)
|
||||||
}).then((res)=>{
|
}).then((res)=>{
|
||||||
if (res.err_msg == "selectEnterpriseContact:ok") {
|
this.form.examines = res.userList
|
||||||
if(typeof res.result == 'string') {
|
|
||||||
res.result = JSON.parse(res.result)
|
|
||||||
}
|
|
||||||
this.form.examines = res.userList
|
|
||||||
}
|
|
||||||
}).catch((err) => {
|
}).catch((err) => {
|
||||||
this.$u.toast(err)
|
this.$u.toast(err)
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -98,14 +98,7 @@ export default {
|
|||||||
type: ["department"],
|
type: ["department"],
|
||||||
selectedDepartmentIds: this.deptListArr?.map(e => e.id) // 已选部门ID列表
|
selectedDepartmentIds: this.deptListArr?.map(e => e.id) // 已选部门ID列表
|
||||||
}).then((res)=>{
|
}).then((res)=>{
|
||||||
console.log(res,'企微通讯录');
|
this.deptListArr = res.departmentList
|
||||||
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');
|
|
||||||
}
|
|
||||||
}).catch((err) => {
|
}).catch((err) => {
|
||||||
this.$u.toast(err)
|
this.$u.toast(err)
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user