mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-09 09:56:43 +08:00
签署文件页面增加页面跳转逻辑
This commit is contained in:
@@ -1010,7 +1010,7 @@ export default {
|
||||
} else {
|
||||
console.log('that.appntSign.length ==', that.appntSign.length, typeof that.appntSign.length)
|
||||
for (let i = 0; i < that.appntSign.length; i++) {
|
||||
if ((that.appntSign[i].documentCode == '1' || that.appntSign[i].documentCode == '8' || that.appntSign[i].documentCode == '9' || that.appntSign[i].documentCode == '12' || that.appntSign[i].documentCode == '13'|| that.appntSign[i].documentCode == '14'|| that.appntSign[i].documentCode == '15') && that.appntSign[i].documentStatus == 0) {
|
||||
if ((that.appntSign[i].documentCode == '1' || that.appntSign[i].documentCode == '3' || that.appntSign[i].documentCode == '8' || that.appntSign[i].documentCode == '9' || that.appntSign[i].documentCode == '12' || that.appntSign[i].documentCode == '13'|| that.appntSign[i].documentCode == '14'|| that.appntSign[i].documentCode == '15') && that.appntSign[i].documentStatus == 0) {
|
||||
//1投保须知 未读
|
||||
path = that.appntSign[i].routePath
|
||||
break
|
||||
@@ -1042,57 +1042,57 @@ export default {
|
||||
}*/
|
||||
}
|
||||
|
||||
console.log('跳转页面path', path)
|
||||
if (path)
|
||||
that.$jump({
|
||||
flag: 'h5',
|
||||
extra: {
|
||||
url: location.origin + '/#/sale/' + path + '?orderNo=' + this.$route.query.orderNo
|
||||
},
|
||||
routerInfo: {
|
||||
path: '/sale/' + path + '?orderNo=' + this.$route.query.orderNo
|
||||
}
|
||||
})
|
||||
}
|
||||
})
|
||||
console.log('跳转页面path', path)
|
||||
if (path)
|
||||
that.$jump({
|
||||
flag: 'h5',
|
||||
extra: {
|
||||
url: location.origin + '/#/sale/' + path + '?orderNo=' + this.$route.query.orderNo
|
||||
},
|
||||
routerInfo: {
|
||||
path: '/sale/' + path + '?orderNo=' + this.$route.query.orderNo
|
||||
}
|
||||
})
|
||||
}
|
||||
})
|
||||
} else {
|
||||
console.log('that.appntSign 1 ==', that.appntSign)
|
||||
if (that.changeCard) {
|
||||
path = 'insuranceInformation'
|
||||
} else {
|
||||
console.log('that.appntSign 1 ==', that.appntSign)
|
||||
if (that.changeCard) {
|
||||
path = 'insuranceInformation'
|
||||
} else {
|
||||
console.log('that.appntSign.length ==', that.appntSign.length, typeof that.appntSign.length)
|
||||
for (let i = 0; i < that.appntSign.length; i++) {
|
||||
if ((that.appntSign[i].documentCode == '1' || that.appntSign[i].documentCode == '8' || that.appntSign[i].documentCode == '9' || that.appntSign[i].documentCode == '12'|| that.appntSign[i].documentCode == '13'|| that.appntSign[i].documentCode == '14') && that.appntSign[i].documentStatus == 0) {
|
||||
//1投保须知 未读
|
||||
console.log('that.appntSign.length ==', that.appntSign.length, typeof that.appntSign.length)
|
||||
for (let i = 0; i < that.appntSign.length; i++) {
|
||||
if ((that.appntSign[i].documentCode == '1' || that.appntSign[i].documentCode == '3' || that.appntSign[i].documentCode == '8' || that.appntSign[i].documentCode == '9' || that.appntSign[i].documentCode == '12'|| that.appntSign[i].documentCode == '13'|| that.appntSign[i].documentCode == '14') && that.appntSign[i].documentStatus == 0) {
|
||||
//1投保须知 未读
|
||||
path = that.appntSign[i].routePath
|
||||
break
|
||||
} else {
|
||||
if (that.appntSign[i].documentStatus == 2) {
|
||||
path = that.appntSign[i].routePath
|
||||
break
|
||||
} else {
|
||||
if (that.appntSign[i].documentStatus == 2) {
|
||||
path = that.appntSign[i].routePath
|
||||
break
|
||||
}
|
||||
}
|
||||
}
|
||||
/* if (localStorage.productCode == 'GFRS_M0003' || localStorage.productCode == 'GFRS_M0015' || this.productCode == 'GFRS_M0017') {
|
||||
if (that.appntSign[0].documentStatus == 0) {
|
||||
path = 'insuranceInformation'
|
||||
} else if (that.appntSign[1].documentStatus == 2) {
|
||||
path = 'productTip'
|
||||
} else if (that.appntSign[2].documentStatus == 2) {
|
||||
path = 'InsuranceTip'
|
||||
} else if (that.appntSign[3].documentStatus == 2) {
|
||||
path = 'SignatureOfElectronic'
|
||||
}
|
||||
} else {
|
||||
if (that.appntSign[0].documentStatus == 0) {
|
||||
path = 'insuranceInformation'
|
||||
} else if (that.appntSign[1].documentStatus == 2) {
|
||||
path = 'InsuranceTip'
|
||||
} else if (that.appntSign[2].documentStatus == 2) {
|
||||
path = 'SignatureOfElectronic'
|
||||
}
|
||||
}*/
|
||||
}
|
||||
/* if (localStorage.productCode == 'GFRS_M0003' || localStorage.productCode == 'GFRS_M0015' || this.productCode == 'GFRS_M0017') {
|
||||
if (that.appntSign[0].documentStatus == 0) {
|
||||
path = 'insuranceInformation'
|
||||
} else if (that.appntSign[1].documentStatus == 2) {
|
||||
path = 'productTip'
|
||||
} else if (that.appntSign[2].documentStatus == 2) {
|
||||
path = 'InsuranceTip'
|
||||
} else if (that.appntSign[3].documentStatus == 2) {
|
||||
path = 'SignatureOfElectronic'
|
||||
}
|
||||
} else {
|
||||
if (that.appntSign[0].documentStatus == 0) {
|
||||
path = 'insuranceInformation'
|
||||
} else if (that.appntSign[1].documentStatus == 2) {
|
||||
path = 'InsuranceTip'
|
||||
} else if (that.appntSign[2].documentStatus == 2) {
|
||||
path = 'SignatureOfElectronic'
|
||||
}
|
||||
}*/
|
||||
}
|
||||
|
||||
console.log('跳转页面path', path)
|
||||
if (path)
|
||||
@@ -1875,7 +1875,7 @@ export default {
|
||||
} else {
|
||||
console.log('that.agentSign.length ==', that.agentSign.length, typeof that.agentSign.length)
|
||||
for (let i = 0; i < that.agentSign.length; i++) {
|
||||
if ((that.agentSign[i].documentCode == '1' || that.agentSign[i].documentCode == '8' || that.agentSign[i].documentCode == '9' || that.agentSign[i].documentCode == '12') && that.agentSign[i].documentStatus == 0) {
|
||||
if ((that.agentSign[i].documentCode == '1' || that.agentSign[i].documentCode == '3' || that.agentSign[i].documentCode == '8' || that.agentSign[i].documentCode == '9' || that.agentSign[i].documentCode == '12') && that.agentSign[i].documentStatus == 0) {
|
||||
//1投保须知 未读
|
||||
path = that.agentSign[i].routePath
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user