diff --git a/src/views/ebiz/questions/QuestionsDetail.vue b/src/views/ebiz/questions/QuestionsDetail.vue
index 2c064a91a..27e14c15a 100644
--- a/src/views/ebiz/questions/QuestionsDetail.vue
+++ b/src/views/ebiz/questions/QuestionsDetail.vue
@@ -14,7 +14,10 @@
{{ supplement.descriptionInsurant }}
-
+ 身份证正面照片
+
+ 身份证背面照片
+
@@ -26,7 +29,12 @@
{{ supplement.descriptionPolicyholder }}
-
+ 身份证正面照片
+
+ 身份证背面照片
+
+ 银行卡照片
+
@@ -145,10 +153,13 @@ export default {
// 投保人问题描述
descriptionPolicyholder: '',
// 被保人身份证明
- idImgList: [],
+ insurantIdCardA: [],
+ insurantIdCardB: [],
insurantUploadResult: [],
// 投保人身份证明等资料
- copyImgList: [],
+ policyholderIdCardA: [],
+ policyholderIdCardB: [],
+ policyholderBankCardA: [],
policyholderUploadResult: []
},
newContract: {
@@ -192,19 +203,29 @@ export default {
}
},
methods: {
- async policyHolderUpload(file) {
+ async policyHolderUpload(file, detail) {
+ // 微信端将上传的图片保存到localstorage中供签名回调使用
+ if (this.isWeixin) {
+ localStorage.setItem(detail.name, file.content)
+ }
let res = await this.afterRead(file)
this.supplement.policyholderUploadResult.push({
rgssUrl: res.path
})
},
- async insurantUpload(file) {
+ async insurantUpload(file, detail) {
+ if (this.isWeixin) {
+ localStorage.setItem(detail.name, file.content)
+ }
let res = await this.afterRead(file)
this.supplement.insurantUploadResult.push({
rgssUrl: res.path
})
},
- async cardUpload(file) {
+ async cardUpload(file, detail) {
+ if (this.isWeixin) {
+ localStorage.setItem(detail.name, file.content)
+ }
let res = await this.afterRead(file)
this.transfer.cardUploadResult.push({
rgssUrl: res.path
@@ -522,6 +543,11 @@ export default {
}