|
@@ -72,7 +72,7 @@
|
|
:name='`${value.param.type_code}`'
|
|
:name='`${value.param.type_code}`'
|
|
v-if='value.id.slice(2,4)=="YL" && value.param.type_code.slice(0,3)=="FBT"'
|
|
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' @openFloorMap='openFloor' :typecode='value.param.type_code'></fenbuPic>
|
|
</el-tab-pane>
|
|
</el-tab-pane>
|
|
</template>
|
|
</template>
|
|
</template>
|
|
</template>
|
|
@@ -154,12 +154,20 @@ export default {
|
|
this.typecode = this.dialogInfo.children[`${tab.index}`].param.type_code
|
|
this.typecode = this.dialogInfo.children[`${tab.index}`].param.type_code
|
|
this.diff = this.dialogInfo.children[`${tab.index}`].param.diff
|
|
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.slice(0, 3) != 'FBT') {
|
|
this.initImage(this.typecode)
|
|
this.initImage(this.typecode)
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+ if (this.typecode.slice(0, 3) == 'FBT') {
|
|
|
|
+ this.openFloor()
|
|
|
|
+ }
|
|
|
|
+
|
|
this.tabLabel = tab.label
|
|
this.tabLabel = tab.label
|
|
},
|
|
},
|
|
|
|
+ // 打开底图
|
|
|
|
+ openFloor() {
|
|
|
|
+ console.log(';wwwww')
|
|
|
|
+ this.$emit('openFloorMap')
|
|
|
|
+ },
|
|
visibalBox() {
|
|
visibalBox() {
|
|
this.$refs.Dialog.open(this.dialogInfo.id)
|
|
this.$refs.Dialog.open(this.dialogInfo.id)
|
|
},
|
|
},
|