diff --git a/components/vertical-menu/classifyData.js b/components/vertical-menu/classifyData.js index fa345d4..d13d7ec 100644 --- a/components/vertical-menu/classifyData.js +++ b/components/vertical-menu/classifyData.js @@ -94,11 +94,11 @@ export const classifyData = [{ id: "30000", wageUnitCategory: 3, }, - { - name: "面议、暂无要求", - id: "", - wageUnitCategory: '', - }, + // { + // name: "面议、暂无要求", + // id: "", + // wageUnitCategory: '', + // }, ], }, { @@ -244,10 +244,10 @@ export const classifyData2 = [{ name: "30000以上", id: "30000-200000", }, - { - name: "面议、暂无要求", - id: "", - }, + // { + // name: "面议、暂无要求", + // id: "", + // }, ], }, { diff --git a/pages/projectInfo/projectInfo.vue b/pages/projectInfo/projectInfo.vue index 550542e..6a23846 100644 --- a/pages/projectInfo/projectInfo.vue +++ b/pages/projectInfo/projectInfo.vue @@ -95,7 +95,7 @@ 公司地址:{{info.companyAddress || '暂无'}} --> - 工作地址:{{info.jobAddress || cityNamed || '暂无'}} + 工作地址:{{info.jobAddress || '暂无'}} 详细地址:{{info.address || '暂无'}} @@ -334,31 +334,43 @@ }); }, submit: function() { - if (!this.$store.state.user.token) { - GoLogin() - return - } - if (this.loading) return - const auth = this.auth - const contractOn = this.info.contractOn - const sealOk = this.autograph && this.autograph.data && this.autograph.data.signSrcUrl - // if (sealOk) { - // console.log('直接抢任务') - // this.submitTask() - // } else - // if (!auth.realNameState || !auth.laborState || !auth.insureState) { - // this.goSign(0) - // } else if (!auth.bankCardState){ - // this.goSign(1) - // } else - if (contractOn && !sealOk) { - this.goSign(2) - } else if (sealOk && contractOn) { - this.nextBtn = true - this.lookMask() - } else { - this.submitTask() - } + const _that = this + uni.showModal({ + title: '提示', + content: '请确认申请,申请后不能撤销', + success: function(res) { + if (res.confirm) { + if (!_that.$store.state.user.token) { + GoLogin() + return + } + if (_that.loading) return + const auth = _that.auth + const contractOn = _that.info.contractOn + const sealOk = _that.autograph && _that.autograph.data && _that.autograph + .data.signSrcUrl + // if (sealOk) { + // console.log('直接抢任务') + // this.submitTask() + // } else + // if (!auth.realNameState || !auth.laborState || !auth.insureState) { + // this.goSign(0) + // } else if (!auth.bankCardState){ + // this.goSign(1) + // } else + if (contractOn && !sealOk) { + _that.goSign(2) + } else if (sealOk && contractOn) { + _that.nextBtn = true + _that.lookMask() + } else { + _that.submitTask() + } + } else if (res.cancel) { + _that.$api.msg('取消申请') + } + } + }); }, // 查看合同 lookMask() { diff --git a/pages/projectInfo/userrecruitInfo.vue b/pages/projectInfo/userrecruitInfo.vue index 1415c23..24a4998 100644 --- a/pages/projectInfo/userrecruitInfo.vue +++ b/pages/projectInfo/userrecruitInfo.vue @@ -338,31 +338,43 @@ } }, submit: function() { - if (!this.$store.state.user.token) { - GoLogin() - return - } - if (this.loading) return - const auth = this.auth - const contractOn = this.info.contractOn - const sealOk = this.autograph && this.autograph.data && this.autograph.data.signSrcUrl - // if (sealOk) { - // console.log('直接抢任务') - // this.submitTask() - // } else - // if (!auth.realNameState || !auth.laborState || !auth.insureState) { - // this.goSign(0) - // } else if (!auth.bankCardState){ - // this.goSign(1) - // } else - if (contractOn && !sealOk) { - this.goSign(2) - } else if (sealOk && contractOn) { - this.nextBtn = true - this.lookMask() - } else { - this.submitTask() - } + const _that = this + uni.showModal({ + title: '提示', + content: '请确认申请,申请后不能撤销', + success: function(res) { + if (res.confirm) { + if (!_that.$store.state.user.token) { + GoLogin() + return + } + if (_that.loading) return + const auth = _that.auth + const contractOn = _that.info.contractOn + const sealOk = _that.autograph && _that.autograph.data && _that.autograph + .data.signSrcUrl + // if (sealOk) { + // console.log('直接抢任务') + // this.submitTask() + // } else + // if (!auth.realNameState || !auth.laborState || !auth.insureState) { + // this.goSign(0) + // } else if (!auth.bankCardState){ + // this.goSign(1) + // } else + if (contractOn && !sealOk) { + _that.goSign(2) + } else if (sealOk && contractOn) { + _that.nextBtn = true + _that.lookMask() + } else { + _that.submitTask() + } + } else if (res.cancel) { + _that.$api.msg('取消申请') + } + } + }); }, // 查看合同 lookMask() { diff --git a/pages/projectInfo/userrecruitWorkInfo.vue b/pages/projectInfo/userrecruitWorkInfo.vue index 9f384eb..bab3e30 100644 --- a/pages/projectInfo/userrecruitWorkInfo.vue +++ b/pages/projectInfo/userrecruitWorkInfo.vue @@ -343,31 +343,43 @@ } }, submit: function() { - if (!this.$store.state.user.token) { - GoLogin() - return - } - if (this.loading) return - const auth = this.auth - const contractOn = this.info.contractOn - const sealOk = this.autograph && this.autograph.data && this.autograph.data.signSrcUrl - // if (sealOk) { - // console.log('直接抢任务') - // this.submitTask() - // } else - // if (!auth.realNameState || !auth.laborState || !auth.insureState) { - // this.goSign(0) - // } else if (!auth.bankCardState){ - // this.goSign(1) - // } else - if (contractOn && !sealOk) { - this.goSign(2) - } else if (sealOk && contractOn) { - this.nextBtn = true - this.lookMask() - } else { - this.submitTask() - } + const _that = this + uni.showModal({ + title: '提示', + content: '请确认申请,申请后不能撤销', + success: function(res) { + if (res.confirm) { + if (!_that.$store.state.user.token) { + GoLogin() + return + } + if (_that.loading) return + const auth = _that.auth + const contractOn = _that.info.contractOn + const sealOk = _that.autograph && _that.autograph.data && _that.autograph + .data.signSrcUrl + // if (sealOk) { + // console.log('直接抢任务') + // this.submitTask() + // } else + // if (!auth.realNameState || !auth.laborState || !auth.insureState) { + // this.goSign(0) + // } else if (!auth.bankCardState){ + // this.goSign(1) + // } else + if (contractOn && !sealOk) { + _that.goSign(2) + } else if (sealOk && contractOn) { + _that.nextBtn = true + _that.lookMask() + } else { + _that.submitTask() + } + } else if (res.cancel) { + _that.$api.msg('取消申请') + } + } + }); }, // 查看合同 lookMask() { diff --git a/pages/projectInfo/workInfo.vue b/pages/projectInfo/workInfo.vue index 2e97bdc..7e30cc9 100644 --- a/pages/projectInfo/workInfo.vue +++ b/pages/projectInfo/workInfo.vue @@ -329,31 +329,43 @@ }); }, submit: function() { - if (!this.$store.state.user.token) { - GoLogin() - return - } - if (this.loading) return - const auth = this.auth - const contractOn = this.info.contractOn - const sealOk = this.autograph && this.autograph.data && this.autograph.data.signSrcUrl - // if (sealOk) { - // console.log('直接抢任务') - // this.submitTask() - // } else - // if (!auth.realNameState || !auth.laborState || !auth.insureState) { - // this.goSign(0) - // } else if (!auth.bankCardState){ - // this.goSign(1) - // } else - if (contractOn && !sealOk) { - this.goSign(2) - } else if (sealOk && contractOn) { - this.nextBtn = true - this.lookMask() - } else { - this.submitTask() - } + const _that = this + uni.showModal({ + title: '提示', + content: '请确认申请,申请后不能撤销', + success: function(res) { + if (res.confirm) { + if (!_that.$store.state.user.token) { + GoLogin() + return + } + if (_that.loading) return + const auth = _that.auth + const contractOn = _that.info.contractOn + const sealOk = _that.autograph && _that.autograph.data && _that.autograph + .data.signSrcUrl + // if (sealOk) { + // console.log('直接抢任务') + // this.submitTask() + // } else + // if (!auth.realNameState || !auth.laborState || !auth.insureState) { + // this.goSign(0) + // } else if (!auth.bankCardState){ + // this.goSign(1) + // } else + if (contractOn && !sealOk) { + _that.goSign(2) + } else if (sealOk && contractOn) { + _that.nextBtn = true + _that.lookMask() + } else { + _that.submitTask() + } + } else if (res.cancel) { + _that.$api.msg('取消申请') + } + } + }); }, // 查看合同 lookMask() { diff --git a/pages/recruit/subPage/task.vue b/pages/recruit/subPage/task.vue index 05909a5..7035c56 100644 --- a/pages/recruit/subPage/task.vue +++ b/pages/recruit/subPage/task.vue @@ -90,10 +90,12 @@ 企业信息 - + - + diff --git a/pages/recruit/subPage/work.vue b/pages/recruit/subPage/work.vue index c89f657..39aa769 100644 --- a/pages/recruit/subPage/work.vue +++ b/pages/recruit/subPage/work.vue @@ -94,10 +94,12 @@ 企业信息 - + - +