修改
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
</template>
|
||||
</van-nav-bar> -->
|
||||
<div class="energyReport-detail">
|
||||
<div class="detail1">公共建筑|公共机构</div>
|
||||
<div class="detail1">{{getName}}</div>
|
||||
<div class="float-clear"></div>
|
||||
<div class="detail2">
|
||||
<div class="detail2-left">
|
||||
@@ -200,6 +200,13 @@ export default {
|
||||
return true
|
||||
}
|
||||
return false
|
||||
},
|
||||
getName(){
|
||||
let res = ''
|
||||
if(this.EnergyReportInfo.buildType&&this.EnergyReportInfo.buildType.indexOf('/')>0){
|
||||
res ='|' + this.EnergyReportInfo.buildType.split('/')[0]
|
||||
}
|
||||
return '公共机构'+res
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user