From 406a8ff9359f4278528534aecc039088569ac104 Mon Sep 17 00:00:00 2001 From: chenjianxing Date: Wed, 24 Mar 2021 20:04:44 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=B5=8B=E8=AF=95=E8=AE=A1=E5=88=92-?= =?UTF-8?q?=E8=84=91=E5=9B=BE=E7=94=A8=E4=BE=8B=E7=8A=B6=E6=80=81=E6=9C=AA?= =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/track/common/minder/TestPlanMinder.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/frontend/src/business/components/track/common/minder/TestPlanMinder.vue b/frontend/src/business/components/track/common/minder/TestPlanMinder.vue index 5a8a82e5d1..a362099cf8 100644 --- a/frontend/src/business/components/track/common/minder/TestPlanMinder.vue +++ b/frontend/src/business/components/track/common/minder/TestPlanMinder.vue @@ -47,13 +47,13 @@ name: "TestPlanMinder", if (this.projectId) { this.result = this.$get('/test/plan/case/list/minder/' + this.planId, response => { this.dataMap = getTestCaseDataMap(response.data, true, (data, item) => { - if (item.stats === 'Pass') { + if (item.status === 'Pass') { data.resource.push(this.$t('test_track.plan_view.pass')); - } else if (item.reviewStatus === 'Failure') { + } else if (item.status === 'Failure') { data.resource.push(this.$t('test_track.plan_view.failure')); - } else if (item.reviewStatus === 'Blocking') { + } else if (item.status === 'Blocking') { data.resource.push(this.$t('test_track.plan_view.blocking')); - } else if (item.reviewStatus === 'Skip') { + } else if (item.status === 'Skip') { data.resource.push(this.$t('test_track.plan_view.skip')); } else { data.resource.push(this.$t('test_track.plan.plan_status_prepare'));