fix: wpm_gx handoverform getuserlist2 bug
This commit is contained in:
parent
c7bd84f8ab
commit
f2df4ddbb0
|
@ -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;
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
//获取接收部门人员
|
//获取接收部门人员
|
||||||
|
|
Loading…
Reference in New Issue