fix(测试计划): 修复测试计划删除提示状态错误
This commit is contained in:
parent
b106a41de9
commit
db93b1993c
|
@ -1326,16 +1326,14 @@
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
activeRecord.value = cloneDeep(record);
|
activeRecord.value = cloneDeep(record);
|
||||||
|
// 状态需要从统计里边获取
|
||||||
|
activeRecord.value.status = getStatus(record.id);
|
||||||
showStatusDeleteModal.value = true;
|
showStatusDeleteModal.value = true;
|
||||||
}
|
}
|
||||||
// 计划组配置报告 TODO 后台需要加接口
|
|
||||||
|
// 计划组自定义报告
|
||||||
async function configReportHandler(record: TestPlanItem) {
|
async function configReportHandler(record: TestPlanItem) {
|
||||||
try {
|
try {
|
||||||
// await generateReport({
|
|
||||||
// projectId: appStore.currentProjectId,
|
|
||||||
// testPlanId: record.id,
|
|
||||||
// triggerMode: 'MANUAL',
|
|
||||||
// });
|
|
||||||
router.push({
|
router.push({
|
||||||
name: TestPlanRouteEnum.TEST_PLAN_INDEX_CONFIG,
|
name: TestPlanRouteEnum.TEST_PLAN_INDEX_CONFIG,
|
||||||
query: {
|
query: {
|
||||||
|
|
Loading…
Reference in New Issue