From e0fb00cb3bb37f519b8444b3c5408111207fb069 Mon Sep 17 00:00:00 2001
From: wankeda <Administrator@DESKTOP-HAU3ST3>
Date: 星期二, 25 三月 2025 18:37:33 +0800
Subject: [PATCH] 1

---
 代码管理/WMS/WIDESEA_WMSClient/src/views/system/Sys_Role.vue |   47 +++++++++++++++++++++++++----------------------
 1 files changed, 25 insertions(+), 22 deletions(-)

diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/views/system/Sys_Role.vue" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/views/system/Sys_Role.vue"
index 538b0a7..8c2a039 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/views/system/Sys_Role.vue"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/views/system/Sys_Role.vue"
@@ -32,7 +32,7 @@
       sortName: "roleId",
     });
     const editFormFields = ref({
-      parentId: [],
+      parentId: "",
       roleName: "",
       deptId: "",
       enable: "",
@@ -49,9 +49,16 @@
           title: "鐖剁骇ID",
           required: true,
           field: "parentId",
-          type: "cascader",
+          type: "select",
         },
         { title: "瑙掕壊鍚嶇О", required: true, field: "roleName" },
+        {
+          title: "鏁版嵁鏉冮檺",
+          field: "roleId",
+          type: "selectList",
+          dataKey: "roleId",
+          data: [],
+        },
       ],
       [
         { title: "閮ㄩ棬ID", field: "deptId" },
@@ -63,19 +70,6 @@
           type: "switch",
         },
       ],
-      // [
-      //   { title: "鍒涘缓浜�", field: "creater", disabled: true },
-      //   {
-      //     title: "鍒涘缓鏃堕棿",
-      //     field: "createDate",
-      //     disabled: true,
-      //     type: "datetime",
-      //   },
-      // ],
-      // [
-      //   { title: "淇敼浜�", field: "modifier", disabled: true },
-      //   { title: "淇敼鏃堕棿", field: "modifyDate", disabled: true },
-      // ],
     ]);
     const searchFormFields = ref({
       roleName: "",
@@ -131,6 +125,15 @@
         align: "left",
       },
       {
+        field: "roleId",
+        title: "鏁版嵁鏉冮檺",
+        type: "string",
+        width: 90,
+        require: true,
+        align: "left",
+        bind: { key: "roleId", data: [] },
+      },
+      {
         field: "deptId",
         title: "閮ㄩ棬ID",
         type: "int",
@@ -138,13 +141,13 @@
         // hidden: true,
         align: "left",
       },
-    //   {
-    //     field: "deptName",
-    //     title: "閮ㄩ棬鍚嶇О",
-    //     type: "string",
-    //     width: 90,
-    //     align: "left",
-    //   },
+      //   {
+      //     field: "deptName",
+      //     title: "閮ㄩ棬鍚嶇О",
+      //     type: "string",
+      //     width: 90,
+      //     align: "left",
+      //   },
       {
         field: "enable",
         title: "鏄惁鍚敤",

--
Gitblit v1.9.3