|
@@ -75,7 +75,7 @@
|
|
|
:name='`${value.param.type_code}`'
|
|
|
v-if='value.id.slice(2,4)=="YL" && value.param.type_code.slice(0,3)=="FBT"'
|
|
|
>
|
|
|
- <fenbuPic ref='fenbutu' :typecode='value.param.type_code'></fenbuPic>
|
|
|
+ <fenbuPic ref='fenbutu' v-if='showFenbuPic' :typecode='value.param.type_code'></fenbuPic>
|
|
|
</el-tab-pane>
|
|
|
</template>
|
|
|
</template>
|
|
@@ -112,7 +112,8 @@ export default {
|
|
|
diff: '', //区分给水排水
|
|
|
rotationImg: [],
|
|
|
tabLabel: '',
|
|
|
- tabCount: []
|
|
|
+ tabCount: [],
|
|
|
+ showFenbuPic: false //显示楼层分布组件
|
|
|
}
|
|
|
},
|
|
|
mounted() {},
|
|
@@ -159,6 +160,7 @@ export default {
|
|
|
this.initImage(this.typecode)
|
|
|
}
|
|
|
if (this.dialogInfo.children[0].id.slice(2, 4) == 'YL' && this.typecode.slice(0, 3) == 'FBT') {
|
|
|
+ this.showFenbuPic = true
|
|
|
this.$nextTick(() => {
|
|
|
this.$refs.fenbutu[0] && this.$refs.fenbutu[0].openFloorMap()
|
|
|
})
|
|
@@ -257,6 +259,7 @@ export default {
|
|
|
* 关闭弹窗,传回父组件,在父组件内 处理逻辑(关闭弹窗)
|
|
|
*/
|
|
|
closeModal() {
|
|
|
+ this.showFenbuPic = false
|
|
|
this.$emit('closeModal', true)
|
|
|
}
|
|
|
}
|