From 5ac56aa13e4aee044dea3ae7f423c693b3d084e1 Mon Sep 17 00:00:00 2001
From: "li.yuetong"
Date: Mon, 29 Aug 2022 15:53:19 +0800
Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=85=B3=E4=BA=8E=E9=99=84=E5=8A=A0?=
=?UTF-8?q?=E7=BB=BC=E5=90=88=E6=84=8F=E5=A4=96=E4=BC=A4=E5=AE=B3=E4=BF=9D?=
=?UTF-8?q?=E9=99=A9=EF=BC=88=E4=B9=90=E4=BA=AB=E7=89=88=EF=BC=89=E6=8A=95?=
=?UTF-8?q?=E4=BF=9D=E6=B5=81=E7=A8=8B=E5=A2=9E=E5=8A=A0=E3=80=8A=E4=B8=AA?=
=?UTF-8?q?=E4=BA=BA=E4=BF=A1=E6=81=AF=E4=BD=BF=E7=94=A8=E6=8E=88=E6=9D=83?=
=?UTF-8?q?=E3=80=8B=E9=98=85=E7=9F=A5=E5=8B=BE=E9=80=89=E7=9A=84=E7=94=B3?=
=?UTF-8?q?=E8=AF=B7=E3=80=91=E8=AE=A2=E5=8D=95=E8=AF=A6=E6=83=85=E5=88=A4?=
=?UTF-8?q?=E6=96=AD=E6=98=AF=E5=90=A6=E6=9C=89code12=EF=BC=8C=E3=80=8A?=
=?UTF-8?q?=E4=BA=BA=E8=BA=AB=E4=BF=9D=E9=99=A9=E7=94=B5=E5=AD=90=E6=8A=95?=
=?UTF-8?q?=E4=BF=9D=E5=8D=95=E3=80=8B=E8=A6=81=E4=B8=8D=E8=A6=81=E8=B7=B3?=
=?UTF-8?q?=E8=BD=AC=E5=88=B0=E3=80=8A=E4=B8=AA=E4=BA=BA=E4=BF=A1=E6=81=AF?=
=?UTF-8?q?=E4=BD=BF=E7=94=A8=E6=8E=88=E6=9D=83=E3=80=8B?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/ebiz/sale/SignatureConfirmation.vue | 5 +-
src/views/ebiz/sale/SignatureOfElectronic.vue | 206 +++++++++++-------
2 files changed, 133 insertions(+), 78 deletions(-)
diff --git a/src/views/ebiz/sale/SignatureConfirmation.vue b/src/views/ebiz/sale/SignatureConfirmation.vue
index 0c9d14212..83066e625 100644
--- a/src/views/ebiz/sale/SignatureConfirmation.vue
+++ b/src/views/ebiz/sale/SignatureConfirmation.vue
@@ -1573,7 +1573,8 @@ export default {
},
//自定义key值排序用
addKey(item) {
- //ducumentCode 1投保须知 2投保单 3产品说明书 4提示书 6免除保险人责任条款说明书 7保险销售行为双录说明 8指定保单生效日 9短期险投保须知 10国富人寿自保件承诺书
+ //ducumentCode 1投保须知 2投保单 3产品说明书 4提示书 6免除保险人责任条款说明书 7保险销售行为双录说明
+ // 8指定保单生效日 9短期险投保须知 10国富人寿自保件承诺书 11柳州保险行业寿险投保风险提示书
if (item.documentCode == '1') {
item.key = 2
item.routePath = 'insuranceInformation'
@@ -1606,7 +1607,7 @@ export default {
item.routePath = 'InsuranceRiskReminder'
} else if (item.documentCode == '12') {
item.key = 10
- item.routePath = 'InsuranceRiskReminder'
+ item.routePath = 'PersonalInformation'
}
},
getSignInvalid() {
diff --git a/src/views/ebiz/sale/SignatureOfElectronic.vue b/src/views/ebiz/sale/SignatureOfElectronic.vue
index 622b0160e..29b340d0e 100644
--- a/src/views/ebiz/sale/SignatureOfElectronic.vue
+++ b/src/views/ebiz/sale/SignatureOfElectronic.vue
@@ -91,7 +91,7 @@
提交
- 完成
+ 下一步
@@ -169,7 +169,8 @@ export default {
// // 产品编码
// chooseProductCodes: '',
// pdf名字
- pdfName: ''
+ pdfName: '',
+ isPersonalInformation:'' // 0是 1否
}
},
components: {
@@ -294,6 +295,11 @@ export default {
getOrderDetail(data).then(res => {
if (res.result == '0') {
res.orderDTO.ebizSignDTOS.map(item => {
+ if (item.documentCode == '12') {
+ this.isPersonalInformation = 0 // 0代表有code12
+ } else{
+ this.isPersonalInformation = 1 // 1代表无code12
+ }
if (item.documentCode == '2') {
this.pdfUrl = encodeURIComponent(config.imgDomain + `/returnDirectStream?imgPath=${item.policyUrl}`)
this.pdfName = item.documentName
@@ -433,44 +439,68 @@ export default {
window.localStorage.setItem('jumpFromSign', '1')
if (this.isWeixin) {
localStorage.removeItem('signInfo')
- this.$jump({
- flag: 'h5',
- extra: {
- url: location.origin + '/#/sale/PersonalInformation',
- pullRefresh: '1',
- backToFirst: '1'
- },
- routerInfo: {
- path:
- '/sale/PersonalInformation?orderNo=' +
- localStorage.orderNo +
- '&token=' +
- localStorage.token +
- '&saleInsuredInfo=' +
- this.$CacheUtils.getLocItem('saleInsuredInfo') +
- '&saleInsuredPersonInfo=' +
- this.$CacheUtils.getLocItem('saleInsuredPersonInfo') +
- '&relationToAppnt=' +
- JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo')).relationToAppnt +
- '&attachmentShow=' +
- window.localStorage.getItem('attachmentShow') +
- '&signInvalid=' +
- sessionStorage.getItem('signInvalid') +
- '&airSign=1'
- }
- })
+ if(this.isPersonalInformation == '0'){
+ this.$jump({
+ flag: 'h5',
+ extra: {
+ url: location.origin + '/#/sale/PersonalInformation',
+ pullRefresh: '1',
+ backToFirst: '1'
+ },
+ routerInfo: {
+ path:
+ '/sale/PersonalInformation?orderNo=' +
+ localStorage.orderNo +
+ '&token=' +
+ localStorage.token +
+ '&saleInsuredInfo=' +
+ this.$CacheUtils.getLocItem('saleInsuredInfo') +
+ '&saleInsuredPersonInfo=' +
+ this.$CacheUtils.getLocItem('saleInsuredPersonInfo') +
+ '&relationToAppnt=' +
+ JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo')).relationToAppnt +
+ '&attachmentShow=' +
+ window.localStorage.getItem('attachmentShow') +
+ '&signInvalid=' +
+ sessionStorage.getItem('signInvalid') +
+ '&airSign=1'
+ }
+ })
+ }else{
+ this.$jump({
+ flag: 'h5',
+ extra: {
+ url: location.origin + '/#/sale/signatureConfirmation'
+ },
+ routerInfo: {
+ path: '/sale/signatureConfirmation'
+ }
+ })
+ }
} else {
- this.$jump({
- flag: 'h5',
- extra: {
- url: location.origin + '/#/sale/PersonalInformation',
- pullRefresh: '1',
- backToFirst: '1'
- },
- routerInfo: {
- path: '/sale/PersonalInformation'
- }
- })
+ if(this.isPersonalInformation == '0'){
+ this.$jump({
+ flag: 'h5',
+ extra: {
+ url: location.origin + '/#/sale/PersonalInformation',
+ pullRefresh: '1',
+ backToFirst: '1'
+ },
+ routerInfo: {
+ path: '/sale/PersonalInformation'
+ }
+ })
+ }else{
+ this.$jump({
+ flag: 'h5',
+ extra: {
+ url: location.origin + '/#/sale/signatureConfirmation'
+ },
+ routerInfo: {
+ path: '/sale/signatureConfirmation'
+ }
+ })
+ }
}
} else {
that.$toast(res.resultMessage)
@@ -504,44 +534,68 @@ export default {
window.localStorage.setItem('jumpFromSign', '1')
if (this.isWeixin) {
localStorage.removeItem('signInfo')
- this.$jump({
- flag: 'h5',
- extra: {
- url: location.origin + '/#/sale/PersonalInformation',
- pullRefresh: '1',
- backToFirst: '1'
- },
- routerInfo: {
- path:
- '/sale/PersonalInformation?orderNo=' +
- localStorage.orderNo +
- '&token=' +
- localStorage.token +
- '&saleInsuredInfo=' +
- this.$CacheUtils.getLocItem('saleInsuredInfo') +
- '&saleInsuredPersonInfo=' +
- this.$CacheUtils.getLocItem('saleInsuredPersonInfo') +
- '&relationToAppnt=' +
- JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo')).relationToAppnt +
- '&attachmentShow=' +
- window.localStorage.getItem('attachmentShow') +
- '&signInvalid=' +
- sessionStorage.getItem('signInvalid') +
- '&airSign=1'
- }
- })
+ if(this.isPersonalInformation == '0'){
+ this.$jump({
+ flag: 'h5',
+ extra: {
+ url: location.origin + '/#/sale/PersonalInformation',
+ pullRefresh: '1',
+ backToFirst: '1'
+ },
+ routerInfo: {
+ path:
+ '/sale/PersonalInformation?orderNo=' +
+ localStorage.orderNo +
+ '&token=' +
+ localStorage.token +
+ '&saleInsuredInfo=' +
+ this.$CacheUtils.getLocItem('saleInsuredInfo') +
+ '&saleInsuredPersonInfo=' +
+ this.$CacheUtils.getLocItem('saleInsuredPersonInfo') +
+ '&relationToAppnt=' +
+ JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo')).relationToAppnt +
+ '&attachmentShow=' +
+ window.localStorage.getItem('attachmentShow') +
+ '&signInvalid=' +
+ sessionStorage.getItem('signInvalid') +
+ '&airSign=1'
+ }
+ })
+ }else{
+ this.$jump({
+ flag: 'h5',
+ extra: {
+ url: location.origin + '/#/sale/signatureConfirmation'
+ },
+ routerInfo: {
+ path: '/sale/signatureConfirmation'
+ }
+ })
+ }
} else {
- this.$jump({
- flag: 'h5',
- extra: {
- url: location.origin + '/#/sale/PersonalInformation',
- pullRefresh: '1',
- backToFirst: '1'
- },
- routerInfo: {
- path: '/sale/PersonalInformation'
- }
- })
+ if(this.isPersonalInformation == '0'){
+ this.$jump({
+ flag: 'h5',
+ extra: {
+ url: location.origin + '/#/sale/PersonalInformation',
+ pullRefresh: '1',
+ backToFirst: '1'
+ },
+ routerInfo: {
+ path: '/sale/PersonalInformation'
+ }
+ })
+ }else{
+ this.$jump({
+ flag: 'h5',
+ extra: {
+ url: location.origin + '/#/sale/signatureConfirmation'
+ },
+ routerInfo: {
+ path: '/sale/signatureConfirmation'
+ }
+ })
+ }
}
} else {
that.$toast(res.resultMessage)