mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-11 14:26:43 +08:00
[FIX] 修改工作单位为非必填
This commit is contained in:
@@ -252,11 +252,9 @@
|
|||||||
<van-field
|
<van-field
|
||||||
v-if="specilFlag != '1'"
|
v-if="specilFlag != '1'"
|
||||||
v-model="userInfo.workcompany"
|
v-model="userInfo.workcompany"
|
||||||
required
|
|
||||||
label="工作单位"
|
label="工作单位"
|
||||||
name="工作单位"
|
name="工作单位"
|
||||||
placeholder="无工作单位,请输入无"
|
placeholder="无工作单位,请输入无"
|
||||||
v-validate="'required'"
|
|
||||||
maxlength="50"
|
maxlength="50"
|
||||||
clearable
|
clearable
|
||||||
/>
|
/>
|
||||||
@@ -1076,12 +1074,13 @@ export default {
|
|||||||
) {
|
) {
|
||||||
} else if (this.userInfo.workcompany.length < 6 && this.userInfo.workcompany.trim() != '无') {
|
} else if (this.userInfo.workcompany.length < 6 && this.userInfo.workcompany.trim() != '无') {
|
||||||
// await this.asyncToast('亲,您填写的工作单位过于简短哦~')
|
// await this.asyncToast('亲,您填写的工作单位过于简短哦~')
|
||||||
await this.$dialog.confirm({
|
this.userInfo.workcompany = '无'
|
||||||
title: '提示',
|
// await this.$dialog.confirm({
|
||||||
message: '亲,您填写的工作单位过于简短哦~',
|
// title: '提示',
|
||||||
confirmButtonText: '继续填写',
|
// message: '亲,您填写的工作单位过于简短哦~',
|
||||||
cancelButtonText: '返回修改'
|
// confirmButtonText: '继续填写',
|
||||||
})
|
// cancelButtonText: '返回修改'
|
||||||
|
// })
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.userInfo.salarySource == '4') {
|
if (this.userInfo.salarySource == '4') {
|
||||||
|
|||||||
Reference in New Issue
Block a user