From 57daa1bc19e6ca48dd36a3ed033e6412faf767ed Mon Sep 17 00:00:00 2001 From: shijing Date: Wed, 31 Jan 2024 10:07:25 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=80=E7=81=AB=E6=97=A5=E5=BF=97=E6=92=A4?= =?UTF-8?q?=E5=9B=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/wpm/mlog_tui.vue | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/views/wpm/mlog_tui.vue b/src/views/wpm/mlog_tui.vue index 8ec90f18..e9a4c1ec 100644 --- a/src/views/wpm/mlog_tui.vue +++ b/src/views/wpm/mlog_tui.vue @@ -39,6 +39,10 @@ @click="table_submit(scope.row)" v-auth="'mlog.submit'"> 提交 + + 撤回 + 删除 @@ -261,9 +265,18 @@ export default { }, table_submit(row) { this.$API.wpm.mlog.submit.req(row.id).then(res => { + this.$message.success("提交成功"); this.$refs.table.refresh(); + this.$refs.table_wm.refresh(); }) }, + table_revert(row) { + this.$API.wpm.mlog.revert.req(row.id).then(res => { + this.$message.success("撤回成功"); + this.$refs.table.refresh(); + this.$refs.table_wm.refresh(); + }).catch(e => { }) + }, async table_del(row) { this.$confirm(`确定删除吗?`, "提示", { type: "warning",