From 9bef7a8b3c4e1333792391b5272457356ac311e7 Mon Sep 17 00:00:00 2001
From: TsMask <340112800@qq.com>
Date: Fri, 21 Mar 2025 15:06:55 +0800
Subject: [PATCH] =?UTF-8?q?fix:=20=E7=A6=81=E6=AD=A2admin=E4=BF=AE?=
=?UTF-8?q?=E6=94=B9=E8=8F=9C=E5=8D=95=E5=88=86=E9=85=8D?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/system/role/index.vue | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
diff --git a/src/views/system/role/index.vue b/src/views/system/role/index.vue
index 21e93468..743157cf 100644
--- a/src/views/system/role/index.vue
+++ b/src/views/system/role/index.vue
@@ -732,7 +732,7 @@ function fnGetList(pageNum?: number) {
queryParams.beginTime = queryRangePicker.value[0];
queryParams.endTime = queryRangePicker.value[1];
listRole(toRaw(queryParams)).then(res => {
- if (res.code === RESULT_CODE_SUCCESS) {
+ if (res.code === RESULT_CODE_SUCCESS) {
// 取消勾选
if (tableState.selectedRowKeys.length > 0) {
tableState.selectedRowKeys = [];
@@ -941,6 +941,7 @@ onMounted(() => {
v-if="
dict.sysNormalDisable.length > 0 &&
record.roleId !== 1 &&
+ record.roleKey !== 'admin' &&
hasPermissions(['system:role:edit'])
"
v-model:checked="record.statusFlag"
@@ -969,7 +970,9 @@ onMounted(() => {
-
+
{{ t('common.editText') }}
{
-
+
{{ t('common.deleteText') }}
{
-
+
{{
t('views.system.role.distributeUser')
}}