|
@@ -53,7 +53,8 @@
|
|
|
if (view.name == "month") {//按月份
|
|
|
var evtcontent = '<div class="fc-event-inner fc-event-skin">';
|
|
|
evtcontent += '<span class="fc-event-time">' + fstart + " - " + fend + '</span>';
|
|
|
- evtcontent += '<span class="fc-event-title">: ' + event.title + '</span> <span onclick="btn_del(\'' + event.id + '\')">删除</span>';
|
|
|
+ evtcontent += '<span class="fc-event-title">: ' + event.title + '</span> <span onclick="btn_edit(\'' + event.id + '\')">修改</span>';
|
|
|
+ evtcontent += ' <span onclick="btn_del(\'' + event.id + '\')">删除</span>';
|
|
|
evtcontent += '</div><div class="ui-resizable-handle ui-resizable-e"> </div>';
|
|
|
|
|
|
element.html(evtcontent);
|
|
@@ -99,6 +100,11 @@
|
|
|
js.addTabPage(null, "新增日程", "${ctx}/sys/schedule/schedule/form")
|
|
|
};
|
|
|
|
|
|
+ //添加日程
|
|
|
+ function btn_edit(id) {
|
|
|
+ js.addTabPage(null, "修改日程", "${ctx}/sys/schedule/schedule/form?id="+id)
|
|
|
+ };
|
|
|
+
|
|
|
function btn_del(id) {
|
|
|
$.ajax({
|
|
|
url: "${ctx}/sys/schedule/schedule/delete",
|