diff --git a/src/views/ebiz/sale/SignatureConfirmation.vue b/src/views/ebiz/sale/SignatureConfirmation.vue index b454b4a42..543aea416 100644 --- a/src/views/ebiz/sale/SignatureConfirmation.vue +++ b/src/views/ebiz/sale/SignatureConfirmation.vue @@ -293,8 +293,8 @@ export default { window.localStorage.setItem('orderNo', this.$route.query.orderNo) window.localStorage.setItem('relationToAppnt', this.$route.query.relationToAppnt) window.localStorage.setItem('productCode', this.$route.query.productCode) - if (this.$route.query.changeCard) { - localStorage.setItem('changeCard', true) + if (this.$route.query.changeCard == '0') { + localStorage.setItem('changeCard', '0') } else { localStorage.removeItem('changeCard') } @@ -322,7 +322,7 @@ export default { // console.log('this.appntSignStatus', this.appntSignStatus) console.log('this.appntSignStatus', this.appntSignStatus) console.log('this.shareCode', this.shareCode) - console.log('this.changeCard', this.changeCard) + console.log('this.changeCard', this.$route.query.changeCard) if ( (this.appntSignStatus == '3' && sessionStorage.getItem('shareCode') == '0') || (this.appntSignStatus == '3' && sessionStorage.getItem('shareCode') == '2') @@ -332,7 +332,7 @@ export default { } else if (this.insuredSignStatus == '3' && sessionStorage.getItem('shareCode') == '1') { Dialog.alert({ title: '提示', message: '签名成功,请联系业务员进行后续流程!' }) } - if (this.changeCard && this.appntSign.documentStatus == '1') { + if (this.$route.query.changeCard == '0' && this.appntSign.documentStatus == '1') { Dialog.alert({ title: '提示', message: '确认完成,请联系业务员完成后续流程!' }) } }) @@ -537,7 +537,7 @@ export default { '&productCode=' + localStorage.productCode + '&changeCard=' + - this.changeCard, + '0', img: this.$assetsUrl + 'images/logo.png' } }) @@ -736,7 +736,7 @@ export default { that.insuredSign.push(item) //被保 } }) - if (!that.changeCard) { + if (!that.changeCard || this.$route.query.changeCard == '0') { //将投保人数组排序 that.appntSign.sort(function(a, b) { return a.key - b.key @@ -830,11 +830,6 @@ export default { } }, mounted() { - if (this.$route.query.changeCard && this.$route.query.changeCard != 'undefined') { - console.log(888) - } else { - console.log(999) - } let that = this document.title = this.changeCard ? '修改银行卡号确认' : '签名确认' // 初始化