fix(测试计划): 修复测试计划日志跳转详情
This commit is contained in:
parent
8d8a3f5dc5
commit
65b30cb9dd
|
@ -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: {
|
||||
|
|
|
@ -446,6 +446,9 @@
|
|||
}
|
||||
|
||||
onBeforeMount(() => {
|
||||
if (route.query.id) {
|
||||
showReportDetail(route.query.id as string, route.query.type === 'GROUP');
|
||||
}
|
||||
initData();
|
||||
});
|
||||
</script>
|
||||
|
|
Loading…
Reference in New Issue