|
@@ -287,10 +287,14 @@
|
|
|
</div>
|
|
|
<div class="col-8 modal-height-500" style="overflow: auto">
|
|
|
<% ctx.material.auditHistory.forEach((auditors, idx) => { %>
|
|
|
+ <!-- 展开/收起历史流程 -->
|
|
|
+ <% if(idx === ctx.material.auditHistory.length - 1 && ctx.material.auditHistory.length !== 1) { %>
|
|
|
+ <div class="text-right">
|
|
|
+ <a href="javascript: void(0);" id="fold-btn" data-target="show">展开历史审批流程</a>
|
|
|
+ </div>
|
|
|
+ <% } %>
|
|
|
<div class="<%- idx < ctx.material.auditHistory.length - 1 ? 'fold-card' : '' %>">
|
|
|
- <div class="text-center text-muted"
|
|
|
- <%- idx === ctx.material.auditHistory.length - 1 ? `id="end-target"` : "" %>>
|
|
|
- <%- idx === ctx.material.auditHistory.length - 1 ? 1 : idx+1 %>#</div>
|
|
|
+ <div class="text-center text-muted"><%- idx+1 %>#</div>
|
|
|
<ul class="timeline-list list-unstyled mt-2">
|
|
|
<% auditors.forEach((auditor, index) => { %>
|
|
|
<% if (index === 0) { %>
|
|
@@ -422,11 +426,7 @@
|
|
|
<% }) %>
|
|
|
</ul>
|
|
|
</div>
|
|
|
- <!-- 展开/收起历史流程 -->
|
|
|
- <% if(idx === ctx.material.auditHistory.length - 1 && ctx.material.auditHistory.length !== 1) { %>
|
|
|
- <div class="text-right"><a href="javascript: void(0);" id="fold-btn" data-target="show"
|
|
|
- data-idx="<%- idx + 1 %>">展开历史审批流程</a></div>
|
|
|
- <% } %>
|
|
|
+
|
|
|
<% }) %>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -479,10 +479,14 @@
|
|
|
</div>
|
|
|
<div class="col-8 modal-height-500" style="overflow: auto">
|
|
|
<% ctx.material.auditHistory.forEach((auditors, idx) => { %>
|
|
|
+ <!-- 展开/收起历史流程 -->
|
|
|
+ <% if(idx === ctx.material.auditHistory.length - 1 && ctx.material.auditHistory.length !== 1) { %>
|
|
|
+ <div class="text-right">
|
|
|
+ <a href="javascript: void(0);" id="fold-btn" data-target="show">展开历史审批流程</a>
|
|
|
+ </div>
|
|
|
+ <% } %>
|
|
|
<div class="<%- idx < ctx.material.auditHistory.length - 1 ? 'fold-card' : '' %>">
|
|
|
- <div class="text-center text-muted"
|
|
|
- <%- idx === ctx.material.auditHistory.length - 1 ? `id="end-target"` : "" %>>
|
|
|
- <%- idx === ctx.material.auditHistory.length - 1 ? 1 : idx+1 %>#</div>
|
|
|
+ <div class="text-center text-muted"><%- idx+1 %>#</div>
|
|
|
<ul class="timeline-list list-unstyled mt-2">
|
|
|
<% auditors.forEach((auditor, index) => { %>
|
|
|
<% if (index === 0) { %>
|
|
@@ -657,11 +661,7 @@
|
|
|
<% }) %>
|
|
|
</ul>
|
|
|
</div>
|
|
|
- <!-- 展开/收起历史流程 -->
|
|
|
- <% if(idx === ctx.material.auditHistory.length - 1 && ctx.material.auditHistory.length !== 1) { %>
|
|
|
- <div class="text-right"><a href="javascript: void(0);" id="fold-btn" data-target="show"
|
|
|
- data-idx="<%- idx + 1 %>">展开历史审批流程</a></div>
|
|
|
- <% } %>
|
|
|
+
|
|
|
<% }) %>
|
|
|
</div>
|
|
|
</div>
|