From 733b43786b6739fbbea447427741774f4f97b72c Mon Sep 17 00:00:00 2001 From: zty Date: Tue, 30 Jul 2024 14:10:05 +0800 Subject: [PATCH 1/3] =?UTF-8?q?feat:=20mio=20=E5=A2=9E=E5=8A=A0=E5=B7=A5?= =?UTF-8?q?=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/inm/good_mio.vue | 3 +++ src/views/inm/halfgood_mio.vue | 3 +++ src/views/inm/helpso_mio.vue | 3 +++ src/views/inm/mainso_mio.vue | 3 +++ src/views/inm/mio_form.vue | 25 +++++++++++++++++++++++++ src/views/inm/mioitem.vue | 2 +- 6 files changed, 38 insertions(+), 1 deletion(-) diff --git a/src/views/inm/good_mio.vue b/src/views/inm/good_mio.vue index 0035ee0b..b6add9b7 100644 --- a/src/views/inm/good_mio.vue +++ b/src/views/inm/good_mio.vue @@ -84,6 +84,9 @@ + diff --git a/src/views/inm/halfgood_mio.vue b/src/views/inm/halfgood_mio.vue index 15146cdf..6ca9a0ac 100644 --- a/src/views/inm/halfgood_mio.vue +++ b/src/views/inm/halfgood_mio.vue @@ -84,6 +84,9 @@ + diff --git a/src/views/inm/helpso_mio.vue b/src/views/inm/helpso_mio.vue index 82689009..1ca6aaa5 100644 --- a/src/views/inm/helpso_mio.vue +++ b/src/views/inm/helpso_mio.vue @@ -84,6 +84,9 @@ + diff --git a/src/views/inm/mainso_mio.vue b/src/views/inm/mainso_mio.vue index 9f830db3..19fa7ef8 100644 --- a/src/views/inm/mainso_mio.vue +++ b/src/views/inm/mainso_mio.vue @@ -84,6 +84,9 @@ + diff --git a/src/views/inm/mio_form.vue b/src/views/inm/mio_form.vue index 7781bdfc..3159ce77 100644 --- a/src/views/inm/mio_form.vue +++ b/src/views/inm/mio_form.vue @@ -112,6 +112,24 @@ > + + + + + { + this.mgroupOptions = res; + }) + }, getSupplierOptions() { this.$API.pum.supplier.list.req({ page: 0 }).then((res) => { this.supplierOptions = res; diff --git a/src/views/inm/mioitem.vue b/src/views/inm/mioitem.vue index bee8528b..447b4791 100644 --- a/src/views/inm/mioitem.vue +++ b/src/views/inm/mioitem.vue @@ -21,7 +21,7 @@ }} {{ mioObj.belong_dept_name - }} + }}-{{ mioObj.mgroup_name }} {{ mioObj.do_user_name }} From 8896a3927cdab636ee5ef920f37bda5a644d3a7b Mon Sep 17 00:00:00 2001 From: zty Date: Tue, 30 Jul 2024 14:15:11 +0800 Subject: [PATCH 2/3] =?UTF-8?q?feat:=20wpm=5Fgx=20mlog=5Fform=20user?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E7=AD=9B=E9=80=89=E6=9D=A1=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/wpm_gx/mlog_form.vue | 11 ++++++++++- src/views/wpm_gx/mlogs.vue | 3 +++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/src/views/wpm_gx/mlog_form.vue b/src/views/wpm_gx/mlog_form.vue index 33b831b4..c2e6a6ae 100644 --- a/src/views/wpm_gx/mlog_form.vue +++ b/src/views/wpm_gx/mlog_form.vue @@ -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; }); }, diff --git a/src/views/wpm_gx/mlogs.vue b/src/views/wpm_gx/mlogs.vue index a6ef3802..51e8b217 100644 --- a/src/views/wpm_gx/mlogs.vue +++ b/src/views/wpm_gx/mlogs.vue @@ -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; From 8e59bdccce64f8f471487aaa9b9ccf697f54d24e Mon Sep 17 00:00:00 2001 From: zty Date: Tue, 30 Jul 2024 14:31:29 +0800 Subject: [PATCH 3/3] =?UTF-8?q?fix:=20route/utask=20=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E7=AD=9B=E9=80=89=E6=9D=A1=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/mtm/route_form.vue | 2 +- src/views/mtm/route_show.vue | 4 +++- src/views/mtm/routepack_form.vue | 2 +- src/views/pm/utask_form.vue | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/views/mtm/route_form.vue b/src/views/mtm/route_form.vue index da6a75b9..a03122d4 100644 --- a/src/views/mtm/route_form.vue +++ b/src/views/mtm/route_form.vue @@ -149,7 +149,7 @@ - + diff --git a/src/views/mtm/route_show.vue b/src/views/mtm/route_show.vue index e26a44bf..68224777 100644 --- a/src/views/mtm/route_show.vue +++ b/src/views/mtm/route_show.vue @@ -37,6 +37,8 @@ + + @@ -79,7 +81,7 @@ export default { //文件列表加载 getRoute(id) { this.$API.mtm.route.list - .req({ page: 0, material: id }) + .req({ page: 0, routepack: this.form.id }) .then((res) => { this.tableData = res; }); diff --git a/src/views/mtm/routepack_form.vue b/src/views/mtm/routepack_form.vue index ee5ba3ad..1e27cbb9 100644 --- a/src/views/mtm/routepack_form.vue +++ b/src/views/mtm/routepack_form.vue @@ -109,7 +109,7 @@ - + { + that.$API.mtm.routepack.list.req({ page: 0, state: 30 }).then((res) => { for (var i = 0; i < res.length; i++) { res[i].label = res[i].name; if (res[i].id == that.form.routepack) {