From e2ef163c031795e0e3f046d57f8280787e021318 Mon Sep 17 00:00:00 2001 From: song-tianyang Date: Fri, 5 May 2023 19:34:57 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA):=20?= =?UTF-8?q?=E9=AB=98=E7=BA=A7=E6=90=9C=E7=B4=A2=E5=90=8E=E5=88=87=E6=8D=A2?= =?UTF-8?q?=E9=A1=B9=E7=9B=AE-=E6=90=9C=E7=B4=A2=E6=9D=A1=E4=BB=B6?= =?UTF-8?q?=E6=9C=AA=E9=87=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1025858 --user=宋天阳 【测试跟踪】测试计划-关联接口用例-高级搜索后切换项目-搜索条件未重置 https://www.tapd.cn/55049933/s/1369161 --- .../environment/snippet/ext/ApiTableList.vue | 228 +++++++++-------- .../view/comonents/api/RelevanceCaseList.vue | 240 ++++++++++-------- .../comonents/api/RelevanceScenarioList.vue | 9 +- 3 files changed, 270 insertions(+), 207 deletions(-) diff --git a/framework/sdk-parent/frontend/src/components/environment/snippet/ext/ApiTableList.vue b/framework/sdk-parent/frontend/src/components/environment/snippet/ext/ApiTableList.vue index 8ca08e93dc..54da6794b6 100644 --- a/framework/sdk-parent/frontend/src/components/environment/snippet/ext/ApiTableList.vue +++ b/framework/sdk-parent/frontend/src/components/environment/snippet/ext/ApiTableList.vue @@ -1,33 +1,34 @@ diff --git a/test-track/frontend/src/business/plan/view/comonents/api/RelevanceCaseList.vue b/test-track/frontend/src/business/plan/view/comonents/api/RelevanceCaseList.vue index e2ecae8255..7df024335a 100644 --- a/test-track/frontend/src/business/plan/view/comonents/api/RelevanceCaseList.vue +++ b/test-track/frontend/src/business/plan/view/comonents/api/RelevanceCaseList.vue @@ -2,45 +2,58 @@
+ @isApiListEnableChange="isApiListEnableChange" + > - + + v-if="clearOver" + @search="initTable" + > - - - + + - + + :label="$t('test_track.case.priority')" + > @@ -48,9 +61,15 @@ sortable="custom" prop="path" width="180px" - :label="'API'+ $t('api_test.definition.api_path')"/> + :label="'API' + $t('api_test.definition.api_path')" + /> - + @@ -73,21 +95,21 @@ :label="$t('project.version.name')" :filters="versionFilters" min-width="100px" - prop="versionId"> + prop="versionId" + > - + + prop="createTime" + > @@ -97,38 +119,45 @@ sortable="updateTime" width="160px" :label="$t('api_test.definition.api_last_time')" - prop="updateTime"> + prop="updateTime" + > - + -
- @@ -362,7 +399,7 @@ export default { .request-method { padding: 0 5px; - color: #1E90FF; + color: #1e90ff; } .api-el-tag { @@ -385,5 +422,4 @@ export default { white-space: nowrap; text-overflow: ellipsis; } - diff --git a/test-track/frontend/src/business/plan/view/comonents/api/RelevanceScenarioList.vue b/test-track/frontend/src/business/plan/view/comonents/api/RelevanceScenarioList.vue index 540fbca4b8..98827cc3de 100644 --- a/test-track/frontend/src/business/plan/view/comonents/api/RelevanceScenarioList.vue +++ b/test-track/frontend/src/business/plan/view/comonents/api/RelevanceScenarioList.vue @@ -26,6 +26,7 @@ @@ -167,8 +168,7 @@