【增加阅读《保险条款》步骤,关于金掌桂签名确认页面部分阅读签字材料更新和新增的需求】代码优化,去掉冗余代码

This commit is contained in:
li.yuetong
2022-11-04 11:43:55 +08:00
parent 8a2223004f
commit 6f6575b901

View File

@@ -107,6 +107,7 @@ export default {
document.body.style.backgroundColor = '#fff'
that.signVal = window.localStorage.getItem('sign-val')
//保险条款循环阅读后radioisOver恢复初始状态
that.radio = ''
this.isOver = false
// if (JSON.parse(window.localStorage.getItem('sign-insured'))) {
@@ -168,27 +169,6 @@ export default {
console.log('that.appntSign', item.policyUrl)
break
}
// if (that.signVal == '0' || that.signVal == '2') {
// if (item.documentCode == '13' && (item.documentStatus == '0' || item.documentStatus == '2') && (item.signType == '0' || item.signType == '2')) {
// console.log('000000000', item)
// // that.appntSign = item
// that.tipsPolicyUrl = item.policyUrl
// originalUrl = item.originalUrl
// this.title = document.title = item.documentName
// console.log('that.appntSign', item.policyUrl)
// break
// }
// }else{
// if (item.documentCode == '13' && (item.documentStatus == '0' || item.documentStatus == '2') && item.signType == '1') {
// console.log('000000000', item)
// // that.appntSign = item
// that.tipsPolicyUrl = item.policyUrl
// originalUrl = item.originalUrl
// this.title = document.title = item.documentName
// console.log('that.appntSign', item.policyUrl)
// break
// }
// }
}
that.pdfUrl = originalUrl
// that.pdfUrl = encodeURIComponent(config.imgDomain + `/returnDirectStream?imgPath=${that.tipsPolicyUrl}`)
@@ -627,4 +607,4 @@ p {
width: 100vw;
height: 70vh;
}
</style>
</style>