diff --git a/frontend/src/components/business/DeLayoutContent.vue b/frontend/src/components/business/DeLayoutContent.vue index 33aa2760da..39a0daa9fa 100644 --- a/frontend/src/components/business/DeLayoutContent.vue +++ b/frontend/src/components/business/DeLayoutContent.vue @@ -4,7 +4,7 @@ {{ routeTitle }}

-
+
@@ -33,8 +33,8 @@ export default { showBack({ backPath, backName, backTo }) { return backPath || backName || backTo }, - isDept() { - return ['system-dept', 'system-dept-form'].includes(this.$route.name) + needInnerPadding() { + return ['system-dept', 'system-dept-form', 'system-auth'].includes(this.$route.name) } } } @@ -74,7 +74,7 @@ export default { flex: 1; } - .dept-padding { + .layout-inner-padding { padding: 0; margin-top: 16px; } diff --git a/frontend/src/icons/svg/none_select.svg b/frontend/src/icons/svg/none_select.svg index d129fc7238..ebafc75e0f 100644 --- a/frontend/src/icons/svg/none_select.svg +++ b/frontend/src/icons/svg/none_select.svg @@ -1,5 +1,5 @@ - - - + + + diff --git a/frontend/src/lang/en.js b/frontend/src/lang/en.js index 36b5964fbd..e80b0c041c 100644 --- a/frontend/src/lang/en.js +++ b/frontend/src/lang/en.js @@ -1894,6 +1894,9 @@ export default { }, auth: { + no_item_selected: 'Please select resources on the left', + search_pre: 'Search by ', + search_suf: ' name', separate_auth: 'Separate Authorization', auth_extent_tips: 'Permissions Inherited From The Following Organizations Or Roles:', authConfig: 'Configure Permissions By User', diff --git a/frontend/src/lang/tw.js b/frontend/src/lang/tw.js index 60d36e9d06..68f9933f40 100644 --- a/frontend/src/lang/tw.js +++ b/frontend/src/lang/tw.js @@ -1903,6 +1903,9 @@ export default { }, auth: { + no_item_selected: '请在左侧选择资源', + search_pre: '通过', + search_suf: '名称来搜索', separate_auth: '单独授权', auth_extent_tips: '继承自以下组织或角色的权限:', authConfig: '按用戶配置權限', diff --git a/frontend/src/lang/zh.js b/frontend/src/lang/zh.js index 66930958c6..0c72194349 100644 --- a/frontend/src/lang/zh.js +++ b/frontend/src/lang/zh.js @@ -1912,6 +1912,9 @@ export default { }, auth: { + no_item_selected: '请在左侧选择资源', + search_pre: '通过', + search_suf: '名称来搜索', separate_auth: '单独授权', auth_extent_tips: '继承自以下组织或角色的权限:', authConfig: '按用户配置权限', diff --git a/frontend/src/styles/deicon/demo_index.html b/frontend/src/styles/deicon/demo_index.html index 4dc197d39e..381228577f 100644 --- a/frontend/src/styles/deicon/demo_index.html +++ b/frontend/src/styles/deicon/demo_index.html @@ -54,6 +54,12 @@