fix(工作台): 跳转携带项目 id

This commit is contained in:
baiqi 2024-11-25 18:50:50 +08:00 committed by 刘瑞斌
parent f4faffe168
commit f219e4e437
6 changed files with 6 additions and 0 deletions

View File

@ -202,6 +202,7 @@
openNewPage(ApiTestRouteEnum.API_TEST_MANAGEMENT, { openNewPage(ApiTestRouteEnum.API_TEST_MANAGEMENT, {
tab: 'case', tab: 'case',
view: props.type, view: props.type,
pId: props.project,
}); });
} }

View File

@ -259,6 +259,7 @@
function goBugList() { function goBugList() {
openNewPage(BugManagementRouteEnum.BUG_MANAGEMENT_INDEX, { openNewPage(BugManagementRouteEnum.BUG_MANAGEMENT_INDEX, {
view: props.type, view: props.type,
pId: props.project,
}); });
} }

View File

@ -187,6 +187,7 @@
function goCaseReview() { function goCaseReview() {
openNewPage(CaseManagementRouteEnum.CASE_MANAGEMENT_REVIEW, { openNewPage(CaseManagementRouteEnum.CASE_MANAGEMENT_REVIEW, {
view: props.type, view: props.type,
pId: props.project,
}); });
} }

View File

@ -248,6 +248,7 @@
function goScenario() { function goScenario() {
openNewPage(ApiTestRouteEnum.API_TEST_SCENARIO, { openNewPage(ApiTestRouteEnum.API_TEST_SCENARIO, {
view: props.type, view: props.type,
pId: props.project,
}); });
} }

View File

@ -231,6 +231,7 @@
openNewPage(CaseManagementRouteEnum.CASE_MANAGEMENT_CASE, { openNewPage(CaseManagementRouteEnum.CASE_MANAGEMENT_CASE, {
showType: 'list', showType: 'list',
view: props.type, view: props.type,
pId: props.project,
}); });
} }
</script> </script>

View File

@ -280,6 +280,7 @@
openNewPage(TestPlanRouteEnum.TEST_PLAN_INDEX, { openNewPage(TestPlanRouteEnum.TEST_PLAN_INDEX, {
showType: showType.value, showType: showType.value,
view: props.type, view: props.type,
pId: props.project,
}); });
} }