เพิ่ม comment ระบบลาออกและขอโอน
This commit is contained in:
parent
6621dfd7f0
commit
3f5687f0aa
15 changed files with 1529 additions and 1889 deletions
|
|
@ -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(`/`)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue