fix(测试计划): #1007208 【测试跟踪】测试计划手动执行完,状态还是进行中
--bug=1007208 --user=宋天阳 【测试跟踪】测试计划手动执行完,状态还是进行中 https://www.tapd.cn/55049933/s/1062221
This commit is contained in:
parent
676ddeb9f2
commit
e23ec17f13
|
@ -115,9 +115,17 @@
|
||||||
this.$success(this.$t('commons.save_success'));
|
this.$success(this.$t('commons.save_success'));
|
||||||
this.$emit('refresh');
|
this.$emit('refresh');
|
||||||
this.refresh();
|
this.refresh();
|
||||||
|
this.autoCheckStatus();
|
||||||
this.$refs.baseRelevance.close();
|
this.$refs.baseRelevance.close();
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
autoCheckStatus() { // 检查执行结果,自动更新计划状态
|
||||||
|
if (!this.planId) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
this.$post('/test/plan/autoCheck/' + this.planId, (response) => {
|
||||||
|
});
|
||||||
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in New Issue