fix(测试计划): 修复测试计划日志跳转详情

This commit is contained in:
xinxin.wu 2024-06-19 18:24:51 +08:00 committed by Craftsman
parent 8d8a3f5dc5
commit 65b30cb9dd
2 changed files with 5 additions and 2 deletions

View File

@ -992,7 +992,7 @@ export const pathMap: PathMapItem[] = [
{
key: 'TEST_PLAN_REPORT_TEST_PLAN', // 测试计划报告
locale: 'menu.apiTest.reportTestPlan',
route: RouteEnum.TEST_PLAN_REPORT,
route: RouteEnum.TEST_PLAN_REPORT_DETAIL,
permission: [],
level: MENU_LEVEL[2],
routeQuery: {
@ -1002,7 +1002,7 @@ export const pathMap: PathMapItem[] = [
{
key: 'TEST_PLAN_REPORT_TEST_PLAN_GROUP', // 测试计划组报告
locale: 'menu.apiTest.reportTestGroupPlan',
route: RouteEnum.TEST_PLAN_REPORT,
route: RouteEnum.TEST_PLAN_REPORT_DETAIL,
permission: [],
level: MENU_LEVEL[2],
routeQuery: {

View File

@ -446,6 +446,9 @@
}
onBeforeMount(() => {
if (route.query.id) {
showReportDetail(route.query.id as string, route.query.type === 'GROUP');
}
initData();
});
</script>