fix(测试计划): 消息跳转至查看页面
--bug=1040450 --user=王旭 消息通知-消息列表中点击用例的名称,应该跳转到用例的查看页面 https://www.tapd.cn/55049933/s/1522005
This commit is contained in:
parent
28db5873ad
commit
94bcdd9b08
|
@ -387,7 +387,7 @@
|
|||
const resourceTypeRouteMap: Record<string, string> = {
|
||||
[MessageResourceType.BUG_TASK]: BugManagementRouteEnum.BUG_MANAGEMENT_INDEX,
|
||||
[MessageResourceType.BUG_SYNC_TASK]: BugManagementRouteEnum.BUG_MANAGEMENT_INDEX,
|
||||
[MessageResourceType.FUNCTIONAL_CASE_TASK]: CaseManagementRouteEnum.CASE_MANAGEMENT_CASE_DETAIL,
|
||||
[MessageResourceType.FUNCTIONAL_CASE_TASK]: CaseManagementRouteEnum.CASE_MANAGEMENT_CASE,
|
||||
[MessageResourceType.CASE_REVIEW_TASK]: CaseManagementRouteEnum.CASE_MANAGEMENT_REVIEW_DETAIL,
|
||||
[MessageResourceType.API_DEFINITION_TASK]: ApiTestRouteEnum.API_TEST_MANAGEMENT,
|
||||
[MessageResourceType.API_SCENARIO_TASK]: ApiTestRouteEnum.API_TEST_SCENARIO,
|
||||
|
@ -413,12 +413,8 @@
|
|||
}
|
||||
|
||||
const route = resourceTypeRouteMap[item.resourceType];
|
||||
if (item.resourceType === MessageResourceType.FUNCTIONAL_CASE_TASK) {
|
||||
openNewPageWidthSingleParam(route, 'edit', routeQuery);
|
||||
} else {
|
||||
openNewPage(route, routeQuery);
|
||||
}
|
||||
}
|
||||
|
||||
// 全部标记为已读
|
||||
async function prepositionEdit() {
|
||||
|
|
Loading…
Reference in New Issue