From b447cdc19149d058f340a0bd68839ef1fec950e2 Mon Sep 17 00:00:00 2001 From: proudlx <965752348@qq.com> Date: Thu, 6 May 2021 15:03:48 +0800 Subject: [PATCH] =?UTF-8?q?'=E6=96=B0=E5=A2=9E=E5=9B=BD=E5=AF=8C=E4=BA=BA?= =?UTF-8?q?=E5=AF=BF=E4=BF=9D=E9=99=A9=E8=82=A1=E4=BB=BD=E6=9C=89=E9=99=90?= =?UTF-8?q?=E5=85=AC=E5=8F=B8=E8=87=AA=E4=BF=9D=E4=BB=B6=E6=89=BF=E8=AF=BA?= =?UTF-8?q?=E4=B9=A6'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/ebiz/agentEenter.js | 10 + src/views/ebiz/agentEenter/SelfInsurance.vue | 263 +++++++++++++++++++ src/views/ebiz/agentEenter/js/methods.js | 34 +-- 3 files changed, 292 insertions(+), 15 deletions(-) create mode 100644 src/views/ebiz/agentEenter/SelfInsurance.vue diff --git a/src/router/ebiz/agentEenter.js b/src/router/ebiz/agentEenter.js index 83c3fc8af..f73b11d66 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..4df5e2b08 --- /dev/null +++ b/src/views/ebiz/agentEenter/SelfInsurance.vue @@ -0,0 +1,263 @@ + + + {{ `提示:阅读时长需在${time}秒以上` }} + + + + + 本人确认已阅读 + 《国富人寿保险股份有限公司自保件承诺书》 + + + + 本人签字: + {{ + appntSign.signState == '0' ? '签名' : '已签名' + }} + + 下一步 + + + + + + + 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'