From 5250b2274072355ba1dba0e047c4d180ea28b941 Mon Sep 17 00:00:00 2001
From: fangyuan <527392886@qq.com>
Date: 星期一, 26 十二月 2022 10:59:17 +0800
Subject: [PATCH] 案件材料展示
---
src/views/common/Audit.vue | 24 ++++++++++++++++++++++--
1 files changed, 22 insertions(+), 2 deletions(-)
diff --git a/src/views/common/Audit.vue b/src/views/common/Audit.vue
index b8f503c..f9892b5 100644
--- a/src/views/common/Audit.vue
+++ b/src/views/common/Audit.vue
@@ -217,7 +217,9 @@
</el-col>
<el-col :span="24">
<el-form-item label="鏉愭枡">
- <div class="metalL"></div>
+ <div class="metalL">
+ <el-image :src="reportData" style="height: 200px;width: 200px;"></el-image>
+ </div>
</el-form-item>
</el-col>
<el-col :span="24">
@@ -292,7 +294,9 @@
</el-col>
<el-col :span="24">
<el-form-item label="鏉愭枡">
- <div class="metalL"></div>
+ <div class="metalL">
+ <el-image :src="reportData" style="height: 200px;width: 200px;"></el-image>
+ </div>
</el-form-item>
</el-col>
<!-- <el-col :span="24">
@@ -341,6 +345,7 @@
},
auditInfo: {},
picShow: "",
+ reportData: "",
optionsGroup: [
{
value: null,
@@ -479,6 +484,13 @@
this.picShow = res
})
}
+ if (res.reportMaterials === '' || res.reportMaterials === null) {
+ this.reportData = './logo.jpg';
+ } else {
+ getImgUrl(res.reportMaterials).then(res => {
+ this.reportData = res
+ })
+ }
this.checkVisible = true
})
},
@@ -573,6 +585,14 @@
this.picShow = res
})
}
+
+ if (res.reportMaterials === '' || res.reportMaterials === null) {
+ this.reportData = './logo.jpg';
+ } else {
+ getImgUrl(res.reportMaterials).then(res => {
+ this.reportData = res
+ })
+ }
this.infoAduitDialogVisible = true
})
},
--
Gitblit v1.8.0