fix:日志提交后刷新列表
This commit is contained in:
parent
4b50910cdd
commit
c49d086970
|
@ -1,6 +1,6 @@
|
|||
<!-- 日志详情 mlog信息以及mlogb -->
|
||||
<template>
|
||||
<el-drawer v-model="visible" :size="'95%'" :show-close="false">
|
||||
<el-drawer v-model="visible" :size="'95%'" :show-close="false" destroy-on-close="true">
|
||||
<template #header>
|
||||
<h4>日志详情</h4>
|
||||
<el-button type="danger" @click="closedPage()">关闭</el-button>
|
||||
|
@ -557,8 +557,10 @@ export default {
|
|||
},
|
||||
mounted() {
|
||||
let that = this;
|
||||
that.mlogItem = {};
|
||||
this.paramsIn.mlog = "";
|
||||
this.paramsOut.mlog = "";
|
||||
this.apiObj = "";
|
||||
this.route_code = this.$route.path.split("/")[2];
|
||||
this.paramsIn.mlog = this.mlogId;
|
||||
this.paramsOut.mlog = this.mlogId;
|
||||
|
@ -925,6 +927,7 @@ export default {
|
|||
that.$API.wpm.mlog.submit.req(that.mlogItem.id).then((res) => {
|
||||
that.isSaveing = false;
|
||||
that.visible = false;
|
||||
that.$emit('closed',false);
|
||||
that.$message.success("操作成功");
|
||||
}).catch(() => {
|
||||
that.isSaveing = false;
|
||||
|
|
Loading…
Reference in New Issue