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