diff --git a/src/assets/js/utils/data-dictionary.js b/src/assets/js/utils/data-dictionary.js index 418671286..8aa4e0c99 100644 --- a/src/assets/js/utils/data-dictionary.js +++ b/src/assets/js/utils/data-dictionary.js @@ -692,7 +692,15 @@ export default { code: 'GFRSPRO_M0002' } ], - // 收入来源 + // 职级 + applGrade: [ + { id: 'A101', text: '客户专员' }, + { id: 'A102', text: '客户经理' }, + { id: 'A201', text: '业务主任' }, + { id: 'A202', text: '高级主任' }, + { id: 'A301', text: '营业部经理' }, + { id: 'A401', text: '业务总监' } + ], salarySource: [ { id: 1, @@ -924,6 +932,7 @@ export default { relationType: [{ id: '0', text: '父母' }, { id: '1', text: '配偶' }, { id: '2', text: '子女' }], guarantRelationType: [{ id: '0', text: '亲属' }, { id: '1', text: '朋友' }, { id: '2', text: '同事' }, { id: '3', text: '其他' }], classification: [{ id: '0', text: '司内' }, { id: '1', text: '司外' }], + //入司国籍/地区 rsnativeplace: [ { id: 'AGO', text: '安哥拉' }, { id: 'AND', text: '安道尔共和国' }, @@ -1172,5 +1181,52 @@ export default { { A201: '业务主任' }, { A202: '高级主任' }, { A301: '营业部经理' }, - { A401: '业务总监' }] + { A401: '业务总监' }], + //入司籍贯、户口所在地 + rsnativePlace: [ + { id: '01', text: '北京市' }, + { id: '02', text: '天津市' }, + { id: '03', text: '河北省' }, + { id: '04', text: '山西省' }, + { id: '05', text: '内蒙古自治区' }, + { id: '06', text: '辽宁省' }, + { id: '07', text: '吉林省' }, + { id: '08', text: '黑龙江省' }, + { id: '09', text: '上海市' }, + { id: '10', text: '江苏省' }, + { id: '11', text: '浙江省' }, + { id: '12', text: '安徽省' }, + { id: '13', text: '福建省' }, + { id: '14', text: '江西省' }, + { id: '15', text: '山东省' }, + { id: '16', text: '河南省' }, + { id: '17', text: '湖北省' }, + { id: '18', text: '湖南省' }, + { id: '19', text: '广东省' }, + { id: '20', text: '广西壮族自治区' }, + { id: '21', text: '海南省' }, + { id: '22', text: '重庆市' }, + { id: '23', text: '四川省' }, + { id: '24', text: '贵州省' }, + { id: '25', text: '云南省' }, + { id: '26', text: '西藏自治区' }, + { id: '27', text: '陕西省' }, + { id: '28', text: '甘肃省' }, + { id: '29', text: '青海省' }, + { id: '30', text: '宁夏回族自治区' }, + { id: '31', text: '新疆维吾尔族自治区' }, + { id: '32', text: '台湾省' }, + { id: '33', text: '香港特别行政区' }, + { id: '34', text: '澳门特别行政区' } + ], + //原职业 + oldOccupation: [ + { id: '02', text: '教师' }, + { id: '03', text: '销售' }, + { id: '04', text: '技师' }, + { id: '05', text: '财务' }, + { id: '06', text: '医护' }, + { id: '07', text: '保险外勤' }, + { id: '08', text: '其它' } + ] } diff --git a/src/views/ebiz/agentEenter/AgentEenterBasicHealth.vue b/src/views/ebiz/agentEenter/AgentEenterBasicHealth.vue index b02f812b1..720cec1a8 100644 --- a/src/views/ebiz/agentEenter/AgentEenterBasicHealth.vue +++ b/src/views/ebiz/agentEenter/AgentEenterBasicHealth.vue @@ -22,7 +22,7 @@ -
+
@@ -148,11 +148,14 @@ export default { let that = this that.impartDTOS.map(item => { item.impartAnswer = '1' - item.itemDtoLst.map(it => { + if(item.itemDtoLst){ + item.itemDtoLst.map(it => { if (it.itemDetatilDtoLst) { it.impartAnswer = '1' } }) + } + }) }, // 单选改变时候 diff --git a/src/views/ebiz/agentEenter/AgentEenterBasicImage.vue b/src/views/ebiz/agentEenter/AgentEenterBasicImage.vue index 3d228ff08..22339247e 100644 --- a/src/views/ebiz/agentEenter/AgentEenterBasicImage.vue +++ b/src/views/ebiz/agentEenter/AgentEenterBasicImage.vue @@ -9,7 +9,7 @@
- +
-
+ @@ -48,6 +48,20 @@ />
+ + + +
+ +
*近期免冠照片1张(半身、免冠、正面、白底、彩色,jpg格式,大小10-25K像素210*370或相同宽高比例) @@ -103,7 +117,7 @@ export default { // 身份证正面 fileListBank01: [], // 身份证反面 - fileListBank02: [], + fileListBank06: [], // 学历附件 fileListBank03: [], // 免冠照 @@ -166,9 +180,9 @@ export default { case '1': // 身份证正面 this.fileListBank01 = [{ url: config.imgDomain + `/returnImageStream?a=b.jpg&imgPath=${item.rgssUrl}` }] break - case '2': // 身份证反面 - this.fileListBank02 = [{ url: config.imgDomain + `/returnImageStream?a=b.jpg&imgPath=${item.rgssUrl}` }] - break + // case '2': // 身份证反面 + // this.fileListBank02 = [{ url: config.imgDomain + `/returnImageStream?a=b.jpg&imgPath=${item.rgssUrl}` }] + // break case '12': // 学历证明原件 this.fileListBank03 = [{ url: config.imgDomain + `/returnImageStream?a=b.jpg&imgPath=${item.rgssUrl}` }] break @@ -178,6 +192,9 @@ export default { case '3': // 银行卡 this.fileListBank05 = [{ url: config.imgDomain + `/returnImageStream?a=b.jpg&imgPath=${item.rgssUrl}` }] break + case '6': //担保人待定case + this.fileListBank06 = [{ url: config.imgDomain + `/returnImageStream?a=b.jpg&imgPath=${item.rgssUrl}` }] + break } }) this.list = result @@ -192,14 +209,18 @@ export default { }).then(() => { if (detail.name == 'fileListBank01') { this.fileListBank01 = [] - } else if (detail.name == 'fileListBank02') { - this.fileListBank02 = [] - } else if (detail.name == 'fileListBank03') { + } + // } else if (detail.name == 'fileListBank02') { + // this.fileListBank02 = [] + // } + else if (detail.name == 'fileListBank03') { this.fileListBank03 = [] } else if (detail.name == 'fileListBank04') { this.fileListBank04 = [] } else if (detail.name == 'fileListBank05') { this.fileListBank05 = [] + }else if (detail.name == 'fileListBank06') { + this.fileListBank06 = [] } this.deleteImg(file) }) @@ -238,22 +259,34 @@ export default { if (res.result == '0') { this.$toast.clear() let imageInfoType = '' + let subBusinessType = '' if (that.type == 'fileListBank01') { //身份证正面 imageInfoType = '1' - } else if (that.type == 'fileListBank02') { - //身份证反面 - imageInfoType = '2' - } else if (that.type == 'fileListBank03') { + subBusinessType = '3' + } + // else if (that.type == 'fileListBank02') { + // //身份证反面 + // imageInfoType = '2' + // } + else if (that.type == 'fileListBank03') { //学历 imageInfoType = '12' + subBusinessType = '3' } else if (that.type == 'fileListBank04') { //免冠 imageInfoType = '13' + subBusinessType = '3' } else if (that.type == 'fileListBank05') { //银行卡 imageInfoType = '3' + subBusinessType = '3' + } else if (that.type == 'fileListBank06') { + //银行卡 + imageInfoType = '3' + subBusinessType = '3' } + let obj = { imageInfoType: imageInfoType, fileName: that.imgName, @@ -328,10 +361,10 @@ export default { }, computed: { listenChange() { - const { fileListBank01, fileListBank02, fileListBank03, fileListBank04, fileListBank05 } = this + const { fileListBank01, fileListBank06, fileListBank03, fileListBank04, fileListBank05 } = this return { fileListBank01, - fileListBank02, + fileListBank06, fileListBank03, fileListBank04, fileListBank05 @@ -343,7 +376,7 @@ export default { let that = this if ( val.fileListBank01.length != '0' && - val.fileListBank02.length != '0' && + val.fileListBank06.length != '0' && val.fileListBank03.length != '0' && val.fileListBank04.length != '0' && val.fileListBank05.length != '0' diff --git a/src/views/ebiz/agentEenter/AgentEenterBasicInfor.vue b/src/views/ebiz/agentEenter/AgentEenterBasicInfor.vue index 43eeabf39..6f2265d7f 100644 --- a/src/views/ebiz/agentEenter/AgentEenterBasicInfor.vue +++ b/src/views/ebiz/agentEenter/AgentEenterBasicInfor.vue @@ -4,8 +4,8 @@

基本信息

- - + + - + - - + + + + - - - + + + 银行卡扫描 - - + + +

推荐人信息

@@ -311,6 +323,7 @@ export default { age: '', // 年龄 birthday: '', // 手机 mobile: '', //移动电话 + nativePlace: '', //籍贯 ethnic: '', //民族 // homeProvince: '', //家庭省 health: '', //健康状况 @@ -329,11 +342,19 @@ export default { address: '', //现住址 bankProvince: '', // 开户省 bankCity: '', // 开户市 - bankName: '', // 开户银行 + bankName: '102', // 开户银行 // 银行卡号 bankCode: '', - //户口所在地 - homeProvince: '' + rgtAddress: '', //户口所在地 + title: '', //职称 + accountName: '', //开户姓名 + perationPeriod: '', //从业年限 + oldCompany: '', //原工作单位 + oldOccupation: '', //原职业 + sameTrade: '', //是否同业 + nationality: '', //国籍/地区 + foreigners: '', //是否境外人员 + applGrade:'' //职级 }, areaList: areaList, currentPopupIndex: '', @@ -341,14 +362,14 @@ export default { occupationShowPicker: false, timeId: null, ebiz_referrer: { - referCode: '', - referName: '', - teamCode: '', - teamName: '', - officeCode: '', - officeName: '', - areaCode: '', - areaName: '' + referCode: '--', + referName: '--', + teamCode: '--', + teamName: '--', + officeCode: '--', + officeName: '--', + areaCode: '--', + areaName: '--' } } }, @@ -356,14 +377,16 @@ export default { // 筛选按钮的点击事件 // window.appCallBack = this.appCallBack window.appCallBack = appCallBack(this, '1') - // this.agentAll() + this.agentAll() // // 获取银行卡 // this.getBankList() }, methods: { //获取推荐人信息 agentAll() { - let data = {} + let data = { + userModel: { mobile: 13000000000 } + } agentAll(data).then(res => { if (res.result == '0') { this.userInfo = res.content.ebizEnterCustomerDto @@ -458,6 +481,7 @@ export default { } let data = { entryType: 'CUSTOMER_BASE', + userModel: { mobile: 13000000000 }, //线上去掉 ebizEnterCustomerDto: this.userInfo } saveOrUpdateInfo(data).then(res => { diff --git a/src/views/ebiz/agentEenter/HealthNotice.vue b/src/views/ebiz/agentEenter/HealthNotice.vue index 666607fbd..4f9b0a95d 100644 --- a/src/views/ebiz/agentEenter/HealthNotice.vue +++ b/src/views/ebiz/agentEenter/HealthNotice.vue @@ -7,7 +7,7 @@ 本人确认已阅读 - 《个险营销员健康告知书》 + 《保险代理申请人健康声明》
@@ -73,16 +73,16 @@ export default { agreementQuery() { let that = this let data = { - // userModel: { - // mobile: '18888888888' - // } + userModel: { //线上去掉 + mobile: '13000000000' + } } agreementQuery(data).then(res => { console.log(res) if (res.result == '0') { res.content.ebizAgreementDtoList.map(item => { console.log(item) - if (item.type == '7') { + if (item.type == '13') { that.appntSign = item } }) @@ -149,11 +149,11 @@ export default { goNext() { let that = this let data = { - // userModel: { - // mobile: '18888888888' - // }, - baseEncryp: that.base64, - // baseEncryp: '123456', + userModel: { + mobile: '13000000000' + }, + // baseEncryp: that.base64, + baseEncryp: '123456', ebizAgreementDto: that.appntSign } signAgreement(data).then(res => { diff --git a/src/views/ebiz/agentEenter/SignContract.vue b/src/views/ebiz/agentEenter/SignContract.vue index 3bd162849..e813ab5f8 100644 --- a/src/views/ebiz/agentEenter/SignContract.vue +++ b/src/views/ebiz/agentEenter/SignContract.vue @@ -13,8 +13,7 @@ 需签署:
  • -
    {{ sign.name }}
    - +
    {{ sign.name }}
@@ -63,7 +62,9 @@ export default { methods: { //获取签署协议人信息 agreementQuery() { - let data = {} + let data = { + userModel: { mobile: 13000000000 }, //线上去掉 + } agreementQuery(data).then(res => { console.log(res) if (res.result == '0') { diff --git a/src/views/ebiz/agentEenter/js/methods.js b/src/views/ebiz/agentEenter/js/methods.js index a4c922b2b..1854aaf61 100644 --- a/src/views/ebiz/agentEenter/js/methods.js +++ b/src/views/ebiz/agentEenter/js/methods.js @@ -185,6 +185,14 @@ export function toSelect(that, pickerType, valueKey, type) { } } else if (pickerType == '8') { that.columns = DataDictionary.workCondition + } else if (pickerType == '10') { + that.columns = DataDictionary.rsnativePlace + } else if (pickerType == '11') { + that.columns = DataDictionary.oldOccupation + } else if (pickerType == '12') { + that.columns = DataDictionary.rsnativeplace + } else if (pickerType == '13') { + that.columns = DataDictionary.applGrade } } @@ -375,6 +383,14 @@ export function onConfirm(that, value, type) { } } else if (that.pickerType == '8') { that.userInfo.jobStatus = value.id + } else if (that.pickerType == '10') { + that.userInfo.rgtAddress = value.id + } else if (that.pickerType == '11') { + that.userInfo.oldOccupation = value.id + } else if (that.pickerType == '12') { + that.userInfo.nationality = value.id + } else if (that.pickerType == '13') { + that.userInfo.applGrade = value.id } }