แก้หน้ารายการ ลาออก
This commit is contained in:
parent
58868c3ffc
commit
4b73b98d35
1 changed files with 13 additions and 40 deletions
|
|
@ -11,14 +11,14 @@ import Table from "@/components/Table.vue"
|
||||||
|
|
||||||
const filter = ref<string>("")
|
const filter = ref<string>("")
|
||||||
const rows = ref<any>([
|
const rows = ref<any>([
|
||||||
{ date: "02/02/2566", position: "นักจัดการงานทั่วไป", noPos: "กบห.2", level: "ปฏิบัติการ", salary: "15920", transfer: "กองบริหารทั่วไป/ฝ่ายการคลัง", status: "รอดำเนินการ" },
|
{ placeLeave: "สํานักงานกรุงเทพมหานคร ", dateStartLeave: "02/02/2566", dateLeave: "10/03/2565", status: "รอดำเนินการ" },
|
||||||
{ date: "02/02/2565", position: "นักจัดการงานทั่วไป", noPos: "กบห.2", level: "ปฏิบัติการ", salary: "15920", transfer: "กองบริหารทั่วไป/กลุ่มงานช่วยนักบริหาร", status: "เสร็จสิ้น" },
|
{ placeLeave: "สํานักงานกรุงเทพมหานคร ", dateStartLeave: "02/02/2566", dateLeave: "10/03/2565", status: "เสร็จสิ้น" },
|
||||||
{ date: "10/01/2565", position: "นักจัดการงานทั่วไป", noPos: "กบห.2", level: "ปฏิบัติการ", salary: "15920", transfer: "กองบริหารทั่วไป/กลุ่มงานช่วยนักบริหาร", status: "เสร็จสิ้น" },
|
{ placeLeave: "สํานักงานกรุงเทพมหานคร ", dateStartLeave: "02/02/2566", dateLeave: "10/03/2565", status: "เสร็จสิ้น" },
|
||||||
])
|
])
|
||||||
const initialPagination = ref({
|
const initialPagination = ref({
|
||||||
rowsPerPage: 0,
|
rowsPerPage: 0,
|
||||||
})
|
})
|
||||||
const visibleColumns = ref<String[]>(["no", "date", "position", "noPos", "level", "salary", "transfer", "status"])
|
const visibleColumns = ref<String[]>(["no", "placeLeave", "dateStartLeave", "dateLeave", "status"])
|
||||||
|
|
||||||
const columns = ref<QTableProps["columns"]>([
|
const columns = ref<QTableProps["columns"]>([
|
||||||
{
|
{
|
||||||
|
|
@ -31,56 +31,29 @@ const columns = ref<QTableProps["columns"]>([
|
||||||
style: "font-size: 14px; width:5px;",
|
style: "font-size: 14px; width:5px;",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "date",
|
name: "placeLeave",
|
||||||
align: "left",
|
align: "left",
|
||||||
label: "วันที่",
|
label: "สถานที่ยื่นขอลาออกจากราชการ",
|
||||||
sortable: true,
|
sortable: true,
|
||||||
field: "date",
|
field: "placeLeave",
|
||||||
headerStyle: "font-size: 14px",
|
headerStyle: "font-size: 14px",
|
||||||
style: "font-size: 14px; width:15%;",
|
style: "font-size: 14px; width:15%;",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "position",
|
name: "dateStartLeave",
|
||||||
align: "left",
|
align: "left",
|
||||||
label: "ตำแหน่ง",
|
label: "วันที่ยื่นขอลาออกจากราชการ",
|
||||||
sortable: true,
|
sortable: true,
|
||||||
field: "position",
|
field: "dateStartLeave",
|
||||||
headerStyle: "font-size: 14px",
|
headerStyle: "font-size: 14px",
|
||||||
style: "font-size: 14px; width:15%;",
|
style: "font-size: 14px; width:15%;",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "noPos",
|
name: "dateLeave",
|
||||||
align: "left",
|
align: "left",
|
||||||
label: "ตำแหน่งเลขที่",
|
label: "วันที่ขอลาออกจากราชการ",
|
||||||
sortable: true,
|
sortable: true,
|
||||||
field: "noPos",
|
field: "dateLeave",
|
||||||
headerStyle: "font-size: 14px",
|
|
||||||
style: "font-size: 14px",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: "level",
|
|
||||||
align: "left",
|
|
||||||
label: "อันดับ/ระดับ",
|
|
||||||
sortable: true,
|
|
||||||
field: "level",
|
|
||||||
headerStyle: "font-size: 14px",
|
|
||||||
style: "font-size: 14px",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: "salary",
|
|
||||||
align: "left",
|
|
||||||
label: "เงินเดือน",
|
|
||||||
sortable: true,
|
|
||||||
field: "salary",
|
|
||||||
headerStyle: "font-size: 14px",
|
|
||||||
style: "font-size: 14px",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: "transfer",
|
|
||||||
align: "left",
|
|
||||||
label: "โอนไปสังกัด",
|
|
||||||
sortable: true,
|
|
||||||
field: "transfer",
|
|
||||||
headerStyle: "font-size: 14px",
|
headerStyle: "font-size: 14px",
|
||||||
style: "font-size: 14px",
|
style: "font-size: 14px",
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue