修改已完成的周指标可以继续上传

This commit is contained in:
liuwu 2023-11-03 11:13:30 +08:00
parent 38af3eb6b8
commit 4af2ed5d25
1 changed files with 5 additions and 0 deletions

View File

@ -226,6 +226,11 @@
}else if (row.status === '3'){
actions.push('<a class="btn btn-danger btn-xs" href="javascript:void(0)">已驳回</a> ');
actions.push('<a data-type="edit" data-id="'+row.id+'" data-header="'+row.header+'" data-shotname="'+row.shotName+'" data-deptname="'+row.deptName+'" data-files="'+row.files+'" class="viewFiles912 btn btn-primary btn-xs ' + editFlag + '" href="javascript:void(0)"><i class="fa fa-picture-o"></i>重新上传附件</a> ');
}else if (row.status === '4'){
actions.push(('<a class="btn btn-default btn-xs" href="javascript:void(0)">已完成'+row.updateTime.substr(0,10)+'</a> '));
actions.push('<a data-type="view" data-id="'+row.id+'" data-header="'+row.header+'" data-shotname="'+row.shotName+'" data-deptname="'+row.deptName+'" data-files="'+row.files+'" class="viewFiles912 btn btn-default btn-xs ' + editFlag + '" href="javascript:void(0)"><i class="fa fa-picture-o"></i>查看附件</a> ');
actions.push('<a data-type="edit" data-id="'+row.id+'" data-header="'+row.header+'" data-shotname="'+row.shotName+'" data-deptname="'+row.deptName+'" data-files="'+row.files+'" class="viewFiles912 btn btn-primary btn-xs ' + editFlag + '" href="javascript:void(0)"><i class="fa fa-picture-o"></i>继续上传</a> ');
}
return actions.join('');
}