|
@@ -456,9 +456,9 @@
|
|
|
</li>
|
|
|
<% } else { %>
|
|
|
<li class="list-group-item">
|
|
|
- <% if (index+1 !== auditList.length) { %>
|
|
|
+ <% if (index+1 !== auditList2.length) { %>
|
|
|
<i class="fa fa-chevron-circle-down"></i>
|
|
|
- <% } else if (index+1 === auditList.length) { %>
|
|
|
+ <% } else if (index+1 === auditList2.length) { %>
|
|
|
<i class="fa fa-stop-circle"></i>
|
|
|
<% } %>
|
|
|
<%= a.name %> <small class="text-muted"><%= a.jobs %></small><span class="pull-right"><%= index+1 === auditList2.length ? '终' : ctx.helper.transFormToChinese(index) %>审</span>
|
|
@@ -471,7 +471,7 @@
|
|
|
<div class="col-8 modal-height-500" style="overflow: auto">
|
|
|
<div class="card mt-3">
|
|
|
<ul class="list-group list-group-flush">
|
|
|
- <% for (const [index,a] of auditList.entries()) { %>
|
|
|
+ <% for (const [index,a] of auditList3.entries()) { %>
|
|
|
<li class="list-group-item">
|
|
|
<% if (a.usite === 0 ) { %>
|
|
|
<h5 class="card-title">
|
|
@@ -483,7 +483,7 @@
|
|
|
</div>
|
|
|
<% } else { %>
|
|
|
<h5 class="card-title">
|
|
|
- <i class="fa <% if (index+1 !== auditList.length) { %>fa-chevron-circle-down <% } else { %>fa-stop-circle <% } %><% if (a.status === 3) { %>text-success<% } else if (a.status === 4) { %>text-danger<% } else if (a.status === 6 || a.status === 7) { %>text-warning<% } %>"></i>
|
|
|
+ <i class="fa <% if (index+1 !== auditList3.length) { %>fa-chevron-circle-down <% } else { %>fa-stop-circle <% } %><% if (a.status === 3) { %>text-success<% } else if (a.status === 4) { %>text-danger<% } else if (a.status === 6 || a.status === 7) { %>text-warning<% } %>"></i>
|
|
|
<%= a.name %> <small class="text-muted"><%= a.jobs%></small><span class="pull-right"><%= a.max_sort === a.usite ? '终' : ctx.helper.transFormToChinese(a.usite) %>审</span>
|
|
|
</h5>
|
|
|
<div class="ml-3">
|
|
@@ -503,14 +503,14 @@
|
|
|
<label>审批意见<b class="text-danger">*</b></label>
|
|
|
<textarea class="form-control form-control-sm" name="sdesc">同意</textarea>
|
|
|
<input type="hidden" name="audit_id" value="<%= a.id %>">
|
|
|
- <% if (a.usort !== 0 && index+1 === auditList.length) { %>
|
|
|
+ <% if (a.usort !== 0 && index+1 === auditList3.length) { %>
|
|
|
<!--终审填写批复编号-->
|
|
|
<div class="form-group mt-3">
|
|
|
<label><b class="text-danger">* </b>变更令号(批复编号)</label>
|
|
|
<input class="form-control form-control-sm" value="<%= change.code %>" name="p_code" type="text">
|
|
|
</div>
|
|
|
<% } else { %>
|
|
|
- <input type="hidden" name="audit_next_id" value="<%= auditList[index+1].id %>">
|
|
|
+ <input type="hidden" name="audit_next_id" value="<%= auditList3[index+1].id %>">
|
|
|
<% } %>
|
|
|
</div>
|
|
|
<% } %>
|
|
@@ -553,9 +553,9 @@
|
|
|
</li>
|
|
|
<% } else { %>
|
|
|
<li class="list-group-item">
|
|
|
- <% if (index+1 !== auditList.length) { %>
|
|
|
+ <% if (index+1 !== auditList2.length) { %>
|
|
|
<i class="fa fa-chevron-circle-down"></i>
|
|
|
- <% } else if (index+1 === auditList.length) { %>
|
|
|
+ <% } else if (index+1 === auditList2.length) { %>
|
|
|
<i class="fa fa-stop-circle"></i>
|
|
|
<% } %>
|
|
|
<%= a.name %> <small class="text-muted"><%= a.jobs %></small><span class="pull-right"><%= index+1 === auditList2.length ? '终' : ctx.helper.transFormToChinese(index) %>审</span>
|
|
@@ -568,7 +568,7 @@
|
|
|
<div class="col-8 modal-height-500" style="overflow: auto">
|
|
|
<div class="card mt-3">
|
|
|
<ul class="list-group list-group-flush">
|
|
|
- <% for (const [index,a] of auditList.entries()) { %>
|
|
|
+ <% for (const [index,a] of auditList3.entries()) { %>
|
|
|
<li class="list-group-item">
|
|
|
<% if (a.usite === 0 ) { %>
|
|
|
<h5 class="card-title">
|
|
@@ -580,7 +580,7 @@
|
|
|
</div>
|
|
|
<% } else { %>
|
|
|
<h5 class="card-title">
|
|
|
- <i class="fa <% if (index+1 !== auditList.length) { %>fa-chevron-circle-down <% } else { %>fa-stop-circle <% } %><% if (a.status === 3) { %>text-success<% } else if (a.status === 4) { %>text-danger<% } else if (a.status === 6 || a.status === 7) { %>text-warning<% } %>"></i>
|
|
|
+ <i class="fa <% if (index+1 !== auditList3.length) { %>fa-chevron-circle-down <% } else { %>fa-stop-circle <% } %><% if (a.status === 3) { %>text-success<% } else if (a.status === 4) { %>text-danger<% } else if (a.status === 6 || a.status === 7) { %>text-warning<% } %>"></i>
|
|
|
<%= a.name %> <small class="text-muted"><%= a.jobs%></small><span class="pull-right"><%= a.max_sort === a.usite ? '终' : ctx.helper.transFormToChinese(a.usite) %>审</span>
|
|
|
</h5>
|
|
|
<div class="ml-3">
|
|
@@ -604,7 +604,7 @@
|
|
|
<div class="alert alert-warning">
|
|
|
<div class="form-check form-check-inline">
|
|
|
<input class="form-check-input" type="radio" name="status" id="change-back" value="5" <% if (index === 1) { %>checked<% } %>>
|
|
|
- <label class="form-check-label" for="change-back">退回上报 <%= auditList[0].name %></label>
|
|
|
+ <label class="form-check-label" for="change-back">退回上报 <%= auditList3[0].name %></label>
|
|
|
</div>
|
|
|
<% if (index !== 1) { %>
|
|
|
<div class="form-check form-check-inline">
|