fix(报告): 测试计划报告导出执行人字段

--bug=1047129 --user=白奇 测试计划报告导出后,报告内容缺少“执行人”信息 https://www.tapd.cn/55049933/s/1585609
This commit is contained in:
baiqi 2024-09-25 11:24:57 +08:00 committed by 刘瑞斌
parent 8c42b06ae1
commit 95ea080fe8
1 changed files with 3 additions and 3 deletions

View File

@ -799,7 +799,7 @@
body: fullCaseList.value.map((e: any) => ({ body: fullCaseList.value.map((e: any) => ({
...e, ...e,
executeResult: t(lastExecuteResultMap[e.executeResult]?.statusText || '-'), executeResult: t(lastExecuteResultMap[e.executeResult]?.statusText || '-'),
executeUser: e.executeUser?.name || '-', executeUser: e.executeUser || '-',
})) as RowInput[], })) as RowInput[],
}); });
} }
@ -829,7 +829,7 @@
body: fullApiList.value.map((e: any) => ({ body: fullApiList.value.map((e: any) => ({
...e, ...e,
executeResult: t(lastExecuteResultMap[e.executeResult]?.statusText || '-'), executeResult: t(lastExecuteResultMap[e.executeResult]?.statusText || '-'),
executeUser: e.executeUser?.name || '-', executeUser: e.executeUser || '-',
})) as RowInput[], })) as RowInput[],
}); });
} }
@ -845,7 +845,7 @@
body: fullScenarioList.value.map((e: any) => ({ body: fullScenarioList.value.map((e: any) => ({
...e, ...e,
executeResult: t(lastExecuteResultMap[e.executeResult]?.statusText || '-'), executeResult: t(lastExecuteResultMap[e.executeResult]?.statusText || '-'),
executeUser: e.executeUser?.name || '-', executeUser: e.executeUser || '-',
})) as RowInput[], })) as RowInput[],
}); });
} }