flat: 添加提示等

This commit is contained in:
Apcallover
2024-04-23 20:47:18 +08:00
parent 04c0c631fd
commit b15fbe0f85
7 changed files with 166 additions and 114 deletions

View File

@@ -94,11 +94,11 @@ export const classifyData = [{
id: "30000", id: "30000",
wageUnitCategory: 3, wageUnitCategory: 3,
}, },
{ // {
name: "面议、暂无要求", // name: "面议、暂无要求",
id: "", // id: "",
wageUnitCategory: '', // wageUnitCategory: '',
}, // },
], ],
}, },
{ {
@@ -244,10 +244,10 @@ export const classifyData2 = [{
name: "30000以上", name: "30000以上",
id: "30000-200000", id: "30000-200000",
}, },
{ // {
name: "面议、暂无要求", // name: "面议、暂无要求",
id: "", // id: "",
}, // },
], ],
}, },
{ {

View File

@@ -95,7 +95,7 @@
公司地址{{info.companyAddress || '暂无'}} 公司地址{{info.companyAddress || '暂无'}}
</view> --> </view> -->
<view class="prolist"> <view class="prolist">
工作地址{{info.jobAddress || cityNamed || '暂无'}} 工作地址{{info.jobAddress || '暂无'}}
</view> </view>
<view class="prolist"> <view class="prolist">
详细地址{{info.address || '暂无'}} 详细地址{{info.address || '暂无'}}
@@ -334,31 +334,43 @@
}); });
}, },
submit: function() { submit: function() {
if (!this.$store.state.user.token) { const _that = this
GoLogin() uni.showModal({
return title: '提示',
} content: '请确认申请,申请后不能撤销',
if (this.loading) return success: function(res) {
const auth = this.auth if (res.confirm) {
const contractOn = this.info.contractOn if (!_that.$store.state.user.token) {
const sealOk = this.autograph && this.autograph.data && this.autograph.data.signSrcUrl GoLogin()
// if (sealOk) { return
// console.log('直接抢任务') }
// this.submitTask() if (_that.loading) return
// } else const auth = _that.auth
// if (!auth.realNameState || !auth.laborState || !auth.insureState) { const contractOn = _that.info.contractOn
// this.goSign(0) const sealOk = _that.autograph && _that.autograph.data && _that.autograph
// } else if (!auth.bankCardState){ .data.signSrcUrl
// this.goSign(1) // if (sealOk) {
// } else // console.log('直接抢任务')
if (contractOn && !sealOk) { // this.submitTask()
this.goSign(2) // } else
} else if (sealOk && contractOn) { // if (!auth.realNameState || !auth.laborState || !auth.insureState) {
this.nextBtn = true // this.goSign(0)
this.lookMask() // } else if (!auth.bankCardState){
} else { // this.goSign(1)
this.submitTask() // } 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() { lookMask() {

View File

@@ -338,31 +338,43 @@
} }
}, },
submit: function() { submit: function() {
if (!this.$store.state.user.token) { const _that = this
GoLogin() uni.showModal({
return title: '提示',
} content: '请确认申请,申请后不能撤销',
if (this.loading) return success: function(res) {
const auth = this.auth if (res.confirm) {
const contractOn = this.info.contractOn if (!_that.$store.state.user.token) {
const sealOk = this.autograph && this.autograph.data && this.autograph.data.signSrcUrl GoLogin()
// if (sealOk) { return
// console.log('直接抢任务') }
// this.submitTask() if (_that.loading) return
// } else const auth = _that.auth
// if (!auth.realNameState || !auth.laborState || !auth.insureState) { const contractOn = _that.info.contractOn
// this.goSign(0) const sealOk = _that.autograph && _that.autograph.data && _that.autograph
// } else if (!auth.bankCardState){ .data.signSrcUrl
// this.goSign(1) // if (sealOk) {
// } else // console.log('直接抢任务')
if (contractOn && !sealOk) { // this.submitTask()
this.goSign(2) // } else
} else if (sealOk && contractOn) { // if (!auth.realNameState || !auth.laborState || !auth.insureState) {
this.nextBtn = true // this.goSign(0)
this.lookMask() // } else if (!auth.bankCardState){
} else { // this.goSign(1)
this.submitTask() // } 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() { lookMask() {

View File

@@ -343,31 +343,43 @@
} }
}, },
submit: function() { submit: function() {
if (!this.$store.state.user.token) { const _that = this
GoLogin() uni.showModal({
return title: '提示',
} content: '请确认申请,申请后不能撤销',
if (this.loading) return success: function(res) {
const auth = this.auth if (res.confirm) {
const contractOn = this.info.contractOn if (!_that.$store.state.user.token) {
const sealOk = this.autograph && this.autograph.data && this.autograph.data.signSrcUrl GoLogin()
// if (sealOk) { return
// console.log('直接抢任务') }
// this.submitTask() if (_that.loading) return
// } else const auth = _that.auth
// if (!auth.realNameState || !auth.laborState || !auth.insureState) { const contractOn = _that.info.contractOn
// this.goSign(0) const sealOk = _that.autograph && _that.autograph.data && _that.autograph
// } else if (!auth.bankCardState){ .data.signSrcUrl
// this.goSign(1) // if (sealOk) {
// } else // console.log('直接抢任务')
if (contractOn && !sealOk) { // this.submitTask()
this.goSign(2) // } else
} else if (sealOk && contractOn) { // if (!auth.realNameState || !auth.laborState || !auth.insureState) {
this.nextBtn = true // this.goSign(0)
this.lookMask() // } else if (!auth.bankCardState){
} else { // this.goSign(1)
this.submitTask() // } 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() { lookMask() {

View File

@@ -329,31 +329,43 @@
}); });
}, },
submit: function() { submit: function() {
if (!this.$store.state.user.token) { const _that = this
GoLogin() uni.showModal({
return title: '提示',
} content: '请确认申请,申请后不能撤销',
if (this.loading) return success: function(res) {
const auth = this.auth if (res.confirm) {
const contractOn = this.info.contractOn if (!_that.$store.state.user.token) {
const sealOk = this.autograph && this.autograph.data && this.autograph.data.signSrcUrl GoLogin()
// if (sealOk) { return
// console.log('直接抢任务') }
// this.submitTask() if (_that.loading) return
// } else const auth = _that.auth
// if (!auth.realNameState || !auth.laborState || !auth.insureState) { const contractOn = _that.info.contractOn
// this.goSign(0) const sealOk = _that.autograph && _that.autograph.data && _that.autograph
// } else if (!auth.bankCardState){ .data.signSrcUrl
// this.goSign(1) // if (sealOk) {
// } else // console.log('直接抢任务')
if (contractOn && !sealOk) { // this.submitTask()
this.goSign(2) // } else
} else if (sealOk && contractOn) { // if (!auth.realNameState || !auth.laborState || !auth.insureState) {
this.nextBtn = true // this.goSign(0)
this.lookMask() // } else if (!auth.bankCardState){
} else { // this.goSign(1)
this.submitTask() // } 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() { lookMask() {

View File

@@ -90,10 +90,12 @@
</u-form-item> </u-form-item>
<view style="font-size: 30rpx;font-weight: bold;padding: 20rpx 0 0;">企业信息</view> <view style="font-size: 30rpx;font-weight: bold;padding: 20rpx 0 0;">企业信息</view>
<u-form-item label="企业名称" prop="jobCompanyName" borderBottom labelWidth="80" ref="item1"> <u-form-item label="企业名称" prop="jobCompanyName" borderBottom labelWidth="80" ref="item1">
<u--input v-model="info.jobCompanyName" border="none" placeholder="请输入企业名称"></u--input> <u--input v-model="info.jobCompanyName" :disabled="true" border="none" disabledColor="#ffffff"
placeholder="请输入企业名称"></u--input>
</u-form-item> </u-form-item>
<u-form-item label="企业信用代码" prop="jobCompanyScale" borderBottom labelWidth="80" ref="item1"> <u-form-item label="企业信用代码" prop="jobCompanyScale" borderBottom labelWidth="80" ref="item1">
<u--input v-model="info.jobCompanyScale" border="none" placeholder="请输入企业信用代码"></u--input> <u--input v-model="info.jobCompanyScale" border="none" :disabled="true" disabledColor="#ffffff"
placeholder="请输入企业信用代码"></u--input>
</u-form-item> </u-form-item>
<u-form-item label="所属行业" prop="jobCompanyIndustry" borderBottom labelWidth="80" ref="item1"> <u-form-item label="所属行业" prop="jobCompanyIndustry" borderBottom labelWidth="80" ref="item1">
<u--input v-model="info.jobCompanyIndustry" border="none" placeholder="请输入所属行业"></u--input> <u--input v-model="info.jobCompanyIndustry" border="none" placeholder="请输入所属行业"></u--input>

View File

@@ -94,10 +94,12 @@
</u-form-item> </u-form-item>
<view style="font-size: 30rpx;font-weight: bold;padding: 20rpx 0 0;">企业信息</view> <view style="font-size: 30rpx;font-weight: bold;padding: 20rpx 0 0;">企业信息</view>
<u-form-item label="企业名称" prop="jobCompanyName" borderBottom labelWidth="80" ref="item1"> <u-form-item label="企业名称" prop="jobCompanyName" borderBottom labelWidth="80" ref="item1">
<u--input v-model="info.jobCompanyName" border="none" placeholder="请输入企业名称"></u--input> <u--input v-model="info.jobCompanyName" border="none" :disabled="true" disabledColor="#ffffff"
placeholder="请输入企业名称"></u--input>
</u-form-item> </u-form-item>
<u-form-item label="企业信用代码" prop="jobCompanyScale" borderBottom labelWidth="80" ref="item1"> <u-form-item label="企业信用代码" prop="jobCompanyScale" borderBottom labelWidth="80" ref="item1">
<u--input v-model="info.jobCompanyScale" border="none" placeholder="请输入企业信用代码"></u--input> <u--input v-model="info.jobCompanyScale" border="none" :disabled="true" disabledColor="#ffffff"
placeholder="请输入企业信用代码"></u--input>
</u-form-item> </u-form-item>
<u-form-item label="所属行业" prop="jobCompanyIndustry" borderBottom labelWidth="80" ref="item1"> <u-form-item label="所属行业" prop="jobCompanyIndustry" borderBottom labelWidth="80" ref="item1">
<u--input v-model="info.jobCompanyIndustry" border="none" placeholder="请输入所属行业"></u--input> <u--input v-model="info.jobCompanyIndustry" border="none" placeholder="请输入所属行业"></u--input>