feat: wpm_gx mlog_form user添加筛选条件
This commit is contained in:
parent
733b43786b
commit
8896a3927c
|
@ -217,6 +217,15 @@ export default {
|
|||
type: String,
|
||||
default: "",
|
||||
},
|
||||
dept: {
|
||||
type: String,
|
||||
default: "",
|
||||
},
|
||||
},
|
||||
computed: {
|
||||
title() {
|
||||
return this.titleMap[this.mode];
|
||||
}
|
||||
},
|
||||
emits: ["success", "closed"],
|
||||
data() {
|
||||
|
@ -283,7 +292,7 @@ export default {
|
|||
methods: {
|
||||
//获取
|
||||
getUser() {
|
||||
this.$API.system.user.list.req().then((res) => {
|
||||
this.$API.system.user.list.req({depts: this.dept}).then((res) => {
|
||||
this.userOptions = res.results;
|
||||
});
|
||||
},
|
||||
|
|
|
@ -124,6 +124,7 @@
|
|||
ref="saveDialog"
|
||||
:process="processId"
|
||||
:mgroup="mgroupId"
|
||||
:dept="deptId"
|
||||
@success="handleSaveSuccess"
|
||||
@closed="dialog.save = false"
|
||||
>
|
||||
|
@ -167,6 +168,7 @@ export default {
|
|||
selection: [],
|
||||
mtask: "",
|
||||
mlogId: "",
|
||||
deptId: null,
|
||||
processId: "",
|
||||
processCate: "",
|
||||
};
|
||||
|
@ -177,6 +179,7 @@ export default {
|
|||
.req({ page: 0, search: that.mgroupName })
|
||||
.then((res) => {
|
||||
that.mgroupId = res[0].id;
|
||||
that.deptId = res[0].belong_dept;
|
||||
that.processId = res[0].process;
|
||||
that.processCate = res[0].process_cate;
|
||||
that.params.mgroup = res[0].id;
|
||||
|
|
Loading…
Reference in New Issue