diff --git a/pages/person/index.vue b/pages/person/index.vue index 254af01..8ea150e 100644 --- a/pages/person/index.vue +++ b/pages/person/index.vue @@ -677,37 +677,37 @@ export default { getData() { let that = this; this.G.Get(this.api.user_dataValue + "?classify=1", { - classify:1 }, (res) => { console.log("res", res); if (res) { that.map = res; } + let resdata = res.classify1num; that.todayDataList = [ { name: "报名", - num: that.map.agencyData.signUps || 0, + num: resdata.signUps || 0, path: "/root/person/todayData", }, { name: "到面", - num: that.map.agencyData.arrived || 0, + num: resdata.arrived || 0, path: "/root/person/todayData", }, { name: "通过", - num: that.map.agencyData.passed || 0, + num: resdata.passed || 0, path: "/root/person/todayData", }, { name: "入职", - num: that.map.agencyData.entry || 0, + num: resdata.entry || 0, path: "/root/person/todayData", }, { name: "在职", - num: that.map.agencyData.obJob || 0, + num: resdata.obJob || 0, path: "/root/person/todayData", }, ];