diff --git a/api/job.js b/api/job.js index ee5e4e8..f97ff45 100644 --- a/api/job.js +++ b/api/job.js @@ -9,6 +9,9 @@ let jobInfo = { job_setStatus: "/assistant/custom/job/v2/recruitment",// 开停招 job_hotList: "/assistant/custom/job/v2/recommend/list",// 推荐列表 job_getDetailInList: "/assistant/custom/job/v2/getInfo",// 职位列表获取职位详情 + get_job_QRcode: "/yishoudan/custom/job/batchqrcodeUniForAssistant", // 分享多个职位的海报二维码 + get_sharejob_list: "/yishoudan/custom/job/getShareJobs", // 获取分享职位的列表 + job_delJob: "/yishoudan/custom/job/del",// 删除职位 job_updateStatus: "/assistant/custom/job/ignore/add",// 更新状态 job_getPolicyPerson: '/yishoudan/custom/job/getPolicyStr',// 获取自有职位政策 diff --git a/components/list/job.vue b/components/list/job.vue index 9371da0..0e4691c 100644 --- a/components/list/job.vue +++ b/components/list/job.vue @@ -20,11 +20,9 @@ - - - + + + @@ -41,7 +39,7 @@ - + {{ item.district }}{{ item.district ? "丨" : "" }}{{ (item.gender || "-") + "丨" + item.age }} @@ -95,14 +93,14 @@ - {{ (recordStatus == 3 || recordStatus == 4 || recordStatus == 5) && !isSelf ? "关注查看" : item.policyClassify == 1 ? item.fuWuFei : "总价" }} + {{ (recordStatus == 3 || recordStatus == 4 || recordStatus == 5) && !isSelf ? "关注查看" : item.fuWuFei }} + --> @@ -115,9 +113,10 @@ - + - +
发单号
+ {{ item.fullName || item.agencyName || "-" }}
@@ -157,10 +156,10 @@ diff --git a/root/person/orderEdit.vue b/root/person/orderEdit.vue index dba831c..13c0451 100644 --- a/root/person/orderEdit.vue +++ b/root/person/orderEdit.vue @@ -127,38 +127,38 @@ export default { }; }, onLoad() { - console.log('企业资料 load') + console.log("企业资料 load"); }, onShow() { - console.log('企业资料 show') + console.log("企业资料 show"); }, created() { var that = this; - console.log('企业资料 created') + console.log("企业资料 created"); uni.$on("changeCompanyDesp", function (data) { console.log("data", data); console.log("changeCompanyDespchangeCompanyDespchangeCompanyDespchangeCompanyDesp"); that.getAgencyInfo(); }); uni.$on("getBossAvatar", function (data) { - console.log("接收到 getBossAvatar 事件", data); - // 可以在这里执行更新头像的逻辑,例如: - // that.info.logo = data.avatarUrl; - that.getAgencyInfo(); // 刷新数据 - }); + console.log("接收到 getBossAvatar 事件", data); + // 可以在这里执行更新头像的逻辑,例如: + // that.info.logo = data.avatarUrl; + that.getAgencyInfo(); // 刷新数据 + }); uni.$on("getBossAddress", function (data) { - console.log("接收到 getBossAddress 事件", data); - // 可以在这里执行更新头像的逻辑,例如: - // that.info.logo = data.avatarUrl; - that.getAgencyInfo(); // 刷新数据 - }); + console.log("接收到 getBossAddress 事件", data); + // 可以在这里执行更新头像的逻辑,例如: + // that.info.logo = data.avatarUrl; + that.getAgencyInfo(); // 刷新数据 + }); that.resetInfo(); that.getTeamList(); // if (that.userInfo.agencyStatus == 1) { that.getAgencyInfo(); // } - }, + }, methods: { save() { let that = this; @@ -369,6 +369,7 @@ export default { uni.setStorageSync("apply-agencyId", $item.id); console.log(res); that.G.checkTokenNew().then(() => { + uni.$emit("updateJobList"); uni.showToast({ title: "切换成功", icon: "success",