From b5a8a482a5eede229ffea6b8de6ba2b8f06ac0c4 Mon Sep 17 00:00:00 2001
From: Tcsm <1377977403@qq.com>
Date: 星期日, 30 七月 2023 18:12:04 +0800
Subject: [PATCH] 除健康外,点击详情页可以获取对应数据

---
 ruoyi-ui/src/views/healthy/healthyInfo.vue |   11 +++++------
 1 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/ruoyi-ui/src/views/healthy/healthyInfo.vue b/ruoyi-ui/src/views/healthy/healthyInfo.vue
index 1ffcfea..2cc224b 100644
--- a/ruoyi-ui/src/views/healthy/healthyInfo.vue
+++ b/ruoyi-ui/src/views/healthy/healthyInfo.vue
@@ -85,7 +85,7 @@
         multiple
         list-type="picture-card"
         :on-preview="handleFileCardPreview"
-        :on-remove="handleRemove"
+        :on-remove="handleRemoveFile"
         :http-request="requestUpload"
         :show-file-list="true"
       >
@@ -109,12 +109,11 @@
                   </span>
                   <span
                     v-if="isShow"
-                    @click="handleRemove(file)"
                     class="el-upload-list__item-delete"
-
+                    @click="handleDownload(file.url)"
                   >
-                    <i class="el-icon-download"></i>
-                  </span>
+                 <i class="el-icon-download"></i>
+                 </span>
                   <span
                     v-if="isShow"
                     class="el-upload-list__item-delete"
@@ -260,7 +259,7 @@
     if (id) {
       this.loading = true;
 
-      getSecretInfo(query).then((response) => {
+      getSecretInfo({id}).then((response) => {
         this.formData = response.data;
         let paths = response.data.url.split(",");
         for(let i = 0; i < paths.length; i++)

--
Gitblit v1.9.1