ปรับ code รายการลา Table
This commit is contained in:
parent
60ddcf5789
commit
9412454760
3 changed files with 68 additions and 132 deletions
|
|
@ -13,7 +13,6 @@ const mixin = useCounterMixin();
|
|||
const { showLoader, hideLoader, messageError, date2Thai, monthYear2Thai } =
|
||||
mixin;
|
||||
const LeaveData = useLeaveStore();
|
||||
const { fecthList } = LeaveData;
|
||||
|
||||
const $q = useQuasar();
|
||||
|
||||
|
|
@ -36,6 +35,7 @@ async function fetchDataTable() {
|
|||
.post(config.API.leaveTableList(), body)
|
||||
.then((res) => {
|
||||
console.log(res);
|
||||
const data = res.data.result.data;
|
||||
})
|
||||
.catch((err) => {
|
||||
messageError($q, err);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue