|
|
|
@ -33,7 +33,7 @@ $(document).ready(function(){
|
|
|
|
|
handleWindowResize : false,
|
|
|
|
|
eventColor: '#ffeecc',
|
|
|
|
|
select: function(arg) {
|
|
|
|
|
$P.getInfo("", arg.startStr.replaceAll("-",""), getPrevDay(arg.endStr.replaceAll("-",""),1));
|
|
|
|
|
$P.getInfo("", arg.startStr.replaceAll("-",""), DateSupport.getPrevDay(arg.endStr.replaceAll("-",""),1));
|
|
|
|
|
},
|
|
|
|
|
eventClick:function(obj, element) {
|
|
|
|
|
$P.getInfo(obj.event.id, "", "");
|
|
|
|
@ -86,7 +86,7 @@ $(document).ready(function(){
|
|
|
|
|
$P.calendar.addEvent({
|
|
|
|
|
title : info.schdlCn,
|
|
|
|
|
start : dateFormat.format(info.schdlBgngYmd),
|
|
|
|
|
end : dateFormat.format(getNextDay(info.schdlEndYmd,1)),
|
|
|
|
|
end : dateFormat.format(DateSupport.getNextDay(info.schdlEndYmd,1)),
|
|
|
|
|
allDay : true
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
@ -94,7 +94,7 @@ $(document).ready(function(){
|
|
|
|
|
$P.modify = (info) => {
|
|
|
|
|
var ev = $P.calendar.getEventById(info.schdlId);
|
|
|
|
|
ev.setProp("title", info.schdlCn);
|
|
|
|
|
ev.setDates(dateFormat.format(info.schdlBgngYmd), dateFormat.format(getNextDay(info.schdlEndYmd,1)), { allDay : true });
|
|
|
|
|
ev.setDates(dateFormat.format(info.schdlBgngYmd), dateFormat.format(DateSupport.getNextDay(info.schdlEndYmd,1)), { allDay : true });
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
$P.del = (info) => {
|
|
|
|
@ -129,7 +129,7 @@ $(document).ready(function(){
|
|
|
|
|
id : info.SCHDL_ID,
|
|
|
|
|
title : info.SCHDL_CN,
|
|
|
|
|
start : dateFormat.format(info.SCHDL_BGNG_YMD),
|
|
|
|
|
end : dateFormat.format(getNextDay(info.SCHDL_END_YMD,1)),
|
|
|
|
|
end : dateFormat.format(DateSupport.getNextDay(info.SCHDL_END_YMD,1)),
|
|
|
|
|
allDay : true
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|