bug
This commit is contained in:
@@ -39,7 +39,7 @@
|
||||
<h3>{{ item.value }}</h3>
|
||||
<p>{{ item.label }}</p>
|
||||
</div>
|
||||
<AiEmpty v-if="!statisticsListMon.length" />
|
||||
<AiEmpty v-if="!statisticsListMon.length"/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -122,11 +122,12 @@ export default {
|
||||
getStatistic() {
|
||||
this.statisticsList = []
|
||||
this.$http.post(`/app/appapplicationinfo/specialStatistic?areaId=${this.areaId}&type=0&range=0`).then((res) => {
|
||||
console.log(res);
|
||||
if (res.code == 0) {
|
||||
for (let i in res.data) {
|
||||
for (let i in res.data.map) {
|
||||
var obj = {
|
||||
label: i,
|
||||
value: res.data[i],
|
||||
value: res.data.map[i],
|
||||
}
|
||||
this.statisticsList.push(obj)
|
||||
}
|
||||
@@ -136,11 +137,12 @@ export default {
|
||||
getStatisticMon() {
|
||||
this.statisticsListMon = []
|
||||
this.$http.post(`/app/appapplicationinfo/specialStatistic?areaId=${this.areaId}&type=0&range=1`).then((res) => {
|
||||
console.log(res);
|
||||
if (res.code == 0) {
|
||||
for (let i in res.data) {
|
||||
for (let i in res.data.monthMap) {
|
||||
var obj = {
|
||||
label: i,
|
||||
value: res.data[i],
|
||||
value: res.data.monthMap[i],
|
||||
}
|
||||
this.statisticsListMon.push(obj)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user