From cab97e8fe4007f751a04023ece36393f775f9a06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=98=B3=E5=8D=8E=E7=A5=A5?= Date: Thu, 4 Jun 2020 17:59:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=9D=E5=85=A8=EF=BC=9A=E7=BB=AD=E6=9C=9F?= =?UTF-8?q?=E8=B4=A6=E5=8F=B7=E5=8F=98=E6=9B=B4=E8=B0=83=E6=95=B4=20=20--?= =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BA=BA=EF=BC=9A=E9=98=B3=E5=8D=8E=E7=A5=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/ebiz/preserve/preserve.js | 10 + src/router/ebiz/preserve.js | 10 + src/views/ebiz/preserve/Search.vue | 2 +- .../ebiz/preserve/common/HandleResult.vue | 2 +- src/views/ebiz/preserve/js/data-dictionary.js | 66 +++ src/views/ebiz/preserve/js/methods.js | 27 ++ .../ebiz/preserve/pc/AutopayAuthorization.vue | 26 +- src/views/ebiz/preserve/pc/ImageUpload.vue | 395 ++++------------- .../ebiz/preserve/pc/RenewalConfirmation.vue | 410 +++--------------- src/views/ebiz/preserve/pc/RenewalInfo.vue | 154 +++---- 10 files changed, 324 insertions(+), 778 deletions(-) diff --git a/src/api/ebiz/preserve/preserve.js b/src/api/ebiz/preserve/preserve.js index 44985f9bd..057440427 100644 --- a/src/api/ebiz/preserve/preserve.js +++ b/src/api/ebiz/preserve/preserve.js @@ -43,6 +43,16 @@ export function changeEdor(data) { }) } +//受益人变更提交 +export function queryConfirmDetail(data) { + return request({ + url: getUrl('/edor/edor/queryConfirmDetail', 1), + method: 'post', + data + }) +} + + //签名信息保存 export function edorSignSave(data) { return request({ diff --git a/src/router/ebiz/preserve.js b/src/router/ebiz/preserve.js index 91fd61f4d..a774d2d11 100644 --- a/src/router/ebiz/preserve.js +++ b/src/router/ebiz/preserve.js @@ -5,6 +5,7 @@ const handleResult = () => import('@/views/ebiz/preserve/common/HandleResult') const submitResult = () => import('@/views/ebiz/preserve/common/SubmitResult') const policyList = () => import('@/views/ebiz/preserve/common/PolicyList') const renewalInfo = () => import('@/views/ebiz/preserve/pc/RenewalInfo') +const pcImageUpload = () => import('@/views/ebiz/preserve/pc/ImageUpload') const renewalConfirmation = () => import('@/views/ebiz/preserve/pc/RenewalConfirmation') const autopayAuthorization = () => import('@/views/ebiz/preserve/pc/AutopayAuthorization') const contactInfo = () => import('@/views/ebiz/preserve/bb/ContactInfo') @@ -64,6 +65,15 @@ export default [ index: 4 } }, + { + path: '/preserve/pc/imageUpload', + name: 'pcImageUpload', + component: pcImageUpload, + meta: { + title: '续期账号图片上传', + index: 41 + } + }, { path: '/preserve/bc/beneficiaryInfo', name: 'beneficiaryInfo', diff --git a/src/views/ebiz/preserve/Search.vue b/src/views/ebiz/preserve/Search.vue index e982c675e..2fad189d3 100644 --- a/src/views/ebiz/preserve/Search.vue +++ b/src/views/ebiz/preserve/Search.vue @@ -136,7 +136,7 @@ export default { break case 'renewal': surrenderType = '3' - url = `/preserve/common/policyList?entry=PC` + url = `/preserve/pc/RenewalInfo?entry=PC` break case 'surrender': surrenderType = '4' diff --git a/src/views/ebiz/preserve/common/HandleResult.vue b/src/views/ebiz/preserve/common/HandleResult.vue index 80c6400e6..62349fbc6 100644 --- a/src/views/ebiz/preserve/common/HandleResult.vue +++ b/src/views/ebiz/preserve/common/HandleResult.vue @@ -39,7 +39,7 @@ export default { this.path = '/preserve/BeneficiaryConfirmation?entry=beneficiary&' break case 'renewal': - this.path = '2' + this.path = '/preserve/pc/renewalConfirmation?entry=renewal' break case 'bonus': this.path = '3' diff --git a/src/views/ebiz/preserve/js/data-dictionary.js b/src/views/ebiz/preserve/js/data-dictionary.js index 0b9c340e4..5dd15d357 100644 --- a/src/views/ebiz/preserve/js/data-dictionary.js +++ b/src/views/ebiz/preserve/js/data-dictionary.js @@ -26,5 +26,71 @@ export default { label: '犹豫期退保', type: 'WT' } + ], + // 续期缴费方式 1-现金、4-银行自动转账、8-银行回单 A-支付宝 W-微信 P-POS收费 + pcPayMode: [ + { + label: '现金', + type: '1' + }, + { + label: '银行自动转账', + id: '4' + }, + { + label: '银行回单', + id: '8' + }, + { + label: '支付宝', + id: 'A' + }, + { + label: '微信', + id: 'W' + }, + { + label: 'POS收费', + id: 'P' + } + ], + // 银行卡类型 + edorBankType: [ + { + id: 'ABC', + label: '农业银行' + }, + { + id: 'BOC', + label: '中国银行' + }, + { + id: 'BOCOM', + label: '交通银行' + }, + { + id: 'CCB', + label: '建设银行' + }, + { + id: 'CEB', + label: '光大银行' + }, + { + id: 'CIB', + label: '兴业银行' + }, + { + id: 'ICBC', + label: '工商银行' + }, + { + id: 'PSBC', + label: '邮储银行' + }, + { + id: 'CMB', + label: '招商银行' + } ] } diff --git a/src/views/ebiz/preserve/js/methods.js b/src/views/ebiz/preserve/js/methods.js index da4406408..b835a6d7a 100644 --- a/src/views/ebiz/preserve/js/methods.js +++ b/src/views/ebiz/preserve/js/methods.js @@ -1,4 +1,6 @@ //点击弹出组件 +import DataDictionary from '@/assets/js/utils/data-dictionary' + export function selectComp(that, index, type = '') { that.currentPopupIndex = index let title = '' @@ -93,3 +95,28 @@ export function getIdentityInfo(that, data, type) { } }) } + +// 数据字典 id 转 text +// eslint-disable-next-line no-unused-vars +function idToTextEdor(id, type) { + let text = '' + DataDictionary[type].some(item => { + if (item.id == id) { + text = item.label + } + }) + return text +} + +//json 数组分组 +function groupBy(array, f) { + const groups = {} + array.forEach(function(o) { + const group = JSON.stringify(f(o)) + groups[group] = groups[group] || [] + groups[group].push(o) + }) + return Object.keys(groups).map(function (group) { + return groups[group] + }) +} diff --git a/src/views/ebiz/preserve/pc/AutopayAuthorization.vue b/src/views/ebiz/preserve/pc/AutopayAuthorization.vue index ddc951ba2..85df3f4ed 100644 --- a/src/views/ebiz/preserve/pc/AutopayAuthorization.vue +++ b/src/views/ebiz/preserve/pc/AutopayAuthorization.vue @@ -3,27 +3,16 @@
{{ `提示:阅读时长需在${time}秒以上` }} -
-

