diff --git a/src/router/ebiz/agentEenter.js b/src/router/ebiz/agentEenter.js index 90e111f2d..1db7e2168 100644 --- a/src/router/ebiz/agentEenter.js +++ b/src/router/ebiz/agentEenter.js @@ -29,6 +29,7 @@ const recordList = () => import('@/views/ebiz/agentEenter/approve/RecordList') const recordDetail = () => import('@/views/ebiz/agentEenter/approve/RecordDetail') const ResultEnd = () => import('@/views/ebiz/agentEenter/ResultEnd') const InformationInspectionAuthorization = () => import('@/views/ebiz/agentEenter/InformationInspectionAuthorization') +const SelfInsurance = () => import('@/views/ebiz/agentEenter/SelfInsurance') export default [ { @@ -67,6 +68,15 @@ export default [ index: 1 } }, + { + path: '/agentEenter/SelfInsurance', + name: 'SelfInsurance', + component: SelfInsurance, + meta: { + title: '国富人寿保险股份有限公司自保件承诺书', + index: 1 + } + }, { path: '/agentEenter/LetterOfCommitment', name: 'letterOfCommitment', diff --git a/src/views/ebiz/agentEenter/SelfInsurance.vue b/src/views/ebiz/agentEenter/SelfInsurance.vue new file mode 100644 index 000000000..0b6082579 --- /dev/null +++ b/src/views/ebiz/agentEenter/SelfInsurance.vue @@ -0,0 +1,263 @@ + + + + + diff --git a/src/views/ebiz/agentEenter/js/methods.js b/src/views/ebiz/agentEenter/js/methods.js index 1dd341a5e..9278f2101 100644 --- a/src/views/ebiz/agentEenter/js/methods.js +++ b/src/views/ebiz/agentEenter/js/methods.js @@ -38,15 +38,15 @@ export function selectComp(that, index, type = '') { } else if (index == 3) { if (type == '1') { //投保人 - CacheUtils.setLocItem('scanFromInsured','true') + CacheUtils.setLocItem('scanFromInsured', 'true') } else if (type == '2') { //被保险人 - CacheUtils.setLocItem('scanFromInsured','false') + CacheUtils.setLocItem('scanFromInsured', 'false') } ;[that.isScan, title] = [true, '身份证扫描'] } else if (index == 4) { - CacheUtils.setLocItem('scanFromInsured','0') - ;[that.bankisScan, title] = [true, '银行卡扫描'] + CacheUtils.setLocItem('scanFromInsured', '0') + ;[that.bankisScan, title] = [true, '银行卡扫描'] } setTimeout(() => { @@ -86,7 +86,7 @@ function closeBtn(that) { * @param {String} type 1 投保人; 2 被保险人; 3 受益人 */ export function appCallBack(that, type) { - return function() { + return function () { let title switch (type) { case '1': @@ -405,7 +405,7 @@ export function onConfirm(that, value, type) { } } that.areaName = '' - ;[that.userInfo.relationToInsured, that.relationToAppnt] = [value.id, value.text] + ;[that.userInfo.relationToInsured, that.relationToAppnt] = [value.id, value.text] } } break @@ -733,7 +733,7 @@ export function infoUpdate(that, type) { confirmButtonColor: '#FFFFFF' }) .then(() => { - CacheUtils.setLocItem('from','anotherChanged') + CacheUtils.setLocItem('from', 'anotherChanged') type == '1' ? that.save('isShow=1') : that.save() }) .catch(() => { @@ -831,7 +831,7 @@ export function sureArea(that, area, type, flag = false) { that.areaName = getAreaName(area) if (flag) { ;[that.userInfo.province, that.userInfo.city, that.userInfo.area] = [area[0].code, area[1].code, area[2].code] - ;[that.userInfo.bankProvince, that.userInfo.bankCity] = [area[0].code, area[1].code] + ;[that.userInfo.bankProvince, that.userInfo.bankCity] = [area[0].code, area[1].code] } else { ;[that.userInfo.companyProvince, that.userInfo.companyCity, that.userInfo.companyArea] = [area[0].code, area[1].code, area[2].code] } @@ -839,12 +839,12 @@ export function sureArea(that, area, type, flag = false) { break case '2': //家庭地址 that.homeName = getAreaName(area) - ;[that.userInfo.homeProvince, that.userInfo.homeCity, that.userInfo.homeArea] = [area[0].code, area[1].code, area[2].code] + ;[that.userInfo.homeProvince, that.userInfo.homeCity, that.userInfo.homeArea] = [area[0].code, area[1].code, area[2].code] that.homeShow = false break case '3': //户籍 that.census = getAreaName(area) - ;[that.userInfo.householdProvince, that.userInfo.householdCity] = [area[0].code, area[1].code] + ;[that.userInfo.householdProvince, that.userInfo.householdCity] = [area[0].code, area[1].code] that.censusShow = false break } @@ -977,7 +977,7 @@ export function filtSignList(that, signList) { let agentSignList = [], //申请人所需签署协议list guaranteeSignList = [] //担保人所需签署协议list //documentType:签名类型 0代理人 1 担保人 orderLis:显示顺序 - signList.sort(function(a, b) { + signList.sort(function (a, b) { return a.orderLis - b.orderLis }) signList.forEach(item => { @@ -1006,10 +1006,14 @@ export function filtSignList(that, signList) { // item.key = 3 item.path = 'MessageLetterOfCommitment' break - case '17': - // item.key = 3 - item.path = 'InformationInspectionAuthorization' - break + case '17': + // item.key = 3 + item.path = 'InformationInspectionAuthorization' + break + case '18': + // item.key = 3 + item.path = 'SelfInsurance' + break case '15': // item.key = 4 item.path = 'IllegalLetterOfCommitment'