mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-15 01:16:45 +08:00
【fix】 修复在工作单位 为“无‘时,无法继续向下进行。修复部分非阻断验证
添加 证件都完成上传后,未勾选”销售人员已见证各证件原件并拍照上传“,而直接点击下一步,弹出提示:请勾选确认销售人员已见证各证件原件并拍照上传
This commit is contained in:
@@ -1,5 +1,3 @@
|
|||||||
public
|
public
|
||||||
dist
|
dist
|
||||||
node_modules
|
node_modules
|
||||||
/node_modules
|
|
||||||
./node_modules
|
|
||||||
|
|||||||
@@ -693,13 +693,13 @@ export default {
|
|||||||
// 受益人与被保险人关系为父母时,受益人年龄必须大于被保险人年龄
|
// 受益人与被保险人关系为父母时,受益人年龄必须大于被保险人年龄
|
||||||
if (this.userInfo.relationToInsured == '3') {
|
if (this.userInfo.relationToInsured == '3') {
|
||||||
if (age < insuredInfo.age) {
|
if (age < insuredInfo.age) {
|
||||||
return this.$toast('亲,请确认受益人与被保险人关系哦')
|
this.$toast('亲,请确认受益人与被保险人关系哦')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// 受益人与被保险人关系为子女时,受益人年龄必须小于被保险人年龄
|
// 受益人与被保险人关系为子女时,受益人年龄必须小于被保险人年龄
|
||||||
if (this.userInfo.relationToInsured == '4') {
|
if (this.userInfo.relationToInsured == '4') {
|
||||||
if (age > insuredInfo.age) {
|
if (age > insuredInfo.age) {
|
||||||
return this.$toast('亲,请确认受益人与被保险人关系哦')
|
this.$toast('亲,请确认受益人与被保险人关系哦')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//如果证件类型是身份证
|
//如果证件类型是身份证
|
||||||
|
|||||||
@@ -284,7 +284,7 @@
|
|||||||
</van-radio-group>
|
</van-radio-group>
|
||||||
</div>
|
</div>
|
||||||
<div class="bg-white bottom-btn">
|
<div class="bg-white bottom-btn">
|
||||||
<van-button type="danger" class="attachmentManagement-next" size="large" :disabled="isDisabled" @click="next" v-no-more-click="1000">下一步</van-button>
|
<van-button type="danger" class="attachmentManagement-next" size="large" :disabled="isDisabled" @click="next" @touchstart="beforeNext(isDisabled)" v-no-more-click="1000">下一步</van-button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
@@ -889,6 +889,11 @@ export default {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
beforeNext(isDis){
|
||||||
|
if(isDis && this.fileListBank.length > 0 && this.fileListIdBack.length > 0 && this.fileListIdFront.length > 0){
|
||||||
|
this.$toast('请勾选确认销售人员已见证各证件原件并拍照上传')
|
||||||
|
}
|
||||||
|
},
|
||||||
// 点击下一步
|
// 点击下一步
|
||||||
next() {
|
next() {
|
||||||
console.log(888)
|
console.log(888)
|
||||||
|
|||||||
@@ -899,8 +899,8 @@ export default {
|
|||||||
this.userInfo.occupationCode == '8000001'
|
this.userInfo.occupationCode == '8000001'
|
||||||
) {
|
) {
|
||||||
;
|
;
|
||||||
} else if (this.userInfo.workcompany.length < 6) {
|
} else if (this.userInfo.workcompany.length < 6 && this.userInfo.workcompany.trim() != '无') {
|
||||||
return this.$toast('亲,您填写的工作单位过于简短哦~')
|
this.$toast('亲,您填写的工作单位过于简短哦~')
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.userInfo.salarySource == '4') {
|
if (this.userInfo.salarySource == '4') {
|
||||||
|
|||||||
@@ -1108,9 +1108,9 @@ export default {
|
|||||||
this.userInfo.occupationCode == '4071203' ||
|
this.userInfo.occupationCode == '4071203' ||
|
||||||
this.userInfo.occupationCode == '8000001'
|
this.userInfo.occupationCode == '8000001'
|
||||||
) {
|
) {
|
||||||
console.log(1)
|
;
|
||||||
} else if (this.userInfo.workcompany.length < 6) {
|
} else if (this.userInfo.workcompany.length < 6 && this.userInfo.workcompany.trim() != '无') {
|
||||||
return this.$toast('亲,您填写的工作单位过于简短哦~')
|
this.$toast('亲,您填写的工作单位过于简短哦~')
|
||||||
}
|
}
|
||||||
// 计算年龄
|
// 计算年龄
|
||||||
let age = utilsAge.getAge(this.userInfo.birthday, new Date())
|
let age = utilsAge.getAge(this.userInfo.birthday, new Date())
|
||||||
@@ -1135,12 +1135,12 @@ export default {
|
|||||||
} else if (this.userInfo.relationToAppnt == '4') {
|
} else if (this.userInfo.relationToAppnt == '4') {
|
||||||
//投被保人关系是子女
|
//投被保人关系是子女
|
||||||
if (age > JSON.parse(localStorage.saleInsuredInfo).age) {
|
if (age > JSON.parse(localStorage.saleInsuredInfo).age) {
|
||||||
return this.$toast('亲,请确认被保险人与投保人关系哦~')
|
this.$toast('亲,请确认被保险人与投保人关系哦~')
|
||||||
}
|
}
|
||||||
} else if (this.userInfo.relationToAppnt == '3') {
|
} else if (this.userInfo.relationToAppnt == '3') {
|
||||||
//投被保人关系是父母
|
//投被保人关系是父母
|
||||||
if (age < JSON.parse(localStorage.saleInsuredInfo).age) {
|
if (age < JSON.parse(localStorage.saleInsuredInfo).age) {
|
||||||
return this.$toast('亲,请确认被保险人与投保人关系哦~')
|
this.$toast('亲,请确认被保险人与投保人关系哦~')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user