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