[FIX]【保全】退保-pdf预览调试

This commit is contained in:
yuweiqi
2020-06-09 12:02:04 +08:00
parent 24ef0c5df2
commit 3fa337494e

View File

@@ -17,6 +17,7 @@
<script>
import { RadioGroup, Radio, Dialog, NoticeBar } from 'vant'
import { changeEdor, queryConfirmDetail } from '@/api/ebiz/preserve/preserve'
import config from '@/config'
export default {
data() {
@@ -63,9 +64,10 @@ export default {
res => {
if (res.result == 0) {
this.pdfList = res.content.surrenderSignList
// this.pdfUrl = this.pdfList[0].policyUrl
this.pdfUrl =
'Ra4LpmZv2h6FrwZPS48QIETiI2AcWWLx6RavVjoAkoPKPyCLFQ24jT2yrqIbfar6ORGrkmYsocow%0ArEcXnbvgOEa2vHPyBGfGovb0%2F5Q3RP%2BVGLphInLPv0HGtHpZ3OhD' //TEST测试专用
// this.pdfUrl =
// 'Ra4LpmZv2h6FrwZPS48QIETiI2AcWWLx6RavVjoAkoPKPyCLFQ24jT2yrqIbfar6ORGrkmYsocow%0ArEcXnbvgOEa2vHPyBGfGovb0%2F5Q3RP%2BVGLphInLPv0HGtHpZ3OhD' //TEST测试专用
this.pdfUrl = encodeURIComponent(config.imgDomain + `/returnDirectStream?imgPath=${this.pdfList[0].policyUrl}`)
this.documentName = this.pdfList[0].documentName
console.log('1111', this.pdfUrl) //TEST测试专用
resolve()