flat: 添加提示等
This commit is contained in:
@@ -95,7 +95,7 @@
|
||||
公司地址:{{info.companyAddress || '暂无'}}
|
||||
</view> -->
|
||||
<view class="prolist">
|
||||
工作地址:{{info.jobAddress || cityNamed || '暂无'}}
|
||||
工作地址:{{info.jobAddress || '暂无'}}
|
||||
</view>
|
||||
<view class="prolist">
|
||||
详细地址:{{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() {
|
||||
|
||||
@@ -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() {
|
||||
|
||||
@@ -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() {
|
||||
|
||||
@@ -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() {
|
||||
|
||||
@@ -90,10 +90,12 @@
|
||||
</u-form-item>
|
||||
<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--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 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 label="所属行业" prop="jobCompanyIndustry" borderBottom labelWidth="80" ref="item1">
|
||||
<u--input v-model="info.jobCompanyIndustry" border="none" placeholder="请输入所属行业"></u--input>
|
||||
|
||||
@@ -94,10 +94,12 @@
|
||||
</u-form-item>
|
||||
<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--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 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 label="所属行业" prop="jobCompanyIndustry" borderBottom labelWidth="80" ref="item1">
|
||||
<u--input v-model="info.jobCompanyIndustry" border="none" placeholder="请输入所属行业"></u--input>
|
||||
|
||||
Reference in New Issue
Block a user