From a53ece5036c1fa61a63fe5f9e0cd3519210ab928 Mon Sep 17 00:00:00 2001
From: chenyao <1219716595@qq.com>
Date: Fri, 07 Aug 2026 09:44:27 +0800
Subject: [PATCH] feat:兼容分辨率低不出现滚动条

---
 applications/task-work-order/src/api/system/role.js |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/applications/task-work-order/src/api/system/role.js b/applications/task-work-order/src/api/system/role.js
index aaae6bb..3508caa 100644
--- a/applications/task-work-order/src/api/system/role.js
+++ b/applications/task-work-order/src/api/system/role.js
@@ -12,6 +12,14 @@
   });
 };
 
+export const getRoleListNew = (params) => {
+  return request({
+    url: '/blade-system/role/list',
+    method: 'get',
+    params,
+  });
+};
+
 export const getRoleList = ( params) => {
   return request({
     url: '/blade-system/role/getRoleList',
@@ -77,12 +85,13 @@
   });
 };
 
-export const getRoleTree = tenantId => {
+export const getRoleTree = (tenantId, sysType) => {
   return request({
     url: '/blade-system/role/tree',
     method: 'get',
     params: {
       tenantId,
+      sysType
     },
   });
 };

--
Gitblit v1.9.3