From 230d86c8fabe3fb32c0380d42c19b365e6be0cf8 Mon Sep 17 00:00:00 2001 From: wxg0103 <727495428@qq.com> Date: Mon, 10 Oct 2022 14:48:28 +0800 Subject: [PATCH] =?UTF-8?q?swagger=E5=AE=9A=E6=97=B6=E5=90=8C=E6=AD=A5?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../definition/ApiTestCaseService.java | 2 +- .../src/business/definition/ApiDefinition.vue | 7 ++- .../components/import/ApiSchedule.vue | 61 +++++++++---------- 3 files changed, 37 insertions(+), 33 deletions(-) diff --git a/api-test/backend/src/main/java/io/metersphere/service/definition/ApiTestCaseService.java b/api-test/backend/src/main/java/io/metersphere/service/definition/ApiTestCaseService.java index 845122be79..296b10ed29 100644 --- a/api-test/backend/src/main/java/io/metersphere/service/definition/ApiTestCaseService.java +++ b/api-test/backend/src/main/java/io/metersphere/service/definition/ApiTestCaseService.java @@ -690,7 +690,7 @@ public class ApiTestCaseService { public void editApiBathByParam(ApiTestBatchRequest request) { List ids = request.getIds(); if (request.isSelectAll()) { - ids = this.getAllApiCaseIdsByFrontedSelect(request.getFilters(), request.getModuleIds(), request.getName(), request.getProjectId(), request.getProtocol(), request.getUnSelectIds(), request.getStatus(), null, request.getCombine()); + ids = this.getAllApiCaseIdsByFrontedSelect(request.getFilters(), request.getModuleIds(), request.getName(), request.getProjectId(), request.getProtocol(), request.getUnSelectIds(), request.getStatus(), request.getApiDefinitionId(), request.getCombine()); } if (StringUtils.equals("tags", request.getType())) { diff --git a/api-test/frontend/src/business/definition/ApiDefinition.vue b/api-test/frontend/src/business/definition/ApiDefinition.vue index f2e99cc18d..5c966d7ab1 100644 --- a/api-test/frontend/src/business/definition/ApiDefinition.vue +++ b/api-test/frontend/src/business/definition/ApiDefinition.vue @@ -217,7 +217,7 @@ -
+
@@ -1007,6 +1007,11 @@ export default { height: calc(100vh - 100px) } +.ms-api-schedule-div { + overflow-y: auto; + height: calc(100vh - 100px) +} + :deep(.el-main) { overflow: auto; } diff --git a/api-test/frontend/src/business/definition/components/import/ApiSchedule.vue b/api-test/frontend/src/business/definition/components/import/ApiSchedule.vue index 8200e7bd9f..1024d27575 100644 --- a/api-test/frontend/src/business/definition/components/import/ApiSchedule.vue +++ b/api-test/frontend/src/business/definition/components/import/ApiSchedule.vue @@ -1,17 +1,21 @@