From c39833f66a9d1829183937f9dba775a2e47393f3 Mon Sep 17 00:00:00 2001 From: lhzzforever Date: Tue, 28 Nov 2023 16:50:35 +0800 Subject: [PATCH 1/2] =?UTF-8?q?feature:=20=E5=A4=84=E7=90=86i=E4=BA=BA?= =?UTF-8?q?=E5=91=98=E9=80=89=E6=8B=A9=E5=99=A8=E7=BB=84=E4=BB=B6=E5=9C=A8?= =?UTF-8?q?iam=E7=B3=BB=E7=BB=9F=E5=92=8C=E8=93=9D=E7=9B=BE=E7=B3=BB?= =?UTF-8?q?=E7=BB=9F=E4=B8=AD=E4=B8=8D=E9=9C=80=E8=A6=81=E6=A0=A1=E9=AA=8C?= =?UTF-8?q?=E6=8E=88=E6=9D=83=E8=8C=83=E5=9B=B4=E7=9A=84=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/dialog-infinite-list/index.vue | 8 ++- frontend/src/components/header/index.css | 4 ++ frontend/src/components/header/index.vue | 6 +- .../views/group/components/iam-add-member.vue | 67 ++++++++++--------- .../add-member-boundary/index.vue | 67 ++++++++++--------- frontend/src/views/perm/index.vue | 2 +- 6 files changed, 84 insertions(+), 70 deletions(-) diff --git a/frontend/src/components/dialog-infinite-list/index.vue b/frontend/src/components/dialog-infinite-list/index.vue index a88fa3a73..2bffc03d8 100644 --- a/frontend/src/components/dialog-infinite-list/index.vue +++ b/frontend/src/components/dialog-infinite-list/index.vue @@ -115,7 +115,8 @@ currentFocusIndex: this.focusIndex, organizationIndex: -1, userIndex: -1, - enableOrganizationCount: window.ENABLE_ORGANIZATION_COUNT.toLowerCase() === 'true' + enableOrganizationCount: window.ENABLE_ORGANIZATION_COUNT.toLowerCase() === 'true', + noVerifyRoutes: ['authorBoundaryEditFirstLevel', 'authorBoundaryEditSecondLevel', 'applyJoinUserGroup', 'addMemberBoundary', 'gradingAdminCreate', 'gradingAdminEdit'] }; }, computed: { @@ -280,7 +281,10 @@ node.is_selected = !node.is_selected; this.$emit('on-checked', node.is_selected, !node.is_selected, node.is_selected, node); } else { - if (getParamsValue('search_scene') && getParamsValue('search_scene') === 'add') { + if ( + (getParamsValue('search_scene') && getParamsValue('search_scene') === 'add') + || this.noVerifyRoutes.includes(this.$route.name) + ) { node.is_selected = !node.is_selected; this.$emit('on-checked', node.is_selected, !node.is_selected, node.is_selected, node); } else { diff --git a/frontend/src/components/header/index.css b/frontend/src/components/header/index.css index bea0aa6fb..aae8a4313 100644 --- a/frontend/src/components/header/index.css +++ b/frontend/src/components/header/index.css @@ -53,6 +53,10 @@ $cubic-bezier: cubic-bezier(0.4, 0, 0.2, 1); &.has-cursor { cursor: pointer; } + .breadcrumbs-content { + display: flex; + align-items: center; + } .breadcrumbs-back { position: relative; left: -5px; diff --git a/frontend/src/components/header/index.vue b/frontend/src/components/header/index.vue index 7f2ef3c09..2a99af72f 100644 --- a/frontend/src/components/header/index.vue +++ b/frontend/src/components/header/index.vue @@ -16,12 +16,12 @@ :class="backRouter ? 'has-cursor' : ''" v-show="isShowExternal || (!mainContentLoading && !externalSystemsLayout.hideIamBreadCrumbs)" @click="back"> -
+