แก้รายงานลงเวลา

This commit is contained in:
Warunee Tamkoo 2023-12-24 14:02:15 +07:00
parent 17a6eabedb
commit 71d3b54ef0

View file

@ -137,11 +137,7 @@ async function fetchReportTimeRecords(body: any) {
.post(config.API.leaveReportTimeRecords(), body)
.then((res) => {
const data = res.data.result;
data && genReport({
data: data.data[0],
reportName: data.reportName,
template: data.template
});
data && genReport(data);
dataDetail.value = data;
})
.catch((err) => {