รายการยื่นคำร้องขอแก้ไขข้อมูล
This commit is contained in:
parent
706f6085a0
commit
fde95cea9f
1 changed files with 18 additions and 18 deletions
|
|
@ -249,21 +249,21 @@ function downloadUrl(id: string, fileName: string) {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
function onDeleteLidt(id: string) {
|
// function onDeleteLidt(id: string) {
|
||||||
dialogRemove($q, () => {
|
// dialogRemove($q, () => {
|
||||||
showLoader();
|
// showLoader();
|
||||||
http
|
// http
|
||||||
.delete(config.API.requestEdit + `${id}`)
|
// .delete(config.API.requestEdit + `${id}`)
|
||||||
.then(async (res) => {
|
// .then(async (res) => {
|
||||||
await fetchListRequset();
|
// await fetchListRequset();
|
||||||
await success($q, "ลบข้อมูลสำเร็จ");
|
// await success($q, "ลบข้อมูลสำเร็จ");
|
||||||
})
|
// })
|
||||||
.catch((err) => {
|
// .catch((err) => {
|
||||||
messageError($q, err);
|
// messageError($q, err);
|
||||||
hideLoader();
|
// hideLoader();
|
||||||
});
|
// });
|
||||||
});
|
// });
|
||||||
}
|
// }
|
||||||
|
|
||||||
watch(
|
watch(
|
||||||
() => pageSize.value,
|
() => pageSize.value,
|
||||||
|
|
@ -376,7 +376,7 @@ onMounted(() => {
|
||||||
<q-th v-for="col in props.cols" :key="col.name" :props="props">
|
<q-th v-for="col in props.cols" :key="col.name" :props="props">
|
||||||
<span class="text-weight-medium">{{ col.label }}</span>
|
<span class="text-weight-medium">{{ col.label }}</span>
|
||||||
</q-th>
|
</q-th>
|
||||||
<q-th auto-width />
|
<!-- <q-th auto-width /> -->
|
||||||
</q-tr>
|
</q-tr>
|
||||||
</template>
|
</template>
|
||||||
<template v-slot:body="props">
|
<template v-slot:body="props">
|
||||||
|
|
@ -402,7 +402,7 @@ onMounted(() => {
|
||||||
{{ col.value ? col.value : "-" }}
|
{{ col.value ? col.value : "-" }}
|
||||||
</div>
|
</div>
|
||||||
</q-td>
|
</q-td>
|
||||||
<q-td>
|
<!-- <q-td>
|
||||||
<q-btn
|
<q-btn
|
||||||
v-if="props.row.status === 'PENDING'"
|
v-if="props.row.status === 'PENDING'"
|
||||||
flat
|
flat
|
||||||
|
|
@ -414,7 +414,7 @@ onMounted(() => {
|
||||||
>
|
>
|
||||||
<q-tooltip>ลบคำร้องขอแก้ไขข้อมูล</q-tooltip>
|
<q-tooltip>ลบคำร้องขอแก้ไขข้อมูล</q-tooltip>
|
||||||
</q-btn>
|
</q-btn>
|
||||||
</q-td>
|
</q-td> -->
|
||||||
</q-tr>
|
</q-tr>
|
||||||
</template>
|
</template>
|
||||||
<template v-slot:pagination="scope">
|
<template v-slot:pagination="scope">
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue