แก้รายงานลงเวลา
This commit is contained in:
parent
17a6eabedb
commit
71d3b54ef0
1 changed files with 1 additions and 5 deletions
|
|
@ -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) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue