From 61fcf80cd5aa06a46c1a2b8acab6949954c9cde2 Mon Sep 17 00:00:00 2001 From: chenjianxing Date: Thu, 10 Dec 2020 16:24:31 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E6=8E=A5=E5=8F=A3=E5=AE=9A?= =?UTF-8?q?=E4=B9=89=E9=A1=B5=E9=9D=A2=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/src/main/java/io/metersphere/xpack | 2 +- .../api/definition/ApiDefinition.vue | 91 +++--- .../api/definition/components/ApiCaseList.vue | 306 +++++++++--------- .../api/definition/components/ApiList.vue | 100 +----- .../common/components/MsDragMoveBar.vue | 90 ++++++ .../components/common/components/MsDrawer.vue | 180 +++++++++++ .../components/common/router/View.vue | 2 +- .../comonents/api/TestCaseApiRelevance.vue | 211 +++--------- frontend/src/business/components/xpack | 2 +- frontend/src/common/css/main.css | 5 + 10 files changed, 542 insertions(+), 447 deletions(-) create mode 100644 frontend/src/business/components/common/components/MsDragMoveBar.vue create mode 100644 frontend/src/business/components/common/components/MsDrawer.vue diff --git a/backend/src/main/java/io/metersphere/xpack b/backend/src/main/java/io/metersphere/xpack index 905ca8af61..bb494fc68a 160000 --- a/backend/src/main/java/io/metersphere/xpack +++ b/backend/src/main/java/io/metersphere/xpack @@ -1 +1 @@ -Subproject commit 905ca8af61ce966d26109e9c5c8c0aee3ca1324e +Subproject commit bb494fc68a2367359c9048fa7250c7618de4afb6 diff --git a/frontend/src/business/components/api/definition/ApiDefinition.vue b/frontend/src/business/components/api/definition/ApiDefinition.vue index 23e18d195d..b2bf96383f 100644 --- a/frontend/src/business/components/api/definition/ApiDefinition.vue +++ b/frontend/src/business/components/api/definition/ApiDefinition.vue @@ -15,52 +15,54 @@ {{$t('api_test.definition.request.close_all_label')}} - + + - - - + + + - -
- -
+ +
+ +
- -
- - - - -
+ +
+ + + + +
- -
- - - - -
-
+ +
+ + + + +
+
+ +
- @@ -273,4 +275,11 @@ /deep/ .el-main { overflow: hidden; } + + /deep/ .el-card { + /*border: 1px solid #EBEEF5;*/ + /*border-style: none;*/ + border-top: none; + } + diff --git a/frontend/src/business/components/api/definition/components/ApiCaseList.vue b/frontend/src/business/components/api/definition/components/ApiCaseList.vue index 3833153408..03e013737b 100644 --- a/frontend/src/business/components/api/definition/components/ApiCaseList.vue +++ b/frontend/src/business/components/api/definition/components/ApiCaseList.vue @@ -1,156 +1,163 @@