Merge branch 'develop' into dev
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m49s
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m49s
This commit is contained in:
commit
fd5e32e53c
1 changed files with 17 additions and 14 deletions
|
|
@ -323,20 +323,23 @@ async function fetchData() {
|
|||
// .get(
|
||||
// `${config.API.profileSalaryTemp}/${empType.value}/done/${profileId.value}`,
|
||||
// )
|
||||
http
|
||||
.get(`${config.API.profileSalaryTemp}/${empType.value}/${profileId.value}`)
|
||||
.then((res) => {
|
||||
try {
|
||||
await http.get(
|
||||
`${config.API.profileSalaryTemp}/${empType.value}/${profileId.value}`,
|
||||
);
|
||||
|
||||
const res = await http.get(
|
||||
`${config.API.profileSalaryTemp}/${empType.value}/done/${profileId.value}`,
|
||||
);
|
||||
const data = res.data.result;
|
||||
rowsMain.value = data;
|
||||
rows.value = data;
|
||||
serchDataTable();
|
||||
})
|
||||
.catch((err) => {
|
||||
} catch (err) {
|
||||
messageError($q, err);
|
||||
})
|
||||
.finally(() => {
|
||||
} finally {
|
||||
isLoad.value = false;
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
/** function ค้นหาข้อมูลรายการในตาราง*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue