|
@@ -153,7 +153,10 @@
|
|
|
<span class="<%- auditConst.statusClass[auditors[i].status] %> pull-right"><%- auditConst.statusString[auditors[i].status] %></span>
|
|
|
<% } %>
|
|
|
<h5 class="card-title"><%- auditors[i].audit_order %> <%- auditors[i].name %> <small class="text-muted"><%- auditors[i].role %></small></h5>
|
|
|
- <p class="card-text"><%- auditors[i].opinion %> <%- auditors[i].end_time ? auditors[i].end_time.toLocaleString() : '' %></p>
|
|
|
+ <p class="card-text mb-1"><%- auditors[i].opinion %></p>
|
|
|
+ <% if (auditors[i].end_time) { %>
|
|
|
+ <p class="card-text"><small class="text-muted"><%- auditors[i].end_time.toLocaleString() %></small></p>
|
|
|
+ <% } %>
|
|
|
</li>
|
|
|
<% } %>
|
|
|
</ul>
|
|
@@ -205,7 +208,7 @@
|
|
|
<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"><%- ah[iA].begin_time.toLocaleDateString() %></p>
|
|
|
+ <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) { %>
|
|
@@ -213,7 +216,8 @@
|
|
|
<% } %>
|
|
|
<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"><%- auditConst.statusString[ah[iA].status]%>,<%- ah[iA].opinion %>。<%- ah[iA].end_time.toLocaleDateString() %></p>
|
|
|
+ <p class="card-text mb-1"><%- auditConst.statusString[ah[iA].status]%>,<%- 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) { %>
|
|
@@ -223,7 +227,8 @@
|
|
|
<% } %>
|
|
|
<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"><%- auditConst.statusString[ah[iA].status]%>,<%- ah[iA].opinion %>。<%- ah[iA].end_time.toLocaleDateString() %></p>
|
|
|
+ <p class="card-text mb-1"><%- auditConst.statusString[ah[iA].status]%>,<%- ah[iA].opinion %>。</p>
|
|
|
+ <p class="card-text"><small class="text-muted"><%- ah[iA].end_time.toLocaleDateString() %></small></p>
|
|
|
<% } %>
|
|
|
</li>
|
|
|
<% } else { %>
|
|
@@ -233,7 +238,8 @@
|
|
|
<% } %>
|
|
|
<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"><%- auditConst.statusString[ah[iA].status]%>,<%- ah[iA].opinion %>。<%- ah[iA].end_time.toLocaleDateString() %></p>
|
|
|
+ <p class="card-text mb-1"><%- auditConst.statusString[ah[iA].status]%>,<%- ah[iA].opinion %>。</p>
|
|
|
+ <p class="card-text"><small class="text-muted"><%- ah[iA].end_time.toLocaleDateString() %></small></p>
|
|
|
<% } %>
|
|
|
</li>
|
|
|
<% } %>
|
|
@@ -249,7 +255,7 @@
|
|
|
<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"><%- auditors[iA].begin_time.toLocaleDateString() %></p>
|
|
|
+ <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) { %>
|
|
@@ -257,7 +263,8 @@
|
|
|
<% } %>
|
|
|
<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"><%- auditConst.statusString[auditors[iA].status]%>,<%- auditors[iA].opinion %>。<%- auditors[iA].end_time.toLocaleDateString() %></p>
|
|
|
+ <p class="card-text mb-1"><%- auditConst.statusString[auditors[iA].status]%>,<%- 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) { %>
|
|
@@ -267,7 +274,8 @@
|
|
|
<% } %>
|
|
|
<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"><%- auditConst.statusString[auditors[iA].status]%>,<%- auditors[iA].opinion %>。<%- auditors[iA].end_time.toLocaleDateString() %></p>
|
|
|
+ <p class="card-text mb-1"><%- auditConst.statusString[auditors[iA].status]%>,<%- auditors[iA].opinion %>。</p>
|
|
|
+ <p class="card-text"><small class="text-muted"><%- auditors[iA].end_time.toLocaleDateString() %></small></p>
|
|
|
<% } %>
|
|
|
</li>
|
|
|
<% } else { %>
|
|
@@ -277,7 +285,8 @@
|
|
|
<% } %>
|
|
|
<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"><%- auditConst.statusString[auditors[iA].status]%>,<%- auditors[iA].opinion %>。<%- auditors[iA].end_time.toLocaleDateString() %></p>
|
|
|
+ <p class="card-text mb-1"><%- auditConst.statusString[auditors[iA].status]%>,<%- auditors[iA].opinion %>。</p>
|
|
|
+ <p class="card-text"><small class="text-muted"><%- auditors[iA].end_time.toLocaleDateString() %></small></p>
|
|
|
<% } %>
|
|
|
</li>
|
|
|
<% } %>
|
|
@@ -294,4 +303,4 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
-<% } %>
|
|
|
+<% } %>
|