From f41beb6147ed11366af4a045dc88648cf9c1e14c Mon Sep 17 00:00:00 2001 From: fit2-zhao Date: Wed, 3 Feb 2021 10:46:56 +0800 Subject: [PATCH] =?UTF-8?q?style(=E6=8E=A5=E5=8F=A3=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E5=8C=96):=20=E6=95=B4=E4=BD=93=E5=B1=95=E7=A4=BA=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../api/automation/ApiAutomation.vue | 4 +++- .../automation/scenario/AddBasisScenario.vue | 2 +- .../automation/scenario/ApiScenarioList.vue | 24 ++++++++++++------- .../automation/scenario/EditApiScenario.vue | 2 +- .../scenario/variable/VariableList.vue | 15 ++++++------ .../components/basis/AddBasisApi.vue | 2 +- .../complete/EditCompleteHTTPApi.vue | 2 +- .../definition/components/list/ApiList.vue | 2 +- 8 files changed, 31 insertions(+), 22 deletions(-) diff --git a/frontend/src/business/components/api/automation/ApiAutomation.vue b/frontend/src/business/components/api/automation/ApiAutomation.vue index e806819a7c..8345b4a917 100644 --- a/frontend/src/business/components/api/automation/ApiAutomation.vue +++ b/frontend/src/business/components/api/automation/ApiAutomation.vue @@ -273,5 +273,7 @@ diff --git a/frontend/src/business/components/api/automation/scenario/AddBasisScenario.vue b/frontend/src/business/components/api/automation/scenario/AddBasisScenario.vue index a95be114ee..96110380f6 100644 --- a/frontend/src/business/components/api/automation/scenario/AddBasisScenario.vue +++ b/frontend/src/business/components/api/automation/scenario/AddBasisScenario.vue @@ -74,7 +74,7 @@ rule: { name: [ {required: true, message: this.$t('test_track.case.input_name'), trigger: 'blur'}, - {max: 50, message: this.$t('test_track.length_less_than') + '50', trigger: 'blur'} + {max: 100, message: this.$t('test_track.length_less_than') + '100', trigger: 'blur'} ], principal: [{ required: true, diff --git a/frontend/src/business/components/api/automation/scenario/ApiScenarioList.vue b/frontend/src/business/components/api/automation/scenario/ApiScenarioList.vue index 0bf1abea90..e010a27031 100644 --- a/frontend/src/business/components/api/automation/scenario/ApiScenarioList.vue +++ b/frontend/src/business/components/api/automation/scenario/ApiScenarioList.vue @@ -11,6 +11,7 @@ @filter-change="filter" @select-all="select" @select="select" @header-dragend="headerDragend" + :height="screenHeight" v-loading="loading"> @@ -21,7 +22,7 @@ @selectPageAll="isSelectDataAll(false)" @selectAll="isSelectDataAll(true)"/> - + @@ -65,7 +66,7 @@ + :label="$t('api_test.automation.tag')"> - + + show-overflow-tooltip/> finalWidth){ + if (column.minWidth > finalWidth) { finalWidth = column.minWidth; } column.width = finalWidth; @@ -649,4 +651,8 @@ /deep/ .el-table__fixed { height: 110px !important; } + + /deep/ .el-card__header { + padding: 10px; + } diff --git a/frontend/src/business/components/api/automation/scenario/EditApiScenario.vue b/frontend/src/business/components/api/automation/scenario/EditApiScenario.vue index ffe228a3f3..66f6b27624 100644 --- a/frontend/src/business/components/api/automation/scenario/EditApiScenario.vue +++ b/frontend/src/business/components/api/automation/scenario/EditApiScenario.vue @@ -250,7 +250,7 @@ rules: { name: [ {required: true, message: this.$t('test_track.case.input_name'), trigger: 'blur'}, - {max: 50, message: this.$t('test_track.length_less_than') + '50', trigger: 'blur'} + {max: 100, message: this.$t('test_track.length_less_than') + '100', trigger: 'blur'} ], userId: [{required: true, message: this.$t('test_track.case.input_maintainer'), trigger: 'change'}], apiScenarioModuleId: [{required: true, message: this.$t('test_track.case.input_module'), trigger: 'change'}], diff --git a/frontend/src/business/components/api/automation/scenario/variable/VariableList.vue b/frontend/src/business/components/api/automation/scenario/variable/VariableList.vue index d2e1515ec7..c18b0e33bf 100644 --- a/frontend/src/business/components/api/automation/scenario/variable/VariableList.vue +++ b/frontend/src/business/components/api/automation/scenario/variable/VariableList.vue @@ -1,9 +1,9 @@