|
@@ -200,7 +200,8 @@ export default {
|
|
|
this.rotationImg = res.data || []
|
|
|
})
|
|
|
},
|
|
|
- //原理图没图片不显示tab
|
|
|
+ //原理图没图片不显示tab 因为供电和燃气系统没有tab所以分开判断
|
|
|
+ //这个方法是判断有tab的count>0的时候显示tab
|
|
|
isShowTab() {
|
|
|
let data = {
|
|
|
plazaId: this.$store.state.plazaId,
|
|
@@ -211,6 +212,7 @@ export default {
|
|
|
postParams.push({
|
|
|
params: {
|
|
|
typecode: this.dialogInfo.param.type_code,
|
|
|
+ system: this.smsxt,
|
|
|
module: '1002'
|
|
|
},
|
|
|
tableName: 'glsms_proimgup'
|
|
@@ -220,6 +222,7 @@ export default {
|
|
|
postParams.push({
|
|
|
params: {
|
|
|
typecode: el.param.type_code,
|
|
|
+ system: this.smsxt,
|
|
|
module: '1002'
|
|
|
},
|
|
|
tableName: 'glsms_proimgup'
|
|
@@ -233,9 +236,11 @@ export default {
|
|
|
data.forEach(el => {
|
|
|
this.tabCount.push({
|
|
|
count: el.count,
|
|
|
+ system: el.params.system,
|
|
|
typecode: el.params.typecode
|
|
|
})
|
|
|
})
|
|
|
+ this.$emit('emitCount',this.tabCount)
|
|
|
})
|
|
|
}
|
|
|
}
|