From dc082351978a1e9f75d7a1471a0ca7ebeac552a5 Mon Sep 17 00:00:00 2001
From: WXL <wl_5969728@163.com>
Date: 星期一, 01 六月 2026 11:07:50 +0800
Subject: [PATCH] opo维护

---
 src/components/CaseBasicInfo/index.vue |   37 ++++++++++++++++++++++++++++++++++---
 1 files changed, 34 insertions(+), 3 deletions(-)

diff --git a/src/components/CaseBasicInfo/index.vue b/src/components/CaseBasicInfo/index.vue
index 045e856..b992cc3 100644
--- a/src/components/CaseBasicInfo/index.vue
+++ b/src/components/CaseBasicInfo/index.vue
@@ -2,6 +2,16 @@
   <el-card class="basic-info-card" v-loading="loading">
     <div slot="header" class="clearfix">
       <span>妗堜緥鍩烘湰淇℃伅</span>
+
+      <el-button
+        v-if="showAttachment"
+        type="text"
+        style="float: right; margin-left: 12px"
+        @click="openStageAttachments"
+      >
+        <i class="el-icon-folder"></i> 鏌ョ湅鍚勯樁娈甸檮浠�
+      </el-button>
+
       <el-button
         v-if="showAttachment && hasAttachments"
         style="float: right; padding: 3px 0"
@@ -100,14 +110,24 @@
     <div v-else class="empty-state">
       <el-empty description="鏆傛棤妗堜緥淇℃伅" :image-size="100"></el-empty>
     </div>
+    <!-- 鍚勯樁娈甸檮浠跺脊妗� -->
+    <case-stage-attachments-dialog
+      ref="stageDialog"
+      :case-id="caseId"
+      :selected-ids="selectedAttachmentIds"
+      @confirm="onAttachmentsConfirm"
+    />
   </el-card>
 </template>
 
 <script>
-import { getDonatebaseinfo } from "@/api/project/donatebaseinfo";
+import { getDonatebaseinfo, getfileList } from "@/api/project/donatebaseinfo";
+import CaseStageAttachmentsDialog from "@/components/CaseStageAttachmentsDialog";
 
 export default {
   name: "CaseBasicInfoSimple",
+  components: { CaseStageAttachmentsDialog },
+
   props: {
     // 妗堜緥ID
     caseId: {
@@ -173,7 +193,9 @@
       basicData: null,
       // 瀛楀吀閫夐」
       sexOptions: [],
-      bloodTypeOptions: []
+      bloodTypeOptions: [],
+      selectedAttachmentIds: ["123", "456"],
+      finalAttachments: []
     };
   },
   computed: {
@@ -234,7 +256,16 @@
         console.warn("鍔犺浇瀛楀吀澶辫触:", error);
       }
     },
+    // 鎵撳紑鍚勯樁娈甸檮浠跺脊妗�
+    openStageAttachments() {
+      this.$refs.stageDialog.open();
+    },
 
+    onAttachmentsConfirm(list) {
+      this.finalAttachments = list;
+      console.log("閫変腑鐨勯樁娈甸檮浠讹細", list);
+      // 鍙洿鎺ユ彁浜ょ粰鎺ュ彛
+    },
     // 鍔犺浇鍩烘湰淇℃伅
     async loadBasicInfo() {
       if (!this.caseId) return;
@@ -245,7 +276,7 @@
 
         if (response.code === 200) {
           this.basicData = this.mapApiData(response.data);
-          console.log(this.basicData );
+          console.log(this.basicData);
 
           this.loading = false;
         } else {

--
Gitblit v1.9.3