mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-10 05:46:44 +08:00
[FIX]【保全】pdf预览url调整
This commit is contained in:
@@ -64,7 +64,8 @@ export default {
|
|||||||
res => {
|
res => {
|
||||||
if (res.result == 0) {
|
if (res.result == 0) {
|
||||||
this.pdfList = res.content.surrenderSignList
|
this.pdfList = res.content.surrenderSignList
|
||||||
this.pdfUrl = config.assetsUrl + `${this.pdfList[0].policyUrl}` //待后端开发
|
// this.pdfUrl = config.assetsUrl + `${this.pdfList[0].policyUrl}`
|
||||||
|
this.pdfUrl = encodeURIComponent(config.imgDomain + `/returnDirectStream?imgPath=${this.pdfList[0].policyUrl}`)
|
||||||
this.documentName = this.pdfList[0].documentName
|
this.documentName = this.pdfList[0].documentName
|
||||||
resolve()
|
resolve()
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -64,7 +64,8 @@ export default {
|
|||||||
res => {
|
res => {
|
||||||
if (res.result == 0) {
|
if (res.result == 0) {
|
||||||
this.pdfList = res.content.surrenderSignList
|
this.pdfList = res.content.surrenderSignList
|
||||||
this.pdfUrl = config.assetsUrl + `${this.pdfList[0].policyUrl}` //待后端开发
|
// this.pdfUrl = config.assetsUrl + `${this.pdfList[0].policyUrl}`
|
||||||
|
this.pdfUrl = encodeURIComponent(config.imgDomain + `/returnDirectStream?imgPath=${this.pdfList[0].policyUrl}`)
|
||||||
this.documentName = this.pdfList[0].documentName
|
this.documentName = this.pdfList[0].documentName
|
||||||
resolve()
|
resolve()
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user