[FIX]签名bug

This commit is contained in:
yuweiqi
2020-01-21 15:35:13 +08:00
parent 569d90e31b
commit 161f151d4a
2 changed files with 11 additions and 26 deletions

View File

@@ -273,7 +273,7 @@ export default {
}
})
} else {
url = this.productCode == ('GFRS_M0003' || 'GFRS_M0015') ? 'productTip' : 'insuranceTip'
url = this.productCode == 'GFRS_M0003' || this.productCode == 'GFRS_M0015' ? 'productTip' : 'insuranceTip'
this.$jump({
flag: 'h5',
extra: {
@@ -406,8 +406,7 @@ export default {
if (that.changeCard) {
url = 'SignatureConfirmation'
} else {
// url = this.productCode == 'GFRS_M0003' ? 'productTip' : this.productCode == 'GFRS_M0015' ? 'productTip' : 'insuranceTip'
url = this.productCode == ('GFRS_M0003' || 'GFRS_M0015') ? 'productTip' : 'insuranceTip'
url = this.productCode == 'GFRS_M0003' || this.productCode == 'GFRS_M0015' ? 'productTip' : 'insuranceTip'
}
this.$jump({
flag: 'h5',

View File

@@ -321,11 +321,6 @@ export default {
this.relationToAppnt = this.$route.query.relationToAppnt
this.isShow = false
this.getOrderDetail().then(() => {
// 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.changeCard', this.changeCard)
if (
(this.appntSignStatus == '3' && sessionStorage.getItem('shareCode') == '0') ||
(this.appntSignStatus == '3' && sessionStorage.getItem('shareCode') == '2')
@@ -399,10 +394,6 @@ export default {
if (this.saleInsuredInfo.idType != '1' || this.saleInsuredInfo.age < '18') {
that.goUrl()
} else {
alert('SignatureConfirmation: productCode:', localStorage.productCode)
alert('SignatureConfirmation: appntSign:', JSON.parse(that.appntSign))
console.log('SignatureConfirmation: productCode:', localStorage.productCode)
console.log('SignatureConfirmation: appntSign:', JSON.parse(that.appntSign))
// 原人脸识别
EWebBridge.webCallAppInJs('face_auth', {
number: that.saleInsuredInfo.idNo, //身份证号码
@@ -442,10 +433,6 @@ export default {
if (that.changeCard) {
path = 'insuranceInformation'
} else {
alert('SignatureConfirmation: productCode:', localStorage.productCode)
alert('SignatureConfirmation: appntSign:', JSON.parse(that.appntSign))
console.log('SignatureConfirmation: productCode:', localStorage.productCode)
console.log('SignatureConfirmation: appntSign:', JSON.parse(that.appntSign))
if (localStorage.productCode == 'GFRS_M0003' || localStorage.productCode == 'GFRS_M0015') {
if (that.appntSign[0].documentStatus == 0) {
path = 'insuranceInformation'
@@ -466,15 +453,15 @@ export default {
}
}
}
// that.$jump({
// flag: 'h5',
// extra: {
// url: location.origin + '/#/sale/' + path
// },
// routerInfo: {
// path: '/sale/' + path
// }
// })
that.$jump({
flag: 'h5',
extra: {
url: location.origin + '/#/sale/' + path
},
routerInfo: {
path: '/sale/' + path
}
})
},
insuredUrl() {
let that = this
@@ -719,7 +706,6 @@ export default {
this.saleInsuredInfo = JSON.parse(window.localStorage.getItem('saleInsuredInfo'))
this.relationToAppnt = this.saleInsuredPersonInfo.relationToAppnt //将缓存中的与被保人关系赋值给页面
this.riskName = res.orderDTO.insuredDTOs[0].riskDTOLst[0].riskName
console.log('this.riskName==', this.riskName)
localStorage.riskName = this.riskName
that.recmd = res.orderDTO.recmdDTO
that.orderInfo = res.orderDTO.orderInfoDTO