feat: base myticket变更drawerName

This commit is contained in:
caoqianming 2025-11-09 23:15:56 +08:00
parent 83fe31b76a
commit 21d0ec18ff
1 changed files with 4 additions and 1 deletions

View File

@ -128,7 +128,7 @@
</el-main>
<el-drawer v-model="drawer" size="90%" :show-close="false">
<template #header="{ close, titleId, titleClass }">
<h4 :id="titleId" :class="titleClass">工单信息</h4>
<h4 :id="titleId" :class="titleClass">{{drawerName}}</h4>
<el-button type="danger" @click="close">关闭</el-button>
</template>
<component :is="currentComponent" :ticketId="ticketId" :t_id="t_id" @closed="drawer = false"
@ -155,6 +155,7 @@ export default {
data() {
return {
actStateEnum, interveneTypeEnum,
drawerName: "工单详情",
drawer: false,
tvalue: "待办",
toptions: {
@ -231,6 +232,7 @@ export default {
this.drawer = true;
this.ticketId = row.id;
this.t_id = row.ticket_data.t_id;
this.drawerName = row.title;
const viewPath = row.workflow_.view_path;
// import
this.currentComponent = markRaw(
@ -241,6 +243,7 @@ export default {
this.dialogVisible = false;
this.drawer = true;
this.t_id = null;
this.drawerName = item.name;
const viewPath = item.view_path;
// import
this.currentComponent = markRaw(