mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-24 21:52:53 +08:00
签名测试
This commit is contained in:
@@ -172,7 +172,7 @@ export default {
|
||||
// console.log(res)
|
||||
if (res.result == '0') {
|
||||
this.$toast.clear()
|
||||
// window.localStorage.setItem('insurance-url', res.signDTO.policyUrl)
|
||||
window.localStorage.setItem('tips-PolicyUrl', res.signDTO.tipsPolicyUrl)
|
||||
// console.log(res)
|
||||
// console.log(res.signDTO.policyUrl)
|
||||
console.log('````````````')
|
||||
@@ -229,6 +229,7 @@ export default {
|
||||
this.$toast.clear()
|
||||
console.log('````````````')
|
||||
console.log('接口拉去成功:' + res.signDTO.policyUrl)
|
||||
window.localStorage.setItem('tips-PolicyUrl', res.signDTO.tipsPolicyUrl)
|
||||
window.localStorage.setItem('insurance-policyUrl', res.signDTO.policyUrl)
|
||||
window.localStorage.setItem('detailJump', '')
|
||||
console.log('保存了结果:' + localStorage.getItem('insurance-policyUrl'))
|
||||
@@ -282,6 +283,7 @@ export default {
|
||||
// window.localStorage.setItem('insurance-url', res.signDTO.policyUrl)
|
||||
// console.log(res)
|
||||
// console.log(res.signDTO.policyUrl)
|
||||
window.localStorage.setItem('tips-PolicyUrl', res.signDTO.tipsPolicyUrl)
|
||||
window.localStorage.setItem('insurance-policyUrl', res.signDTO.policyUrl)
|
||||
window.localStorage.setItem('detailJump', '')
|
||||
// let url = config.imgDomain + `/app/returnStream?imgPath=${res.signDTO.policyUrl}`
|
||||
@@ -322,6 +324,7 @@ export default {
|
||||
}
|
||||
saveInformation(data).then(res => {
|
||||
if (res.result == '0') {
|
||||
window.localStorage.setItem('tips-PolicyUrl', res.signDTO.tipsPolicyUrl)
|
||||
window.localStorage.setItem('insurance-policyUrl', res.signDTO.policyUrl)
|
||||
this.$toast.clear()
|
||||
window.localStorage.setItem('detailJump', '')
|
||||
|
||||
@@ -110,7 +110,8 @@ export default {
|
||||
detailJump: '',
|
||||
tipsSignName: '',
|
||||
pdfUrl: '',
|
||||
src: location.origin + '/pdfjs/web/viewer.html?file='
|
||||
src: location.origin + '/pdfjs/web/viewer.html?file=',
|
||||
tipsPolicyUrl : localStorage.getItem('tips-PolicyUrl')
|
||||
}
|
||||
},
|
||||
components: {
|
||||
@@ -130,6 +131,7 @@ export default {
|
||||
// background: '#999999',
|
||||
// className: 'notify'
|
||||
// })
|
||||
that.pdfUrl = encodeURIComponent(config.imgDomain + `/returnDirectStream?imgPath=${that.tipsPolicyUrl}`)
|
||||
document.body.style.backgroundColor = '#fff'
|
||||
},
|
||||
async created() {
|
||||
@@ -231,8 +233,6 @@ export default {
|
||||
if (res.result == '0') {
|
||||
res.orderDTO.signDTOS.map(item => {
|
||||
this.tipsSignName = item.tipsSignDocumentName
|
||||
this.pdfUrl = encodeURIComponent(config.imgDomain + `/returnDirectStream?imgPath=${item.tipsPolicyUrl}`)
|
||||
console.log(this.pdfUrl)
|
||||
if (item.signType == '0') {
|
||||
that.appntSign = item
|
||||
} else if (item.signType == '1') {
|
||||
@@ -446,7 +446,8 @@ export default {
|
||||
orderNo: window.localStorage.getItem('orderNo'),
|
||||
readStatus: '1',
|
||||
signType: that.signVal,
|
||||
baseEncryp: that.base64
|
||||
baseEncryp: that.base64,
|
||||
tipsPolicyUrl : that.tipsPolicyUrl
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -497,7 +498,8 @@ export default {
|
||||
orderNo: window.localStorage.getItem('orderNo'),
|
||||
readStatus: '1',
|
||||
signType: that.signVal,
|
||||
baseEncryp: that.base64
|
||||
baseEncryp: that.base64,
|
||||
tipsPolicyUrl : that.tipsPolicyUrl
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -545,7 +547,8 @@ export default {
|
||||
orderNo: window.localStorage.getItem('orderNo'),
|
||||
readStatus: '1',
|
||||
signType: that.signVal,
|
||||
baseEncryp: that.base64
|
||||
baseEncryp: that.base64,
|
||||
tipsPolicyUrl : that.tipsPolicyUrl
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -588,7 +591,8 @@ export default {
|
||||
orderNo: window.localStorage.getItem('orderNo'),
|
||||
readStatus: '1',
|
||||
signType: that.signVal,
|
||||
baseEncryp: that.base64
|
||||
baseEncryp: that.base64,
|
||||
tipsPolicyUrl : that.tipsPolicyUrl
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user