|
@@ -147,16 +147,16 @@
|
|
|
<div class="card mt-3">
|
|
|
<ul class="list-group list-group-flush">
|
|
|
<li class="list-group-item">
|
|
|
- <i class="fa fa fa-play-circle fa-rotate-90"></i> <%- user.name %> <small class="text-muted"><%- user.role %></small>
|
|
|
+ <i class="fa fa fa-play-circle fa-rotate-90"></i> <%- user.name %> <small class="text-muted"><%- user.role %></small><span class="pull-right">原报</span>
|
|
|
</li>
|
|
|
</ul>
|
|
|
<ul class="list-group list-group-flush" id="auditors-list">
|
|
|
<% for (let i = 0; i < auditorList.length; i++) { %>
|
|
|
<li class="list-group-item" data-auditid="<%- auditorList[i].audit_id %>">
|
|
|
<% if (i < auditorList.length - 1) { %>
|
|
|
- <i class="fa fa-chevron-circle-down"></i> <%- auditorList[i].name %> <small class="text-muted"><%- auditorList[i].role %></small>
|
|
|
+ <i class="fa fa-chevron-circle-down"></i> <%- auditorList[i].name %> <small class="text-muted"><%- auditorList[i].role %></small><span class="pull-right"><%= ctx.helper.transFormToChinese(i+1)%>审</span>
|
|
|
<% } else {%>
|
|
|
- <i class="fa fa fa-stop-circle"></i> <%- auditorList[i].name %> <small class="text-muted"><%- auditorList[i].role %></small>
|
|
|
+ <i class="fa fa fa-stop-circle"></i> <%- auditorList[i].name %> <small class="text-muted"><%- auditorList[i].role %></small><span class="pull-right">终审</span>
|
|
|
<% } %>
|
|
|
</li>
|
|
|
<% } %>
|
|
@@ -170,41 +170,47 @@
|
|
|
<% for (let iA = 0; iA < ah.length; iA++) { %>
|
|
|
<% if (iA === 0) { %>
|
|
|
<li class="list-group-item">
|
|
|
- <span class="text-success pull-right"><% if (auditHistory.indexOf(ah) > 0) { %>重新<% } %>上报</span>
|
|
|
- <h5 class="card-title"><i class="fa fa-play-circle fa-rotate-90 text-success"></i> <%- user.name %> <small class="text-muted"><%- user.role %></small></h5>
|
|
|
- <p class="card-text"><small class="text-muted"><%- ah[iA].begin_time.toLocaleDateString() %></small></p>
|
|
|
+ <h5 class="card-title">
|
|
|
+ <i class="fa fa-play-circle fa-rotate-90 text-success"></i> <%- user.name %> <small class="text-muted"><%- user.role %></small><span class="pull-right">原报</span>
|
|
|
+ </h5>
|
|
|
+ <div class="ml-3">
|
|
|
+ <span class="text-success"><small><%- ah[iA].begin_time.toLocaleDateString() %></small> <% if (auditHistory.indexOf(ah) > 0) { %>重新<% } %>上报</span>
|
|
|
+ </div>
|
|
|
</li>
|
|
|
<li class="list-group-item">
|
|
|
- <% if (ah[iA].status !== auditConst.status.uncheck) { %>
|
|
|
- <span class="<%- auditConst.statusClass[ah[iA].status] %> pull-right"><%- auditConst.statusString[ah[iA].status]%><% if (ah[iA].status === auditConst.status.checkNo) { %> <%- user.name %><% } %></span>
|
|
|
- <% } %>
|
|
|
- <h5 class="card-title"><i class="fa fa-chevron-circle-down <%- auditConst.statusClass[ah[iA].status] %>"></i> <%- ah[iA].name %> <small class="text-muted"><%- ah[iA].role %></small></h5>
|
|
|
- <% if (ah[iA].status === auditConst.status.checked || ah[iA].status === auditConst.status.checkNo) { %>
|
|
|
- <p class="card-text mb-1"><%- ah[iA].opinion %></p>
|
|
|
- <p class="card-text"><small class="text-muted"><%- ah[iA].end_time.toLocaleDateString() %></small></p>
|
|
|
- <% } %>
|
|
|
+ <h5 class="card-title">
|
|
|
+ <i class="fa <%if (iA === ah.length - 1) { %>fa-stop-circle<% } else { %>fa-chevron-circle-down<% } %> <%- auditConst.statusClass[ah[iA].status] %>"></i> <%- ah[iA].name %> <small class="text-muted"><%- ah[iA].role %></small><span class="pull-right"><%= ah[iA].sort === ah[iA].max_sort ? '终' : ctx.helper.transFormToChinese(ah[iA].sort) %>审</span>
|
|
|
+ </h5>
|
|
|
+ <div class="ml-3">
|
|
|
+ <% if (ah[iA].status !== auditConst.status.uncheck) { %>
|
|
|
+ <span class="<%- auditConst.statusClass[ah[iA].status] %>"><% if (ah[iA].status === auditConst.status.checked || ah[iA].status === auditConst.status.checkNo) { %><small><%- ah[iA].end_time.toLocaleDateString() %></small> <% } %><%- auditConst.statusString[ah[iA].status]%><% if (ah[iA].status === auditConst.status.checkNo) { %> <%- user.name %><% } %></span>
|
|
|
+ <% } %>
|
|
|
+ <p class="card-text"><%- ah[iA].opinion %></p>
|
|
|
+ </div>
|
|
|
</li>
|
|
|
<% } else if (iA === ah.length - 1) { %>
|
|
|
<li class="list-group-item">
|
|
|
- <% if (ah[iA].status !== auditConst.status.uncheck) { %>
|
|
|
- <span class="<%- auditConst.statusClass[ah[iA].status] %> pull-right"><%- auditConst.statusString[ah[iA].status]%><% if (ah[iA].status === auditConst.status.checkNo) { %> <%- user.name %><% } %></span>
|
|
|
- <% } %>
|
|
|
- <h5 class="card-title"><i class="fa fa-stop-circle <%- auditConst.statusClass[ah[iA].status] %>"></i> <%- ah[iA].name %> <small class="text-muted"><%- ah[iA].role %></small></h5>
|
|
|
- <% if (ah[iA].status === auditConst.status.checked || ah[iA].status === auditConst.status.checkNo) { %>
|
|
|
- <p class="card-text mb-1"><%- ah[iA].opinion %></p>
|
|
|
- <p class="card-text"><small class="text-muted"><%- ah[iA].end_time.toLocaleDateString() %></small></p>
|
|
|
- <% } %>
|
|
|
+ <h5 class="card-title">
|
|
|
+ <i class="fa fa-stop-circle <%- auditConst.statusClass[ah[iA].status] %>"></i> <%- ah[iA].name %> <small class="text-muted"><%- ah[iA].role %></small><span class="pull-right">终审</span>
|
|
|
+ </h5>
|
|
|
+ <div class="ml-3">
|
|
|
+ <% if (ah[iA].status !== auditConst.status.uncheck) { %>
|
|
|
+ <span class="<%- auditConst.statusClass[ah[iA].status] %>"><% if (ah[iA].status === auditConst.status.checked || ah[iA].status === auditConst.status.checkNo) { %><small><%- ah[iA].end_time.toLocaleDateString() %></small> <% } %><%- auditConst.statusString[ah[iA].status]%><% if (ah[iA].status === auditConst.status.checkNo) { %> <%- user.name %><% } %></span>
|
|
|
+ <% } %>
|
|
|
+ <p class="card-text"><%- ah[iA].opinion %></p>
|
|
|
+ </div>
|
|
|
</li>
|
|
|
<% } else { %>
|
|
|
<li class="list-group-item">
|
|
|
- <% if (ah[iA].status !== auditConst.status.uncheck) { %>
|
|
|
- <span class="<%- auditConst.statusClass[ah[iA].status] %> pull-right"><%- auditConst.statusString[ah[iA].status]%><% if (ah[iA].status === auditConst.status.checkNo) { %> <%- user.name %><% } %></span>
|
|
|
- <% } %>
|
|
|
- <h5 class="card-title"><i class="fa fa-chevron-circle-down <%- auditConst.statusClass[ah[iA].status] %>"></i> <%- ah[iA].name %> <small class="text-muted"><%- ah[iA].role %></small></h5>
|
|
|
- <% if (ah[iA].status === auditConst.status.checked || ah[iA].status === auditConst.status.checkNo) { %>
|
|
|
- <p class="card-text mb-1"><%- ah[iA].opinion %></p>
|
|
|
- <p class="card-text"><small class="text-muted"><%- ah[iA].end_time.toLocaleDateString() %></small></p>
|
|
|
- <% } %>
|
|
|
+ <h5 class="card-title">
|
|
|
+ <i class="fa fa-chevron-circle-down <%- auditConst.statusClass[ah[iA].status] %>"></i> <%- ah[iA].name %> <small class="text-muted"><%- ah[iA].role %></small><span class="pull-right"><%= ah[iA].sort === ah[iA].max_sort ? '终' : ctx.helper.transFormToChinese(ah[iA].sort) %>审</span>
|
|
|
+ </h5>
|
|
|
+ <div class="ml-3">
|
|
|
+ <% if (ah[iA].status !== auditConst.status.uncheck) { %>
|
|
|
+ <span class="<%- auditConst.statusClass[ah[iA].status] %>"><% if (ah[iA].status === auditConst.status.checked || ah[iA].status === auditConst.status.checkNo) { %><small><%- ah[iA].end_time.toLocaleDateString() %></small> <% } %><%- auditConst.statusString[ah[iA].status]%><% if (ah[iA].status === auditConst.status.checkNo) { %> <%- user.name %><% } %></span>
|
|
|
+ <% } %>
|
|
|
+ <p class="card-text"><%- ah[iA].opinion %></p>
|
|
|
+ </div>
|
|
|
</li>
|
|
|
<% } %>
|
|
|
<% } %>
|
|
@@ -215,20 +221,27 @@
|
|
|
<div class="card mt-3">
|
|
|
<ul class="list-group list-group-flush">
|
|
|
<li class="list-group-item">
|
|
|
- <span class="pull-right">重新上报中</span>
|
|
|
- <h5 class="card-title"><i class="fa fa-play-circle fa-rotate-90"></i> <%- user.name %> <small class="text-muted"><%- user.role %></small></h5>
|
|
|
- <p class="card-text"><small class="text-muted"></small></p>
|
|
|
+ <h5 class="card-title">
|
|
|
+ <i class="fa fa-play-circle fa-rotate-90"></i> <%- user.name %> <small class="text-muted"><%- user.role %></small><span class="pull-right">原报</span>
|
|
|
+ </h5>
|
|
|
+ <div class="ml-3">
|
|
|
+ <span>重新上报中</span>
|
|
|
+ </div>
|
|
|
</li>
|
|
|
</ul>
|
|
|
<ul class="list-group list-group-flush" id="auditors-list2">
|
|
|
<% for (let iA = 0; iA < auditorList.length; iA++) { %>
|
|
|
<% if (iA === auditorList.length - 1) { %>
|
|
|
<li class="list-group-item" data-auditid="<%- auditorList[iA].audit_id %>">
|
|
|
- <h5 class="card-title"><i class="fa fa-stop-circle"></i> <%- auditorList[iA].name %> <small class="text-muted"><%- auditorList[iA].role %></small></h5>
|
|
|
+ <h5 class="card-title">
|
|
|
+ <i class="fa fa-stop-circle"></i> <%- auditorList[iA].name %> <small class="text-muted"><%- auditorList[iA].role %></small><span class="pull-right">终审</span>
|
|
|
+ </h5>
|
|
|
</li>
|
|
|
<% } else { %>
|
|
|
<li class="list-group-item" data-auditid="<%- auditorList[iA].audit_id %>">
|
|
|
- <h5 class="card-title"><i class="fa fa-chevron-circle-down"></i> <%- auditorList[iA].name %> <small class="text-muted"><%- auditorList[iA].role %></small></h5>
|
|
|
+ <h5 class="card-title">
|
|
|
+ <i class="fa fa-chevron-circle-down"></i> <%- auditorList[iA].name %> <small class="text-muted"><%- auditorList[iA].role %></small><span class="pull-right"><%= ctx.helper.transFormToChinese(iA+1) %>审</span>
|
|
|
+ </h5>
|
|
|
</li>
|
|
|
<% } %>
|
|
|
<% } %>
|
|
@@ -261,14 +274,14 @@
|
|
|
<div class="card mt-3">
|
|
|
<ul class="list-group list-group-flush">
|
|
|
<li class="list-group-item">
|
|
|
- <i class="fa fa fa-play-circle fa-rotate-90"></i> <%- user.name %> <small class="text-muted"><%- user.role %></small>
|
|
|
+ <i class="fa fa fa-play-circle fa-rotate-90"></i> <%- user.name %> <small class="text-muted"><%- user.role %></small><span class="pull-right">原报</span>
|
|
|
</li>
|
|
|
<% for (let i = 0; i < auditors.length; i++) { %>
|
|
|
<li class="list-group-item">
|
|
|
<% if (i < auditors.length - 1) { %>
|
|
|
- <i class="fa fa-chevron-circle-down"></i> <%- auditors[i].name %> <small class="text-muted"><%- auditors[i].role %></small>
|
|
|
+ <i class="fa fa-chevron-circle-down"></i> <%- auditors[i].name %> <small class="text-muted"><%- auditors[i].role %></small><span class="pull-right"><%= ctx.helper.transFormToChinese(i+1) %>审</span>
|
|
|
<% } else {%>
|
|
|
- <i class="fa fa fa-stop-circle"></i> <%- auditors[i].name %> <small class="text-muted"><%- auditors[i].role %></small>
|
|
|
+ <i class="fa fa fa-stop-circle"></i> <%- auditors[i].name %> <small class="text-muted"><%- auditors[i].role %></small><span class="pull-right">终审</span>
|
|
|
<% } %>
|
|
|
</li>
|
|
|
<% } %>
|
|
@@ -280,45 +293,51 @@
|
|
|
<div class="card mt-3">
|
|
|
<ul class="list-group list-group-flush">
|
|
|
<% for (let iA = 0; iA < ah.length; iA++) { %>
|
|
|
- <% if (iA === 0) { %>
|
|
|
- <li class="list-group-item">
|
|
|
- <span class="text-success pull-right"><% if (auditHistory.indexOf(ah) > 0) { %>重新<% } %>上报</span>
|
|
|
- <h5 class="card-title"><i class="fa fa-play-circle fa-rotate-90 text-success"></i> <%- user.name %> <small class="text-muted"><%- user.role %></small></h5>
|
|
|
- <p class="card-text"><small class="text-muted"><%- ah[iA].begin_time.toLocaleDateString() %></small></p>
|
|
|
- </li>
|
|
|
- <li class="list-group-item">
|
|
|
- <% if (ah[iA].status !== auditConst.status.uncheck) { %>
|
|
|
- <span class="<%- auditConst.statusClass[ah[iA].status] %> pull-right"><%- auditConst.statusString[ah[iA].status]%><% if (ah[iA].status === auditConst.status.checkNo) { %> <%- user.name %><% } %></span>
|
|
|
- <% } %>
|
|
|
- <h5 class="card-title"><i class="fa fa-chevron-circle-down <%- auditConst.statusClass[ah[iA].status] %>"></i> <%- ah[iA].name %> <small class="text-muted"><%- ah[iA].role %></small></h5>
|
|
|
- <% if (ah[iA].status === auditConst.status.checked || ah[iA].status === auditConst.status.checkNo) { %>
|
|
|
- <p class="card-text mb-1"><%- ah[iA].opinion %></p>
|
|
|
- <p class="card-text"><small class="text-muted"><%- ah[iA].end_time.toLocaleDateString() %></small></p>
|
|
|
- <% } %>
|
|
|
- </li>
|
|
|
- <% } else if (iA === ah.length - 1) { %>
|
|
|
- <li class="list-group-item">
|
|
|
- <% if (ah[iA].status !== auditConst.status.uncheck) { %>
|
|
|
- <span class="<%- auditConst.statusClass[ah[iA].status] %> pull-right"><%- auditConst.statusString[ah[iA].status]%><% if (ah[iA].status === auditConst.status.checkNo) { %> <%- user.name %><% } %></span>
|
|
|
- <% } %>
|
|
|
- <h5 class="card-title"><i class="fa fa-stop-circle <%- auditConst.statusClass[ah[iA].status] %>"></i> <%- ah[iA].name %> <small class="text-muted"><%- ah[iA].role %></small></h5>
|
|
|
- <% if (ah[iA].status === auditConst.status.checked || ah[iA].status === auditConst.status.checkNo) { %>
|
|
|
- <p class="card-text mb-1"><%- ah[iA].opinion %></p>
|
|
|
- <p class="card-text"><small class="text-muted"><%- ah[iA].end_time.toLocaleDateString() %></small></p>
|
|
|
- <% } %>
|
|
|
- </li>
|
|
|
- <% } else { %>
|
|
|
- <li class="list-group-item">
|
|
|
- <% if (ah[iA].status !== auditConst.status.uncheck) { %>
|
|
|
- <span class="<%- auditConst.statusClass[ah[iA].status] %> pull-right"><%- auditConst.statusString[ah[iA].status]%><% if (ah[iA].status === auditConst.status.checkNo) { %> <%- user.name %><% } %></span>
|
|
|
- <% } %>
|
|
|
- <h5 class="card-title"><i class="fa fa-chevron-circle-down <%- auditConst.statusClass[ah[iA].status] %>"></i> <%- ah[iA].name %> <small class="text-muted"><%- ah[iA].role %></small></h5>
|
|
|
- <% if (ah[iA].status === auditConst.status.checked || ah[iA].status === auditConst.status.checkNo) { %>
|
|
|
- <p class="card-text mb-1"><%- ah[iA].opinion %></p>
|
|
|
- <p class="card-text"><small class="text-muted"><%- ah[iA].end_time.toLocaleDateString() %></small></p>
|
|
|
+ <% if (iA === 0) { %>
|
|
|
+ <li class="list-group-item">
|
|
|
+ <h5 class="card-title">
|
|
|
+ <i class="fa fa-play-circle fa-rotate-90 text-success"></i> <%- user.name %> <small class="text-muted"><%- user.role %></small><span class="pull-right">原报</span>
|
|
|
+ </h5>
|
|
|
+ <div class="ml-3">
|
|
|
+ <span class="text-success"><small><%- ah[iA].begin_time.toLocaleDateString() %></small> <% if (auditHistory.indexOf(ah) > 0) { %>重新<% } %>上报</span>
|
|
|
+ </div>
|
|
|
+ </li>
|
|
|
+ <li class="list-group-item">
|
|
|
+ <h5 class="card-title">
|
|
|
+ <i class="fa <%if (iA === ah.length - 1) { %>fa-stop-circle<% } else { %>fa-chevron-circle-down<% } %> <%- auditConst.statusClass[ah[iA].status] %>"></i> <%- ah[iA].name %> <small class="text-muted"><%- ah[iA].role %></small><span class="pull-right"><%= ah[iA].sort === ah[iA].max_sort ? '终' : ctx.helper.transFormToChinese(ah[iA].sort) %>审</span>
|
|
|
+ </h5>
|
|
|
+ <div class="ml-3">
|
|
|
+ <% if (ah[iA].status !== auditConst.status.uncheck) { %>
|
|
|
+ <span class="<%- auditConst.statusClass[ah[iA].status] %>"><% if (ah[iA].status === auditConst.status.checked || ah[iA].status === auditConst.status.checkNo) { %><small><%- ah[iA].end_time.toLocaleDateString() %></small> <% } %><%- auditConst.statusString[ah[iA].status]%><% if (ah[iA].status === auditConst.status.checkNo) { %> <%- user.name %><% } %></span>
|
|
|
+ <% } %>
|
|
|
+ <p class="card-text"><%- ah[iA].opinion %></p>
|
|
|
+ </div>
|
|
|
+ </li>
|
|
|
+ <% } else if (iA === ah.length - 1) { %>
|
|
|
+ <li class="list-group-item">
|
|
|
+ <h5 class="card-title">
|
|
|
+ <i class="fa fa-stop-circle <%- auditConst.statusClass[ah[iA].status] %>"></i> <%- ah[iA].name %> <small class="text-muted"><%- ah[iA].role %></small><span class="pull-right">终审</span>
|
|
|
+ </h5>
|
|
|
+ <div class="ml-3">
|
|
|
+ <% if (ah[iA].status !== auditConst.status.uncheck) { %>
|
|
|
+ <span class="<%- auditConst.statusClass[ah[iA].status] %>"><% if (ah[iA].status === auditConst.status.checked || ah[iA].status === auditConst.status.checkNo) { %><small><%- ah[iA].end_time.toLocaleDateString() %></small> <% } %><%- auditConst.statusString[ah[iA].status]%><% if (ah[iA].status === auditConst.status.checkNo) { %> <%- user.name %><% } %></span>
|
|
|
+ <% } %>
|
|
|
+ <p class="card-text"><%- ah[iA].opinion %></p>
|
|
|
+ </div>
|
|
|
+ </li>
|
|
|
+ <% } else { %>
|
|
|
+ <li class="list-group-item">
|
|
|
+ <h5 class="card-title">
|
|
|
+ <i class="fa fa-chevron-circle-down <%- auditConst.statusClass[ah[iA].status] %>"></i> <%- ah[iA].name %> <small class="text-muted"><%- ah[iA].role %></small><span class="pull-right"><%= ah[iA].sort === ah[iA].max_sort ? '终' : ctx.helper.transFormToChinese(ah[iA].sort) %>审</span>
|
|
|
+ </h5>
|
|
|
+ <div class="ml-3">
|
|
|
+ <% if (ah[iA].status !== auditConst.status.uncheck) { %>
|
|
|
+ <span class="<%- auditConst.statusClass[ah[iA].status] %>"><% if (ah[iA].status === auditConst.status.checked || ah[iA].status === auditConst.status.checkNo) { %><small><%- ah[iA].end_time.toLocaleDateString() %></small> <% } %><%- auditConst.statusString[ah[iA].status]%><% if (ah[iA].status === auditConst.status.checkNo) { %> <%- user.name %><% } %></span>
|
|
|
+ <% } %>
|
|
|
+ <p class="card-text"><%- ah[iA].opinion %></p>
|
|
|
+ </div>
|
|
|
+ </li>
|
|
|
<% } %>
|
|
|
- </li>
|
|
|
- <% } %>
|
|
|
<% } %>
|
|
|
</ul>
|
|
|
</div>
|
|
@@ -327,45 +346,49 @@
|
|
|
<div class="card mt-3">
|
|
|
<ul class="list-group list-group-flush">
|
|
|
<% for (let iA = 0; iA < auditors.length; iA++) { %>
|
|
|
- <% if (iA === 0) { %>
|
|
|
- <li class="list-group-item">
|
|
|
- <span class="text-success pull-right"><% if (tender.ledger_times > 1) { %>重新<% } %>上报</span>
|
|
|
- <h5 class="card-title"><i class="fa fa-play-circle fa-rotate-90 text-success"></i> <%- user.name %> <small class="text-muted"><%- user.role %></small></h5>
|
|
|
- <p class="card-text"><small class="text-muted"><%- auditors[iA].begin_time.toLocaleDateString() %></small></p>
|
|
|
- </li>
|
|
|
- <li class="list-group-item">
|
|
|
- <% if (auditors[iA].status !== auditConst.status.uncheck) { %>
|
|
|
- <span class="<%- auditConst.statusClass[auditors[iA].status] %> pull-right"><%- auditConst.statusString[auditors[iA].status]%><% if (auditors[iA].status === auditConst.status.checkNo) { %> <%- user.name %><% } %></span>
|
|
|
- <% } %>
|
|
|
- <h5 class="card-title"><i class="fa fa-chevron-circle-down <%- auditConst.statusClass[auditors[iA].status] %>"></i> <%- auditors[iA].name %> <small class="text-muted"><%- auditors[iA].role %></small></h5>
|
|
|
- <% if (auditors[iA].status === auditConst.status.checked || auditors[iA].status === auditConst.status.checkNo) { %>
|
|
|
- <p class="card-text mb-1"><%- auditors[iA].opinion %></p>
|
|
|
- <p class="card-text"><small class="text-muted"><%- auditors[iA].end_time.toLocaleDateString() %></small></p>
|
|
|
- <% } %>
|
|
|
- </li>
|
|
|
- <% } else if (iA === auditors.length - 1) { %>
|
|
|
- <li class="list-group-item">
|
|
|
- <% if (auditors[iA].status !== auditConst.status.uncheck) { %>
|
|
|
- <span class="<%- auditConst.statusClass[auditors[iA].status] %> pull-right"><%- auditConst.statusString[auditors[iA].status]%><% if (auditors[iA].status === auditConst.status.checkNo) { %> <%- user.name %><% } %></span>
|
|
|
- <% } %>
|
|
|
- <h5 class="card-title"><i class="fa fa-stop-circle <%- auditConst.statusClass[auditors[iA].status] %>"></i> <%- auditors[iA].name %> <small class="text-muted"><%- auditors[iA].role %></small></h5>
|
|
|
- <% if (auditors[iA].status === auditConst.status.checked || auditors[iA].status === auditConst.status.checkNo) { %>
|
|
|
- <p class="card-text mb-1"><%- auditors[iA].opinion %></p>
|
|
|
- <p class="card-text"><small class="text-muted"><%- auditors[iA].end_time.toLocaleDateString() %></small></p>
|
|
|
- <% } %>
|
|
|
- </li>
|
|
|
- <% } else { %>
|
|
|
- <li class="list-group-item">
|
|
|
- <% if (auditors[iA].status !== auditConst.status.uncheck) { %>
|
|
|
- <span class="<%- auditConst.statusClass[auditors[iA].status] %> pull-right"><%- auditConst.statusString[auditors[iA].status]%><% if (auditors[iA].status === auditConst.status.checkNo) { %> <%- user.name %><% } %></span>
|
|
|
- <% } %>
|
|
|
- <h5 class="card-title"><i class="fa fa-chevron-circle-down <%- auditConst.statusClass[auditors[iA].status] %>"></i> <%- auditors[iA].name %> <small class="text-muted"><%- auditors[iA].role %></small></h5>
|
|
|
- <% if (auditors[iA].status === auditConst.status.checked || auditors[iA].status === auditConst.status.checkNo) { %>
|
|
|
- <p class="card-text mb-1"><%- auditors[iA].opinion %></p>
|
|
|
- <p class="card-text"><small class="text-muted"><%- auditors[iA].end_time.toLocaleDateString() %></small></p>
|
|
|
+ <% if (iA === 0) { %>
|
|
|
+ <li class="list-group-item">
|
|
|
+ <h5 class="card-title"><i class="fa fa-play-circle fa-rotate-90 text-success"></i> <%- user.name %> <small class="text-muted"><%- user.role %></small><span class="pull-right">原报</span></h5>
|
|
|
+ <div class="ml-3">
|
|
|
+ <span class="text-success"><small><%- auditors[iA].begin_time.toLocaleDateString() %></small> <% if (tender.ledger_times > 1) { %>重新<% } %>上报</span>
|
|
|
+ </div>
|
|
|
+ </li>
|
|
|
+ <li class="list-group-item">
|
|
|
+ <h5 class="card-title">
|
|
|
+ <i class="fa <%if (iA === auditors.length - 1) { %>fa-stop-circle<% } else { %>fa-chevron-circle-down<% } %> <%- auditConst.statusClass[auditors[iA].status] %>"></i> <%- auditors[iA].name %> <small class="text-muted"><%- auditors[iA].role %></small><span class="pull-right"><%- auditors[iA].sort === auditors[iA].max_sort ? '终' : ctx.helper.transFormToChinese(auditors[iA].sort) %>审</span>
|
|
|
+ </h5>
|
|
|
+ <div class="ml-3">
|
|
|
+ <% if (auditors[iA].status !== auditConst.status.uncheck) { %>
|
|
|
+ <span class="<%- auditConst.statusClass[auditors[iA].status] %>"> <% if (auditors[iA].status === auditConst.status.checked || auditors[iA].status === auditConst.status.checkNo) { %><small><%- auditors[iA].end_time.toLocaleDateString() %></small> <% } %><%- auditConst.statusString[auditors[iA].status]%><% if (auditors[iA].status === auditConst.status.checkNo) { %> <%- user.name %><% } %></span>
|
|
|
+ <% } %>
|
|
|
+ <p class="card-text"><%- auditors[iA].opinion %></p>
|
|
|
+ </div>
|
|
|
+ </li>
|
|
|
+ <% } else if (iA === auditors.length - 1) { %>
|
|
|
+ <li class="list-group-item">
|
|
|
+ <h5 class="card-title">
|
|
|
+ <i class="fa fa-stop-circle <%- auditConst.statusClass[auditors[iA].status] %>"></i> <%- auditors[iA].name %> <small class="text-muted"><%- auditors[iA].role %></small><span class="pull-right">终审</span>
|
|
|
+ </h5>
|
|
|
+ <div class="ml-3">
|
|
|
+ <% if (auditors[iA].status !== auditConst.status.uncheck) { %>
|
|
|
+ <span class="<%- auditConst.statusClass[auditors[iA].status] %>"> <% if (auditors[iA].status === auditConst.status.checked || auditors[iA].status === auditConst.status.checkNo) { %><small><%- auditors[iA].end_time.toLocaleDateString() %></small> <% } %><%- auditConst.statusString[auditors[iA].status]%><% if (auditors[iA].status === auditConst.status.checkNo) { %> <%- user.name %><% } %></span>
|
|
|
+ <% } %>
|
|
|
+ <p class="card-text"><%- auditors[iA].opinion %></p>
|
|
|
+ </div>
|
|
|
+ </li>
|
|
|
+ <% } else { %>
|
|
|
+ <li class="list-group-item">
|
|
|
+ <h5 class="card-title">
|
|
|
+ <i class="fa fa-chevron-circle-down <%- auditConst.statusClass[auditors[iA].status] %>"></i> <%- auditors[iA].name %> <small class="text-muted"><%- auditors[iA].role %></small><span class="pull-right"><%- auditors[iA].sort === auditors[iA].max_sort ? '终' : ctx.helper.transFormToChinese(auditors[iA].sort) %>审</span>
|
|
|
+ </h5>
|
|
|
+ <div class="ml-3">
|
|
|
+ <% if (auditors[iA].status !== auditConst.status.uncheck) { %>
|
|
|
+ <span class="<%- auditConst.statusClass[auditors[iA].status] %>"> <% if (auditors[iA].status === auditConst.status.checked || auditors[iA].status === auditConst.status.checkNo) { %><small><%- auditors[iA].end_time.toLocaleDateString() %></small> <% } %><%- auditConst.statusString[auditors[iA].status]%><% if (auditors[iA].status === auditConst.status.checkNo) { %> <%- user.name %><% } %></span>
|
|
|
+ <% } %>
|
|
|
+ <p class="card-text"><%- auditors[iA].opinion %></p>
|
|
|
+ </div>
|
|
|
+ </li>
|
|
|
<% } %>
|
|
|
- </li>
|
|
|
- <% } %>
|
|
|
<% } %>
|
|
|
</ul>
|
|
|
</div>
|