From 00ae6e7c8ccb3e8abad027104529f18f68142a48 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期三, 31 十二月 2025 10:41:56 +0800
Subject: [PATCH] 陕西昭德型煤: 1.现场巡检上传附件查看附件修改联调

---
 src/components/imageUpload/index.vue |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/components/imageUpload/index.vue b/src/components/imageUpload/index.vue
index a329a81..aa0afc5 100644
--- a/src/components/imageUpload/index.vue
+++ b/src/components/imageUpload/index.vue
@@ -104,7 +104,7 @@
 // Props 瀹氫箟
 const props = defineProps({
   modelValue: [String, Object, Array],
-  action: { type: String, default: "/common/minioUploads" },
+  action: { type: String, default: "/common/commonUploads" },
   data: { type: Object },
   limit: { type: Number, default: 5 },
   fileSize: { type: Number, default: 10 }, // 榛樿10MB锛岄�傚悎瑙嗛
@@ -115,7 +115,7 @@
   isShowTip: { type: Boolean, default: true },
   disabled: { type: Boolean, default: false },
   drag: { type: Boolean, default: false }, // 鎷嶇収涓嶉渶瑕佹嫋鎷�
-  statusType: { type: Number, default: "" }, // 鐢ㄤ簬鍖哄垎涓嶅悓鐘舵�佺殑涓婁紶
+  type: { type: Number, default: "" }, // 鐢ㄤ簬鍖哄垎涓嶅悓鐘舵�佺殑涓婁紶
   maxVideoDuration: { type: Number, default: 30 }, // 鏈�澶ц棰戞椂闀匡紙绉掞級
 });
 
@@ -174,7 +174,7 @@
 const testServerConnection = () => {
   return new Promise((resolve) => {
     uni.request({
-      url: uploadFileUrl.value.replace('/common/minioUploads', '/common/test'),
+      url: uploadFileUrl.value.replace('/common/commonUploads', '/common/commonUploads'),
       method: 'GET',
       timeout: 5000,
       success: (res) => {
@@ -364,7 +364,7 @@
     filePath: filePath,
     name: 'files',
     formData: {
-      type: props.statusType || 0,
+      type: props.type || 0,
       ...(props.data || {})
     },
     header: {

--
Gitblit v1.9.3