แก้รายงานลงเวลา
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)
|
.post(config.API.leaveReportTimeRecords(), body)
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
const data = res.data.result;
|
const data = res.data.result;
|
||||||
data && genReport({
|
data && genReport(data);
|
||||||
data: data.data[0],
|
|
||||||
reportName: data.reportName,
|
|
||||||
template: data.template
|
|
||||||
});
|
|
||||||
dataDetail.value = data;
|
dataDetail.value = data;
|
||||||
})
|
})
|
||||||
.catch((err) => {
|
.catch((err) => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue