排课页面优化
This commit is contained in:
parent
c292eb88e4
commit
3cf881c4d9
@ -178,6 +178,7 @@
|
|||||||
day: '日',
|
day: '日',
|
||||||
list: '列表'
|
list: '列表'
|
||||||
},
|
},
|
||||||
|
allDayText : '全天',
|
||||||
// initialDate: '2024-07-14',
|
// initialDate: '2024-07-14',
|
||||||
eventLimit: 4, // 显示更多
|
eventLimit: 4, // 显示更多
|
||||||
navLinks: true, // can click day/week names to navigate views
|
navLinks: true, // can click day/week names to navigate views
|
||||||
|
@ -145,7 +145,8 @@
|
|||||||
// plugins: [ 'interaction', 'dayGrid', 'timeGrid' ],
|
// plugins: [ 'interaction', 'dayGrid', 'timeGrid' ],
|
||||||
locale: 'zh-cn', // 设置中文
|
locale: 'zh-cn', // 设置中文
|
||||||
headerToolbar: {
|
headerToolbar: {
|
||||||
left: 'prev,next today',
|
// left: 'prev,next today',
|
||||||
|
left: 'today',
|
||||||
center: 'title',
|
center: 'title',
|
||||||
right: 'dayGridMonth,timeGridWeek,timeGridDay'
|
right: 'dayGridMonth,timeGridWeek,timeGridDay'
|
||||||
},
|
},
|
||||||
@ -194,6 +195,7 @@
|
|||||||
// }
|
// }
|
||||||
},
|
},
|
||||||
editable: true,
|
editable: true,
|
||||||
|
allDayText : '全天',
|
||||||
dayMaxEvents: true, // allow "more" link when too many events
|
dayMaxEvents: true, // allow "more" link when too many events
|
||||||
events: function (info, successCallback, failureCallback) {
|
events: function (info, successCallback, failureCallback) {
|
||||||
console.log('12312313', info)
|
console.log('12312313', info)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user