前端
This commit is contained in:
parent
46146961e6
commit
93f15ef07f
@ -1039,6 +1039,7 @@ if ($act == 'newevent') {
|
|||||||
}
|
}
|
||||||
.recording-box { margin: 10px 20px 0 20px; color:#626262; font-size: 12px; }
|
.recording-box { margin: 10px 20px 0 20px; color:#626262; font-size: 12px; }
|
||||||
.recording—title { font-size: 16px; color:#686868; }
|
.recording—title { font-size: 16px; color:#686868; }
|
||||||
|
.recording—title span{ font-size: 12px; color:#686868; }
|
||||||
.recording—name { float: right; }
|
.recording—name { float: right; }
|
||||||
.recording—con-box { margin-top: -16px; padding-bottom: 50px; }
|
.recording—con-box { margin-top: -16px; padding-bottom: 50px; }
|
||||||
.yanqi { position: absolute; top:0; right:0;}
|
.yanqi { position: absolute; top:0; right:0;}
|
||||||
@ -1157,7 +1158,7 @@ if ($act == 'newevent') {
|
|||||||
|
|
||||||
<!-- 延期原因 -->
|
<!-- 延期原因 -->
|
||||||
<div class='recording-box' id="recording-box">
|
<div class='recording-box' id="recording-box">
|
||||||
<div class='recording—title'>延迟记录</div>
|
<div class='recording—title'>延迟记录 <span>(双击记录可更改)</span> </div>
|
||||||
<div class="recording—con-box" id="recording-content">
|
<div class="recording—con-box" id="recording-content">
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
@ -1236,8 +1237,10 @@ if ($act == 'newevent') {
|
|||||||
{{~it:item:index}}
|
{{~it:item:index}}
|
||||||
<div style="margin-top: 32px;">
|
<div style="margin-top: 32px;">
|
||||||
<p><span style='font-weight: bold;'>《{{= item.project}}》</span>项目{{=item.type}}从<span style='color:#77da80'>{{=item.date1}}</span>日{{=item.timetype}}到<span style='color:#ff7f7f'>{{=item.date2}}</span>日</p>
|
<p><span style='font-weight: bold;'>《{{= item.project}}》</span>项目{{=item.type}}从<span style='color:#77da80'>{{=item.date1}}</span>日{{=item.timetype}}到<span style='color:#ff7f7f'>{{=item.date2}}</span>日</p>
|
||||||
<p style='margin-top: 6px;'>调整理由为:{{=item.reason}}</p>
|
<div style='margin-top: 6px;'> 调整理由为:{{=item.reason}}</div>
|
||||||
<P class='recording—name' style='margin-top: 6px;'>调整人:{{=item.user}}</p>
|
<P class='recording—name' style='margin-top: 6px;'>调整人:{{=item.user}}</p>
|
||||||
|
<img src='./assets/images/dian.png' onclick='recordingdel({{=index}})' style='cursor:pointer'>
|
||||||
|
<img src='./assets/images/dian.png'>
|
||||||
</div>
|
</div>
|
||||||
{{~}}
|
{{~}}
|
||||||
</script>
|
</script>
|
||||||
@ -1272,6 +1275,30 @@ if ($act == 'newevent') {
|
|||||||
datechoice();
|
datechoice();
|
||||||
})
|
})
|
||||||
|
|
||||||
|
function recordingdel(idx){
|
||||||
|
if ("<?=$canEdit?>" != "1" && "<?=$issxarole?>" != "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() {
|
function datechoice() {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user