信息化数值默认值
This commit is contained in:
@ -11,7 +11,7 @@
|
||||
><span class="num2">万</span>
|
||||
</div>
|
||||
<div style="width: 100%">
|
||||
<progressBar :percentage="percentage" v-if="percentage" />
|
||||
<progressBar :percentage="percentage" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="data-item">
|
||||
@ -70,12 +70,21 @@ export default {
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
dataInfo: {},
|
||||
dataInfo: {
|
||||
informationInvested:0,
|
||||
informationTargetInveste:0,
|
||||
alreadyNetworkOperation:0,
|
||||
targetNetworkOperation:0,
|
||||
alreadyDeviceAccess:0,
|
||||
targetDeviceAccess:0,
|
||||
alreadyBusinessCoverage:0,
|
||||
targetBusinessCoverage:0,
|
||||
},
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
percentage() {
|
||||
return (this.dataInfo.informationInvested / this.dataInfo.informationTargetInveste) * 100
|
||||
return (this.dataInfo.informationInvested / this.dataInfo.informationTargetInveste) * 100 || 0
|
||||
},
|
||||
},
|
||||
mounted() {},
|
||||
|
@ -157,8 +157,14 @@ export default {
|
||||
data() {
|
||||
return {
|
||||
dataList: [],
|
||||
totalAndRate: {},
|
||||
totalAndRateTwo: {},
|
||||
totalAndRate: {
|
||||
total:0,
|
||||
rate:0
|
||||
},
|
||||
totalAndRateTwo: {
|
||||
total:0,
|
||||
rate:0
|
||||
},
|
||||
index: 0,
|
||||
chart: null,
|
||||
colorList,
|
||||
|
Reference in New Issue
Block a user