[FIX]入司-基本信息填写-学历阻断入司(初中、小学、文盲、其他 阻断入司)

This commit is contained in:
yuweiqi
2020-03-02 12:44:47 +08:00
parent e0ba1ebd26
commit c0f6254fb3
2 changed files with 15 additions and 19 deletions

View File

@@ -911,7 +911,7 @@ export default {
shortName: '万能险', shortName: '万能险',
name: '国富人寿鑫管家终身寿险(万能型)', name: '国富人寿鑫管家终身寿险(万能型)',
code: 'GFRS_M0017' code: 'GFRS_M0017'
}, }
], ],
// 职级 // 职级
applGrade: [ applGrade: [
@@ -1355,49 +1355,45 @@ export default {
//入司文化程度 //入司文化程度
rsdegree: [ rsdegree: [
{ {
id: 2, id: 9,
text: '硕士' text: '硕士'
}, },
{ {
id: 3, id: 8,
text: '本科' text: '本科'
}, },
{ {
id: 4, id: 7,
text: '大专' text: '大专'
}, },
{ {
id: 5, id: 4,
text: '高中' text: '高中'
}, },
{ {
id: 6, id: 3,
text: '初中' text: '初中'
}, },
{ {
id: 7, id: 5,
text: '中专' text: '中专'
}, },
{ {
id: 8, id: 2,
text: '小学' text: '小学'
}, },
{ {
id: 12, id: 0,
text: '其他' text: '其他'
}, },
{ {
id: 13, id: 1,
text: '文盲' text: '文盲'
}, },
{ {
id: 14, id: 6,
text: '中技' text: '中技'
}, },
{
id: 12,
text: '其他'
},
{ {
id: 10, id: 10,
text: '博士' text: '博士'
@@ -2015,7 +2011,7 @@ export default {
//险种类型字典 //险种类型字典
insuranceDictionary: [ insuranceDictionary: [
{ code: '01', value: '寿险' }, { code: '01', value: '寿险' },
{ code: '02', value: '重疾' } { code: '02', value: '重疾' },
// { code: '03', value: '年金' } { code: '03', value: '年金' }
] ]
} }

View File

@@ -105,7 +105,7 @@
label="所学专业" label="所学专业"
name="所学专业" name="所学专业"
placeholder="请输入" placeholder="请输入"
v-validate="Number(userInfo.degree) <= 4 || Number(userInfo.degree) == 10 || Number(userInfo.degree) == 11 ? 'required' : ''" v-validate="Number(userInfo.degree) >= 7 ? 'required' : ''"
clearable clearable
/> />
<!-- <van-field v-model="userInfo.discipline" label="所学专业" name="所学专业" placeholder="请输入" v-validate="'required'" required clearable /> --> <!-- <van-field v-model="userInfo.discipline" label="所学专业" name="所学专业" placeholder="请输入" v-validate="'required'" required clearable /> -->
@@ -527,7 +527,7 @@ export default {
if (this.userInfo.bankName == '工商银行') { if (this.userInfo.bankName == '工商银行') {
this.userInfo.bankName = '102' this.userInfo.bankName = '102'
} }
if (Number(this.userInfo.degree) >= 6 && Number(this.userInfo.degree) <= 14 && Number(this.userInfo.degree) != 12) { if (Number(this.userInfo.degree) < 4) {
return this.$toast('学历不符合入司条件') return this.$toast('学历不符合入司条件')
} }
console.log('this.userInfo.bankName', this.userInfo.bankName) console.log('this.userInfo.bankName', this.userInfo.bankName)