From 70e7b2ba4f96b8d94788805f433ff365a385a2a5 Mon Sep 17 00:00:00 2001
From: AnAngle <1323481023@qq.com>
Date: Sun, 24 Jul 2022 00:42:31 +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=85=B3=E8=81=94=E5=8A=9F?=
=?UTF-8?q?=E8=83=BD=E7=94=A8=E4=BE=8B=E5=88=97=E8=A1=A8=E6=B7=BB=E5=8A=A0?=
=?UTF-8?q?=E6=8E=92=E5=BA=8F?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
--bug=1015208 --user=陈建星 【测试跟踪】测试计划-关联功能用例,执行结果和评审结果列没支持排序 https://www.tapd.cn/55049933/s/1208308
---
.../common/tableItems/TestCaseReviewStatusTableItem.vue | 7 +++++++
.../common/tableItems/TestPlanCaseStatusTableItem.vue | 7 +++++++
.../plan/view/comonents/functional/FunctionalRelevance.vue | 6 ++++--
3 files changed, 18 insertions(+), 2 deletions(-)
diff --git a/frontend/src/business/components/track/common/tableItems/TestCaseReviewStatusTableItem.vue b/frontend/src/business/components/track/common/tableItems/TestCaseReviewStatusTableItem.vue
index fd891d5625..3cc02064df 100644
--- a/frontend/src/business/components/track/common/tableItems/TestCaseReviewStatusTableItem.vue
+++ b/frontend/src/business/components/track/common/tableItems/TestCaseReviewStatusTableItem.vue
@@ -4,6 +4,7 @@
:field="field"
:filters="reviewStatusFilters"
:min-width="minWidth"
+ :sortable="sortable"
:fields-width="fieldsWidth"
:label="$t('test_track.case.status')">
@@ -34,6 +35,12 @@ export default {
type: Object,
default: null
},
+ sortable: {
+ type: [Boolean, String],
+ default() {
+ return false;
+ }
+ },
},
data() {
return {
diff --git a/frontend/src/business/components/track/common/tableItems/TestPlanCaseStatusTableItem.vue b/frontend/src/business/components/track/common/tableItems/TestPlanCaseStatusTableItem.vue
index dd211e2cf4..740ceafde7 100644
--- a/frontend/src/business/components/track/common/tableItems/TestPlanCaseStatusTableItem.vue
+++ b/frontend/src/business/components/track/common/tableItems/TestPlanCaseStatusTableItem.vue
@@ -3,6 +3,7 @@
:prop="prop"
:filters="statusFilters"
:field="field"
+ :sortable="sortable"
:min-width="minWidth"
:fields-width="fieldsWidth"
:label="$t('test_track.plan_view.execute_result')">
@@ -34,6 +35,12 @@ export default {
type: Object,
default: null
},
+ sortable: {
+ type: [Boolean, String],
+ default() {
+ return false;
+ }
+ },
},
data() {
return {
diff --git a/frontend/src/business/components/track/plan/view/comonents/functional/FunctionalRelevance.vue b/frontend/src/business/components/track/plan/view/comonents/functional/FunctionalRelevance.vue
index a4368cd17b..8542bc286a 100644
--- a/frontend/src/business/components/track/plan/view/comonents/functional/FunctionalRelevance.vue
+++ b/frontend/src/business/components/track/plan/view/comonents/functional/FunctionalRelevance.vue
@@ -74,9 +74,11 @@
-
+
-
+