feat: base myticket变更drawerName
This commit is contained in:
parent
83fe31b76a
commit
21d0ec18ff
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Reference in New Issue