From b1d93e34d6aa6cde0e7b26f5794ecac56a3bd8b3 Mon Sep 17 00:00:00 2001 From: luosongbai <15272473386@163.com> Date: Thu, 4 Mar 2021 18:26:04 +0800 Subject: [PATCH] =?UTF-8?q?=E5=89=8D=E7=AB=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pmcalendar.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pmcalendar.php b/pmcalendar.php index c31938f..7138e4c 100644 --- a/pmcalendar.php +++ b/pmcalendar.php @@ -1988,7 +1988,7 @@ if ($act == 'newevent') { dict.start = $.fullCalendar.formatDate(event.start, 'yyyy-MM-dd'); dict.end = $.fullCalendar.formatDate(event.end, 'yyyy-MM-dd'); loading.show(); - dict.reason = prompt("请输入延期原因"); + dict.reason = prompt("请输入修改原因"); if(dict.reason){ //点击的是“确定” $.post('./?app=pmcalendar&act=movevent', dict, function (txt) { @@ -2475,6 +2475,8 @@ if ($act == 'newevent') { console.log(recording) tmpltxt = doT.template(document.getElementById("recording-dot").innerHTML);//生成模板方法 document.getElementById("recording-content").innerHTML = tmpltxt(recording);//数据渲染 + }else { + $("#recording-content").empty(); } }else { $("#recording-box").css('display','none'); @@ -2597,7 +2599,8 @@ if ($act == 'newevent') { $("#upfujian_cp").hide(); $("#upfujian_yf").hide(); $("#popup-bg").hide(); - $('body,html').css('overflow', 'auto') + $('body,html').css('overflow', 'auto'); + location.reload(); } // $("#yiny").click(function () {