mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-10 19:46:43 +08:00
【GFRS-3645】iframe页面里显示的pdf地址拼接
This commit is contained in:
@@ -54,10 +54,7 @@
|
|||||||
this.timeOut()
|
this.timeOut()
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
let thispolicyUrl = "Ra4LpmZv2h6FrwZPS48QIETiI2AcWWLx6RavVjoAkoMO3QJwd%2BpYNd%2BhiCehCCFibahgDp%2FtP6UD%0A6vy8eKAAs4hhrh0dSyUouHrBpcu%2FGM6VGLphInLPv0HGtHpZ3OhD"
|
|
||||||
document.body.style.backgroundColor = '#fff'
|
document.body.style.backgroundColor = '#fff'
|
||||||
// this.pdfUrl = encodeURIComponent(config.imgDomain + `/returnDirectStream?imgPath=${thispolicyUrl}`)
|
|
||||||
|
|
||||||
let dataParams = {
|
let dataParams = {
|
||||||
idType:'0',
|
idType:'0',
|
||||||
idNo:this.$store.getters.getYBidNo,
|
idNo:this.$store.getters.getYBidNo,
|
||||||
@@ -65,8 +62,7 @@
|
|||||||
}
|
}
|
||||||
generateAgreementYB(dataParams).then(res=>{
|
generateAgreementYB(dataParams).then(res=>{
|
||||||
if(res.result == 0){
|
if(res.result == 0){
|
||||||
this.pdfUrl = encodeURIComponent('https://iagentsales-test2.e-guofu.com:5443/updown' + `/returnDirectStream?imgPath=${res.content.rgssUrl}`)
|
this.pdfUrl = config.assetsUpUrl + res.content.rgssUrl
|
||||||
// this.pdfUrl = res.content.rgssUrl
|
|
||||||
let signInfo = JSON.parse(localStorage.getItem('signInfo'))
|
let signInfo = JSON.parse(localStorage.getItem('signInfo'))
|
||||||
if (signInfo && signInfo.status == '0') {
|
if (signInfo && signInfo.status == '0') {
|
||||||
this.base64 = sessionStorage.getItem('twoimgBase64Data')
|
this.base64 = sessionStorage.getItem('twoimgBase64Data')
|
||||||
|
|||||||
Reference in New Issue
Block a user