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

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

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

Loading…
Cancel
Save