wangxia 5 months ago
commit e69b1075b6

@ -72,11 +72,10 @@
cusType="num" cusType="num"
:height="26" :height="26"
:num="5" :num="5"
cusTitle="报名工单" cusTitle="报名工单(我报的)"
@clickItem="goOrder" @clickItem="goOrder"
v-if="false"
/> />
<g-panel-card-num :list="todayDataList" <!-- <g-panel-card-num :list="todayDataList"
titleNav="/root/person/todayData" titleNav="/root/person/todayData"
:border="true" :border="true"
:speed="1" :speed="1"
@ -86,7 +85,7 @@
:num="5" :num="5"
cusTitle="今日数据 (我报的)" cusTitle="今日数据 (我报的)"
@clickItem="handleClickNus" @clickItem="handleClickNus"
/> /> -->
</view> </view>
<view class="g_mt_10" v-if="userInfo.admin"> <view class="g_mt_10" v-if="userInfo.admin">
<g-panel-form-item <g-panel-form-item
@ -676,62 +675,65 @@ export default {
}, },
getData() { getData() {
let that = this; let that = this;
this.G.Get(this.api.user_dataValue, {}, (res) => { this.G.Get(this.api.user_dataValue + "?classify=1", {
classify:1
}, (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",
}, },
]; ];
that.billDataList = [ that.billDataList = [
{ {
name: "审核中", name: "审核中",
num: that.map.classify2num.num10 || 0, num: that.map.classify1num.num10 || 0,
path: "/root/person/applyIndex?status=1", path: "/root/person/applyIndex?status=1",
}, },
{ {
name: "待接待", name: "待接待",
num: that.map.classify2num.num20 || 0, num: that.map.classify1num.num20 || 0,
path: "/root/person/applyIndex?status=2", path: "/root/person/applyIndex?status=2",
}, },
{ {
name: "待面试", name: "待面试",
num: that.map.classify2num.num25 || 0, num: that.map.classify1num.num25 || 0,
path: "/root/person/applyIndex?status=3", path: "/root/person/applyIndex?status=3",
}, },
{ {
name: "待入职", name: "待入职",
num: that.map.classify2num.num30 || 0, num: that.map.classify1num.num30 || 0,
path: "/root/person/applyIndex?status=4", path: "/root/person/applyIndex?status=4",
}, },
{ {
name: "在职中", name: "在职中",
num: that.map.classify2num.num40 || 0, num: that.map.classify1num.num40 || 0,
path: "/root/person/applyIndex?status=5", path: "/root/person/applyIndex?status=5",
}, },
]; ];

@ -220,7 +220,7 @@ export default {
pageNum: that.query.page, pageNum: that.query.page,
pageSize: that.query.size, pageSize: that.query.size,
keys: "", keys: "",
classify: 2, classify: 1,
// classify: that.tabActive + 1, // classify: that.tabActive + 1,
statusStr: that.tabInfo[that.tabActive].childList[that.menuActive].tip, statusStr: that.tabInfo[that.tabActive].childList[that.menuActive].tip,
}, },

@ -220,7 +220,7 @@ export default {
pageNum: that.query.page, pageNum: that.query.page,
pageSize: that.query.size, pageSize: that.query.size,
keys: "", keys: "",
classify: 2, classify: 1,
// classify: that.tabActive + 1, // classify: that.tabActive + 1,
statusStr: that.tabInfo[that.tabActive].childList[that.menuActive].tip, statusStr: that.tabInfo[that.tabActive].childList[that.menuActive].tip,
}, },

Loading…
Cancel
Save