fix: wpm_gx handoverform getuserlist2 bug

This commit is contained in:
caoqianming 2024-08-14 10:47:09 +08:00
parent c7bd84f8ab
commit f2df4ddbb0
1 changed files with 6 additions and 6 deletions

View File

@ -287,7 +287,7 @@ export default {
// //
getMgroupOptions() { getMgroupOptions() {
this.$API.mtm.mgroup.list this.$API.mtm.mgroup.list
.req({ page: 0, type__in: "dept" }) .req({ page: 0})
.then((res) => { .then((res) => {
this.mgroupOptions = res; this.mgroupOptions = res;
}); });
@ -338,12 +338,12 @@ export default {
this.mgroupOptions.forEach(item => { this.mgroupOptions.forEach(item => {
if(item.id==that.form.recive_mgroup){ if(item.id==that.form.recive_mgroup){
deptID = item.belong_dept; deptID = item.belong_dept;
this.$API.system.user.list
.req({ depts: deptID, page: 0 })
.then((res) => {
that.userList2 = res;
});
} }
this.$API.system.user.list
.req({ depts: deptID, page: 0 })
.then((res) => {
that.userList2 = res;
});
}); });
}, },
// //