fix fetch ช้อมูลรายการออกคำสั่ง
This commit is contained in:
parent
5fb8c24263
commit
f1c056fc8d
31 changed files with 69 additions and 32 deletions
|
|
@ -181,7 +181,7 @@ async function fecthlistOthet() {
|
|||
showLoader();
|
||||
await http
|
||||
.get(config.API.otherMain() + `?status=${status.value}`)
|
||||
.then((res) => {
|
||||
.then(async (res) => {
|
||||
let response = res.data.result;
|
||||
rows.value = response;
|
||||
rowsData.value = response;
|
||||
|
|
@ -199,6 +199,7 @@ async function fecthlistOthet() {
|
|||
);
|
||||
rows2.value = listData;
|
||||
rows2Data.value = listData;
|
||||
await onSearch();
|
||||
})
|
||||
.catch((e) => {
|
||||
messageError($q, e);
|
||||
|
|
@ -312,7 +313,7 @@ function nextPage(id: string) {
|
|||
});
|
||||
}
|
||||
|
||||
function onSearch() {
|
||||
async function onSearch() {
|
||||
rows.value = onSearchDataTable(
|
||||
filterKeyword.value,
|
||||
rowsData.value,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue