测试PDF回显

This commit is contained in:
mengxiaolong
2020-08-10 11:25:54 +08:00
parent 2d0ab9d958
commit 9e08e6b8de

View File

@@ -200,7 +200,8 @@ export default {
phoneNum: '', phoneNum: '',
showConfirm: false, showConfirm: false,
src: location.origin + '/pdfjs/web/viewer.html?file=', src: location.origin + '/pdfjs/web/viewer.html?file=',
pdfUrl: 'Ra4LpmZv2h6FrwZPS48QIETiI2AcWWLx6RavVjoAkoN0unDE+KdzOJpwYZ6VWFx63RYcCay7bYWjVorf7R2P+88QRX5G3qnp86nOA3WgkTLUqooFPNUZSjGoZts28jTW', pdfUrl:
'http%3A%2F%2F211.159.248.123%3A7012%2Fupdown%2FreturnDirectStream%3FimgPath%3DRa4LpmZv2h6FrwZPS48QIETiI2AcWWLx6RavVjoAkoOA9uW8ICM9LYlGVdO7t3FsCzwpgqViOwXX%250Azzw1VlDqdTG6qHfvfy5WDol9WprvRcWVGLphInLPv0HGtHpZ3OhD',
// 转账不成功处理方式是否不可用 // 转账不成功处理方式是否不可用
handleType: false handleType: false
} }
@@ -494,7 +495,7 @@ export default {
// 包含投保人和被保人证件id和姓名 // 包含投保人和被保人证件id和姓名
this.problemInfo = rs.content this.problemInfo = rs.content
// this.pdfUrl = this.problemInfo.pdfUrl // this.pdfUrl = this.problemInfo.pdfUrl
this.pdfUrl = encodeURIComponent(config.imgDomain + `/returnDirectStream?imgPath=${this.pdfUrl}`) // this.pdfUrl = encodeURIComponent(config.imgDomain + `/returnDirectStream?imgPath=${this.pdfUrl}`)
this.problemDetail = this.problemInfo.list[0] this.problemDetail = this.problemInfo.list[0]
// 问题件接收人类型: 0投保人, 1被保人 // 问题件接收人类型: 0投保人, 1被保人
this.problemDetail.receiveType = this.$route.query.receiveType this.problemDetail.receiveType = this.$route.query.receiveType