From 48374a69a3f78605cb68bad7366b61389a148bb5 Mon Sep 17 00:00:00 2001 From: zhangdi <15053473693@163.com> Date: Thu, 5 Feb 2026 15:59:53 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9C=A8=E5=88=B6=E5=93=81=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E9=80=BB=E8=BE=91=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/productionManagement/WIPChange.vue | 2 ++ .../components/taskHandleDialog.vue | 12 +++++++----- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/src/views/productionManagement/WIPChange.vue b/src/views/productionManagement/WIPChange.vue index 448899a..9bee513 100644 --- a/src/views/productionManagement/WIPChange.vue +++ b/src/views/productionManagement/WIPChange.vue @@ -47,6 +47,7 @@ export default { }, data() { return { + loading: false, page: {}, data: [], form: {}, @@ -233,6 +234,7 @@ export default { closeDialog() { this.isHandleShow = false; this.isAssignShow = false; + this.onLoad(this.page, this.query); }, currentChange(currentPage) { this.page.currentPage = currentPage; diff --git a/src/views/productionManagement/components/taskHandleDialog.vue b/src/views/productionManagement/components/taskHandleDialog.vue index 6950197..aee9539 100644 --- a/src/views/productionManagement/components/taskHandleDialog.vue +++ b/src/views/productionManagement/components/taskHandleDialog.vue @@ -35,7 +35,7 @@ @@ -56,6 +56,7 @@ export default { }, data() { return { + loading: false, openShow: false, formData: {}, rules: { @@ -68,15 +69,16 @@ export default { this.openShow = this.showDialog; }, methods: { - closeDialog() { + closeDialog(type) { this.openShow = false; - this.$emit('closeDialog'); + this.$emit('closeDialog',type); }, submit() { this.$refs.form.validate(valid => { if (valid) { + this.loading = true; let query = { - ddtIdList:[this.rowItem.ddtId], //调度任务ID + ddtIdList:[this.rowItem.id], //调度任务ID rsCode: this.formData.rsCode, //审理单号 handleResult: this.formData.handleResult, //处理结果 loginUser: '', //登录用户 @@ -90,7 +92,7 @@ export default { }; taskComplete(query).then(res => { this.$message.success('处理成功'); - this.closeDialog(); + this.closeDialog(true); }); } });