From 393105063b2be485dec732592681ec3452339aa7 Mon Sep 17 00:00:00 2001 From: song-cc-rock Date: Tue, 21 Feb 2023 15:33:50 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA):=20?= =?UTF-8?q?=E7=BC=96=E8=BE=91=E7=94=A8=E4=BE=8B=E5=85=B3=E8=81=94=E5=88=9B?= =?UTF-8?q?=E5=BB=BA=E7=BC=BA=E9=99=B7=E7=BC=BA=E5=B0=91=E8=87=AA=E5=AE=9A?= =?UTF-8?q?=E4=B9=89=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1023298 --user=宋昌昌 【测试跟踪】功能用例-编辑-创建缺陷-点击保存并新建-新的创建缺陷页面缺少严重程度、处理人、状态必填项 https://www.tapd.cn/55049933/s/1339720 --- .../icon_moments-categories_outlined.svg | 6 ++-- .../assets/module/figma/icon_yes_outlined.svg | 10 ++++++- .../src/components/head/DrawerHeader.vue | 6 +++- .../business/case/components/TestCaseEdit.vue | 28 ++++++++++++------- .../components/case/CaseIssueEditDetail.vue | 4 +-- .../case/CaseRelationshipViewer.vue | 1 + .../case/components/case/CaseStepChange.vue | 1 + 7 files changed, 38 insertions(+), 18 deletions(-) diff --git a/framework/sdk-parent/frontend/src/assets/module/figma/icon_moments-categories_outlined.svg b/framework/sdk-parent/frontend/src/assets/module/figma/icon_moments-categories_outlined.svg index 881405d5a2..79caf21ef1 100644 --- a/framework/sdk-parent/frontend/src/assets/module/figma/icon_moments-categories_outlined.svg +++ b/framework/sdk-parent/frontend/src/assets/module/figma/icon_moments-categories_outlined.svg @@ -1,4 +1,4 @@ - - - + + + diff --git a/framework/sdk-parent/frontend/src/assets/module/figma/icon_yes_outlined.svg b/framework/sdk-parent/frontend/src/assets/module/figma/icon_yes_outlined.svg index 29603c90b0..6544044ac5 100644 --- a/framework/sdk-parent/frontend/src/assets/module/figma/icon_yes_outlined.svg +++ b/framework/sdk-parent/frontend/src/assets/module/figma/icon_yes_outlined.svg @@ -1,3 +1,11 @@ - + + + + + + + + + diff --git a/framework/sdk-parent/frontend/src/components/head/DrawerHeader.vue b/framework/sdk-parent/frontend/src/components/head/DrawerHeader.vue index 668cf4ab04..23f04d58cb 100644 --- a/framework/sdk-parent/frontend/src/components/head/DrawerHeader.vue +++ b/framework/sdk-parent/frontend/src/components/head/DrawerHeader.vue @@ -24,7 +24,7 @@ | - + @@ -146,4 +146,8 @@ i.delimiter { position: relative; top: 2px; } + +.close-btn { + background-color: transparent!important; +} diff --git a/test-track/frontend/src/business/case/components/TestCaseEdit.vue b/test-track/frontend/src/business/case/components/TestCaseEdit.vue index f56b8fe4f6..6eb677976b 100644 --- a/test-track/frontend/src/business/case/components/TestCaseEdit.vue +++ b/test-track/frontend/src/business/case/components/TestCaseEdit.vue @@ -8,10 +8,7 @@
-
+
{{ !editable ? form.name : $t('test_track.case.create_case') }}
@@ -1742,7 +1739,8 @@ export default { overflow: hidden; /* 文本超出的部分打点显示 */ text-overflow: ellipsis; - + padding-left: 0.5rem; + padding-right: 0.5rem; } .case-name-hover:hover { cursor: pointer; @@ -1766,11 +1764,12 @@ export default { color: #646a73; align-items: center; margin-left: px2rem(8); + padding: 0 0.5rem; .version-icon { - width: 14.17px; - height: 12.6px; - margin-right: px2rem(4.95); + width: 20.17px; + height: 15.6px; + margin-right: px2rem(5); img { width: 100%; @@ -1781,11 +1780,13 @@ export default { .version-title { height: px2rem(22); line-height: px2rem(22); + margin-top: px2rem(2); } .version-suffix { height: px2rem(22); line-height: px2rem(22); margin-left: px2rem(5); + margin-top: px2rem(1); } } } @@ -1858,6 +1859,7 @@ export default { .label-row { } margin-right: px2rem(20.67); + padding: 0 0.5rem 0 0; } .next-public-row.head-opt { @@ -1869,6 +1871,7 @@ export default { .label-row { } margin-right: px2rem(20.67); + padding: 0 0 0 0.5rem; } .follow-row.head-opt { @@ -1879,7 +1882,8 @@ export default { .label-row { } - margin-right: px2rem(20.67); + margin-right: px2rem(10); + padding: 0 0.5rem; } .edit-public-row.head-opt { @@ -1891,6 +1895,7 @@ export default { .label-row { } margin-right: px2rem(20.67); + padding: 0 0.5rem; } .copy-public-row.head-opt { @@ -1902,6 +1907,7 @@ export default { .label-row { } margin-right: px2rem(20.67); + padding: 0 0.5rem; } .add-public-row.head-opt { @@ -1912,7 +1918,8 @@ export default { .label-row { } - margin-right: px2rem(22.33); + margin-right: px2rem(11); + padding: 0 0.5rem; } .more-row.head-opt { @@ -1924,6 +1931,7 @@ export default { .label-row { } margin-right: px2rem(24); + padding: 0 0.5rem; } } } diff --git a/test-track/frontend/src/business/case/components/case/CaseIssueEditDetail.vue b/test-track/frontend/src/business/case/components/case/CaseIssueEditDetail.vue index ab46efc3b0..719cf067c2 100644 --- a/test-track/frontend/src/business/case/components/case/CaseIssueEditDetail.vue +++ b/test-track/frontend/src/business/case/components/case/CaseIssueEditDetail.vue @@ -314,13 +314,11 @@ export default { this.form = { title: "", description: "", - creator: null, + creator: getCurrentUserId(), remark: null, tapdUsers: [], platformStatus: null, }; - this.customFieldForm = null; - this.issueTemplate = {}; if (this.$refs.testCaseIssueList) { this.$refs.testCaseIssueList.tableData = []; } diff --git a/test-track/frontend/src/business/case/components/case/CaseRelationshipViewer.vue b/test-track/frontend/src/business/case/components/case/CaseRelationshipViewer.vue index d9419d63c8..093dd91c09 100644 --- a/test-track/frontend/src/business/case/components/case/CaseRelationshipViewer.vue +++ b/test-track/frontend/src/business/case/components/case/CaseRelationshipViewer.vue @@ -138,6 +138,7 @@ export default { margin-left: 12.58px; align-items: center; height: 100%; + cursor: pointer; .dep-icon { margin-right: 4.58px; width: 14px; diff --git a/test-track/frontend/src/business/case/components/case/CaseStepChange.vue b/test-track/frontend/src/business/case/components/case/CaseStepChange.vue index cd55af00e3..aa0b657f4d 100644 --- a/test-track/frontend/src/business/case/components/case/CaseStepChange.vue +++ b/test-track/frontend/src/business/case/components/case/CaseStepChange.vue @@ -43,6 +43,7 @@ export default { .el-dropdown-link { cursor: pointer; color: #646a73; + padding: 0.2rem 0.5rem; } .el-dropdown-link:hover { cursor: pointer;