From 1d2a1d47ee9ecc1b84cf472546a950915fc02588 Mon Sep 17 00:00:00 2001
From: odc.xiaohui <xiaohui@Q1>
Date: 星期四, 09 三月 2023 17:14:38 +0800
Subject: [PATCH] 隐藏报案材料导出
---
src/api/common.js | 10 +++-------
1 files changed, 3 insertions(+), 7 deletions(-)
diff --git a/src/api/common.js b/src/api/common.js
index 2dfdc43..c914421 100644
--- a/src/api/common.js
+++ b/src/api/common.js
@@ -10,12 +10,8 @@
export function getImgUrl(val) {
- return request({
- url: '/minio/getUrl',
- method: 'get',
- params: {
- fileName: val
- }
+ return new Promise(resolve => {
+ resolve("/minio/img/" + val)
})
}
@@ -38,6 +34,6 @@
return request({
url: `/report/audit`,
method: 'post',
- data:params
+ data: params
})
}
\ No newline at end of file
--
Gitblit v1.8.0