เพิ่ม comment ระบบลาออกและขอโอน

This commit is contained in:
AnandaTon 2023-11-13 17:05:29 +07:00
parent 6621dfd7f0
commit 3f5687f0aa
15 changed files with 1529 additions and 1889 deletions

View file

@ -16,6 +16,10 @@ const $q = useQuasar()
const mixin = useCounterMixin()
const { date2Thai, messageError, showLoader, hideLoader } = mixin
/**
* เพมหวขอตาราง
*/
const rows = ref<any>([])
const filter = ref<string>("")
const visibleColumns = ref<String[]>(["no", "placeLeave", "dateStartLeave", "dateLeave", "statustext"])
const columns = ref<QTableProps["columns"]>([
@ -65,11 +69,17 @@ const columns = ref<QTableProps["columns"]>([
style: "font-size: 14px; width:10%;",
},
])
const rows = ref<any>([])
/**
* งค pagination
*/
const initialPagination = ref({
rowsPerPage: 0,
})
/**
* เรยกฟงกนทงหมดตอนเรยกใชไฟล
*/
onMounted(() => {
fectListleave()
})
@ -98,10 +108,16 @@ const fectListleave = async () => {
})
}
/**
* งกนกดเพมไปหนาเพมลาออก
*/
const clickAdd = async () => {
router.push(`/retire/add`)
}
/**
* กดเพอยอนกล
*/
const clickBack = () => {
router.push(`/`)
}