|
@@ -9,21 +9,33 @@
|
|
|
<div class="c-body">
|
|
|
<ul class="list-unstyled m-0">
|
|
|
<% for (const t of auditTenders) { %>
|
|
|
+ <% if (t.ledger_status === acLedger.status.checking) { %>
|
|
|
<li class="media">
|
|
|
<img class="mr-3" src="public/images/avatar.png">
|
|
|
<div class="media-body">
|
|
|
<span class="pull-right text-muted"><%- t.begin_time.toLocaleString() %></span>
|
|
|
- <h5 class="mt-0"><%- ctx.session.sessionUser.name %><small class="ml-3 text-muted"><%- t.role %></small></h5>
|
|
|
+ <h5 class="mt-0"><%- ctx.session.sessionUser.name %><small class="ml-3 text-muted"><%- role %></small></h5>
|
|
|
<p><a href="/tender/<%- t.id %>"><%- t.name %></a> 台帐 需要您 <a href="/tender/<%- t.id %>/ledger/audit">审批</a>。</p>
|
|
|
</div>
|
|
|
</li>
|
|
|
+ <% } else { %>
|
|
|
+ <li class="media">
|
|
|
+ <img class="mr-3" src="public/images/avatar.png">
|
|
|
+ <div class="media-body">
|
|
|
+ <span class="pull-right text-muted"><%- t.end_time.toLocaleString() %></span>
|
|
|
+ <h5 class="mt-0"><%- ctx.session.sessionUser.name %><small class="ml-3 text-muted"><%- role %></small></h5>
|
|
|
+ <p><a href="/tender/<%- t.id %>"><%- t.name %></a> 台帐 需要您 <a href="/tender/<%- t.id %>/ledger/explode">重新上报</a>。</p>
|
|
|
+ </div>
|
|
|
+ </li>
|
|
|
+ <% } %>
|
|
|
<% } %>
|
|
|
<% for (const audit of auditStages) { %>
|
|
|
+ <% if (audit.sstatus !== acStage.status.checkNo) { %>
|
|
|
<li class="media">
|
|
|
<img class="mr-3" src="public/images/avatar.png">
|
|
|
<div class="media-body">
|
|
|
<span class="pull-right text-muted"><%- audit.begin_time.toLocaleString() %></span>
|
|
|
- <h5 class="mt-0"><%- ctx.session.sessionUser.name %><small class="ml-3 text-muted"><%- audit.role %></small></h5>
|
|
|
+ <h5 class="mt-0"><%- ctx.session.sessionUser.name %><small class="ml-3 text-muted"><%- role %></small></h5>
|
|
|
<p><a href="/tender/<%- audit.tid %>"><%- audit.name %></a>
|
|
|
第<%- audit.sorder %>期 <% if (audit.sstatus === acStage.status.checkNoPre) { %><span style="color: indianred">被退回</span> <% } %> 需要您
|
|
|
<a href="/tender/<%- audit.tid %>/measure/stage/<%- audit.sorder %>">
|
|
@@ -32,13 +44,28 @@
|
|
|
</p>
|
|
|
</div>
|
|
|
</li>
|
|
|
+ <% } else { %>
|
|
|
+ <li class="media">
|
|
|
+ <img class="mr-3" src="public/images/avatar.png">
|
|
|
+ <div class="media-body">
|
|
|
+ <span class="pull-right text-muted"><%- audit.end_time.toLocaleString() %></span>
|
|
|
+ <h5 class="mt-0"><%- ctx.session.sessionUser.name %><small class="ml-3 text-muted"><%- role %></small></h5>
|
|
|
+ <p><a href="/tender/<%- audit.tid %>"><%- audit.name %></a>
|
|
|
+ 第<%- audit.sorder %>期 <% if (audit.sstatus === acStage.status.checkNoPre) { %><span style="color: indianred">被退回</span> <% } %> 需要您
|
|
|
+ <a href="/tender/<%- audit.tid %>/measure/stage/<%- audit.sorder %>">
|
|
|
+ 重新上报
|
|
|
+ </a>。
|
|
|
+ </p>
|
|
|
+ </div>
|
|
|
+ </li>
|
|
|
+ <% } %>
|
|
|
<% } %>
|
|
|
<% for (const change of auditChanges) { %>
|
|
|
<li class="media">
|
|
|
<img class="mr-3" src="public/images/avatar.png">
|
|
|
<div class="media-body">
|
|
|
<span class="pull-right text-muted"><%- (change.sin_time ? change.sin_time.toLocaleString() : '') %></span>
|
|
|
- <h5 class="mt-0"><%- change.caname %><small class="ml-3 text-muted"><%- change.pre.role %></small></h5>
|
|
|
+ <h5 class="mt-0"><%- change.caname %><small class="ml-3 text-muted"><%- role %></small></h5>
|
|
|
<p>
|
|
|
<a href="/tender/<%- change.tid %>"><%- change.name %></a>
|
|
|
变更令 <%- change.ccode %>
|