From d286ea98663537e2ff4bd477da5b4e040ee5fbdb Mon Sep 17 00:00:00 2001
From: zhangwencui <1064582902@qq.com>
Date: 星期一, 09 三月 2026 17:46:03 +0800
Subject: [PATCH] 附件上传路径和查看路径修改

---
 src/config.js                        |    1 +
 src/pages/inspectionUpload/index.vue |    4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/config.js b/src/config.js
index 9e93570..f752da6 100644
--- a/src/config.js
+++ b/src/config.js
@@ -1,6 +1,7 @@
 // 搴旂敤鍏ㄥ眬閰嶇疆
 const config = {
   baseUrl: 'http://1.15.17.182:9003',
+  fileUrl: 'http://1.15.17.182:9003',
    // 搴旂敤淇℃伅
    appInfo: {
      // 搴旂敤鍚嶇О
diff --git a/src/pages/inspectionUpload/index.vue b/src/pages/inspectionUpload/index.vue
index dd076b0..a843715 100644
--- a/src/pages/inspectionUpload/index.vue
+++ b/src/pages/inspectionUpload/index.vue
@@ -408,7 +408,7 @@
 
   // 璁$畻涓婁紶URL
   const uploadFileUrl = computed(() => {
-    const baseUrl = "http://114.132.189.42:9030";
+    const baseUrl = config.baseUrl;
 
     return baseUrl + uploadConfig.action;
   });
@@ -971,7 +971,7 @@
   };
 
   // 鏂囦欢璁块棶鍩虹鍩燂紙鍚庣瑕佹眰鍓嶇紑锛�
-  const filePreviewBase = "http://114.132.189.42:9098";
+  const filePreviewBase = config.fileUrl;
 
   // 灏嗗悗绔繑鍥炵殑鏂囦欢鍦板潃瑙勮寖鎴愬彲璁块棶URL
   // 鍏煎鍦烘櫙锛�

--
Gitblit v1.9.3