From 8e2f2ba0eec6462d24d51e4cd68e2f39c7744100 Mon Sep 17 00:00:00 2001 From: zsk <710162063@qq.com> Date: Wed, 17 Jan 2024 15:56:08 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E4=B8=80=E6=89=8D=E8=81=8C?= =?UTF-8?q?=E4=BD=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/FirstJob/joblist.vue | 46 +++++++++++++++-------------- src/components/FirstJob/recordBillYicai.vue | 2 ++ 2 files changed, 26 insertions(+), 22 deletions(-) diff --git a/src/components/FirstJob/joblist.vue b/src/components/FirstJob/joblist.vue index 6b64d08..7df0f03 100644 --- a/src/components/FirstJob/joblist.vue +++ b/src/components/FirstJob/joblist.vue @@ -474,7 +474,7 @@ {{ item.jobDesp }}暂无详单 --> - + @@ -827,30 +827,32 @@ export default { } if(this.signType == ''){ this.getJobList() - this.getJobSpecial() - this.getProvince() - this.getdateinfo() - this.getHotCity() - this.getCityWhichHasJob() - this.getHotStore() - this.getClassifyList() - this.getUserManager() - this.hideFilterContent() - if (isNotEmptyCheck(localStorage.getItem('POSITION_INFO'))) { - let position = JSON.parse(localStorage.getItem('POSITION_INFO')) - let diffTime = new Date().getTime() - JSON.parse(localStorage.getItem('POSITION_INFO')).timestamp - if (diffTime / 3600000 > 24) { - this.getPosition() - } else { - this.lng = position.lng - this.lat = position.lat - } - } else { - this.getPosition() - } + }else{ this.getJobListYicai() } + + this.getJobSpecial() + this.getProvince() + this.getdateinfo() + this.getHotCity() + this.getCityWhichHasJob() + this.getHotStore() + this.getClassifyList() + this.getUserManager() + this.hideFilterContent() + if (isNotEmptyCheck(localStorage.getItem('POSITION_INFO'))) { + let position = JSON.parse(localStorage.getItem('POSITION_INFO')) + let diffTime = new Date().getTime() - JSON.parse(localStorage.getItem('POSITION_INFO')).timestamp + if (diffTime / 3600000 > 24) { + this.getPosition() + } else { + this.lng = position.lng + this.lat = position.lat + } + } else { + this.getPosition() + } }, /** diff --git a/src/components/FirstJob/recordBillYicai.vue b/src/components/FirstJob/recordBillYicai.vue index cdc51a1..7dd0feb 100644 --- a/src/components/FirstJob/recordBillYicai.vue +++ b/src/components/FirstJob/recordBillYicai.vue @@ -523,6 +523,8 @@ export default { let dataObj = qs.stringify({ ...this.form, jobId: this.firminfo.id, + interviewTimeStr:this.form.interviewTime + }) console.log(dataObj) const { data } = await recordBillYicaiApi(dataObj)