mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-10 08:06:44 +08:00
[FIX]保全-退保pdf预览调试
This commit is contained in:
@@ -93,7 +93,7 @@ service.interceptors.request.use(
|
||||
}
|
||||
|
||||
config.headers['token'] = window.localStorage.getItem('token')
|
||||
// config.headers['token'] = ``
|
||||
// config.headers['token'] = `f0003a753d1d492083248f723ab1b6e9`//TEST测试专用
|
||||
return config
|
||||
},
|
||||
error => {
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<van-radio-group v-model="radio" class="pb10 pt20 pl30 pr30 fs14">
|
||||
<van-radio name="1" @click="click">
|
||||
本人确认已阅读
|
||||
<span class="red">《{{ pdfList[0].documentName }}》</span>
|
||||
<span class="red">《{{ documentName }}》</span>
|
||||
</van-radio>
|
||||
</van-radio-group>
|
||||
<div class="bg-white bottom-btn">
|
||||
@@ -34,6 +34,7 @@ export default {
|
||||
// 按钮是否可以点击
|
||||
isDisable: true,
|
||||
pdfUrl: '',
|
||||
documentName: '', //文档名称
|
||||
pdfList: [],
|
||||
customerInfo: JSON.parse(localStorage.getItem('preserve-customerInfo')),
|
||||
policy: JSON.parse(localStorage['preserve-policy']),
|
||||
@@ -46,11 +47,11 @@ export default {
|
||||
[Dialog.name]: Dialog,
|
||||
[NoticeBar.name]: NoticeBar
|
||||
},
|
||||
mounted() {},
|
||||
created() {
|
||||
this.timeOut()
|
||||
this.init()
|
||||
},
|
||||
mounted() {},
|
||||
methods: {
|
||||
//信息初始化
|
||||
init() {
|
||||
@@ -62,7 +63,11 @@ export default {
|
||||
res => {
|
||||
if (res.result == 0) {
|
||||
this.pdfList = res.content.surrenderSignList
|
||||
this.pdfUrl = this.pdfList[0].policyUrl
|
||||
// this.pdfUrl = this.pdfList[0].policyUrl
|
||||
this.pdfUrl =
|
||||
'Ra4LpmZv2h6FrwZPS48QIETiI2AcWWLx6RavVjoAkoPKPyCLFQ24jT2yrqIbfar6ORGrkmYsocow%0ArEcXnbvgOEa2vHPyBGfGovb0%2F5Q3RP%2BVGLphInLPv0HGtHpZ3OhD' //TEST测试专用
|
||||
this.documentName = this.pdfList[0].documentName
|
||||
console.log('1111', this.pdfUrl) //TEST测试专用
|
||||
resolve()
|
||||
} else {
|
||||
reject(this.$toast(res.resultMessage))
|
||||
|
||||
Reference in New Issue
Block a user