|
@@ -3,7 +3,7 @@
|
|
|
<el-row :gutter="20">
|
|
|
<el-col :span="4" v-for="(item,index) in regionNum" :key="index">
|
|
|
<div class="list-content">
|
|
|
- <span>{{item.count}}</span>
|
|
|
+ <span>{{item.value}}</span>
|
|
|
<h5>{{item.name}}</h5>
|
|
|
</div>
|
|
|
</el-col>
|
|
@@ -144,7 +144,7 @@
|
|
|
that.regionNum.push(...resp.data.event)
|
|
|
that.regionNum.push(...resp.data.data)
|
|
|
for(let i in resp.data.device){
|
|
|
- that.regionNum.push({count: resp.data.device[i].deviceCount,name: resp.data.device[i].deviceName})
|
|
|
+ that.regionNum.push({value: resp.data.device[i].deviceCount,name: resp.data.device[i].deviceName})
|
|
|
}
|
|
|
|
|
|
})
|