From f6cb3fb118258274a670c7035d484056a7ce4218 Mon Sep 17 00:00:00 2001 From: ibuler Date: Fri, 17 May 2024 16:30:19 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E6=95=B4=E7=90=86=20role=20permisson?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/theme/element-extra.css | 4 ++-- src/components/DataActions/index.vue | 5 ++--- .../TableFormatters/ActionsFormatter.vue | 10 +++++---- src/components/Table/TagSearch/index.vue | 2 +- src/components/Tree/AutoDataZTree/index.vue | 2 -- .../GenericCreateUpdateForm/index.vue | 4 +++- src/layout/components/NavHeader/index.vue | 4 ++++ src/layout/components/Page/index.vue | 4 ++-- src/router/console/accounts.js | 2 +- src/styles/index.scss | 21 ++++++++----------- src/utils/theme/index.js | 13 ++++++------ src/views/dashboard/Audit/CardSummary.vue | 8 +++---- src/views/dashboard/Audit/DataSummary.vue | 9 ++++---- src/views/dashboard/Audit/RightSummary.vue | 6 +++--- src/views/dashboard/components/SwitchDate.vue | 4 ++-- src/views/users/Role/RoleDetail/RoleInfo.vue | 4 ++-- 16 files changed, 53 insertions(+), 49 deletions(-) diff --git a/public/theme/element-extra.css b/public/theme/element-extra.css index b4c4564a6..a0f729ef8 100644 --- a/public/theme/element-extra.css +++ b/public/theme/element-extra.css @@ -92,8 +92,8 @@ td .el-button.el-button--mini { - padding: 2px 4px; - line-height: 1.5; + padding: 3px 6px; + /*line-height: 1.5;*/ .el-icon--right { margin-bottom: 2px; diff --git a/src/components/DataActions/index.vue b/src/components/DataActions/index.vue index 714e4d69f..3dfa3eed9 100644 --- a/src/components/DataActions/index.vue +++ b/src/components/DataActions/index.vue @@ -228,19 +228,18 @@ export default { // 主要是 Table 中的操作列 .layout.table-actions { .el-button { - padding: 1px 5px; color: #fff; } ::v-deep .action-item.el-dropdown .el-button { - padding: 1px 5px; + padding: 3px 6px; background-color: #E8F7F4; color: #1ab394; &:focus { color: #fff; background-color: #83CBBA !important; - } + } &:hover { color: #fff; diff --git a/src/components/Table/TableFormatters/ActionsFormatter.vue b/src/components/Table/TableFormatters/ActionsFormatter.vue index 68ad23742..ac797333d 100644 --- a/src/components/Table/TableFormatters/ActionsFormatter.vue +++ b/src/components/Table/TableFormatters/ActionsFormatter.vue @@ -134,7 +134,7 @@ export default { }, { name: 'clone', - title: this.$t('Clone'), + title: this.$t('Duplicate'), type: 'info', has: colActions.hasClone, can: colActions.canClone, @@ -222,9 +222,11 @@ export default { diff --git a/src/views/dashboard/Audit/DataSummary.vue b/src/views/dashboard/Audit/DataSummary.vue index 795c6c813..e01ce4235 100644 --- a/src/views/dashboard/Audit/DataSummary.vue +++ b/src/views/dashboard/Audit/DataSummary.vue @@ -1,6 +1,6 @@