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,14 +334,21 @@
}); });
}, },
submit: function() { submit: function() {
if (!this.$store.state.user.token) { const _that = this
uni.showModal({
title: '提示',
content: '请确认申请,申请后不能撤销',
success: function(res) {
if (res.confirm) {
if (!_that.$store.state.user.token) {
GoLogin() GoLogin()
return return
} }
if (this.loading) return if (_that.loading) return
const auth = this.auth const auth = _that.auth
const contractOn = this.info.contractOn const contractOn = _that.info.contractOn
const sealOk = this.autograph && this.autograph.data && this.autograph.data.signSrcUrl const sealOk = _that.autograph && _that.autograph.data && _that.autograph
.data.signSrcUrl
// if (sealOk) { // if (sealOk) {
// console.log('直接抢任务') // console.log('直接抢任务')
// this.submitTask() // this.submitTask()
@@ -352,13 +359,18 @@
// this.goSign(1) // this.goSign(1)
// } else // } else
if (contractOn && !sealOk) { if (contractOn && !sealOk) {
this.goSign(2) _that.goSign(2)
} else if (sealOk && contractOn) { } else if (sealOk && contractOn) {
this.nextBtn = true _that.nextBtn = true
this.lookMask() _that.lookMask()
} else { } else {
this.submitTask() _that.submitTask()
} }
} else if (res.cancel) {
_that.$api.msg('取消申请')
}
}
});
}, },
// 查看合同 // 查看合同
lookMask() { lookMask() {

View File

@@ -338,14 +338,21 @@
} }
}, },
submit: function() { submit: function() {
if (!this.$store.state.user.token) { const _that = this
uni.showModal({
title: '提示',
content: '请确认申请,申请后不能撤销',
success: function(res) {
if (res.confirm) {
if (!_that.$store.state.user.token) {
GoLogin() GoLogin()
return return
} }
if (this.loading) return if (_that.loading) return
const auth = this.auth const auth = _that.auth
const contractOn = this.info.contractOn const contractOn = _that.info.contractOn
const sealOk = this.autograph && this.autograph.data && this.autograph.data.signSrcUrl const sealOk = _that.autograph && _that.autograph.data && _that.autograph
.data.signSrcUrl
// if (sealOk) { // if (sealOk) {
// console.log('直接抢任务') // console.log('直接抢任务')
// this.submitTask() // this.submitTask()
@@ -356,13 +363,18 @@
// this.goSign(1) // this.goSign(1)
// } else // } else
if (contractOn && !sealOk) { if (contractOn && !sealOk) {
this.goSign(2) _that.goSign(2)
} else if (sealOk && contractOn) { } else if (sealOk && contractOn) {
this.nextBtn = true _that.nextBtn = true
this.lookMask() _that.lookMask()
} else { } else {
this.submitTask() _that.submitTask()
} }
} else if (res.cancel) {
_that.$api.msg('取消申请')
}
}
});
}, },
// 查看合同 // 查看合同
lookMask() { lookMask() {

View File

@@ -343,14 +343,21 @@
} }
}, },
submit: function() { submit: function() {
if (!this.$store.state.user.token) { const _that = this
uni.showModal({
title: '提示',
content: '请确认申请,申请后不能撤销',
success: function(res) {
if (res.confirm) {
if (!_that.$store.state.user.token) {
GoLogin() GoLogin()
return return
} }
if (this.loading) return if (_that.loading) return
const auth = this.auth const auth = _that.auth
const contractOn = this.info.contractOn const contractOn = _that.info.contractOn
const sealOk = this.autograph && this.autograph.data && this.autograph.data.signSrcUrl const sealOk = _that.autograph && _that.autograph.data && _that.autograph
.data.signSrcUrl
// if (sealOk) { // if (sealOk) {
// console.log('直接抢任务') // console.log('直接抢任务')
// this.submitTask() // this.submitTask()
@@ -361,13 +368,18 @@
// this.goSign(1) // this.goSign(1)
// } else // } else
if (contractOn && !sealOk) { if (contractOn && !sealOk) {
this.goSign(2) _that.goSign(2)
} else if (sealOk && contractOn) { } else if (sealOk && contractOn) {
this.nextBtn = true _that.nextBtn = true
this.lookMask() _that.lookMask()
} else { } else {
this.submitTask() _that.submitTask()
} }
} else if (res.cancel) {
_that.$api.msg('取消申请')
}
}
});
}, },
// 查看合同 // 查看合同
lookMask() { lookMask() {

View File

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