|
@@ -67,7 +67,7 @@
|
|
|
<div class='number' v-for='(equip , index) in item.assetTypeList' :key='index'>
|
|
|
<div class="title">
|
|
|
<P :style="{width: equip.category_name.length>6 ? '10rem' : 'auto'}" :title="equip.category_name">{{equip.category_name}}</p>
|
|
|
- <span :style="{right: equip.category_name.length > 6 ? '0' :'-1rem'}" v-if='equip.is_exception_num'>{{equip.is_exception_num}}</span>
|
|
|
+ <span @click.stop.capture="openMaskPanel(item)" :style="{right: equip.category_name.length > 6 ? '0' :'-1rem'}" v-if='equip.is_exception_num'>{{equip.is_exception_num}}</span>
|
|
|
</div>
|
|
|
<p> <span class="amount">{{equip.asset_num}}</span><span>{{equip.category_name === '屋面logo' ? '个' : equip.category_name === '玻璃护栏' ? '段' : '台'}}</span></p>
|
|
|
</div>
|
|
@@ -76,7 +76,7 @@
|
|
|
<div class='number' v-for='(equip , index) in item.restAssetTypeList' :key='index'>
|
|
|
<div class="title">
|
|
|
<P :title="equip.category_name">{{equip.category_name}}</p>
|
|
|
- <span :style="{right: equip.category_name.length > 6 ? '0' :'-1rem'}" v-if='equip.is_exception_num'>{{equip.is_exception_num}}</span>
|
|
|
+ <span @click.stop.capture="openMaskPanel(item)" :style="{right: equip.category_name.length > 6 ? '0' :'-1rem'}" v-if='equip.is_exception_num'>{{equip.is_exception_num}}</span>
|
|
|
</div>
|
|
|
<p> <span class="amount">{{equip.asset_num}}</span><span>{{equip.category_name === '屋面logo' ? '个' : equip.category_name === '玻璃护栏' ? '段' : '台'}}</span></p>
|
|
|
</div>
|
|
@@ -948,10 +948,10 @@ export default {
|
|
|
myMaps.setView(center, zoom)
|
|
|
},
|
|
|
/**
|
|
|
- * @Description 切换系统时 地图响应
|
|
|
- * @Params system:当前选择的系统
|
|
|
+ *@description 打开弹窗
|
|
|
*/
|
|
|
- getInfoOfProject(system) {
|
|
|
+ openMaskPanel(system) {
|
|
|
+ return;
|
|
|
this.tabData = []
|
|
|
system.assetTypeList.forEach(item => {
|
|
|
if (item.is_exception_num > 0) {
|
|
@@ -966,13 +966,19 @@ export default {
|
|
|
this.currentDialogTab = this.activeName
|
|
|
this.dialogVisible = true
|
|
|
}
|
|
|
+ this.fetchExceptionNum(system.smsxt, this.activeName, this.currentDialogCcode, this.currentDialogLevel)
|
|
|
+ },
|
|
|
+ /**
|
|
|
+ * @Description 切换系统时 地图响应
|
|
|
+ * @Params system:当前选择的系统
|
|
|
+ */
|
|
|
+ getInfoOfProject(system) {
|
|
|
this.systemList.forEach(item => {
|
|
|
item.selected = false
|
|
|
})
|
|
|
system.selected = true
|
|
|
this.currentSelectedSys = system
|
|
|
this.currentSysId = system.smsxt
|
|
|
- this.fetchExceptionNum(this.currentSysId, this.activeName, this.currentDialogCcode, this.currentDialogLevel)
|
|
|
//1集团 2中心 3区域 0广场
|
|
|
this.clearAllLayers()
|
|
|
if (this.currentLevel === 1) {
|