Add "เพิ่มเติม" for more thand 3 event calendar
This commit is contained in:
parent
f8254e92c9
commit
4015da9ccf
2 changed files with 28 additions and 9 deletions
|
|
@ -5,7 +5,6 @@
|
|||
let calendarRef;
|
||||
export let events:CalendarEvent[]
|
||||
let options = {
|
||||
// themeSystem: 'bootstrap5',
|
||||
initialView: 'dayGridMonth',
|
||||
plugins: [daygridPlugin],
|
||||
locale: 'th',
|
||||
|
|
@ -14,7 +13,11 @@
|
|||
center: '',
|
||||
right: 'prev,next today'
|
||||
},
|
||||
|
||||
dayMaxEventRows:3,
|
||||
moreLinkContent:function(args: { num: string; }){
|
||||
return '+'+args.num+' เพิ่มเติม';
|
||||
},
|
||||
eventLimitText: "+ดูเพิ่ม",
|
||||
contentHeight:"auto",
|
||||
selectable: true,
|
||||
buttonText: {
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
"id":"21","title":"การคัดเลือกลูกจ้างกทม 3/2566 ",
|
||||
"category":"สำนักงาน ก.ก.","category_id":"1",
|
||||
"detail":"<p><center><img src='https://webportal.bangkok.go.th/public/user_files_editor/305/bkkgovjob202303_12.jpg'></center></p><br/><center><h2>ด่วน !! สำนักงานคณะกรรมการข้าราชการกรุงเทพมหานคร ประกาศกำหนดวัน เวลา สถานที่คัดเลือก และระเบียบ เกี่ยวกับการคัดเลือกบุคลากรกรุงเทพมหานครหรือผู้ปฏิบัติงานอื่นในกรุงเทพมหานครเพื่อบรรจุและแต่งตั้ง เป็นข้าราชการกรุงเทพมหานครสามัญ ครั้งที่ 1 / 2565</h2></center>",
|
||||
"announcement_date": "2023-04-01",
|
||||
"announcement_startDate": "2023-04-01",
|
||||
"announcement_endDate": "2023-05-15",
|
||||
"announcementExam": true,
|
||||
"register_startDate": "2023-04-01",
|
||||
|
|
@ -52,7 +52,7 @@
|
|||
{
|
||||
"id":"20","title":"บุคลากรทางการแพทย์กทม. !!",
|
||||
"category":"สำนักการแพทย์","category_id":"3",
|
||||
"announcement_date": "2023-03-01",
|
||||
"announcement_startDate": "2023-03-01",
|
||||
"announcement_endDate": "2023-04-01",
|
||||
"announcementExam": true,
|
||||
"register_startDate": "2023-03-01",
|
||||
|
|
@ -73,7 +73,7 @@
|
|||
"category":"สำนักงาน ก.ก.","category_id":"1",
|
||||
"title":"การคัดเลือกลูกจ้างกทม 2/2566 ",
|
||||
"detail":"ด่วน !! ประกาศวัน เวลา สถานที่ และระเบียบการคัดเลือกลูกจ้างกทม.",
|
||||
"announcement_date": "2023-03-20",
|
||||
"announcement_startDate": "2023-03-20",
|
||||
"announcement_endDate": "2023-04-28",
|
||||
"announcementExam": true,
|
||||
"register_startDate": "2023-03-07",
|
||||
|
|
@ -91,7 +91,7 @@
|
|||
{
|
||||
"id":"18",
|
||||
"category":"สำนักอนามัย","category_id":"2",
|
||||
"announcement_date": "2023-04-19",
|
||||
"announcement_startDate": "2023-04-19",
|
||||
"announcement_endDate": "2023-04-30",
|
||||
"announcementExam": false,
|
||||
"title":"เชิญเยี่ยมชมศูนย์สุขภาพเปิดใหม่",
|
||||
|
|
@ -107,11 +107,27 @@
|
|||
"id":"17","title":"ตำแหน่งลูกจ้างและผู้ปฎิบัติงาน ",
|
||||
"detail":"รับสมัครสอบตำแหน่ง ลูกจ้างและผู้ปฎิบัติงานในกรุงเทพมหานคร เป็นข้าราชการกรุงเทพมหานคร",
|
||||
"category":"สำนักผังเมือง","category_id":"4",
|
||||
"announcement_date": "2023-04-14",
|
||||
"announcement_startDate": "2023-04-14",
|
||||
"announcement_endDate": "2023-05-20",
|
||||
"announcementExam": true,
|
||||
"register_startDate": "2023-04-15",
|
||||
"register_endDate": "2023-03-20",
|
||||
"register_startDate": "2023-04-14",
|
||||
"register_endDate": "2023-04-20",
|
||||
"images":[
|
||||
{
|
||||
"title":"topic",
|
||||
"url":"/images/sel2.png"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id":"16","title":"ตำแหน่งลูกจ้างและผู้ปฎิบัติงาน ",
|
||||
"detail":"รับสมัครสอบตำแหน่ง ลูกจ้างและผู้ปฎิบัติงานในกรุงเทพมหานคร เป็นข้าราชการกรุงเทพมหานคร",
|
||||
"category":"สำนักผังเมือง","category_id":"4",
|
||||
"announcement_startDate": "2023-03-13",
|
||||
"announcement_endDate": "2023-03-13",
|
||||
"announcementExam": true,
|
||||
"register_startDate": "2023-03-13",
|
||||
"register_endDate": "2023-03-21",
|
||||
"images":[
|
||||
{
|
||||
"title":"topic",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue