diff --git a/src/apps/AppSpecialPeople/detail.vue b/src/apps/AppSpecialPeople/detail.vue index 495a9919..3ae5d7d5 100644 --- a/src/apps/AppSpecialPeople/detail.vue +++ b/src/apps/AppSpecialPeople/detail.vue @@ -124,10 +124,10 @@ export default { 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.map) { + for (let i in res.data) { var obj = { label: i, - value: res.data.map[i], + value: res.data[i], } this.statisticsList.push(obj) } @@ -139,10 +139,10 @@ export default { 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.monthMap) { + for (let i in res.data) { var obj = { label: i, - value: res.data.monthMap[i], + value: res.data[i], } this.statisticsListMon.push(obj) }