feat: myticket不传入mode
This commit is contained in:
parent
7db573871d
commit
def8713e8e
|
|
@ -131,7 +131,7 @@
|
||||||
<h4 :id="titleId" :class="titleClass">工单信息</h4>
|
<h4 :id="titleId" :class="titleClass">工单信息</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" :mode="mode"
|
<component :is="currentComponent" :ticketId="ticketId" :t_id="t_id" @closed="drawer = false"
|
||||||
@success="()=>{drawer = false; $refs.table.refresh()}"></component>
|
@success="()=>{drawer = false; $refs.table.refresh()}"></component>
|
||||||
</el-drawer>
|
</el-drawer>
|
||||||
</el-container>
|
</el-container>
|
||||||
|
|
@ -189,8 +189,7 @@ export default {
|
||||||
currentComponent: null,
|
currentComponent: null,
|
||||||
ticketId: null,
|
ticketId: null,
|
||||||
t_id: null,
|
t_id: null,
|
||||||
dialogVisible: false,
|
dialogVisible: false
|
||||||
mode: "show"
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
|
@ -242,7 +241,6 @@ export default {
|
||||||
this.dialogVisible = false;
|
this.dialogVisible = false;
|
||||||
this.drawer = true;
|
this.drawer = true;
|
||||||
this.t_id = null;
|
this.t_id = null;
|
||||||
this.mode = "add"
|
|
||||||
const viewPath = item.view_path;
|
const viewPath = item.view_path;
|
||||||
// 动态 import
|
// 动态 import
|
||||||
this.currentComponent = markRaw(
|
this.currentComponent = markRaw(
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue