This commit is contained in:
shijingjing
2022-09-02 14:47:43 +08:00
parent da6c0dd07d
commit 4e36d686f1
2 changed files with 13 additions and 8 deletions

View File

@@ -60,6 +60,7 @@ export default {
endTime: '',
sex: "0",
userList: [],
userListIds: [],
}
},
methods: {
@@ -82,9 +83,9 @@ export default {
selectedUserIds: this.userList?.map(e => e.id)
}).then((res)=>{
console.log(res);
// if(res?.departmentList) {
// this.departmentId = res.departmentList[0].id
// }
if(res?.userList) {
this.userListIds = res.userList.map(e => e.id)
}
}
).catch((err) => {
console.log(err);