前端
This commit is contained in:
parent
7b3962308b
commit
8a8d73f01e
@ -1044,7 +1044,7 @@ if ($act == 'newevent') {
|
||||
.recording—title img { width: 20px; margin-right: 6px; }
|
||||
.recording—title span{ font-size: 12px; color:#686868; }
|
||||
.recording—name { float: right; }
|
||||
/* .recording—con-box { margin-top: 16px; } */
|
||||
.recording—con-box2 { padding: 20px 14px; }
|
||||
.yanqi { position: absolute; top:0; right:0;}
|
||||
.recording-dot-box { margin-top: 0px; padding: 14px; border-bottom: 1px solid #f2f2f2;}
|
||||
.recording-img { width: 16px; margin-top: 6px; cursor:pointer}
|
||||
@ -2457,6 +2457,7 @@ if ($act == 'newevent') {
|
||||
// console.log(res.chanpin_remark)
|
||||
if(res.event == '打包' || res.event=="版本更新"){//延期记录只有打包和更新才有
|
||||
console.log(8888)
|
||||
$("#recording-content").removeClass('recording—con-box2');
|
||||
if(res.yanqi_history != null){
|
||||
var recording = JSON.parse(res.yanqi_history);
|
||||
for(let i in recording){
|
||||
@ -2472,11 +2473,13 @@ if ($act == 'newevent') {
|
||||
recording[i]['timetype'] = "延期";
|
||||
}
|
||||
}
|
||||
console.log(recording)
|
||||
// console.log(recording)
|
||||
tmpltxt = doT.template(document.getElementById("recording-dot").innerHTML);//生成模板方法
|
||||
document.getElementById("recording-content").innerHTML = tmpltxt(recording);//数据渲染
|
||||
}else {
|
||||
$("#recording-content").empty();
|
||||
$("#recording-content").addClass('recording—con-box2');
|
||||
$("#recording-content").html('无调整,项目正常推进中');
|
||||
}
|
||||
}else {
|
||||
$("#recording-box").css('display','none');
|
||||
|
Loading…
Reference in New Issue
Block a user