From 5b90fc5c7a499113120d8f597b3d7a08ea926f86 Mon Sep 17 00:00:00 2001 From: "Captain.B" Date: Wed, 19 May 2021 10:26:38 +0800 Subject: [PATCH] =?UTF-8?q?refactor(=E7=B3=BB=E7=BB=9F=E8=AE=BE=E7=BD=AE):?= =?UTF-8?q?=20=E8=A1=A8=E6=A0=BC=E9=AB=98=E5=BA=A6=E9=A3=8E=E6=A0=BC?= =?UTF-8?q?=E7=BB=9F=E4=B8=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../performance/test/PerformanceTestList.vue | 2 ++ .../components/settings/operatinglog/OperatingLog.vue | 11 ++++++++--- .../settings/organization/OrganizationMember.vue | 2 ++ .../settings/organization/OrganizationWorkspace.vue | 5 ++++- .../components/settings/project/EnvironmentList.vue | 10 +++++++--- .../components/settings/project/MsProject.vue | 5 ++++- .../components/settings/system/Organization.vue | 5 ++++- .../components/settings/system/SystemWorkspace.vue | 7 +++++-- .../components/settings/system/TestResourcePool.vue | 5 ++++- .../src/business/components/settings/system/User.vue | 2 ++ .../components/settings/workspace/WorkspaceMember.vue | 4 +++- 11 files changed, 45 insertions(+), 13 deletions(-) diff --git a/frontend/src/business/components/performance/test/PerformanceTestList.vue b/frontend/src/business/components/performance/test/PerformanceTestList.vue index 6c617d29d4..693ca5d30d 100644 --- a/frontend/src/business/components/performance/test/PerformanceTestList.vue +++ b/frontend/src/business/components/performance/test/PerformanceTestList.vue @@ -11,6 +11,7 @@ - {{$t('commons.adv_search.search')}} + + {{ $t('commons.adv_search.search') }} + - + - + @@ -473,6 +475,7 @@ dialogTotal: 0, memberLineData: [], memberForm: {}, + screenHeight: 'calc(100vh - 255px)', form: { // name: "", // description: "" diff --git a/frontend/src/business/components/settings/project/EnvironmentList.vue b/frontend/src/business/components/settings/project/EnvironmentList.vue index a1c93f4c45..88214c9502 100644 --- a/frontend/src/business/components/settings/project/EnvironmentList.vue +++ b/frontend/src/business/components/settings/project/EnvironmentList.vue @@ -15,11 +15,14 @@ + @selection-change="handleSelectionChange" class="adjust-table" style="width: 100%" ref="table" + :height="screenHeight" + > - + @@ -141,6 +144,7 @@ total: 0, projectIds: [], //当前工作空间所拥有的所有项目id projectFilters: [], + screenHeight: 'calc(100vh - 255px)', } }, created() { diff --git a/frontend/src/business/components/settings/project/MsProject.vue b/frontend/src/business/components/settings/project/MsProject.vue index 7e6571a4f3..fa2c8d7a6c 100644 --- a/frontend/src/business/components/settings/project/MsProject.vue +++ b/frontend/src/business/components/settings/project/MsProject.vue @@ -12,7 +12,9 @@ + @filter-change="filter" + :height="screenHeight" + > - + @@ -224,6 +226,7 @@ export default { dialogPageSize: 10, dialogTotal: 0, currentRow: {}, + screenHeight: 'calc(100vh - 255px)', condition: {}, dialogCondition: {}, tableData: [], diff --git a/frontend/src/business/components/settings/system/SystemWorkspace.vue b/frontend/src/business/components/settings/system/SystemWorkspace.vue index e150a6859c..d646e77c20 100644 --- a/frontend/src/business/components/settings/system/SystemWorkspace.vue +++ b/frontend/src/business/components/settings/system/SystemWorkspace.vue @@ -6,14 +6,16 @@ :create-tip="$t('workspace.create')" :title="$t('commons.workspace')"/> - + @@ -494,6 +496,7 @@ dialogTotal: 0, memberLineData: [], memberForm: {}, + screenHeight: 'calc(100vh - 255px)', form: { // name: "", // description: "" diff --git a/frontend/src/business/components/settings/system/TestResourcePool.vue b/frontend/src/business/components/settings/system/TestResourcePool.vue index e6634e5eb0..4010a63c56 100644 --- a/frontend/src/business/components/settings/system/TestResourcePool.vue +++ b/frontend/src/business/components/settings/system/TestResourcePool.vue @@ -6,7 +6,9 @@ :create-tip="$t('test_resource_pool.create_resource_pool')" :title="$t('commons.test_resource_pool')"/> - + @@ -203,6 +205,7 @@ export default { pageSize: 10, total: 0, form: {}, + screenHeight: 'calc(100vh - 255px)', requiredRules: [{required: true, message: this.$t('test_resource_pool.fill_the_data'), trigger: 'blur'}], rule: { name: [ diff --git a/frontend/src/business/components/settings/system/User.vue b/frontend/src/business/components/settings/system/User.vue index 6f6eb26d70..535dc4d70b 100644 --- a/frontend/src/business/components/settings/system/User.vue +++ b/frontend/src/business/components/settings/system/User.vue @@ -11,6 +11,7 @@ @@ -164,6 +165,7 @@ {required: true, message: this.$t('role.please_choose_role'), trigger: ['blur']} ] }, + screenHeight: 'calc(100vh - 255px)', multipleSelection: [], currentPage: 1, pageSize: 10, @@ -173,7 +175,7 @@ batchAddTitle: this.$t('project.batch_choose_workspace'), selectRows: new Set(), referenced: false, - batchAddUserRoleOptions:[], + batchAddUserRoleOptions: [], buttons: [ { name: this.$t('user.button.add_user_role_batch'), handleClick: this.addUserRoleBatch