From e1aa0ecffbabd618c71e4ad94370fb8dffe6ee1c Mon Sep 17 00:00:00 2001
From: zhanghua <314079846@qq.com>
Date: 星期日, 21 一月 2024 20:54:49 +0800
Subject: [PATCH] 优化
---
src/views/operate/disposal/casepool/dispatch/updateUser/uploadResult/components/book/index.vue | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/src/views/operate/disposal/casepool/dispatch/updateUser/uploadResult/components/book/index.vue b/src/views/operate/disposal/casepool/dispatch/updateUser/uploadResult/components/book/index.vue
index 8d828fd..63bd3a8 100644
--- a/src/views/operate/disposal/casepool/dispatch/updateUser/uploadResult/components/book/index.vue
+++ b/src/views/operate/disposal/casepool/dispatch/updateUser/uploadResult/components/book/index.vue
@@ -83,6 +83,7 @@
<script>
import {deepClone, getCodeList} from '@/utils/helper'
import MyUpload from "@/components/myUpload"
+import { FILE_ORIGINAL_URL } from "@/utils";
export default {
components: {
MyUpload
@@ -297,7 +298,7 @@
writPic({ url }) {
const baseUrl = '';
if (this.book.originalPic.length < 4) {
- this.book.writPic.push(baseUrl + url)
+ this.book.writPic.push(`${FILE_ORIGINAL_URL}sccg/API/img?fileUrl=${url}`)
}
},
//鍒犻櫎鍥剧墖
@@ -310,7 +311,7 @@
otherPic({ url }) {
const baseUrl = '';
if (this.book.otherPic.length < 4) {
- this.book.otherPic.push(baseUrl + url)
+ this.book.otherPic.push(`${FILE_ORIGINAL_URL}sccg/API/img?fileUrl=${url}`)
}
},
//鍒犻櫎鍥剧墖
@@ -323,7 +324,7 @@
rectifiedPic({ url }) {
const baseUrl = '';
if (this.book.otherPic.length < 4) {
- this.book.rectifiedPic.push(baseUrl + url)
+ this.book.rectifiedPic.push(`${FILE_ORIGINAL_URL}sccg/API/img?fileUrl=${url}`)
}
},
//鍒犻櫎鍥剧墖
@@ -335,7 +336,7 @@
originalPic({ url }) {
const baseUrl = '';
if (this.book.otherPic.length < 4) {
- this.book.originalPic.push(baseUrl + url)
+ this.book.originalPic.push(`${FILE_ORIGINAL_URL}sccg/API/img?fileUrl=${url}`)
}
},
//鍒犻櫎鍥剧墖
--
Gitblit v1.8.0