diff --git a/src/views/inm/good_mio.vue b/src/views/inm/good_mio.vue
index 7f80db01..61c79520 100644
--- a/src/views/inm/good_mio.vue
+++ b/src/views/inm/good_mio.vue
@@ -115,6 +115,15 @@
>
提交
+
+ 撤销
+
{});
},
+ 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 1bbd9266..b48c16e4 100644
--- a/src/views/inm/mio.vue
+++ b/src/views/inm/mio.vue
@@ -118,6 +118,17 @@
>
提交
+
+ 撤销
+
{
+ 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);
},
diff --git a/src/views/wpm_gx/fmlog_detail.vue b/src/views/wpm_gx/fmlog_detail.vue
index f60d94e6..dd546903 100644
--- a/src/views/wpm_gx/fmlog_detail.vue
+++ b/src/views/wpm_gx/fmlog_detail.vue
@@ -115,6 +115,7 @@
+