|
@@ -1,5 +1,5 @@
|
|
|
<template>
|
|
|
- <!-- 设备设施的三级路由的tabs -->
|
|
|
+ <!-- 设备设施的三级路由的tabs ,八大系统和7个二级菜单共用了一个全屏弹框-->
|
|
|
<div class='dialog-container'>
|
|
|
<el-dialog :visible.sync='visible' :fullscreen='true'>
|
|
|
<!-- 除了清单和原理页面,别的都有记录事项detailDialog页面 -->
|
|
@@ -53,6 +53,7 @@
|
|
|
<template v-for='(value,index) in dialogInfo.children'>
|
|
|
<template v-for='(eve,index1) in tabCount'>
|
|
|
<template v-if='eve.typecode == value.param.type_code'>
|
|
|
+ <!-- 原理图分出来写,因为要判断没有图片的时候不显示tab,如果都没有则都不显示系统原理图 -->
|
|
|
<el-tab-pane
|
|
|
:key='index1+index'
|
|
|
:label='`${value.label}`'
|
|
@@ -64,13 +65,14 @@
|
|
|
<rotation :rotationImg='rotationImg'></rotation>
|
|
|
</div>
|
|
|
</el-tab-pane>
|
|
|
+ <!-- 发布之后的编辑器的分支图 -->
|
|
|
<el-tab-pane
|
|
|
:key='index1+index'
|
|
|
:label='`${value.label}`'
|
|
|
:name='`${value.param.type_code}`'
|
|
|
v-if='value.id.slice(2,4)=="YL" && value.param.type_code=="FBT"'
|
|
|
>
|
|
|
- <fenbuPic></fenbuPic>
|
|
|
+ <fenbuPic ref='fenbutu'></fenbuPic>
|
|
|
</el-tab-pane>
|
|
|
</template>
|
|
|
</template>
|
|
@@ -151,10 +153,11 @@ export default {
|
|
|
if (this.dialogInfo.children.length > 0) {
|
|
|
this.typecode = this.dialogInfo.children[`${tab.index}`].param.type_code
|
|
|
this.diff = this.dialogInfo.children[`${tab.index}`].param.diff
|
|
|
- }
|
|
|
- if (this.dialogInfo.children[0].id.slice(2, 4) == 'YL' && this.typecode!="FBT") {
|
|
|
+ }
|
|
|
+ if (this.dialogInfo.children[0].id.slice(2, 4) == 'YL' && this.typecode != 'FBT') {
|
|
|
this.initImage(this.typecode)
|
|
|
}
|
|
|
+
|
|
|
this.tabLabel = tab.label
|
|
|
},
|
|
|
visibalBox() {
|