feat(工作台): 调整工作台覆盖率跳转入参

This commit is contained in:
xinxin.wu 2024-12-09 15:21:53 +08:00 committed by Craftsman
parent 3883d6ba18
commit fc3bf641f0
1 changed files with 6 additions and 6 deletions

View File

@ -364,28 +364,28 @@ export const NAV_NAVIGATION: Record<WorkNavValueEnum, any> = {
* *
*/ */
[WorkNavValueEnum.API_COUNT_COVER]: { [WorkNavValueEnum.API_COUNT_COVER]: {
apiDefinition: ['coverFrom'], // 接口覆盖 coverFrom: ['apiDefinition'], // 接口覆盖
}, },
[WorkNavValueEnum.API_COUNT_UN_COVER]: { [WorkNavValueEnum.API_COUNT_UN_COVER]: {
apiDefinition: ['unCoverFrom'], // 接口未覆盖 unCoverFrom: ['apiDefinition'], // 接口未覆盖
}, },
/** /**
* *
*/ */
[WorkNavValueEnum.API_CASE_COUNT_COVER]: { [WorkNavValueEnum.API_CASE_COUNT_COVER]: {
apiCase: ['coverFrom'], // 接口覆盖 coverFrom: ['apiCase'], // 接口用例覆盖
}, },
[WorkNavValueEnum.API_CASE_COUNT_UN_COVER]: { [WorkNavValueEnum.API_CASE_COUNT_UN_COVER]: {
apiCase: ['unCoverFrom'], // 接口未覆盖 unCoverFrom: ['apiCase'], // 接口用例未覆盖
}, },
/** /**
* *
*/ */
[WorkNavValueEnum.SCENARIO_COVER]: { [WorkNavValueEnum.SCENARIO_COVER]: {
apiScenario: ['coverFrom'], // 接口场景覆盖 coverFrom: ['apiScenario'], // 接口场景覆盖
}, },
[WorkNavValueEnum.SCENARIO_UN_COVER]: { [WorkNavValueEnum.SCENARIO_UN_COVER]: {
apiScenario: ['unCoverFrom'], // 接口场景未覆盖 unCoverFrom: ['apiScenario'], // 接口场景未覆盖
}, },
[WorkNavValueEnum.SCENARIO_COUNT_EXECUTED_NOT_RESULT]: { lastReportStatus: [''] }, // 场景用例-无执行结果 [WorkNavValueEnum.SCENARIO_COUNT_EXECUTED_NOT_RESULT]: { lastReportStatus: [''] }, // 场景用例-无执行结果