feat: base myticket变更drawerName
This commit is contained in:
parent
83fe31b76a
commit
21d0ec18ff
|
|
@ -128,7 +128,7 @@
|
||||||
</el-main>
|
</el-main>
|
||||||
<el-drawer v-model="drawer" size="90%" :show-close="false">
|
<el-drawer v-model="drawer" size="90%" :show-close="false">
|
||||||
<template #header="{ close, titleId, titleClass }">
|
<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>
|
<el-button type="danger" @click="close">关闭</el-button>
|
||||||
</template>
|
</template>
|
||||||
<component :is="currentComponent" :ticketId="ticketId" :t_id="t_id" @closed="drawer = false"
|
<component :is="currentComponent" :ticketId="ticketId" :t_id="t_id" @closed="drawer = false"
|
||||||
|
|
@ -155,6 +155,7 @@ export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
actStateEnum, interveneTypeEnum,
|
actStateEnum, interveneTypeEnum,
|
||||||
|
drawerName: "工单详情",
|
||||||
drawer: false,
|
drawer: false,
|
||||||
tvalue: "待办",
|
tvalue: "待办",
|
||||||
toptions: {
|
toptions: {
|
||||||
|
|
@ -231,6 +232,7 @@ export default {
|
||||||
this.drawer = true;
|
this.drawer = true;
|
||||||
this.ticketId = row.id;
|
this.ticketId = row.id;
|
||||||
this.t_id = row.ticket_data.t_id;
|
this.t_id = row.ticket_data.t_id;
|
||||||
|
this.drawerName = row.title;
|
||||||
const viewPath = row.workflow_.view_path;
|
const viewPath = row.workflow_.view_path;
|
||||||
// 动态 import
|
// 动态 import
|
||||||
this.currentComponent = markRaw(
|
this.currentComponent = markRaw(
|
||||||
|
|
@ -241,6 +243,7 @@ export default {
|
||||||
this.dialogVisible = false;
|
this.dialogVisible = false;
|
||||||
this.drawer = true;
|
this.drawer = true;
|
||||||
this.t_id = null;
|
this.t_id = null;
|
||||||
|
this.drawerName = item.name;
|
||||||
const viewPath = item.view_path;
|
const viewPath = item.view_path;
|
||||||
// 动态 import
|
// 动态 import
|
||||||
this.currentComponent = markRaw(
|
this.currentComponent = markRaw(
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue