From 6f6e804a48c822f339e1974cfe482bc2f60227a3 Mon Sep 17 00:00:00 2001
From: linwenling <3256558519@qq.com>
Date: 星期一, 25 九月 2023 12:42:08 +0800
Subject: [PATCH] 修改健康保健

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

diff --git a/ruoyi-ui/src/views/healthy/healthyInfo.vue b/ruoyi-ui/src/views/healthy/healthyInfo.vue
index f83ddb5..847e028 100644
--- a/ruoyi-ui/src/views/healthy/healthyInfo.vue
+++ b/ruoyi-ui/src/views/healthy/healthyInfo.vue
@@ -153,7 +153,7 @@
   </div>
 </template>
 <script>
-import {getHealthInfo,  uploadPic, download, updateSecret} from "@/api/healthy/index";
+import {getHealthInfo, uploadPic, download, updateHealth} from "@/api/healthy/index";
 import {addRole, updateRole} from "@/api/system/role";
 import {blobValidate} from "@/utils/ruoyi";
 import errorCode from "@/utils/errorCode";
@@ -330,7 +330,7 @@
 
         if (valid) {
           if (this.formData.id != undefined) {
-            updateSecret(this.formData).then(response => {
+            updateHealth(this.formData).then(response => {
               this.$modal.msgSuccess("淇敼鎴愬姛");
               // this.open = false;
               this.btn=false
@@ -425,13 +425,6 @@
       })
 
     },
-
-    /** 瀵煎嚭鎸夐挳鎿嶄綔 */
-    handleExport() {
-      this.download('/zYearInfo/export', {
-        ...this.queryParams
-      }, `zYearInfo${new Date().getTime()}.xlsx`)
-    }
 
   }
 }

--
Gitblit v1.9.1