From c7d2fb7b04ea184df7c03a615ccda9bd172bb527 Mon Sep 17 00:00:00 2001
From: linwenling <3256558519@qq.com>
Date: 星期三, 09 八月 2023 21:19:07 +0800
Subject: [PATCH] 家庭模块的三个图标

---
 ruoyi-ui/src/views/healthy/healthyInfo.vue |   27 ++++++++++++++-------------
 1 files changed, 14 insertions(+), 13 deletions(-)

diff --git a/ruoyi-ui/src/views/healthy/healthyInfo.vue b/ruoyi-ui/src/views/healthy/healthyInfo.vue
index 232c9cb..c98eddd 100644
--- a/ruoyi-ui/src/views/healthy/healthyInfo.vue
+++ b/ruoyi-ui/src/views/healthy/healthyInfo.vue
@@ -1,7 +1,7 @@
 <template>
   <div class="app-container">
     <div class="form-header mt">
-      <h4 class="dt h4">闅愮璇︾粏淇℃伅 </h4>
+      <h4 class="dt h4">鍋ュ悍璇︾粏淇℃伅 </h4>
 
     </div>
 
@@ -51,14 +51,14 @@
           >
           <span class="el-upload-list__item-actions">
           <span
-            v-if="isShow"
+
             class="el-upload-list__item-preview"
             @click="handlePictureCardPreview(file)"
           >
             <i class="el-icon-zoom-in"></i>
           </span>
           <span
-            v-if="isShow"
+
             class="el-upload-list__item-delete"
             @click="handleDownload(file.url)"
           >
@@ -101,14 +101,14 @@
           >
           <span class="el-upload-list__item-actions">
                   <span
-                    v-if="isShow"
+
                     class="el-upload-list__item-preview"
                     @click="handleFileCardPreview(file)"
                   >
                     <i class="el-icon-zoom-in"></i>
                   </span>
                   <span
-                    v-if="isShow"
+
                     class="el-upload-list__item-delete"
                     @click="handleDownload(file.url)"
                   >
@@ -129,6 +129,7 @@
 
       </el-upload>
 
+
       <el-form-item size="large">
         <el-button v-if="isShow" type="primary" @click="submitForm" :disabled="dsb">淇敼</el-button>
       </el-form-item>
@@ -141,7 +142,7 @@
   </div>
 </template>
 <script>
-import {getSecretInfo,  uploadPic, download, updateSecret} from "@/api/secret/index";
+import {getHealthInfo,  uploadPic, download, updateSecret} from "@/api/healthy/index";
 import {addRole, updateRole} from "@/api/system/role";
 import {blobValidate} from "@/utils/ruoyi";
 import errorCode from "@/utils/errorCode";
@@ -152,8 +153,8 @@
   props: [],
   data() {
     return {
-      cdi:"闅愮璇︾粏淇℃伅",
-      udi:"闅愮淇℃伅淇敼",
+      cdi:"鍋ュ悍璇︾粏淇℃伅",
+      udi:"鍋ュ悍淇℃伅淇敼",
       fot:[".jpg",".jif"],
       fileList:[
       ],
@@ -246,12 +247,12 @@
       this.btn= jd
       this.dsb = !jd
       this.isShow=true
-      document.title = "淇敼闅愮璇︾粏淇℃伅";
-      this.$route.meta.title = "淇敼闅愮璇︾粏淇℃伅";//鍒楄〃鐨勫悕绉�
+      document.title = "淇敼鍋ュ悍璇︾粏淇℃伅";
+      this.$route.meta.title = "淇敼鍋ュ悍璇︾粏淇℃伅";//鍒楄〃鐨勫悕绉�
     }
     else{
-      document.title = "鏌ョ湅闅愮璇︾粏淇℃伅";
-      this.$route.meta.title = "鏌ョ湅闅愮璇︾粏淇℃伅";//鍒楄〃鐨勫悕绉�
+      document.title = "鏌ョ湅鍋ュ悍璇︾粏淇℃伅";
+      this.$route.meta.title = "鏌ョ湅鍋ュ悍璇︾粏淇℃伅";//鍒楄〃鐨勫悕绉�
       this.isShow=false
     }
 
@@ -259,7 +260,7 @@
     if (id) {
       this.loading = true;
 
-      getSecretInfo(query).then((response) => {
+      getHealthInfo({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