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