前端
This commit is contained in:
parent
483a61f692
commit
b1d93e34d6
@ -1988,7 +1988,7 @@ if ($act == 'newevent') {
|
|||||||
dict.start = $.fullCalendar.formatDate(event.start, 'yyyy-MM-dd');
|
dict.start = $.fullCalendar.formatDate(event.start, 'yyyy-MM-dd');
|
||||||
dict.end = $.fullCalendar.formatDate(event.end, 'yyyy-MM-dd');
|
dict.end = $.fullCalendar.formatDate(event.end, 'yyyy-MM-dd');
|
||||||
loading.show();
|
loading.show();
|
||||||
dict.reason = prompt("请输入延期原因");
|
dict.reason = prompt("请输入修改原因");
|
||||||
if(dict.reason){
|
if(dict.reason){
|
||||||
//点击的是“确定”
|
//点击的是“确定”
|
||||||
$.post('./?app=pmcalendar&act=movevent', dict, function (txt) {
|
$.post('./?app=pmcalendar&act=movevent', dict, function (txt) {
|
||||||
@ -2475,6 +2475,8 @@ if ($act == 'newevent') {
|
|||||||
console.log(recording)
|
console.log(recording)
|
||||||
tmpltxt = doT.template(document.getElementById("recording-dot").innerHTML);//生成模板方法
|
tmpltxt = doT.template(document.getElementById("recording-dot").innerHTML);//生成模板方法
|
||||||
document.getElementById("recording-content").innerHTML = tmpltxt(recording);//数据渲染
|
document.getElementById("recording-content").innerHTML = tmpltxt(recording);//数据渲染
|
||||||
|
}else {
|
||||||
|
$("#recording-content").empty();
|
||||||
}
|
}
|
||||||
}else {
|
}else {
|
||||||
$("#recording-box").css('display','none');
|
$("#recording-box").css('display','none');
|
||||||
@ -2597,7 +2599,8 @@ if ($act == 'newevent') {
|
|||||||
$("#upfujian_cp").hide();
|
$("#upfujian_cp").hide();
|
||||||
$("#upfujian_yf").hide();
|
$("#upfujian_yf").hide();
|
||||||
$("#popup-bg").hide();
|
$("#popup-bg").hide();
|
||||||
$('body,html').css('overflow', 'auto')
|
$('body,html').css('overflow', 'auto');
|
||||||
|
location.reload();
|
||||||
}
|
}
|
||||||
|
|
||||||
// $("#yiny").click(function () {
|
// $("#yiny").click(function () {
|
||||||
|
Loading…
Reference in New Issue
Block a user