cyl/master-im
wangxia 5 months ago
parent f45a3cda6e
commit f72c676ae9

@ -58,24 +58,14 @@
result: userNum.upNum, result: userNum.upNum,
path: '/root/person/teamManage', path: '/root/person/teamManage',
pRow: 12, pRow: 12,
itype:'icon' itype: 'icon',
}, },
]" ]"
@clickItem="goPage('/root/bind/order?active=0')" @clickItem="goPage('/root/bind/order?active=0')"
/> />
</view> </view>
<view class="g_mt_10"> <view class="g_mt_10">
<g-panel-card-num :list="billDataList" <g-panel-card-num :list="billDataList" titleNav="/root/person/applyIndex" :border="true" :speed="1" :marginBottom="16" cusType="num" :height="26" :num="5" cusTitle="报名工单(我报的)" @clickItem="goOrder" />
titleNav="/root/person/applyIndex"
:border="true"
:speed="1"
:marginBottom="16"
cusType="num"
:height="26"
:num="5"
cusTitle="报名工单(我报的)"
@clickItem="goOrder"
/>
<!-- <g-panel-card-num :list="todayDataList" <!-- <g-panel-card-num :list="todayDataList"
titleNav="/root/person/todayData" titleNav="/root/person/todayData"
:border="true" :border="true"
@ -97,7 +87,7 @@
result: agencyInfo.fullName || agencyInfo.agencyName || '设置企业信息', result: agencyInfo.fullName || agencyInfo.agencyName || '设置企业信息',
path: '/root/person/teamManage', path: '/root/person/teamManage',
pRow: 12, pRow: 12,
itype:'icon' itype: 'icon',
}, },
]" ]"
@clickItem="handleClickItem" @clickItem="handleClickItem"
@ -114,7 +104,7 @@
path: '/root/person/set', path: '/root/person/set',
tip: 'set', tip: 'set',
pRow: 12, pRow: 12,
itype:'icon' itype: 'icon',
}, },
]" ]"
@clickItem="goPage('/root/person/set')" @clickItem="goPage('/root/person/set')"
@ -304,26 +294,31 @@ export default {
{ {
name: "审核中", name: "审核中",
num: 0, num: 0,
type: 1,
path: "/root/person/applyIndex?status=1", path: "/root/person/applyIndex?status=1",
}, },
{ {
name: "待接待", name: "待接待",
num: 0, num: 0,
type: 2,
path: "/root/person/applyIndex?status=2", path: "/root/person/applyIndex?status=2",
}, },
{ {
name: "待面试", name: "待面试",
num: 0, num: 0,
type: 3,
path: "/root/person/applyIndex?status=3", path: "/root/person/applyIndex?status=3",
}, },
{ {
name: "待入职", name: "待入职",
num: 0, num: 0,
type: 4,
path: "/root/person/applyIndex?status=4", path: "/root/person/applyIndex?status=4",
}, },
{ {
name: "在职中", name: "在职中",
num: 0, num: 0,
type: 5,
path: "/root/person/applyIndex?status=5", path: "/root/person/applyIndex?status=5",
}, },
], ],
@ -344,7 +339,6 @@ export default {
this.getCompanyInfo(); this.getCompanyInfo();
} }
} else { } else {
that.waitNum_ups = 0; that.waitNum_ups = 0;
that.pageSpeed = 1; that.pageSpeed = 1;
@ -668,9 +662,12 @@ export default {
}, },
getData() { getData() {
let that = this; let that = this;
this.G.Get(this.api.user_dataValue + "?classify=1", { this.G.Get(
classify:1 this.api.user_dataValue + "?classify=1",
}, (res) => { {
classify: 1,
},
(res) => {
console.log("res", res); console.log("res", res);
if (res) { if (res) {
that.map = res; that.map = res;
@ -707,30 +704,36 @@ export default {
{ {
name: "审核中", name: "审核中",
num: that.map.classify1num.num10 || 0, num: that.map.classify1num.num10 || 0,
type: 1,
path: "/root/person/applyIndex?status=1", path: "/root/person/applyIndex?status=1",
}, },
{ {
name: "待接待", name: "待接待",
num: that.map.classify1num.num20 || 0, num: that.map.classify1num.num20 || 0,
type: 2,
path: "/root/person/applyIndex?status=2", path: "/root/person/applyIndex?status=2",
}, },
{ {
name: "待面试", name: "待面试",
num: that.map.classify1num.num25 || 0, num: that.map.classify1num.num25 || 0,
type: 3,
path: "/root/person/applyIndex?status=3", path: "/root/person/applyIndex?status=3",
}, },
{ {
name: "待入职", name: "待入职",
num: that.map.classify1num.num30 || 0, num: that.map.classify1num.num30 || 0,
type: 4,
path: "/root/person/applyIndex?status=4", path: "/root/person/applyIndex?status=4",
}, },
{ {
name: "在职中", name: "在职中",
num: that.map.classify1num.num40 || 0, num: that.map.classify1num.num40 || 0,
type: 5,
path: "/root/person/applyIndex?status=5", path: "/root/person/applyIndex?status=5",
}, },
]; ];
}); }
);
}, },
getCompanyInfo() { getCompanyInfo() {
let that = this; let that = this;
@ -764,20 +767,21 @@ export default {
} }
}); });
}, },
goOrder(){ goOrder(e) {
console.log("e", e);
uni.setStorageSync("applyType", e.item.type);
uni.switchTab({ uni.switchTab({
url: '/pages/workBench/index', url: "/pages/workBench/index",
success: (res) => {}, success: (res) => {},
fail: (res) => {}, fail: (res) => {},
complete: (res) => {}, complete: (res) => {},
}) });
}, },
handleClickNus() { handleClickNus() {
uni.navigateTo({ uni.navigateTo({
url:'/root/person/todayData' url: "/root/person/todayData",
}) });
} },
}, },
}; };
</script> </script>

@ -186,6 +186,11 @@ export default {
that.isLogin = uni.getStorageSync("apply-token") ? true : false; that.isLogin = uni.getStorageSync("apply-token") ? true : false;
console.log("that.isLogin", that.isLogin); console.log("that.isLogin", that.isLogin);
that.loginInfo = uni.getStorageSync("apply-userinfo"); that.loginInfo = uni.getStorageSync("apply-userinfo");
if (uni.getStorageSync("applyType")) {
that.menuActive = uni.getStorageSync("applyType");
uni.removeStorageSync("applyType");
}
if (!that.isLogin) { if (!that.isLogin) {
that.loading = false; that.loading = false;
that.speed = 0; that.speed = 0;

Loading…
Cancel
Save