From 20459fe59f680031bfc7c1012be860e0727cb016 Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期二, 05 八月 2025 17:47:09 +0800
Subject: [PATCH] Merge branch 'master' of http://120.26.58.240:8888/r/flexJobAdmin

---
 src/views/Permission/RoleManage.vue |   26 +++++++++++++-------------
 1 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/src/views/Permission/RoleManage.vue b/src/views/Permission/RoleManage.vue
index 5143ab0..4f57eb0 100644
--- a/src/views/Permission/RoleManage.vue
+++ b/src/views/Permission/RoleManage.vue
@@ -258,19 +258,19 @@
 
 async function handleAuthorize(selectedMenuIds: string[], resourceIds: string[]) {
   try {
-    // let params: API.SaveRoleCommand = {
-    //   ...authorizeForm.detail,
-    //   menuIds: selectedMenuIds,
-    //   resources: resourceIds.map((x) => ({
-    //     resourceId: x,
-    //     dataPower: EnumRoleWebApiDataPower.All,
-    //   })),
-    // };
-    // let res = await roleServices.saveRole(params);
-    // if (res) {
-    //   Message.successMessage('鎿嶄綔鎴愬姛');
-    //   getList(paginationState.pageIndex);
-    // }
+    let params: API.SaveRoleCommand = {
+      ...authorizeForm.detail,
+      menuIds: selectedMenuIds,
+      // resources: resourceIds.map((x) => ({
+      //   resourceId: x,
+      //   dataPower: EnumRoleWebApiDataPower.All,
+      // })),
+    };
+    let res = await roleServices.saveRole(params);
+    if (res) {
+      Message.successMessage('鎿嶄綔鎴愬姛');
+      getList(paginationState.pageIndex);
+    }
   } catch (error) {}
 }
 

--
Gitblit v1.9.1