diff --git a/src/api/job.js b/src/api/job.js index 5129694..109b87e 100644 --- a/src/api/job.js +++ b/src/api/job.js @@ -86,6 +86,16 @@ export function recordBillApi(data) { headers: { "Content-Type": "application/x-www-form-urlencoded" }, }); } + +// 录单报名 稻田 +export function recordBillApiDaotian(data) { + return request({ + url: "/yishoudan/common/order/addBatch", + method: "post", + data:data, + headers: { "Content-Type": "application/x-www-form-urlencoded" }, + }); +} // 职教报名 export function vocationalBillApi(data) { return request({ @@ -147,6 +157,14 @@ export function getPolicyByJobIdApi(data) { url: `/yishoudan/store/job/getPolicyByStoreJobId?storeJobId=${data}`, }); } + + +// 根据岗位id获取政策 稻田职位 +export function getPolicyByJobIdApiDaotian(data) { + return request({ + url: `/yishoudan/custom/job/getPolicyStr/${data}`, + }); +} // 根据岗位id获取政策列表 export function getPolicyListByJobIdApi(data) { return request({ diff --git a/src/components/FirstJob/joblist.vue b/src/components/FirstJob/joblist.vue index cbaeeab..354a452 100644 --- a/src/components/FirstJob/joblist.vue +++ b/src/components/FirstJob/joblist.vue @@ -1877,7 +1877,7 @@ export default { // 跳转到路由新页面的方法 // console.log(item); // let userinfo = JSON.stringify(item); - sessionStorage.setItem("PAGE_TYPE", JSON.stringify({ id: item.id, pageNum: this.formvalue.pageNum, signType: this.signType })); + sessionStorage.setItem("PAGE_TYPE", JSON.stringify({ id: item.id, pageNum: this.formvalue.pageNum, signType: this.signType,jobClassify:item.jobClassify })); if (this.signType == "") { this.$router.push({ name: "recordbill", params: item }); diff --git a/src/components/FirstJob/recordBill.vue b/src/components/FirstJob/recordBill.vue index 4711e33..fa5f266 100644 --- a/src/components/FirstJob/recordBill.vue +++ b/src/components/FirstJob/recordBill.vue @@ -67,12 +67,12 @@ - +
- {{ firminfo.aliasName || "-" }} + {{ storeName || "-" }} +
+ + - 选择 + 选择 +
+ +
+ 跳至 + 页 +
+
@@ -16,18 +28,28 @@ - + diff --git a/src/utils/commonUtil.js b/src/utils/commonUtil.js index 81a4fc8..388319c 100644 --- a/src/utils/commonUtil.js +++ b/src/utils/commonUtil.js @@ -1174,9 +1174,9 @@ export function getUserApplyOrderStatusByIdToBill (id) { export function disposeJobListData (jobList) { if (jobList !== undefined) { if (Array.isArray(jobList)) { - jobList.forEach((item) => { + jobList.forEach((item,index) => { item["workType"] = getWorkTypeById(item.workTypeMulti); - + item["sort"] = index + 1; if (isNotEmptyCheck(item.distance)) { item["distanceKm"] = getDistanceName(item.distance); } @@ -1531,6 +1531,33 @@ export function getSalaryClassifyValue (salaryClassify, salaryClassifyValue) { return "-"; } } + +/** + * 根据薪资类型和薪资值获取薪资展示 + */ +export function getSalaryClassifyValueText (salaryClassify, salaryClassifyValue) { + var hourlyPay = moneyToFixed(salaryClassifyValue); + if (salaryClassify == 0) { + return `${hourlyPay}元/小时`; + } else if (salaryClassify == 1) { + return `${hourlyPay}元/天`; + } else if (salaryClassify == 2) { + return `补${hourlyPay}元`; + } else if (salaryClassify == 3) { + return `返${hourlyPay}元`; + } else if (salaryClassify == 4) { + return "计件"; + } else if (salaryClassify == 5) { + return `保底${hourlyPay}元`; + } else if (salaryClassify == 6) { + return `面议`; + } else if (salaryClassify == 7) { + // return '请配置薪资'; + return `月薪`; + } else { + return "-"; + } +} // 通过身份证获取信息 export function getAgeFromBirthday (bir) {