From 654c3444551221815450d59ff36bd7de89db0765 Mon Sep 17 00:00:00 2001 From: leiqiaochu Date: Wed, 20 Sep 2023 20:13:37 +0800 Subject: [PATCH 1/2] =?UTF-8?q?fix:=20bug#18505=E3=80=8118507?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../system/Dictionary/components/Left.vue | 1 - src/views/system/Role/RoleLeft/index.vue | 40 ++++++++++++------- 2 files changed, 25 insertions(+), 16 deletions(-) diff --git a/src/views/system/Dictionary/components/Left.vue b/src/views/system/Dictionary/components/Left.vue index 7397de09..08c03890 100644 --- a/src/views/system/Dictionary/components/Left.vue +++ b/src/views/system/Dictionary/components/Left.vue @@ -88,7 +88,6 @@ import Save from './save/index.vue' import { onlyMessage} from '@/utils/comm'; import Export from './Export/index.vue' import { usePermissionStore } from '@/store/permission'; -import { first } from 'lodash-es'; const emit = defineEmits(['selectData']) const hasPermission = usePermissionStore().hasPermission; const saveShow = ref(false) diff --git a/src/views/system/Role/RoleLeft/index.vue b/src/views/system/Role/RoleLeft/index.vue index f8bd5d9a..0be165f3 100644 --- a/src/views/system/Role/RoleLeft/index.vue +++ b/src/views/system/Role/RoleLeft/index.vue @@ -5,17 +5,16 @@ -
- + 新增分组 - +
-
+
@@ -56,15 +56,22 @@ \ No newline at end of file diff --git a/src/views/system/User/index.vue b/src/views/system/User/index.vue index 71c6b654..866d6303 100644 --- a/src/views/system/User/index.vue +++ b/src/views/system/User/index.vue @@ -94,10 +94,11 @@ : '删除', }" :popConfirm="{ - title: `确认删除`, + title:slotProps?.type?.id === 'application' ? '此操作将同步删除对应的第三方配置,确认删除?':'确认删除', onConfirm: () => table.clickDel(slotProps.id), }" + :disabled="slotProps.status" > @@ -215,7 +216,7 @@ const columns = [ dataIndex: 'action', key: 'action', fixed: 'right', - width: 150, + width: 200, scopedSlots: true, }, ];