|
@@ -92,7 +92,7 @@
|
|
<i class="fa fa-play-circle fa-rotate-90 text-success"></i> <%- ctx.material.user.name %> <small class="text-muted"><%- ctx.material.user.role %></small><span class="pull-right">原报</span>
|
|
<i class="fa fa-play-circle fa-rotate-90 text-success"></i> <%- ctx.material.user.name %> <small class="text-muted"><%- ctx.material.user.role %></small><span class="pull-right">原报</span>
|
|
</h5>
|
|
</h5>
|
|
<div class="ml-3">
|
|
<div class="ml-3">
|
|
- <span class="text-success"><small><%- ah[iA].begin_time.toLocaleDateString() %></small> <% if (ctx.material.auditHistory.indexOf(ah) > 0) { %>重新<% } %>上报</span>
|
|
|
|
|
|
+ <span class="text-success"><small><%- ctx.helper.formatFullDate(ah[iA].begin_time) %></small> <% if (ctx.material.auditHistory.indexOf(ah) > 0) { %>重新<% } %>上报</span>
|
|
</div>
|
|
</div>
|
|
</li>
|
|
</li>
|
|
<li class="list-group-item">
|
|
<li class="list-group-item">
|
|
@@ -101,7 +101,7 @@
|
|
</h5>
|
|
</h5>
|
|
<div class="ml-3">
|
|
<div class="ml-3">
|
|
<% if (ah[iA].status !== auditConst.status.uncheck) { %>
|
|
<% 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) { %> <%- ctx.material.user.name %><% } %></span>
|
|
|
|
|
|
+ <span class="<%- auditConst.statusClass[ah[iA].status] %>"><% if (ah[iA].status === auditConst.status.checked || ah[iA].status === auditConst.status.checkNo) { %><small><%- ctx.helper.formatFullDate(ah[iA].end_time) %></small> <% } %><%- auditConst.statusString[ah[iA].status]%><% if (ah[iA].status === auditConst.status.checkNo) { %> <%- ctx.material.user.name %><% } %></span>
|
|
<% } %>
|
|
<% } %>
|
|
<p class="card-text"><%- ah[iA].opinion %></p>
|
|
<p class="card-text"><%- ah[iA].opinion %></p>
|
|
</div>
|
|
</div>
|
|
@@ -113,7 +113,7 @@
|
|
</h5>
|
|
</h5>
|
|
<div class="ml-3">
|
|
<div class="ml-3">
|
|
<% if (ah[iA].status !== auditConst.status.uncheck) { %>
|
|
<% 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) { %> <%- ctx.material.user.name %><% } %></span>
|
|
|
|
|
|
+ <span class="<%- auditConst.statusClass[ah[iA].status] %>"><% if (ah[iA].status === auditConst.status.checked || ah[iA].status === auditConst.status.checkNo) { %><small><%- ctx.helper.formatFullDate(ah[iA].end_time) %></small> <% } %><%- auditConst.statusString[ah[iA].status]%><% if (ah[iA].status === auditConst.status.checkNo) { %> <%- ctx.material.user.name %><% } %></span>
|
|
<% } %>
|
|
<% } %>
|
|
<p class="card-text"><%- ah[iA].opinion %></p>
|
|
<p class="card-text"><%- ah[iA].opinion %></p>
|
|
</div>
|
|
</div>
|
|
@@ -125,7 +125,7 @@
|
|
</h5>
|
|
</h5>
|
|
<div class="ml-3">
|
|
<div class="ml-3">
|
|
<% if (ah[iA].status !== auditConst.status.uncheck) { %>
|
|
<% 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) { %> <%- ctx.material.user.name %><% } %></span>
|
|
|
|
|
|
+ <span class="<%- auditConst.statusClass[ah[iA].status] %>"><% if (ah[iA].status === auditConst.status.checked || ah[iA].status === auditConst.status.checkNo) { %><small><%- ctx.helper.formatFullDate(ah[iA].end_time) %></small> <% } %><%- auditConst.statusString[ah[iA].status]%><% if (ah[iA].status === auditConst.status.checkNo) { %> <%- ctx.material.user.name %><% } %></span>
|
|
<% } %>
|
|
<% } %>
|
|
<p class="card-text"><%- ah[iA].opinion %></p>
|
|
<p class="card-text"><%- ah[iA].opinion %></p>
|
|
</div>
|
|
</div>
|
|
@@ -142,7 +142,7 @@
|
|
<i class="fa fa-play-circle fa-rotate-90 text-success"></i> <%- ctx.material.user.name %> <small class="text-muted"><%- ctx.material.user.role %></small><span class="pull-right">原报</span>
|
|
<i class="fa fa-play-circle fa-rotate-90 text-success"></i> <%- ctx.material.user.name %> <small class="text-muted"><%- ctx.material.user.role %></small><span class="pull-right">原报</span>
|
|
</h5>
|
|
</h5>
|
|
<div class="ml-3">
|
|
<div class="ml-3">
|
|
- <span class="text-success"><small><%- ctx.material.auditors[0].begin_time.toLocaleDateString() %></small> 上报</span>
|
|
|
|
|
|
+ <span class="text-success"><small><%- ctx.helper.formatFullDate(ctx.material.auditors[0].begin_time) %></small> 上报</span>
|
|
</div>
|
|
</div>
|
|
</li>
|
|
</li>
|
|
<% for (let iA = 0; iA < ctx.material.auditors.length; iA++) { %>
|
|
<% for (let iA = 0; iA < ctx.material.auditors.length; iA++) { %>
|
|
@@ -153,7 +153,7 @@
|
|
<i class="<%- (iA < auditors.length - 1 ? 'fa fa-chevron-circle-down text-success' : 'fa fa-stop-circle text-success') %>"></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>
|
|
<i class="<%- (iA < auditors.length - 1 ? 'fa fa-chevron-circle-down text-success' : 'fa fa-stop-circle text-success') %>"></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>
|
|
</h5>
|
|
<div class="ml-3">
|
|
<div class="ml-3">
|
|
- <span class="text-success"><small><%- auditors[iA].end_time.toLocaleDateString() %></small> 审批通过</span>
|
|
|
|
|
|
+ <span class="text-success"><small><%- ctx.helper.formatFullDate(auditors[iA].end_time) %></small> 审批通过</span>
|
|
<p class="card-text"><%- auditors[iA].opinion %></p>
|
|
<p class="card-text"><%- auditors[iA].opinion %></p>
|
|
</div>
|
|
</div>
|
|
<% } else if (auditors[iA].stauts == auditConst.status.checking) { %>
|
|
<% } else if (auditors[iA].stauts == auditConst.status.checking) { %>
|
|
@@ -233,7 +233,7 @@
|
|
<i class="fa fa-play-circle fa-rotate-90 text-success"></i> <%- ctx.material.user.name %> <small class="text-muted"><%- ctx.material.user.role %></small><span class="pull-right">原报</span>
|
|
<i class="fa fa-play-circle fa-rotate-90 text-success"></i> <%- ctx.material.user.name %> <small class="text-muted"><%- ctx.material.user.role %></small><span class="pull-right">原报</span>
|
|
</h5>
|
|
</h5>
|
|
<div class="ml-3">
|
|
<div class="ml-3">
|
|
- <span class="text-success"><small><%- ah[iA].begin_time.toLocaleDateString() %></small> <% if (ctx.material.auditHistory.indexOf(ah) > 0) { %>重新<% } %>上报</span>
|
|
|
|
|
|
+ <span class="text-success"><small><%- ctx.helper.formatFullDate(ah[iA].begin_time) %></small> <% if (ctx.material.auditHistory.indexOf(ah) > 0) { %>重新<% } %>上报</span>
|
|
</div>
|
|
</div>
|
|
</li>
|
|
</li>
|
|
<li class="list-group-item">
|
|
<li class="list-group-item">
|
|
@@ -242,7 +242,7 @@
|
|
</h5>
|
|
</h5>
|
|
<div class="ml-3">
|
|
<div class="ml-3">
|
|
<% if (ah[iA].status !== auditConst.status.uncheck) { %>
|
|
<% 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) { %> <%- ctx.material.user.name %><% } %></span>
|
|
|
|
|
|
+ <span class="<%- auditConst.statusClass[ah[iA].status] %>"><% if (ah[iA].status === auditConst.status.checked || ah[iA].status === auditConst.status.checkNo) { %><small><%- ctx.helper.formatFullDate(ah[iA].end_time) %></small> <% } %><%- auditConst.statusString[ah[iA].status]%><% if (ah[iA].status === auditConst.status.checkNo) { %> <%- ctx.material.user.name %><% } %></span>
|
|
<% } %>
|
|
<% } %>
|
|
<p class="card-text"><%- ah[iA].opinion %></p>
|
|
<p class="card-text"><%- ah[iA].opinion %></p>
|
|
</div>
|
|
</div>
|
|
@@ -254,7 +254,7 @@
|
|
</h5>
|
|
</h5>
|
|
<div class="ml-3">
|
|
<div class="ml-3">
|
|
<% if (ah[iA].status !== auditConst.status.uncheck) { %>
|
|
<% 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) { %> <%- ctx.material.user.name %><% } %></span>
|
|
|
|
|
|
+ <span class="<%- auditConst.statusClass[ah[iA].status] %>"><% if (ah[iA].status === auditConst.status.checked || ah[iA].status === auditConst.status.checkNo) { %><small><%- ctx.helper.formatFullDate(ah[iA].end_time) %></small> <% } %><%- auditConst.statusString[ah[iA].status]%><% if (ah[iA].status === auditConst.status.checkNo) { %> <%- ctx.material.user.name %><% } %></span>
|
|
<% } %>
|
|
<% } %>
|
|
<p class="card-text"><%- ah[iA].opinion %></p>
|
|
<p class="card-text"><%- ah[iA].opinion %></p>
|
|
</div>
|
|
</div>
|
|
@@ -266,7 +266,7 @@
|
|
</h5>
|
|
</h5>
|
|
<div class="ml-3">
|
|
<div class="ml-3">
|
|
<% if (ah[iA].status !== auditConst.status.uncheck) { %>
|
|
<% 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) { %> <%- ctx.material.user.name %><% } %></span>
|
|
|
|
|
|
+ <span class="<%- auditConst.statusClass[ah[iA].status] %>"><% if (ah[iA].status === auditConst.status.checked || ah[iA].status === auditConst.status.checkNo) { %><small><%- ctx.helper.formatFullDate(ah[iA].end_time) %></small> <% } %><%- auditConst.statusString[ah[iA].status]%><% if (ah[iA].status === auditConst.status.checkNo) { %> <%- ctx.material.user.name %><% } %></span>
|
|
<% } %>
|
|
<% } %>
|
|
<p class="card-text"><%- ah[iA].opinion %></p>
|
|
<p class="card-text"><%- ah[iA].opinion %></p>
|
|
</div>
|
|
</div>
|
|
@@ -283,7 +283,7 @@
|
|
<i class="fa fa-play-circle fa-rotate-90 text-success"></i> <%- ctx.material.user.name %> <small class="text-muted"><%- ctx.material.user.role %></small><span class="pull-right">原报</span>
|
|
<i class="fa fa-play-circle fa-rotate-90 text-success"></i> <%- ctx.material.user.name %> <small class="text-muted"><%- ctx.material.user.role %></small><span class="pull-right">原报</span>
|
|
</h5>
|
|
</h5>
|
|
<div class="ml-3">
|
|
<div class="ml-3">
|
|
- <span class="text-success"><small><%- ctx.material.auditors[0].begin_time.toLocaleDateString() %></small> 上报</span>
|
|
|
|
|
|
+ <span class="text-success"><small><%- ctx.helper.formatFullDate(ctx.material.auditors[0].begin_time) %></small> 上报</span>
|
|
</div>
|
|
</div>
|
|
</li>
|
|
</li>
|
|
<% for (let iA = 0; iA < ctx.material.auditors.length; iA++) { %>
|
|
<% for (let iA = 0; iA < ctx.material.auditors.length; iA++) { %>
|
|
@@ -294,7 +294,7 @@
|
|
<i class="<%- (iA < auditors.length - 1 ? 'fa fa-chevron-circle-down text-success' : 'fa fa-stop-circle text-success') %>"></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>
|
|
<i class="<%- (iA < auditors.length - 1 ? 'fa fa-chevron-circle-down text-success' : 'fa fa-stop-circle text-success') %>"></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>
|
|
</h5>
|
|
<div class="ml-3">
|
|
<div class="ml-3">
|
|
- <span class="text-success"><small><%- auditors[iA].end_time.toLocaleDateString() %></small> 审批通过</span>
|
|
|
|
|
|
+ <span class="text-success"><small><%- ctx.helper.formatFullDate(auditors[iA].end_time) %></small> 审批通过</span>
|
|
<p class="card-text"><%- auditors[iA].opinion %></p>
|
|
<p class="card-text"><%- auditors[iA].opinion %></p>
|
|
</div>
|
|
</div>
|
|
<% } else if (auditors[iA].stauts == auditConst.status.checking) { %>
|
|
<% } else if (auditors[iA].stauts == auditConst.status.checking) { %>
|
|
@@ -376,7 +376,7 @@
|
|
<i class="fa fa-play-circle fa-rotate-90 text-success"></i> <%- ctx.material.user.name %> <small class="text-muted"><%- ctx.material.user.role %></small><span class="pull-right">原报</span>
|
|
<i class="fa fa-play-circle fa-rotate-90 text-success"></i> <%- ctx.material.user.name %> <small class="text-muted"><%- ctx.material.user.role %></small><span class="pull-right">原报</span>
|
|
</h5>
|
|
</h5>
|
|
<div class="ml-3">
|
|
<div class="ml-3">
|
|
- <span class="text-success"><small><%- ah[iA].begin_time.toLocaleDateString() %></small> <% if (ctx.material.auditHistory.indexOf(ah) > 0) { %>重新<% } %>上报</span>
|
|
|
|
|
|
+ <span class="text-success"><small><%- ctx.helper.formatFullDate(ah[iA].begin_time) %></small> <% if (ctx.material.auditHistory.indexOf(ah) > 0) { %>重新<% } %>上报</span>
|
|
</div>
|
|
</div>
|
|
</li>
|
|
</li>
|
|
<li class="list-group-item">
|
|
<li class="list-group-item">
|
|
@@ -385,7 +385,7 @@
|
|
</h5>
|
|
</h5>
|
|
<div class="ml-3">
|
|
<div class="ml-3">
|
|
<% if (ah[iA].status !== auditConst.status.uncheck) { %>
|
|
<% 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) { %> <%- ctx.material.user.name %><% } %></span>
|
|
|
|
|
|
+ <span class="<%- auditConst.statusClass[ah[iA].status] %>"><% if (ah[iA].status === auditConst.status.checked || ah[iA].status === auditConst.status.checkNo) { %><small><%- ctx.helper.formatFullDate(ah[iA].end_time) %></small> <% } %><%- auditConst.statusString[ah[iA].status]%><% if (ah[iA].status === auditConst.status.checkNo) { %> <%- ctx.material.user.name %><% } %></span>
|
|
<% } %>
|
|
<% } %>
|
|
<p class="card-text"><%- ah[iA].opinion %></p>
|
|
<p class="card-text"><%- ah[iA].opinion %></p>
|
|
</div>
|
|
</div>
|
|
@@ -397,7 +397,7 @@
|
|
</h5>
|
|
</h5>
|
|
<div class="ml-3">
|
|
<div class="ml-3">
|
|
<% if (ah[iA].status !== auditConst.status.uncheck) { %>
|
|
<% 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) { %> <%- ctx.material.user.name %><% } %></span>
|
|
|
|
|
|
+ <span class="<%- auditConst.statusClass[ah[iA].status] %>"><% if (ah[iA].status === auditConst.status.checked || ah[iA].status === auditConst.status.checkNo) { %><small><%- ctx.helper.formatFullDate(ah[iA].end_time) %></small> <% } %><%- auditConst.statusString[ah[iA].status]%><% if (ah[iA].status === auditConst.status.checkNo) { %> <%- ctx.material.user.name %><% } %></span>
|
|
<% } %>
|
|
<% } %>
|
|
<p class="card-text"><%- ah[iA].opinion %></p>
|
|
<p class="card-text"><%- ah[iA].opinion %></p>
|
|
</div>
|
|
</div>
|
|
@@ -409,7 +409,7 @@
|
|
</h5>
|
|
</h5>
|
|
<div class="ml-3">
|
|
<div class="ml-3">
|
|
<% if (ah[iA].status !== auditConst.status.uncheck) { %>
|
|
<% 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) { %> <%- ctx.material.user.name %><% } %></span>
|
|
|
|
|
|
+ <span class="<%- auditConst.statusClass[ah[iA].status] %>"><% if (ah[iA].status === auditConst.status.checked || ah[iA].status === auditConst.status.checkNo) { %><small><%- ctx.helper.formatFullDate(ah[iA].end_time) %></small> <% } %><%- auditConst.statusString[ah[iA].status]%><% if (ah[iA].status === auditConst.status.checkNo) { %> <%- ctx.material.user.name %><% } %></span>
|
|
<% } %>
|
|
<% } %>
|
|
<p class="card-text"><%- ah[iA].opinion %></p>
|
|
<p class="card-text"><%- ah[iA].opinion %></p>
|
|
</div>
|
|
</div>
|
|
@@ -439,7 +439,7 @@
|
|
</h5>
|
|
</h5>
|
|
<div class="ml-3">
|
|
<div class="ml-3">
|
|
<% if (auditors[iA].status !== auditConst.status.uncheck) { %>
|
|
<% 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) { %> <%- ctx.material.user.name %><% } %></span>
|
|
|
|
|
|
+ <span class="<%- auditConst.statusClass[auditors[iA].status] %>"><% if (auditors[iA].status === auditConst.status.checked || auditors[iA].status === auditConst.status.checkNo) { %><small><%- ctx.helper.formatFullDate(auditors[iA].end_time) %></small> <% } %><%- auditConst.statusString[auditors[iA].status]%><% if (auditors[iA].status === auditConst.status.checkNo) { %> <%- ctx.material.user.name %><% } %></span>
|
|
<% } %>
|
|
<% } %>
|
|
<p class="card-text"><%- auditors[iA].opinion %></p>
|
|
<p class="card-text"><%- auditors[iA].opinion %></p>
|
|
</div>
|
|
</div>
|
|
@@ -451,7 +451,7 @@
|
|
</h5>
|
|
</h5>
|
|
<div class="ml-3">
|
|
<div class="ml-3">
|
|
<% if (auditors[iA].status !== auditConst.status.uncheck) { %>
|
|
<% 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) { %> <%- ctx.material.user.name %><% } %></span>
|
|
|
|
|
|
+ <span class="<%- auditConst.statusClass[auditors[iA].status] %>"><% if (auditors[iA].status === auditConst.status.checked || auditors[iA].status === auditConst.status.checkNo) { %><small><%- ctx.helper.formatFullDate(auditors[iA].end_time) %></small> <% } %><%- auditConst.statusString[auditors[iA].status]%><% if (auditors[iA].status === auditConst.status.checkNo) { %> <%- ctx.material.user.name %><% } %></span>
|
|
<% } %>
|
|
<% } %>
|
|
<p class="card-text"><%- auditors[iA].opinion %></p>
|
|
<p class="card-text"><%- auditors[iA].opinion %></p>
|
|
</div>
|
|
</div>
|
|
@@ -463,7 +463,7 @@
|
|
</h5>
|
|
</h5>
|
|
<div class="ml-3">
|
|
<div class="ml-3">
|
|
<% if (auditors[iA].status !== auditConst.status.uncheck) { %>
|
|
<% 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) { %> <%- ctx.material.user.name %><% } %></span>
|
|
|
|
|
|
+ <span class="<%- auditConst.statusClass[auditors[iA].status] %>"><% if (auditors[iA].status === auditConst.status.checked || auditors[iA].status === auditConst.status.checkNo) { %><small><%- ctx.helper.formatFullDate(auditors[iA].end_time) %></small> <% } %><%- auditConst.statusString[auditors[iA].status]%><% if (auditors[iA].status === auditConst.status.checkNo) { %> <%- ctx.material.user.name %><% } %></span>
|
|
<% } %>
|
|
<% } %>
|
|
<p class="card-text"><%- auditors[iA].opinion %></p>
|
|
<p class="card-text"><%- auditors[iA].opinion %></p>
|
|
</div>
|
|
</div>
|
|
@@ -522,7 +522,7 @@
|
|
<i class="fa fa-play-circle fa-rotate-90 text-success"></i> <%- ctx.material.user.name %> <small class="text-muted"><%- ctx.material.user.role %></small><span class="pull-right">原报</span>
|
|
<i class="fa fa-play-circle fa-rotate-90 text-success"></i> <%- ctx.material.user.name %> <small class="text-muted"><%- ctx.material.user.role %></small><span class="pull-right">原报</span>
|
|
</h5>
|
|
</h5>
|
|
<div class="ml-3">
|
|
<div class="ml-3">
|
|
- <span class="text-success"><small><%- ah[iA].begin_time.toLocaleDateString() %></small> <% if (ctx.material.auditHistory.indexOf(ah) > 0) { %>重新<% } %>上报</span>
|
|
|
|
|
|
+ <span class="text-success"><small><%- ctx.helper.formatFullDate(ah[iA].begin_time) %></small> <% if (ctx.material.auditHistory.indexOf(ah) > 0) { %>重新<% } %>上报</span>
|
|
</div>
|
|
</div>
|
|
</li>
|
|
</li>
|
|
<li class="list-group-item">
|
|
<li class="list-group-item">
|
|
@@ -531,7 +531,7 @@
|
|
</h5>
|
|
</h5>
|
|
<div class="ml-3">
|
|
<div class="ml-3">
|
|
<% if (ah[iA].status !== auditConst.status.uncheck) { %>
|
|
<% 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) { %> <%- ctx.material.user.name %><% } %></span>
|
|
|
|
|
|
+ <span class="<%- auditConst.statusClass[ah[iA].status] %>"><% if (ah[iA].status === auditConst.status.checked || ah[iA].status === auditConst.status.checkNo) { %><small><%- ctx.helper.formatFullDate(ah[iA].end_time) %></small> <% } %><%- auditConst.statusString[ah[iA].status]%><% if (ah[iA].status === auditConst.status.checkNo) { %> <%- ctx.material.user.name %><% } %></span>
|
|
<% } %>
|
|
<% } %>
|
|
<p class="card-text"><%- ah[iA].opinion %></p>
|
|
<p class="card-text"><%- ah[iA].opinion %></p>
|
|
</div>
|
|
</div>
|
|
@@ -543,7 +543,7 @@
|
|
</h5>
|
|
</h5>
|
|
<div class="ml-3">
|
|
<div class="ml-3">
|
|
<% if (ah[iA].status !== auditConst.status.uncheck) { %>
|
|
<% 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) { %> <%- ctx.material.user.name %><% } %></span>
|
|
|
|
|
|
+ <span class="<%- auditConst.statusClass[ah[iA].status] %>"><% if (ah[iA].status === auditConst.status.checked || ah[iA].status === auditConst.status.checkNo) { %><small><%- ctx.helper.formatFullDate(ah[iA].end_time) %></small> <% } %><%- auditConst.statusString[ah[iA].status]%><% if (ah[iA].status === auditConst.status.checkNo) { %> <%- ctx.material.user.name %><% } %></span>
|
|
<% } %>
|
|
<% } %>
|
|
<p class="card-text"><%- ah[iA].opinion %></p>
|
|
<p class="card-text"><%- ah[iA].opinion %></p>
|
|
</div>
|
|
</div>
|
|
@@ -555,7 +555,7 @@
|
|
</h5>
|
|
</h5>
|
|
<div class="ml-3">
|
|
<div class="ml-3">
|
|
<% if (ah[iA].status !== auditConst.status.uncheck) { %>
|
|
<% 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) { %> <%- ctx.material.user.name %><% } %></span>
|
|
|
|
|
|
+ <span class="<%- auditConst.statusClass[ah[iA].status] %>"><% if (ah[iA].status === auditConst.status.checked || ah[iA].status === auditConst.status.checkNo) { %><small><%- ctx.helper.formatFullDate(ah[iA].end_time) %></small> <% } %><%- auditConst.statusString[ah[iA].status]%><% if (ah[iA].status === auditConst.status.checkNo) { %> <%- ctx.material.user.name %><% } %></span>
|
|
<% } %>
|
|
<% } %>
|
|
<p class="card-text"><%- ah[iA].opinion %></p>
|
|
<p class="card-text"><%- ah[iA].opinion %></p>
|
|
</div>
|
|
</div>
|
|
@@ -613,7 +613,7 @@
|
|
<i class="fa fa-play-circle fa-rotate-90 text-success"></i> <%- ctx.material.user.name %> <small class="text-muted"><%- ctx.material.user.role %></small><span class="pull-right">原报</span>
|
|
<i class="fa fa-play-circle fa-rotate-90 text-success"></i> <%- ctx.material.user.name %> <small class="text-muted"><%- ctx.material.user.role %></small><span class="pull-right">原报</span>
|
|
</h5>
|
|
</h5>
|
|
<div class="ml-3">
|
|
<div class="ml-3">
|
|
- <span class="text-success"><small><%- ah[iA].begin_time.toLocaleDateString() %></small> <% if (ctx.material.auditHistory.indexOf(ah) > 0) { %>重新<% } %>上报</span>
|
|
|
|
|
|
+ <span class="text-success"><small><%- ctx.helper.formatFullDate(ah[iA].begin_time) %></small> <% if (ctx.material.auditHistory.indexOf(ah) > 0) { %>重新<% } %>上报</span>
|
|
</div>
|
|
</div>
|
|
</li>
|
|
</li>
|
|
<li class="list-group-item">
|
|
<li class="list-group-item">
|
|
@@ -622,7 +622,7 @@
|
|
</h5>
|
|
</h5>
|
|
<div class="ml-3">
|
|
<div class="ml-3">
|
|
<% if (ah[iA].status !== auditConst.status.uncheck) { %>
|
|
<% 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) { %> <%- ctx.material.user.name %><% } %></span>
|
|
|
|
|
|
+ <span class="<%- auditConst.statusClass[ah[iA].status] %>"><% if (ah[iA].status === auditConst.status.checked || ah[iA].status === auditConst.status.checkNo) { %><small><%- ctx.helper.formatFullDate(ah[iA].end_time) %></small> <% } %><%- auditConst.statusString[ah[iA].status]%><% if (ah[iA].status === auditConst.status.checkNo) { %> <%- ctx.material.user.name %><% } %></span>
|
|
<% } %>
|
|
<% } %>
|
|
<p class="card-text"><%- ah[iA].opinion %></p>
|
|
<p class="card-text"><%- ah[iA].opinion %></p>
|
|
</div>
|
|
</div>
|
|
@@ -634,7 +634,7 @@
|
|
</h5>
|
|
</h5>
|
|
<div class="ml-3">
|
|
<div class="ml-3">
|
|
<% if (ah[iA].status !== auditConst.status.uncheck) { %>
|
|
<% 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) { %> <%- ctx.material.user.name %><% } %></span>
|
|
|
|
|
|
+ <span class="<%- auditConst.statusClass[ah[iA].status] %>"><% if (ah[iA].status === auditConst.status.checked || ah[iA].status === auditConst.status.checkNo) { %><small><%- ctx.helper.formatFullDate(ah[iA].end_time) %></small> <% } %><%- auditConst.statusString[ah[iA].status]%><% if (ah[iA].status === auditConst.status.checkNo) { %> <%- ctx.material.user.name %><% } %></span>
|
|
<% } %>
|
|
<% } %>
|
|
<p class="card-text"><%- ah[iA].opinion %></p>
|
|
<p class="card-text"><%- ah[iA].opinion %></p>
|
|
</div>
|
|
</div>
|
|
@@ -646,7 +646,7 @@
|
|
</h5>
|
|
</h5>
|
|
<div class="ml-3">
|
|
<div class="ml-3">
|
|
<% if (ah[iA].status !== auditConst.status.uncheck) { %>
|
|
<% 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) { %> <%- ctx.material.user.name %><% } %></span>
|
|
|
|
|
|
+ <span class="<%- auditConst.statusClass[ah[iA].status] %>"><% if (ah[iA].status === auditConst.status.checked || ah[iA].status === auditConst.status.checkNo) { %><small><%- ctx.helper.formatFullDate(ah[iA].end_time) %></small> <% } %><%- auditConst.statusString[ah[iA].status]%><% if (ah[iA].status === auditConst.status.checkNo) { %> <%- ctx.material.user.name %><% } %></span>
|
|
<% } %>
|
|
<% } %>
|
|
<p class="card-text"><%- ah[iA].opinion %></p>
|
|
<p class="card-text"><%- ah[iA].opinion %></p>
|
|
</div>
|
|
</div>
|
|
@@ -706,7 +706,7 @@
|
|
<li class="list-group-item">
|
|
<li class="list-group-item">
|
|
<h5 class="card-title"><i class="fa fa-play-circle fa-rotate-90 text-success"></i> <%- ctx.material.user.name %> <small class="text-muted"><%- ctx.material.user.role %></small><span class="pull-right">原报</span></h5>
|
|
<h5 class="card-title"><i class="fa fa-play-circle fa-rotate-90 text-success"></i> <%- ctx.material.user.name %> <small class="text-muted"><%- ctx.material.user.role %></small><span class="pull-right">原报</span></h5>
|
|
<div class="ml-3">
|
|
<div class="ml-3">
|
|
- <span class="text-success"><small><%- ah[iA].begin_time.toLocaleDateString() %></small> <% if (ctx.material.auditHistory.indexOf(ah) > 0) { %>重新<% } %>上报</span>
|
|
|
|
|
|
+ <span class="text-success"><small><%- ctx.helper.formatFullDate(ah[iA].begin_time) %></small> <% if (ctx.material.auditHistory.indexOf(ah) > 0) { %>重新<% } %>上报</span>
|
|
<p class="card-text"></p>
|
|
<p class="card-text"></p>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
@@ -717,7 +717,7 @@
|
|
</h5>
|
|
</h5>
|
|
<div class="ml-3">
|
|
<div class="ml-3">
|
|
<% if (ah[iA].status !== auditConst.status.uncheck) { %>
|
|
<% 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) { %> <%- ctx.material.user.name %><% } %></span>
|
|
|
|
|
|
+ <span class="<%- auditConst.statusClass[ah[iA].status] %>"><% if (ah[iA].status === auditConst.status.checked || ah[iA].status === auditConst.status.checkNo) { %><small><%- ctx.helper.formatFullDate(ah[iA].end_time) %></small> <% } %><%- auditConst.statusString[ah[iA].status]%><% if (ah[iA].status === auditConst.status.checkNo) { %> <%- ctx.material.user.name %><% } %></span>
|
|
<% } %>
|
|
<% } %>
|
|
<p class="card-text"><%- ah[iA].opinion %></p>
|
|
<p class="card-text"><%- ah[iA].opinion %></p>
|
|
</div>
|
|
</div>
|
|
@@ -727,7 +727,7 @@
|
|
<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>
|
|
<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">
|
|
<div class="ml-3">
|
|
<% if (ah[iA].status !== auditConst.status.uncheck) { %>
|
|
<% 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) { %> <%- ctx.material.user.name %><% } %></span>
|
|
|
|
|
|
+ <span class="<%- auditConst.statusClass[ah[iA].status] %>"><% if (ah[iA].status === auditConst.status.checked || ah[iA].status === auditConst.status.checkNo) { %><small><%- ctx.helper.formatFullDate(ah[iA].end_time) %></small> <% } %><%- auditConst.statusString[ah[iA].status]%><% if (ah[iA].status === auditConst.status.checkNo) { %> <%- ctx.material.user.name %><% } %></span>
|
|
<% } %>
|
|
<% } %>
|
|
<p class="card-text"><%- ah[iA].opinion %></p>
|
|
<p class="card-text"><%- ah[iA].opinion %></p>
|
|
</div>
|
|
</div>
|
|
@@ -739,7 +739,7 @@
|
|
</h5>
|
|
</h5>
|
|
<div class="ml-3">
|
|
<div class="ml-3">
|
|
<% if (ah[iA].status !== auditConst.status.uncheck) { %>
|
|
<% 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) { %> <%- ctx.material.user.name %><% } %></span>
|
|
|
|
|
|
+ <span class="<%- auditConst.statusClass[ah[iA].status] %>"><% if (ah[iA].status === auditConst.status.checked || ah[iA].status === auditConst.status.checkNo) { %><small><%- ctx.helper.formatFullDate(ah[iA].end_time) %></small> <% } %><%- auditConst.statusString[ah[iA].status]%><% if (ah[iA].status === auditConst.status.checkNo) { %> <%- ctx.material.user.name %><% } %></span>
|
|
<% } %>
|
|
<% } %>
|
|
<p class="card-text"><%- ah[iA].opinion %></p>
|
|
<p class="card-text"><%- ah[iA].opinion %></p>
|
|
</div>
|
|
</div>
|