|
|
|
|
@ -574,10 +574,6 @@ export default {
|
|
|
|
|
name: "通告分享",
|
|
|
|
|
key: "1",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
name: "图标版",
|
|
|
|
|
key: "2",
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
active: 0,
|
|
|
|
|
},
|
|
|
|
|
@ -725,7 +721,7 @@ export default {
|
|
|
|
|
this.getRecruitNum();
|
|
|
|
|
// console.log("=====================", that.api.hasSee);
|
|
|
|
|
this.getDetail().then((res) => {
|
|
|
|
|
// console.log("res", res);
|
|
|
|
|
console.log("详情页1123", res,'--',that.jobDetail);
|
|
|
|
|
let objMiddle = JSON.parse(res.cozeStructureRes);
|
|
|
|
|
console.log("objMiddle", objMiddle);
|
|
|
|
|
delete objMiddle["佣金"];
|
|
|
|
|
@ -760,7 +756,7 @@ export default {
|
|
|
|
|
// 脱敏版 职位详情接口返回的cozeStructureRes里新增了一个safeNotice 是脱敏后的原始通告
|
|
|
|
|
// 原始版-lastNotice
|
|
|
|
|
// 标准版-jobInfo是toB标准版 jobInfoWithoutxx是toC标准版
|
|
|
|
|
that.jobDetail.newdesc = objMiddle['safeNotice'] || '暂无脱敏版通告';
|
|
|
|
|
that.jobDetail.newdesc = res.lastNotice || '暂无原单'; //objMiddle['safeNotice'] || '暂无脱敏版通告';
|
|
|
|
|
});
|
|
|
|
|
this.loginInfo = uni.getStorageSync("apply-userinfo");
|
|
|
|
|
if (uni.getStorageSync("apply-token")) {
|
|
|
|
|
@ -790,6 +786,43 @@ export default {
|
|
|
|
|
this.IS_CREATOR = uni.getStorageSync("IS_CREATOR") == 1 ? true : false;
|
|
|
|
|
// console.log("this.IS_CREATOR", this.IS_CREATOR);
|
|
|
|
|
this.corpUserFlag = uni.getStorageSync("apply-userinfo").corpUserFlag;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(that.isJm){
|
|
|
|
|
that.tabInfo = {
|
|
|
|
|
list: [
|
|
|
|
|
{
|
|
|
|
|
name: "职位详情",
|
|
|
|
|
key: "0",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
name: "通告分享",
|
|
|
|
|
key: "1",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
name: "原单",
|
|
|
|
|
key: "2",
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
active: 0,
|
|
|
|
|
};
|
|
|
|
|
}else{
|
|
|
|
|
that.tabInfo = {
|
|
|
|
|
list: [
|
|
|
|
|
{
|
|
|
|
|
name: "职位详情",
|
|
|
|
|
key: "0",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
name: "通告分享",
|
|
|
|
|
key: "1",
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
active: 0,
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
uni.getSystemInfo({
|
|
|
|
|
success: function (res) {
|
|
|
|
|
// console.log(res);
|
|
|
|
|
|