From 0d85df85c78a320000a64377d92fe6f8cd5c810e Mon Sep 17 00:00:00 2001 From: RubyLiu Date: Mon, 29 Jan 2024 17:02:39 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=94=A8=E6=88=B7=E7=BB=84=E6=9D=83?= =?UTF-8?q?=E9=99=90=E9=97=AE=E9=A2=98=E8=B0=83=E6=95=B4&=E5=BA=94?= =?UTF-8?q?=E7=94=A8=E7=AE=A1=E7=90=86=E4=BA=A4=E4=BA=92=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../business/ms-user-group-comp/authTable.vue | 8 +- .../components/index/reviewTable.vue | 2 +- .../menuManagement/menuManagement.vue | 121 +++++++++--------- .../userGroup/projectUserGroup.vue | 6 +- .../organization/usergroup/orgUserGroup.vue | 2 + .../system/usergroup/systemUserGroup.vue | 4 +- 6 files changed, 79 insertions(+), 64 deletions(-) diff --git a/frontend/src/components/business/ms-user-group-comp/authTable.vue b/frontend/src/components/business/ms-user-group-comp/authTable.vue index d8514f9fe5..cc77ff8879 100644 --- a/frontend/src/components/business/ms-user-group-comp/authTable.vue +++ b/frontend/src/components/business/ms-user-group-comp/authTable.vue @@ -20,7 +20,7 @@ v-if="tableData && tableData?.length > 0" :model-value="allChecked" :indeterminate="allIndeterminate" - :disabled="currentInternal" + :disabled="currentInternal || props.disabled" class="mr-[7px]" @change="handleAllAuthChangeByCheckbox" > @@ -35,7 +35,7 @@ {{ t(item.name) }} @@ -44,7 +44,7 @@ class="mr-[7px]" :model-value="record.enable" :indeterminate="record.indeterminate" - :disabled="currentInternal" + :disabled="currentInternal || props.disabled" @change="(value) => handleRowAuthChange(value, rowIndex)" /> @@ -106,6 +106,7 @@ savePermission?: string[]; width?: string; showBottom?: boolean; + disabled?: boolean; scroll?: { x?: number | string; y?: number | string; @@ -115,6 +116,7 @@ }>(), { showBottom: true, + disabled: false, scroll() { return { x: '800px', diff --git a/frontend/src/views/case-management/caseReview/components/index/reviewTable.vue b/frontend/src/views/case-management/caseReview/components/index/reviewTable.vue index 21669c62a7..c34acd2582 100644 --- a/frontend/src/views/case-management/caseReview/components/index/reviewTable.vue +++ b/frontend/src/views/case-management/caseReview/components/index/reviewTable.vue @@ -402,7 +402,7 @@ title: 'caseManagement.caseReview.tag', dataIndex: 'tags', isTag: true, - width: 150, + width: 300, }, { title: 'caseManagement.caseReview.desc', diff --git a/frontend/src/views/project-management/projectAndPermission/menuManagement/menuManagement.vue b/frontend/src/views/project-management/projectAndPermission/menuManagement/menuManagement.vue index b95fa44ad8..99a8ffe5ee 100644 --- a/frontend/src/views/project-management/projectAndPermission/menuManagement/menuManagement.vue +++ b/frontend/src/views/project-management/projectAndPermission/menuManagement/menuManagement.vue @@ -11,7 +11,9 @@ ref="tableRef" class="mt-[16px]" v-bind="propsRes" + row-class="cursor-pointer" :expanded-keys="expandedKeys" + @row-click="handleRowClick" @expand="expandChange" v-on="propsEvent" > @@ -231,31 +233,31 @@