From 373fc37648827a78ce030c6180fdf30433d315fc Mon Sep 17 00:00:00 2001 From: shijing Date: Tue, 25 Feb 2025 17:33:04 +0800 Subject: [PATCH] =?UTF-8?q?fix:mtask=E5=87=8F=E5=B0=91=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E8=AF=B7=E6=B1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/wpm_bx/mtask.vue | 35 ++++++++++++++--------------------- 1 file changed, 14 insertions(+), 21 deletions(-) diff --git a/src/views/wpm_bx/mtask.vue b/src/views/wpm_bx/mtask.vue index a00b9406..8e2106c9 100644 --- a/src/views/wpm_bx/mtask.vue +++ b/src/views/wpm_bx/mtask.vue @@ -27,7 +27,7 @@ - + @@ -103,6 +94,14 @@ export default { type: String, default: "", }, + mgroupId:{ + type: String, + default: "", + }, + deptId:{ + type: String, + default: "", + } }, components: { deliverDrawer, @@ -130,14 +129,6 @@ export default { 34: "danger", 40: "success", }, - // state_: { - // 10: "创建中", - // 20: "已下达", - // 30: "生产中", - // 34: "已终止", - // 40: "已提交", - // }, - deptId: null, mgroup_name:'', deliverShow:false, }; @@ -154,7 +145,11 @@ export default { // }, }, mounted() { - this.getMgroupInfo(); + let that = this; + that.params.mgroup = that.mgroupId; + that.apiObj = this.$API.pm.mtask.list; + that.$refs.table.refresh(); + // this.getMgroupInfo(); }, methods: { getMgroupInfo(){ @@ -165,8 +160,6 @@ export default { if(res.length>0){ 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; that.apiObj = this.$API.pm.mtask.list; that.$refs.table.refresh();