feat: myticket不传入mode

This commit is contained in:
caoqianming 2025-11-07 23:24:11 +08:00
parent 7db573871d
commit def8713e8e
1 changed files with 2 additions and 4 deletions

View File

@ -131,7 +131,7 @@
<h4 :id="titleId" :class="titleClass">工单信息</h4>
<el-button type="danger" @click="close">关闭</el-button>
</template>
<component :is="currentComponent" :ticketId="ticketId" :t_id="t_id" @closed="drawer = false" :mode="mode"
<component :is="currentComponent" :ticketId="ticketId" :t_id="t_id" @closed="drawer = false"
@success="()=>{drawer = false; $refs.table.refresh()}"></component>
</el-drawer>
</el-container>
@ -189,8 +189,7 @@ export default {
currentComponent: null,
ticketId: null,
t_id: null,
dialogVisible: false,
mode: "show"
dialogVisible: false
};
},
mounted() {
@ -242,7 +241,6 @@ export default {
this.dialogVisible = false;
this.drawer = true;
this.t_id = null;
this.mode = "add"
const viewPath = item.view_path;
// import
this.currentComponent = markRaw(