From f4b01abc0c9a9afb93bb9968cdf8d1de54273f35 Mon Sep 17 00:00:00 2001 From: caoqianming Date: Mon, 14 Apr 2025 22:08:43 +0800 Subject: [PATCH 1/5] =?UTF-8?q?feat:=20=E9=BB=91=E5=8C=96/=E9=80=80?= =?UTF-8?q?=E7=81=AB=E6=97=A5=E5=BF=97=E5=B1=82=E6=95=B0=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/wpm_gx/mlogb_form.vue | 24 ++++-------------------- 1 file changed, 4 insertions(+), 20 deletions(-) diff --git a/src/views/wpm_gx/mlogb_form.vue b/src/views/wpm_gx/mlogb_form.vue index 1678cf6c..3a5dcb4d 100644 --- a/src/views/wpm_gx/mlogb_form.vue +++ b/src/views/wpm_gx/mlogb_form.vue @@ -113,32 +113,16 @@ + + From 007a0b11ed6b8b6351f6223b51ec409d851ea424 Mon Sep 17 00:00:00 2001 From: caoqianming Date: Tue, 15 Apr 2025 10:56:44 +0800 Subject: [PATCH 3/5] =?UTF-8?q?feat:=20=E6=88=90=E5=93=81=E5=BA=93?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=92=A4=E9=94=80=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/inm/good_mio.vue | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/views/inm/good_mio.vue b/src/views/inm/good_mio.vue index 7f80db01..3765830c 100644 --- a/src/views/inm/good_mio.vue +++ b/src/views/inm/good_mio.vue @@ -115,6 +115,15 @@ > 提交 + + 撤销 + Date: Tue, 15 Apr 2025 11:17:18 +0800 Subject: [PATCH 4/5] =?UTF-8?q?feat:=20=E5=85=B6=E4=BB=96=E5=87=BA?= =?UTF-8?q?=E5=85=A5=E5=BA=93=E7=9A=84=E6=92=A4=E9=94=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/inm/mio.vue | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/views/inm/mio.vue b/src/views/inm/mio.vue index 1bbd9266..9f91e8c4 100644 --- a/src/views/inm/mio.vue +++ b/src/views/inm/mio.vue @@ -118,6 +118,17 @@ > 提交 + + 撤销 + Date: Tue, 15 Apr 2025 11:27:43 +0800 Subject: [PATCH 5/5] =?UTF-8?q?fix:=20=E6=B7=BB=E5=8A=A0=E5=87=BA=E5=85=A5?= =?UTF-8?q?=E5=BA=93=E6=92=A4=E9=94=80=E7=9A=84method?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/inm/good_mio.vue | 18 ++++++++++++++++++ src/views/inm/mio.vue | 18 ++++++++++++++++++ 2 files changed, 36 insertions(+) diff --git a/src/views/inm/good_mio.vue b/src/views/inm/good_mio.vue index 3765830c..61c79520 100644 --- a/src/views/inm/good_mio.vue +++ b/src/views/inm/good_mio.vue @@ -243,6 +243,24 @@ export default { }) .catch(() => {}); }, + revert(row) { + this.$confirm(`确定撤销该操作吗?`, "提示", { + type: "warning", + }) + .then(() => { + this.$API.inm.mio.revert + .req(row.id) + .then((res) => { + this.$message.success("撤销成功"); + this.$refs.table.refresh(); + return res; + }) + .catch((err) => { + return err; + }); + }) + .catch(() => {}); + }, table_submit(row) { this.$API.inm.mio.submit.req(row.id).then((res) => { this.$message.success("提交成功"); diff --git a/src/views/inm/mio.vue b/src/views/inm/mio.vue index 9f91e8c4..b48c16e4 100644 --- a/src/views/inm/mio.vue +++ b/src/views/inm/mio.vue @@ -264,6 +264,24 @@ export default { this.$refs.table.refresh(); }); }, + revert(row) { + this.$confirm(`确定撤销该操作吗?`, "提示", { + type: "warning", + }) + .then(() => { + this.$API.inm.mio.revert + .req(row.id) + .then((res) => { + this.$message.success("撤销成功"); + this.$refs.table.refresh(); + return res; + }) + .catch((err) => { + return err; + }); + }) + .catch(() => {}); + }, handleQuery() { this.$refs.table.queryData(this.query); },