From 38bf5b0367e159dff3a5e1105dcc8cdbcbc9b8c8 Mon Sep 17 00:00:00 2001
From: zhouhao <787329763@qq.com>
Date: Mon, 10 Jan 2022 15:05:30 +0800
Subject: [PATCH] 合同预览
---
src/views/main/addBankcard.vue | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/src/views/main/addBankcard.vue b/src/views/main/addBankcard.vue
index 8abadd5..ccddbae 100644
--- a/src/views/main/addBankcard.vue
+++ b/src/views/main/addBankcard.vue
@@ -88,6 +88,7 @@
isdisabled: false,
show: false,
showx: false,
+ contractUrl:[],//合同预览
bankName: '',
showOverlay: false,
bizId: this.$route.query.bizId, //订单编号
@@ -259,10 +260,14 @@
} else{ //生产
objUrl = `${window.location.origin}`
}
- this.dataForm.contractUrl =this.dataForm.contractUrl.map(element => {
+ this.contractUrl=[]
+ this.$api.getContInfo({bizId: this.bizId, bizType: this.bizType}).then(res=>{
+ this.contractUrl =res.body.contractUrl.map(element => {
return element = objUrl+element
})
- ImagePreview(this.dataForm.contractUrl);
+ ImagePreview(this.contractUrl);
+ })
+
},
//图片click
imgClick: function () {
--
Gitblit v1.8.0