From e23ec17f13eb052a5d7dbeab309a26366eea846b Mon Sep 17 00:00:00 2001 From: song-tianyang Date: Mon, 1 Nov 2021 11:27:32 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=AE=A1=E5=88=92):=20#1?= =?UTF-8?q?007208=20=E3=80=90=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA=E3=80=91?= =?UTF-8?q?=E6=B5=8B=E8=AF=95=E8=AE=A1=E5=88=92=E6=89=8B=E5=8A=A8=E6=89=A7?= =?UTF-8?q?=E8=A1=8C=E5=AE=8C=EF=BC=8C=E7=8A=B6=E6=80=81=E8=BF=98=E6=98=AF?= =?UTF-8?q?=E8=BF=9B=E8=A1=8C=E4=B8=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1007208 --user=宋天阳 【测试跟踪】测试计划手动执行完,状态还是进行中 https://www.tapd.cn/55049933/s/1062221 --- .../plan/view/comonents/api/TestCaseScenarioRelevance.vue | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/frontend/src/business/components/track/plan/view/comonents/api/TestCaseScenarioRelevance.vue b/frontend/src/business/components/track/plan/view/comonents/api/TestCaseScenarioRelevance.vue index 77d8d85357..1e4b4c4954 100644 --- a/frontend/src/business/components/track/plan/view/comonents/api/TestCaseScenarioRelevance.vue +++ b/frontend/src/business/components/track/plan/view/comonents/api/TestCaseScenarioRelevance.vue @@ -115,9 +115,17 @@ this.$success(this.$t('commons.save_success')); this.$emit('refresh'); this.refresh(); + this.autoCheckStatus(); this.$refs.baseRelevance.close(); }); }, + autoCheckStatus() { // 检查执行结果,自动更新计划状态 + if (!this.planId) { + return; + } + this.$post('/test/plan/autoCheck/' + this.planId, (response) => { + }); + }, } }