自动转账授权书

-

本人授权本人所在企业或国富人寿保险有限公司 (下称"国富人寿") 以下事项:

-

1、本人所在企业或国富人寿可从本投保页面上"银行信息"栏中的结算账户 (下称"结算账户") 中划扣本人应交付的保险费。

-

2、本人授权指定银行按本人所在企业或国富人寿保险费划转要求划扣保险费时,免于核对密码或签名。就上述授权转账事宜,本人声明确知并保证遵守如下规定:

-

- 1、因账户内余额不足或其他非国富人寿原因导致保险费转账不成功的, 被保人应存入足够金额或重新提供有效结算账户,未及时支付保险费将导致当次投保申请失效。 -

-

2、本授权书为本人所在企业或国富人寿从本人指定的结算账户中扣款的授权证明,不作为收取现金的凭据。

-
- - - + + + 本人确认已阅读 《国富人寿自动转账授权书》 -
- -
- 完成 +
+ 下一步 +
@@ -58,6 +47,7 @@ export default { this.time-- if (this.time <= 0) { this.time = 0 + this.radio = '0' clearInterval(timer) } }, 1000) @@ -104,7 +94,7 @@ export default { } .iframe { width: 100vw; - height: 70vh; + height: 80vh; } .signature-confirm-content { text-indent: 2em; diff --git a/src/views/ebiz/preserve/pc/ImageUpload.vue b/src/views/ebiz/preserve/pc/ImageUpload.vue index 5779885fd..8c0940ef9 100644 --- a/src/views/ebiz/preserve/pc/ImageUpload.vue +++ b/src/views/ebiz/preserve/pc/ImageUpload.vue @@ -4,70 +4,19 @@
- -
- - - -
- -
- - - -
- -
-
- -
+
- + -
+
-
-
- - -
- - - -
-
@@ -75,7 +24,7 @@
- 下一步 + 下一步
@@ -83,8 +32,7 @@ diff --git a/src/views/ebiz/preserve/pc/RenewalConfirmation.vue b/src/views/ebiz/preserve/pc/RenewalConfirmation.vue index aed0f8dff..bceaf5743 100644 --- a/src/views/ebiz/preserve/pc/RenewalConfirmation.vue +++ b/src/views/ebiz/preserve/pc/RenewalConfirmation.vue @@ -15,89 +15,61 @@

保单信息

- +
- - + - - - + + + - - + +
+ -

以上变更后续账号信息

- - -
{{ newBank }}
-
- -
{{ newBankNo }}
-
+
+
+

以上变更后续账号信息

+ + +
{{ item.bankCode | idToText('edorBankType') }}
+
+ +
{{ item.bankNo }}
+
+
+

以下内容需要您阅读确认:

-

需阅读:

-

- 《自动转账授权书》 - -

+
+

需阅读:

+
+ 《{{ item.documentName }}》 + +
+

点击【开始】按钮,进行相关操作

- - - -

向此手机发送验证码确认用户身份

-

{{ customerMobile }}

- - - {{ - codeDisabled ? `${countDown}s后重新获取` : '获取验证码' - }} - -
-
- 提交申请 - - - 开始 + 开始
diff --git a/src/views/ebiz/preserve/pc/RenewalInfo.vue b/src/views/ebiz/preserve/pc/RenewalInfo.vue index f9a4156c9..0e37aa99f 100644 --- a/src/views/ebiz/preserve/pc/RenewalInfo.vue +++ b/src/views/ebiz/preserve/pc/RenewalInfo.vue @@ -4,18 +4,18 @@

保单信息

- +
- + - - + + - - - + + +
@@ -68,8 +68,10 @@