From 95643875c1ae52aa3ea7c23378bad3a288f05f89 Mon Sep 17 00:00:00 2001 From: song-cc-rock Date: Fri, 23 Sep 2022 16:13:17 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA):=20?= =?UTF-8?q?=E6=B5=8B=E8=AF=95=E8=AE=A1=E5=88=92=E5=8F=8A=E7=94=A8=E4=BE=8B?= =?UTF-8?q?=E8=AF=84=E5=AE=A1=E4=BE=9D=E8=B5=96=E5=85=B3=E7=B3=BB=E7=9A=84?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1017148 --user=宋昌昌 【测试跟踪】测试计划-查看功能用例的依赖关系图显示评论框 https://www.tapd.cn/55049933/s/1251156 --- .../common/components/graph/DependenciesList.vue | 6 +++++- .../track/case/components/TestCaseEditOtherInfo.vue | 6 +++++- .../comonents/functional/FunctionalTestCaseEdit.vue | 13 +++++++++---- .../view/components/TestReviewTestCaseEdit.vue | 12 +++++++++--- 4 files changed, 28 insertions(+), 9 deletions(-) diff --git a/frontend/src/business/components/common/components/graph/DependenciesList.vue b/frontend/src/business/components/common/components/graph/DependenciesList.vue index ba5fd0db3a..6cdff06dd3 100644 --- a/frontend/src/business/components/common/components/graph/DependenciesList.vue +++ b/frontend/src/business/components/common/components/graph/DependenciesList.vue @@ -25,7 +25,7 @@ - + @@ -67,8 +67,12 @@ export default { getRelationshipGraph(this.resourceId, this.resourceType, (data) => { this.graphData = data; this.$refs.relationshipGraph.open(); + this.$emit("openDependGraphDrawer", true); }); }, + closeRelationGraph() { + this.$emit("openDependGraphDrawer", false); + }, setPreCount(count) { this.preCount = count; this.$emit('setCount', this.preCount + this.postCount); diff --git a/frontend/src/business/components/track/case/components/TestCaseEditOtherInfo.vue b/frontend/src/business/components/track/case/components/TestCaseEditOtherInfo.vue index fbe5aa083d..120e42ebe9 100644 --- a/frontend/src/business/components/track/case/components/TestCaseEditOtherInfo.vue +++ b/frontend/src/business/components/track/case/components/TestCaseEditOtherInfo.vue @@ -55,6 +55,7 @@ @@ -195,7 +196,7 @@ export default { uploadFiles: [], relateFiles: [], unRelateFiles: [], - dumpFile: {}, + dumpFile: {} }; }, computed: { @@ -255,6 +256,9 @@ export default { setRelationshipCount(count) { this.relationshipCount = count; }, + setRelationshipGraph(val) { + this.$emit("syncRelationGraphOpen", val); + }, reset() { this.tabActiveName = "remark"; }, diff --git a/frontend/src/business/components/track/plan/view/comonents/functional/FunctionalTestCaseEdit.vue b/frontend/src/business/components/track/plan/view/comonents/functional/FunctionalTestCaseEdit.vue index 2f6d647776..645a8e077b 100644 --- a/frontend/src/business/components/track/plan/view/comonents/functional/FunctionalTestCaseEdit.vue +++ b/frontend/src/business/components/track/plan/view/comonents/functional/FunctionalTestCaseEdit.vue @@ -110,7 +110,7 @@ @@ -121,7 +121,7 @@ - +
{ this.titleWith = 0; @@ -629,7 +633,8 @@ p { } /deep/ .el-scrollbar__bar.is-vertical { - z-index: 3; + z-index: 0; + width: 0; } .head-bar { diff --git a/frontend/src/business/components/track/review/view/components/TestReviewTestCaseEdit.vue b/frontend/src/business/components/track/review/view/components/TestReviewTestCaseEdit.vue index 7e09cda4a8..2eab35ed7d 100644 --- a/frontend/src/business/components/track/review/view/components/TestReviewTestCaseEdit.vue +++ b/frontend/src/business/components/track/review/view/components/TestReviewTestCaseEdit.vue @@ -115,6 +115,7 @@ @@ -126,7 +127,7 @@
- +