From 0ac51e607710e00d7842c5e902935d62ca310028 Mon Sep 17 00:00:00 2001
From: linwenling <3256558519@qq.com>
Date: 星期一, 05 六月 2023 16:20:23 +0800
Subject: [PATCH] 新增旅游费用

---
 ruoyi-ui/src/views/honor/honorInfo.vue |   24 ++++++++++++------------
 1 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/ruoyi-ui/src/views/honor/honorInfo.vue b/ruoyi-ui/src/views/honor/honorInfo.vue
index 2ad5826..d424aa9 100644
--- a/ruoyi-ui/src/views/honor/honorInfo.vue
+++ b/ruoyi-ui/src/views/honor/honorInfo.vue
@@ -196,7 +196,7 @@
 import errorCode from "@/utils/errorCode";
 import {Message} from "element-ui";
 import { download,uploadPic} from "@/api/doctor/index";
-import {listHonor,updateHonor} from "@/api/honor/index";
+import {listHonor,updateHonor,getHonor} from "@/api/honor/index";
 
 export default {
   components: {},
@@ -307,7 +307,7 @@
     let _this = this
     if (id) {
       this.loading = true;
-      listHonor(id).then((response) => {
+      getHonor(id).then((response) => {
         this.formData = response.data;
         let paths = response.data.url.split(",");
         for(let i = 0; i < paths.length; i++)
@@ -335,16 +335,16 @@
   mounted() {},
   methods: {
     /** 鏌ヨ绫诲埆淇℃伅 */
-    // getCateInfor()
-    // {
-    //   let _this = this
-    //   getCategory().then(response=>{
-    //
-    //     response.data.itemValues.replace("{","").replace("}","").split(",").map(elem=>{
-    //       _this.typeOptions.push({"label":elem.split(":")[0], "value":elem.split(":")[0]})
-    //     })
-    //   })
-    // },
+    getCateInfor()
+    {
+      let _this = this
+      getCategory().then(response=>{
+
+        response.data.itemValues.replace("{","").replace("}","").split(",").map(elem=>{
+          _this.typeOptions.push({"label":elem.split(":")[0], "value":elem.split(":")[0]})
+        })
+      })
+    },
     submitForm() {
       let ul = this.fileList.map(function (elem){
         return elem.url.replace(process.env.VUE_APP_BASE_TRUE_API,"")

--
Gitblit v1.9.1