สิทธิ์ สอบสวนความผิดทางวินัย

This commit is contained in:
STW_TTTY\stwtt 2024-08-08 15:45:11 +07:00
parent 3a6b4f83c8
commit 47ce1ce70d
5 changed files with 127 additions and 80 deletions

View file

@ -51,6 +51,13 @@ async function fetchListDisciplinary() {
function openEdit(id: string) {
router.push(`/discipline/disciplinary/${id}`);
}
/**
* ไปหนาแกไข
* @param id ไอดเฉพาะ รายบคคล
*/
function openDetail(id: string) {
router.push(`/discipline-detail/disciplinary/${id}`);
}
async function updatePagingProp(rowPerpage: number, pageCurrent: number) {
rowsPerPage.value = rowPerpage;
@ -95,6 +102,7 @@ onMounted(async () => {
:fetchListDisciplinary="fetchListDisciplinary"
@update:pagination="updatePagingProp"
v-model:open-edit="openEdit"
:open-detail="openDetail"
:filterStatus="filterStatus"
>
</Table>