From 70233af5426b0d1c343ebe87183303a34a9aaa58 Mon Sep 17 00:00:00 2001
From: hutongqing <hutongqing@hnkhzn.com>
Date: 星期三, 20 十一月 2024 09:05:38 +0800
Subject: [PATCH] WIDESEAWCS_QuartzJob更新版本

---
 WIDESEAWCS_Client/src/views/system/Sys_Menu.vue |   41 +++++++++++++++++++++--------------------
 1 files changed, 21 insertions(+), 20 deletions(-)

diff --git a/WIDESEAWCS_Client/src/views/system/Sys_Menu.vue b/WIDESEAWCS_Client/src/views/system/Sys_Menu.vue
index b56c380..8ed6a6c 100644
--- a/WIDESEAWCS_Client/src/views/system/Sys_Menu.vue
+++ b/WIDESEAWCS_Client/src/views/system/Sys_Menu.vue
@@ -176,7 +176,7 @@
         tigger = true;
         let menuId = this.fields.menuId;
         this.http
-          .post("/api/menu/delMenu?menuId=" + menuId, {}, "姝e湪鍒犻櫎鏁版嵁....")
+          .post("/api/Sys_Menu/delMenu?menuId=" + menuId, {}, "姝e湪鍒犻櫎鏁版嵁....")
           .then((x) => {
             if (!x.status) return this.$Message.error(x.message);
             this.$refs.form.reset();
@@ -227,6 +227,7 @@
             orderNo: this.fields.orderNo,
             parentId: this.fields.parentId,
           });
+          console.log(this.tree)
         });
       });
     },
@@ -247,6 +248,9 @@
       this.getTreeItem(node[node.length > 1 ? node.length - 1 : 0]);
     }
   },
+  created(){
+
+  },
   setup() {
     const tree = ref([]);
     const actionValues = ref([]);
@@ -257,8 +261,8 @@
       { text: "缂栬緫", value: "Update" },
       { text: "瀵煎叆", value: "Import" },
       { text: "瀵煎嚭", value: "Export" },
-      { text: "涓婁紶", value: "Upload" },
-      { text: "瀹℃牳", value: "Audit" },
+      // { text: "涓婁紶", value: "Upload" },
+      // { text: "瀹℃牳", value: "Audit" },
     ]);
     const actions = ref([]);
     actionValues.value = action.value.map((x) => {
@@ -268,9 +272,6 @@
       http.post("/api/Sys_Menu/getMenu", {}, true).then((x) => {
         x.forEach(item => {
           item.icon = 'el-icon-menu';
-          if (item.menuType == 1 && !item.parentId) {
-            // item.name="(app)"+item.name;
-          }
         })
         
         tree.value = x;
@@ -293,10 +294,10 @@
       icon: "",
       orderNo: "",
       enable: 1,
-      menuType: null,
       createDate: "",
       creator: "",
       modifyDate: "",
+      menuType: 1
     });
 
     const actionFields = ref({
@@ -379,19 +380,19 @@
             { key: 0, value: "绂佺敤" },
           ],
         },
-        {
-          // 2022.03.26澧炵Щ鍔ㄧ鍔犺彍鍗曠被鍨�
-          title: "鑿滃崟绫诲瀷",
-          field: "menuType",
-          required: true,
-          type: "select",
-          colSize: 4,
-          data: [
-            { key: 1, value: "WCS鑿滃崟" },
-            { key: 0, value: "WMS鑿滃崟" },
-            { key: 99, value: "鍏辩敤" }
-          ],
-        },
+        // {
+        //   // 2022.03.26澧炵Щ鍔ㄧ鍔犺彍鍗曠被鍨�
+        //   title: "鑿滃崟绫诲瀷",
+        //   field: "menuType",
+        //   required: true,
+        //   type: "select",
+        //   colSize: 4,
+        //   data: [
+        //     { key: 1, value: "WCS鑿滃崟" },
+        //     { key: 0, value: "WMS鑿滃崟" },
+        //     { key: 99, value: "鍏辩敤" }
+        //   ],
+        // },
         {
           title: "鍥炬爣Icon",
           field: "icon",

--
Gitblit v1.9.3