diff --git a/.eslintignore b/.eslintignore
index 0d00134a8..fc0ba2c30 100644
--- a/.eslintignore
+++ b/.eslintignore
@@ -1,5 +1,3 @@
public
dist
node_modules
-/node_modules
-./node_modules
diff --git a/src/views/ebiz/sale/AddBeneficiaryInfo.vue b/src/views/ebiz/sale/AddBeneficiaryInfo.vue
index 0d91ab8d3..7881789af 100644
--- a/src/views/ebiz/sale/AddBeneficiaryInfo.vue
+++ b/src/views/ebiz/sale/AddBeneficiaryInfo.vue
@@ -693,13 +693,13 @@ export default {
// 受益人与被保险人关系为父母时,受益人年龄必须大于被保险人年龄
if (this.userInfo.relationToInsured == '3') {
if (age < insuredInfo.age) {
- return this.$toast('亲,请确认受益人与被保险人关系哦')
+ this.$toast('亲,请确认受益人与被保险人关系哦')
}
}
// 受益人与被保险人关系为子女时,受益人年龄必须小于被保险人年龄
if (this.userInfo.relationToInsured == '4') {
if (age > insuredInfo.age) {
- return this.$toast('亲,请确认受益人与被保险人关系哦')
+ this.$toast('亲,请确认受益人与被保险人关系哦')
}
}
//如果证件类型是身份证
diff --git a/src/views/ebiz/sale/AttachmentManagement.vue b/src/views/ebiz/sale/AttachmentManagement.vue
index 1776bc11d..7cc79fdec 100644
--- a/src/views/ebiz/sale/AttachmentManagement.vue
+++ b/src/views/ebiz/sale/AttachmentManagement.vue
@@ -284,7 +284,7 @@
- 下一步
+ 下一步
@@ -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() {
console.log(888)
diff --git a/src/views/ebiz/sale/InsuredInfo.vue b/src/views/ebiz/sale/InsuredInfo.vue
index 6f731f706..be4391405 100644
--- a/src/views/ebiz/sale/InsuredInfo.vue
+++ b/src/views/ebiz/sale/InsuredInfo.vue
@@ -899,8 +899,8 @@ export default {
this.userInfo.occupationCode == '8000001'
) {
;
- } else if (this.userInfo.workcompany.length < 6) {
- return this.$toast('亲,您填写的工作单位过于简短哦~')
+ } else if (this.userInfo.workcompany.length < 6 && this.userInfo.workcompany.trim() != '无') {
+ this.$toast('亲,您填写的工作单位过于简短哦~')
}
if (this.userInfo.salarySource == '4') {
diff --git a/src/views/ebiz/sale/InsuredPerson.vue b/src/views/ebiz/sale/InsuredPerson.vue
index 658214179..7d44b9a01 100644
--- a/src/views/ebiz/sale/InsuredPerson.vue
+++ b/src/views/ebiz/sale/InsuredPerson.vue
@@ -1108,9 +1108,9 @@ export default {
this.userInfo.occupationCode == '4071203' ||
this.userInfo.occupationCode == '8000001'
) {
- console.log(1)
- } else if (this.userInfo.workcompany.length < 6) {
- return this.$toast('亲,您填写的工作单位过于简短哦~')
+ ;
+ } else if (this.userInfo.workcompany.length < 6 && this.userInfo.workcompany.trim() != '无') {
+ this.$toast('亲,您填写的工作单位过于简短哦~')
}
// 计算年龄
let age = utilsAge.getAge(this.userInfo.birthday, new Date())
@@ -1135,12 +1135,12 @@ export default {
} else if (this.userInfo.relationToAppnt == '4') {
//投被保人关系是子女
if (age > JSON.parse(localStorage.saleInsuredInfo).age) {
- return this.$toast('亲,请确认被保险人与投保人关系哦~')
+ this.$toast('亲,请确认被保险人与投保人关系哦~')
}
} else if (this.userInfo.relationToAppnt == '3') {
//投被保人关系是父母
if (age < JSON.parse(localStorage.saleInsuredInfo).age) {
- return this.$toast('亲,请确认被保险人与投保人关系哦~')
+ this.$toast('亲,请确认被保险人与投保人关系哦~')
}
}