| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101 | 
							- <div class="panel-content">
 
-     <div class="panel-title fluid">
 
-         <div class="title-main d-flex justify-content-between">
 
-             <div class="col-4 pl-0">
 
-                 <div class="d-inline-block"><a href="/construction" class="mr-2"><i class="fa fa-chevron-left mr-2"></i><span>返回</span></a><%- (ctx.constructionTender.name.length > 20 ? ctx.constructionTender.name.substring(0,20) + '...' : ctx.constructionTender.name) %></div>
 
-             </div>
 
-             <div class="col-3">
 
-                 <div class="d-inline-block mr-2">
 
-                     <span>日志状态:</span>
 
-                     <div class="btn-group pl-0">
 
-                         <button type="button" class="btn btn-sm btn-light text-primary dropdown-toggle pl-0" data-toggle="dropdown"
 
-                                 id="curReportStatus" data-status="<%- curStatus ? curStatus.status : 0 %>"><% if (curStatus) { %><%- curStatus.statusName %> (<%- curStatus.num %>)<% } else { %>全部<% } %></button>
 
-                         <div class="dropdown-menu" aria-labelledby="zhankai">
 
-                             <% if (curStatus) { %>
 
-                             <a class="dropdown-item to-log-link" href="javascript:void(0);" data-status="0">全部</a>
 
-                             <% } %>
 
-                             <% for (const s of statusList) { %>
 
-                             <% if (!curStatus || (curStatus && curStatus.status !== s.status)) { %>
 
-                             <a class="dropdown-item to-log-link" href="javascript:void(0);" data-status="<%- s.status %>"><%- s.statusName %> (<%- s.num %>)</a>
 
-                             <% } %>
 
-                             <% } %>
 
-                         </div>
 
-                     </div>
 
-                 </div>
 
-                 <div class="d-inline-block mr-2">
 
-                     <span>填报人:</span>
 
-                     <div class="btn-group">
 
-                         <button type="button" class="btn btn-sm btn-light text-primary dropdown-toggle pl-0" data-toggle="dropdown"
 
-                                 id="curReportUid" data-uid="<%- curReportUser ? curReportUser.uid : 0 %>"><% if (curReportUser) { %><%- curReportUser.user_name %><% } else { %>全部<% } %></button>
 
-                         <div class="dropdown-menu" aria-labelledby="zhankai">
 
-                             <% if (curReportUser) { %>
 
-                             <a class="dropdown-item to-log-link2" href="javascript:void(0);" data-uid="0">全部</a>
 
-                             <% } %>
 
-                             <% for (const ru of reportUserList) { %>
 
-                             <% if (!curReportUser || (curReportUser && curReportUser.uid !== ru.uid)) { %>
 
-                             <a class="dropdown-item to-log-link2" href="javascript:void(0);" data-uid="<%- ru.uid %>"><%- ru.user_name %></a>
 
-                             <% } %>
 
-                             <% } %>
 
-                         </div>
 
-                     </div>
 
-                 </div>
 
-             </div>
 
-             <div class="ml-auto">
 
-                 <% if (reportFlag) { %>
 
-                 <a href="#add-log" data-toggle="modal" data-target="#add-log" class="btn btn-sm btn-primary pull-right">新建日志</a>
 
-                 <a href="#batch-commit" data-toggle="modal" data-target="#batch-commit" class="btn btn-sm btn-primary pull-right mr-2">批量提交</a>
 
-                 <% } %>
 
-             </div>
 
-         </div>
 
-     </div>
 
-     <div class="content-wrap">
 
-         <div class="c-body">
 
-             <div class="sjs-height-0">
 
-                 <table class="table table-bordered">
 
-                     <thead class="text-center">
 
-                     <tr>
 
-                         <th width="10%">日志编号</th>
 
-                         <th width="20%">创建时间</th>
 
-                         <th width="20%">时间/周期</th>
 
-                         <th width="10%">日志类型</th>
 
-                         <th width="10%">填报人</th>
 
-                         <th width="10%">审签人</th>
 
-                         <th width="10%">日志状态</th>
 
-                         <th width="10%">操作</th>
 
-                     </tr>
 
-                     </thead>
 
-                     <tbody class="text-center">
 
-                     <% for (const log of logList) { %>
 
-                     <tr>
 
-                         <td><a href="/construction/<%- ctx.constructionTender.id %>/log/<%- log.id %>"><%- log.code %></a></td>
 
-                         <td><%- moment(log.create_time).format('YYYY-MM-DD') %></td>
 
-                         <td><%- log.period %></td>
 
-                         <td><%- constructionConst.type[log.type] %></td>
 
-                         <td><%- log.report_username %></td>
 
-                         <td><%- log.shenpi_username %></td>
 
-                         <td><span class="<%- constructionConst.statusClass[log.status] %>"><%- constructionConst.statusString[log.status] %></span></td>
 
-                         <td>
 
-                             <% if (ctx.session.sessionUser.accountId === log.shenpi_uid && log.status === constructionConst.status.checking) { %>
 
-                                 <a href="/construction/<%- ctx.constructionTender.id %>/log/<%- log.id %>" class="btn btn-success btn-sm">审签</a>
 
-                             <% } %>
 
-                             <% if (ctx.session.sessionUser.accountId === log.report_uid && log.status === constructionConst.status.uncheck) { %>
 
-                                     <a href="/construction/<%- ctx.constructionTender.id %>/log/<%- log.id %>" class="btn btn-primary btn-sm">提交</a>
 
-                             <a href="#del-bg" data-toggle="modal" data-target="#del-bg" data-id="<%- log.id %>" class="btn btn-outline-danger btn-sm delete-log-a">删除</a>
 
-                             <% } %>
 
-                         </td>
 
-                     </tr>
 
-                     <% } %>
 
-                     </tbody>
 
-                 </table>
 
-                 <% include ../layout/page.ejs %>
 
-             </div>
 
-         </div>
 
-     </div>
 
- </div>
 
- <script>
 
-     const tender_id = <%- ctx.constructionTender.id %>;
 
-     const reportFlag = <%- reportFlag %>;
 
-     <% if (reportFlag) { %>
 
-     const dateCodeList = JSON.parse(unescape('<%- escape(JSON.stringify(dateCodeList)) %>'));
 
-     <% } %>
 
- </script>
 
 
  |