Merge pull request 'master' (#37) from master into lukeyan

Reviewed-on: #37
pull/38/head^2
lukeyan 2 years ago
commit 51dc4edb98

@ -23,32 +23,36 @@
<div class="topBottomItem"> <div class="topBottomItem">
<img src="../../assets/safetyIndex/涉危企业.png" alt=""> <img src="../../assets/safetyIndex/涉危企业.png" alt="">
<div class="itemBox"> <div class="itemBox">
<div class="qiye">{{ statisticsDangerData[0].companyTypeName }}</div> <div class="qiye">{{ statisticsDangerData[0] ? statisticsDangerData[0].companyTypeName : '' }}</div>
<div class="qiyeshu"><span class="qiyenum">{{ statisticsDangerData[0].companyTypeSum }}</span> <div class="qiyeshu"><span class="qiyenum">{{
statisticsDangerData[0] ? statisticsDangerData[0].companyTypeSum : 0 }}</span>
&nbsp;</div> &nbsp;</div>
</div> </div>
</div> </div>
<div class="topBottomItem"> <div class="topBottomItem">
<img src="../../assets/safetyIndex/易制爆企业2.png" alt=""> <img src="../../assets/safetyIndex/易制爆企业2.png" alt="">
<div class="itemBox"> <div class="itemBox">
<div class="qiye">{{ statisticsDangerData[1].companyTypeName }}</div> <div class="qiye">{{ statisticsDangerData[1] ? statisticsDangerData[1].companyTypeName : '' }}</div>
<div class="qiyeshu"><span class="qiyenum">{{ statisticsDangerData[1].companyTypeSum }}</span> <div class="qiyeshu"><span class="qiyenum">{{
statisticsDangerData[1] ? statisticsDangerData[1].companyTypeSum : 0 }}</span>
&nbsp;</div> &nbsp;</div>
</div> </div>
</div> </div>
<div class="topBottomItem"> <div class="topBottomItem">
<img src="../../assets/safetyIndex/易制毒2.png" alt=""> <img src="../../assets/safetyIndex/易制毒2.png" alt="">
<div class="itemBox"> <div class="itemBox">
<div class="qiye">{{ statisticsDangerData[2].companyTypeName }}</div> <div class="qiye">{{ statisticsDangerData[2] ? statisticsDangerData[2].companyTypeName : '' }}</div>
<div class="qiyeshu"><span class="qiyenum">{{ statisticsDangerData[2].companyTypeSum }}</span> <div class="qiyeshu"><span class="qiyenum">{{
statisticsDangerData[2] ? statisticsDangerData[2].companyTypeSum : 0 }}</span>
&nbsp;</div> &nbsp;</div>
</div> </div>
</div> </div>
<div class="topBottomItem"> <div class="topBottomItem">
<img src="../../assets/safetyIndex/放射源2.png" alt=""> <img src="../../assets/safetyIndex/放射源2.png" alt="">
<div class="itemBox"> <div class="itemBox">
<div class="qiye">{{ statisticsDangerData[3].companyTypeName }}</div> <div class="qiye">{{ statisticsDangerData[3] ? statisticsDangerData[3].companyTypeName : '' }}</div>
<div class="qiyeshu"><span class="qiyenum">{{ statisticsDangerData[3].companyTypeSum }}</span> <div class="qiyeshu"><span class="qiyenum">{{
statisticsDangerData[3] ? statisticsDangerData[3].companyTypeSum : 0 }}</span>
&nbsp;</div> &nbsp;</div>
</div> </div>
</div> </div>
@ -136,8 +140,6 @@ export default {
statisticsDangerData: [], statisticsDangerData: [],
statisticsDetailData: {}, statisticsDetailData: {},
topSortData: [], topSortData: [],
} }
}, },
created() { created() {
@ -168,7 +170,6 @@ export default {
this.topSortData = res.data this.topSortData = res.data
}) })
}, },
}, },
} }
</script> </script>
@ -182,7 +183,6 @@ export default {
box-sizing: border-box; box-sizing: border-box;
position: relative; position: relative;
.topBox { .topBox {
width: 100%; width: 100%;
height: 30%; height: 30%;
@ -440,7 +440,6 @@ export default {
color: #D0DEEE; color: #D0DEEE;
letter-spacing: 0.75px; letter-spacing: 0.75px;
font-weight: 500; font-weight: 500;
} }
} }
} }

Loading…
Cancel
Save