[FIX]换卡空签修改

This commit is contained in:
zhouna
2019-12-27 14:41:40 +08:00
parent e339e1d369
commit ebcfdb5ed8

View File

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