fix(报告): 测试计划报告导出执行人字段
--bug=1047129 --user=白奇 测试计划报告导出后,报告内容缺少“执行人”信息 https://www.tapd.cn/55049933/s/1585609
This commit is contained in:
parent
8c42b06ae1
commit
95ea080fe8
|
@ -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[],
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue