From 961e0cc34681254a6ccd8f874b65b8e1ae566518 Mon Sep 17 00:00:00 2001 From: song-cc-rock Date: Thu, 27 Jul 2023 15:39:38 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA):=20?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=BC=B9=E7=AA=97=E6=A8=A1=E5=9D=97=E6=A0=91?= =?UTF-8?q?=E5=B7=A6=E4=BE=A7=E5=B7=A6=E5=8F=B3=E6=8B=96=E6=8B=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --story=1012494 --user=宋昌昌 #25502 取消模块树8层限制 https://www.tapd.cn/55049933/s/1398542 --- .../src/components/MsAsideContainer.vue | 7 +- .../dragbar/MsLeft2RightDragBar.vue | 4 +- .../common/CaseRelevanceSideDialog.vue | 66 ++++----- .../comonents/api/TestCaseApiRelevance.vue | 6 + .../api/TestCaseScenarioRelevance.vue | 8 ++ .../api/module/ApiScenarioModule.vue | 5 - .../view/comonents/base/RelevanceDialog.vue | 125 ++++++++++++------ .../functional/FunctionalRelevance.vue | 7 +- .../ui/TestCaseUiScenarioRelevance.vue | 8 ++ .../view/comonents/ui/UiScenarioModule.vue | 5 - .../view/components/TestReviewRelevance.vue | 12 +- 11 files changed, 164 insertions(+), 89 deletions(-) diff --git a/framework/sdk-parent/frontend/src/components/MsAsideContainer.vue b/framework/sdk-parent/frontend/src/components/MsAsideContainer.vue index cecaadc8db..e34776a8a8 100644 --- a/framework/sdk-parent/frontend/src/components/MsAsideContainer.vue +++ b/framework/sdk-parent/frontend/src/components/MsAsideContainer.vue @@ -4,13 +4,14 @@ :style="{ 'margin-left': !asideHidden ? 0 : '-' + width, 'min-width': minWidth + 'px', + 'max-width': maxWidth + 'px', 'height': calHeight, }">
-
+
@@ -38,6 +39,10 @@ export default { type: String, default: null }, + maxWidth: { + type: String, + default: null + }, height: { type: String, default: null diff --git a/framework/sdk-parent/frontend/src/components/dragbar/MsLeft2RightDragBar.vue b/framework/sdk-parent/frontend/src/components/dragbar/MsLeft2RightDragBar.vue index 7f4ff15168..58250f8b5c 100644 --- a/framework/sdk-parent/frontend/src/components/dragbar/MsLeft2RightDragBar.vue +++ b/framework/sdk-parent/frontend/src/components/dragbar/MsLeft2RightDragBar.vue @@ -14,11 +14,11 @@ export default { height: 100%; width: 1px; position: absolute; - right: 0px; + right: 0; top: 0; cursor: w-resize; background-color: #E6E6E6; - border: 0px; + border: 0; } .drag-bar:hover { diff --git a/test-track/frontend/src/business/case/components/common/CaseRelevanceSideDialog.vue b/test-track/frontend/src/business/case/components/common/CaseRelevanceSideDialog.vue index e2dcc4f59f..765d981a9f 100644 --- a/test-track/frontend/src/business/case/components/common/CaseRelevanceSideDialog.vue +++ b/test-track/frontend/src/business/case/components/common/CaseRelevanceSideDialog.vue @@ -47,35 +47,41 @@
-
- {{ $t("commons.space") }}: - - +
+ {{ $t("commons.space") }}: + + + + - - - -
+ +
+
@@ -115,6 +121,7 @@ diff --git a/test-track/frontend/src/business/plan/view/comonents/functional/FunctionalRelevance.vue b/test-track/frontend/src/business/plan/view/comonents/functional/FunctionalRelevance.vue index 32170b3e42..63f0ca400f 100644 --- a/test-track/frontend/src/business/plan/view/comonents/functional/FunctionalRelevance.vue +++ b/test-track/frontend/src/business/plan/view/comonents/functional/FunctionalRelevance.vue @@ -12,7 +12,7 @@