feat: myticket不传入mode
This commit is contained in:
parent
7db573871d
commit
def8713e8e
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Reference in New Issue