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",