diff --git a/pmcalendar.php b/pmcalendar.php index aad7fda..2c0e86f 100644 --- a/pmcalendar.php +++ b/pmcalendar.php @@ -1039,6 +1039,7 @@ if ($act == 'newevent') { } .recording-box { margin: 10px 20px 0 20px; color:#626262; font-size: 12px; } .recording—title { font-size: 16px; color:#686868; } + .recording—title span{ font-size: 12px; color:#686868; } .recording—name { float: right; } .recording—con-box { margin-top: -16px; padding-bottom: 50px; } .yanqi { position: absolute; top:0; right:0;} @@ -1157,7 +1158,7 @@ if ($act == 'newevent') {
-
延迟记录
+
延迟记录 (双击记录可更改)
@@ -1236,8 +1237,10 @@ if ($act == 'newevent') { {{~it:item:index}}

《{{= item.project}}》项目{{=item.type}}从{{=item.date1}}日{{=item.timetype}}到{{=item.date2}}

-

调整理由为:{{=item.reason}}

+
调整理由为:{{=item.reason}}

调整人:{{=item.user}}

+ +
{{~}} @@ -1272,6 +1275,30 @@ if ($act == 'newevent') { datechoice(); }) + function recordingdel(idx){ + if ("" != "1" && "" != "1") return; + if (confirm("确定删除这条记录?")) { + $.ajax({ + url: './?app=pmcalendar&act=edityanqi', + dataType: 'json', + data: { + idx: idx, + del: 1 + }, + success: function (res) { + console.log(res); + alert('删除成功'); + showEventData(notid); + // textdisabled(); + }, + error: function () { + alert('数据异常,请稍后重试!!!'); + showEventData(notid); + // textdisabled(); + } + }); + } + } function datechoice() {