diff --git a/frontend/src/business/components/api/definition/ApiDefinition.vue b/frontend/src/business/components/api/definition/ApiDefinition.vue index e1d201e944..ed7418e062 100644 --- a/frontend/src/business/components/api/definition/ApiDefinition.vue +++ b/frontend/src/business/components/api/definition/ApiDefinition.vue @@ -1,6 +1,5 @@ - @@ -61,6 +60,8 @@ + + @@ -71,7 +72,6 @@ import MsContainer from "../../common/components/MsContainer"; import MsMainContainer from "../../common/components/MsMainContainer"; import MsAsideContainer from "../../common/components/MsAsideContainer"; - import MsBottomContainer from "./components/BottomContainer"; import MsApiConfig from "./components/ApiConfig"; import MsDebugHttpPage from "./components/debug/DebugHttpPage"; import MsDebugJdbcPage from "./components/debug/DebugJdbcPage"; @@ -93,7 +93,6 @@ MsMainContainer, MsContainer, MsAsideContainer, - MsBottomContainer, MsApiConfig, MsDebugHttpPage, MsRunTestHttpPage, @@ -254,5 +253,8 @@ /deep/ .el-tabs__header { margin-right: 82px; } + /deep/ .el-main{ + overflow: hidden; + } diff --git a/frontend/src/business/components/api/definition/components/ApiCaseList.vue b/frontend/src/business/components/api/definition/components/ApiCaseList.vue index ef122ebf66..2e78830a85 100644 --- a/frontend/src/business/components/api/definition/components/ApiCaseList.vue +++ b/frontend/src/business/components/api/definition/components/ApiCaseList.vue @@ -1,6 +1,6 @@ - + @@ -8,24 +8,17 @@ {{api.name}} - - - - - - - + + + - {{api.path ===null ? " " : api.path}} + {{api.path ===null ? " " : api.path}} {{$t('test_track.plan_view.case_count')}}:{{apiCaseList.length}} - + @@ -71,7 +64,7 @@ - + @@ -87,10 +80,9 @@ - + - {{index+1}} @@ -100,14 +92,13 @@ - + + @blur="saveTestCase(item)"/> {{item.type!= 'create' ? item.name:''}} @@ -117,6 +108,7 @@ {{item.updateTime | timestampFormatDate }} {{item.updateUser}} 更新 + @@ -487,8 +479,7 @@ overflow: hidden; text-overflow: ellipsis; white-space: nowrap; - font-size: 14px; - width: 100%; + font-size: 10px; } .icon.is-active { diff --git a/frontend/src/business/components/api/definition/components/ApiList.vue b/frontend/src/business/components/api/definition/components/ApiList.vue index 4153a8d929..d095037fbc 100644 --- a/frontend/src/business/components/api/definition/components/ApiList.vue +++ b/frontend/src/business/components/api/definition/components/ApiList.vue @@ -1,100 +1,102 @@ - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + - - - {{ scope.row.method - }} - - - + + + + + + + + - + + + {{ scope.row.method + }} + + + - + - - - {{ scope.row.updateTime | timestampFormatDate }} - - + - + + + {{ scope.row.updateTime | timestampFormatDate }} + + - + - + + + - - - 编辑 - 用例 - 删除 - - - - - - - - - - - - + + + 编辑 + 用例 + 删除 + + + + + + + + + + + + + @@ -284,4 +332,33 @@ .api-el-tag { color: white; } + + #svgBox { + width: 100%; + height: 100%; + position: relative; + overflow: hidden; + } + + #svgTop { + height: calc(30% - 5px); + width: 100%; + float: left; + overflow: auto; + } + + #svgResize { + position: relative; + height: 5px; + width: 100%; + cursor: s-resize; + float: left; + } + + #svgDown { + height: 70%; + width: 100%; + float: left; + overflow: hidden; + } diff --git a/frontend/src/business/components/api/definition/components/BottomContainer.vue b/frontend/src/business/components/api/definition/components/BottomContainer.vue index b91056fd06..371fdc7cdc 100644 --- a/frontend/src/business/components/api/definition/components/BottomContainer.vue +++ b/frontend/src/business/components/api/definition/components/BottomContainer.vue @@ -1,6 +1,6 @@ + :style="{'margin-left': !enableAsideHidden ? 0 : '-' + width}"> @@ -23,9 +23,8 @@