|  | @@ -65,14 +65,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> <%- ctx.material.user.name %>  <small class="text-muted"><%- ctx.material.user.role %></small>
 | 
	
		
			
				|  |  | +                                    <i class="fa fa fa-play-circle fa-rotate-90"></i> <%- ctx.material.user.name %>  <small class="text-muted"><%- ctx.material.user.role %></small><div class="pull-right">原报</div>
 | 
	
		
			
				|  |  |                                  </li>
 | 
	
		
			
				|  |  |                                  <% for (let i = 0; i < ctx.material.auditors2.length; i++) { %>
 | 
	
		
			
				|  |  |                                  <li class="list-group-item">
 | 
	
		
			
				|  |  |                                      <% if (i < ctx.material.auditors2.length - 1) { %>
 | 
	
		
			
				|  |  | -                                    <i class="fa fa-chevron-circle-down"></i> <%- ctx.material.auditors2[i].name %>  <small class="text-muted"><%- ctx.material.auditors2[i].role %></small>
 | 
	
		
			
				|  |  | +                                    <i class="fa fa-chevron-circle-down"></i> <%- ctx.material.auditors2[i].name %>  <small class="text-muted"><%- ctx.material.auditors2[i].role %></small><span class="pull-right"><%= ctx.helper.transFormToChinese(i+1) %>审</span>
 | 
	
		
			
				|  |  |                                      <% } else { %>
 | 
	
		
			
				|  |  | -                                    <i class="fa fa fa-stop-circle"></i> <%- ctx.material.auditors2[i].name %>  <small class="text-muted"><%- ctx.material.auditors2[i].role %></small>
 | 
	
		
			
				|  |  | +                                    <i class="fa fa fa-stop-circle"></i> <%- ctx.material.auditors2[i].name %>  <small class="text-muted"><%- ctx.material.auditors2[i].role %></small><span class="pull-right">终审</span>
 | 
	
		
			
				|  |  |                                      <% } %>
 | 
	
		
			
				|  |  |                                  </li>
 | 
	
		
			
				|  |  |                                  <% } %>
 | 
	
	
		
			
				|  | @@ -83,29 +83,41 @@
 | 
	
		
			
				|  |  |                          <div class="card mt-3">
 | 
	
		
			
				|  |  |                              <ul class="list-group list-group-flush">
 | 
	
		
			
				|  |  |                                  <li class="list-group-item">
 | 
	
		
			
				|  |  | -                                    <span class="text-success pull-right"><small><%- ctx.material.auditors[0].begin_time.toLocaleDateString() %></small> 上报</span>
 | 
	
		
			
				|  |  | -                                    <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></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>
 | 
	
		
			
				|  |  | +                                    </h5>
 | 
	
		
			
				|  |  | +                                    <div class="ml-3">
 | 
	
		
			
				|  |  | +                                        <span class="text-success"><small><%- ctx.material.auditors[0].begin_time.toLocaleDateString() %></small> 上报</span>
 | 
	
		
			
				|  |  | +                                    </div>
 | 
	
		
			
				|  |  |                                  </li>
 | 
	
		
			
				|  |  |                                  <% for (let iA = 0; iA < ctx.material.auditors.length; iA++) { %>
 | 
	
		
			
				|  |  |                                  <% const auditors = ctx.material.auditors; %>
 | 
	
		
			
				|  |  |                                  <li class="list-group-item">
 | 
	
		
			
				|  |  |                                      <% if (auditors[iA].status === auditConst.status.checked) { %>
 | 
	
		
			
				|  |  | -                                    <span class="text-success pull-right"><small><%- auditors[iA].end_time.toLocaleString() %></small> 审批通过</span>
 | 
	
		
			
				|  |  |                                      <h5 class="card-title">
 | 
	
		
			
				|  |  | -                                        <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>
 | 
	
		
			
				|  |  | +                                        <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>
 | 
	
		
			
				|  |  | +                                    <div class="ml-3">
 | 
	
		
			
				|  |  | +                                        <span class="text-success"><small><%- auditors[iA].end_time.toLocaleDateString() %></small> 审批通过</span>
 | 
	
		
			
				|  |  | +                                        <p class="card-text"><%- auditors[iA].opinion %></p>
 | 
	
		
			
				|  |  | +                                    </div>
 | 
	
		
			
				|  |  |                                      <% } else if (auditors[iA].stauts == auditConst.status.checking) { %>
 | 
	
		
			
				|  |  | -                                    <span class="pull-right">审批中</span>
 | 
	
		
			
				|  |  |                                      <h5 class="card-title">
 | 
	
		
			
				|  |  | -                                        <i class="<%- (iA < auditors.length - 1 ? 'fa fa-chevron-circle-down' : 'fa fa-stop-circle') %>"></i> <%- auditors[iA].name %> <small class="text-muted"><%- auditors[iA].role %></small>
 | 
	
		
			
				|  |  | +                                        <i class="<%- (iA < auditors.length - 1 ? 'fa fa-chevron-circle-down' : 'fa fa-stop-circle') %>"></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">
 | 
	
		
			
				|  |  | +                                        <span>审批中</span>
 | 
	
		
			
				|  |  | +                                        <p class="card-text"><%- auditors[iA].opinion %></p>
 | 
	
		
			
				|  |  | +                                    </div>
 | 
	
		
			
				|  |  |                                      <% } else { %>
 | 
	
		
			
				|  |  |                                      <h5 class="card-title">
 | 
	
		
			
				|  |  | -                                        <i class="<%- (iA < auditors.length - 1 ? 'fa fa-chevron-circle-down' : 'fa fa-stop-circle') %>"></i> <%- auditors[iA].name %> <small class="text-muted"><%- auditors[iA].role %></small>
 | 
	
		
			
				|  |  | +                                        <i class="<%- (iA < auditors.length - 1 ? 'fa fa-chevron-circle-down' : 'fa fa-stop-circle') %>"></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">
 | 
	
		
			
				|  |  | +                                        <p class="card-text"><%- auditors[iA].opinion %></p>
 | 
	
		
			
				|  |  | +                                    </div>
 | 
	
		
			
				|  |  |                                      <% } %>
 | 
	
		
			
				|  |  |                                      <% if (auditors[iA].status === auditConst.status.checked) { %>
 | 
	
		
			
				|  |  | -                                    <p class="card-text"><%- auditors[iA].opinion %></p>
 | 
	
		
			
				|  |  |                                      <% } else if (auditors[iA].status === auditConst.status.checking) { %>
 | 
	
		
			
				|  |  |                                      <div class="form-group">
 | 
	
		
			
				|  |  |                                          <label>审批意见<b class="text-danger">*</b></label>
 | 
	
	
		
			
				|  | @@ -141,14 +153,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> <%- ctx.material.user.name %>  <small class="text-muted"><%- ctx.material.user.role %></small>
 | 
	
		
			
				|  |  | +                                    <i class="fa fa fa-play-circle fa-rotate-90"></i> <%- ctx.material.user.name %>  <small class="text-muted"><%- ctx.material.user.role %></small><span class="pull-right">原报</span>
 | 
	
		
			
				|  |  |                                  </li>
 | 
	
		
			
				|  |  |                                  <% for (let i = 0; i < ctx.material.auditors2.length; i++) { %>
 | 
	
		
			
				|  |  |                                  <li class="list-group-item">
 | 
	
		
			
				|  |  |                                      <% if (i < ctx.material.auditors2.length - 1) { %>
 | 
	
		
			
				|  |  | -                                    <i class="fa fa-chevron-circle-down"></i> <%- ctx.material.auditors2[i].name %>  <small class="text-muted"><%- ctx.material.auditors2[i].role %></small>
 | 
	
		
			
				|  |  | +                                    <i class="fa fa-chevron-circle-down"></i> <%- ctx.material.auditors2[i].name %>  <small class="text-muted"><%- ctx.material.auditors2[i].role %></small><span class="pull-right"><%= ctx.helper.transFormToChinese(i+1) %>审</span>
 | 
	
		
			
				|  |  |                                      <% } else { %>
 | 
	
		
			
				|  |  | -                                    <i class="fa fa fa-stop-circle"></i> <%- ctx.material.auditors2[i].name %>  <small class="text-muted"><%- ctx.material.auditors2[i].role %></small>
 | 
	
		
			
				|  |  | +                                    <i class="fa fa fa-stop-circle"></i> <%- ctx.material.auditors2[i].name %>  <small class="text-muted"><%- ctx.material.auditors2[i].role %></small><span class="pull-right">终审</span>
 | 
	
		
			
				|  |  |                                      <% } %>
 | 
	
		
			
				|  |  |                                  </li>
 | 
	
		
			
				|  |  |                                  <% } %>
 | 
	
	
		
			
				|  | @@ -166,22 +178,30 @@
 | 
	
		
			
				|  |  |                                  <% const auditors = ctx.material.auditors; %>
 | 
	
		
			
				|  |  |                                  <li class="list-group-item">
 | 
	
		
			
				|  |  |                                      <% if (auditors[iA].status === auditConst.status.checked) { %>
 | 
	
		
			
				|  |  | -                                    <span class="text-success pull-right"><small><%- auditors[iA].end_time.toLocaleString() %></small> 审批通过</span>
 | 
	
		
			
				|  |  |                                      <h5 class="card-title">
 | 
	
		
			
				|  |  | -                                        <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>
 | 
	
		
			
				|  |  | +                                        <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>
 | 
	
		
			
				|  |  | +                                    <div class="ml-3">
 | 
	
		
			
				|  |  | +                                        <span class="text-success"><small><%- auditors[iA].end_time.toLocaleDateString() %></small> 审批通过</span>
 | 
	
		
			
				|  |  | +                                        <p class="card-text"><%- auditors[iA].opinion %></p>
 | 
	
		
			
				|  |  | +                                    </div>
 | 
	
		
			
				|  |  |                                      <% } else if (auditors[iA].stauts == auditConst.status.checking) { %>
 | 
	
		
			
				|  |  | -                                    <span class="pull-right">审批中</span>
 | 
	
		
			
				|  |  |                                      <h5 class="card-title">
 | 
	
		
			
				|  |  | -                                        <i class="<%- (iA < auditors.length - 1 ? 'fa fa-chevron-circle-down' : 'fa fa-stop-circle') %>"></i> <%- auditors[iA].name %> <small class="text-muted"><%- auditors[iA].role %></small>
 | 
	
		
			
				|  |  | +                                        <i class="<%- (iA < auditors.length - 1 ? 'fa fa-chevron-circle-down' : 'fa fa-stop-circle') %>"></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">
 | 
	
		
			
				|  |  | +                                        <span>审批中</span>
 | 
	
		
			
				|  |  | +                                        <p class="card-text"><%- auditors[iA].opinion %></p>
 | 
	
		
			
				|  |  | +                                    </div>
 | 
	
		
			
				|  |  |                                      <% } else { %>
 | 
	
		
			
				|  |  |                                      <h5 class="card-title">
 | 
	
		
			
				|  |  | -                                        <i class="<%- (iA < auditors.length - 1 ? 'fa fa-chevron-circle-down' : 'fa fa-stop-circle') %>"></i> <%- auditors[iA].name %> <small class="text-muted"><%- auditors[iA].role %></small>
 | 
	
		
			
				|  |  | +                                        <i class="<%- (iA < auditors.length - 1 ? 'fa fa-chevron-circle-down' : 'fa fa-stop-circle') %>"></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">
 | 
	
		
			
				|  |  | +                                        <p class="card-text"><%- auditors[iA].opinion %></p>
 | 
	
		
			
				|  |  | +                                    </div>
 | 
	
		
			
				|  |  |                                      <% } %>
 | 
	
		
			
				|  |  |                                      <% if (auditors[iA].status === auditConst.status.checked) { %>
 | 
	
		
			
				|  |  | -                                    <p class="card-text"><%- auditors[iA].opinion %></p>
 | 
	
		
			
				|  |  |                                      <% } else if (auditors[iA].status === auditConst.status.checking) { %>
 | 
	
		
			
				|  |  |                                      <div class="form-group">
 | 
	
		
			
				|  |  |                                          <label>审批意见<b class="text-danger">*</b></label>
 | 
	
	
		
			
				|  | @@ -218,14 +238,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> <%- ctx.material.user.name %>  <small class="text-muted"><%- ctx.material.user.role %></small>
 | 
	
		
			
				|  |  | +                                    <i class="fa fa fa-play-circle fa-rotate-90"></i> <%- ctx.material.user.name %>  <small class="text-muted"><%- ctx.material.user.role %></small><span class="pull-right">原报</span>
 | 
	
		
			
				|  |  |                                  </li>
 | 
	
		
			
				|  |  |                                  <% for (let i = 0; i < ctx.material.auditors2.length; i++) { %>
 | 
	
		
			
				|  |  |                                  <li class="list-group-item">
 | 
	
		
			
				|  |  |                                      <% if (i < ctx.material.auditors2.length - 1) { %>
 | 
	
		
			
				|  |  | -                                    <i class="fa fa-chevron-circle-down"></i> <%- ctx.material.auditors2[i].name %>  <small class="text-muted"><%- ctx.material.auditors2[i].role %></small>
 | 
	
		
			
				|  |  | +                                    <i class="fa fa-chevron-circle-down"></i> <%- ctx.material.auditors2[i].name %>  <small class="text-muted"><%- ctx.material.auditors2[i].role %></small><span class="pull-right"><%= ctx.helper.transFormToChinese(i+1) %>审</span>
 | 
	
		
			
				|  |  |                                      <% } else { %>
 | 
	
		
			
				|  |  | -                                    <i class="fa fa fa-stop-circle"></i> <%- ctx.material.auditors2[i].name %>  <small class="text-muted"><%- ctx.material.auditors2[i].role %></small>
 | 
	
		
			
				|  |  | +                                    <i class="fa fa fa-stop-circle"></i> <%- ctx.material.auditors2[i].name %>  <small class="text-muted"><%- ctx.material.auditors2[i].role %></small><span class="pull-right">终审</span>
 | 
	
		
			
				|  |  |                                      <% } %>
 | 
	
		
			
				|  |  |                                  </li>
 | 
	
		
			
				|  |  |                                  <% } %>
 | 
	
	
		
			
				|  | @@ -239,41 +259,47 @@
 | 
	
		
			
				|  |  |                                  <% for (let iA = 0; iA < ah.length; iA++) { %>
 | 
	
		
			
				|  |  |                                  <% if (iA === 0) { %>
 | 
	
		
			
				|  |  |                                  <li class="list-group-item">
 | 
	
		
			
				|  |  | -                                    <span class="text-success pull-right"><% if (ctx.material.auditHistory.indexOf(ah) > 0) { %>重新<% } %>上报</span>
 | 
	
		
			
				|  |  | -                                    <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></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> <%- ctx.material.user.name %> <small class="text-muted"><%- ctx.material.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 (ctx.material.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) { %> <%- ctx.material.user.name %><% } %></span>
 | 
	
		
			
				|  |  | -                                    <% } %>
 | 
	
		
			
				|  |  | -                                    <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></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) { %> <%- ctx.material.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) { %> <%- ctx.material.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) { %> <%- ctx.material.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) { %> <%- ctx.material.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) { %> <%- ctx.material.user.name %><% } %></span>
 | 
	
		
			
				|  |  | +                                        <% } %>
 | 
	
		
			
				|  |  | +                                        <p class="card-text"><%- ah[iA].opinion %></p>
 | 
	
		
			
				|  |  | +                                    </div>
 | 
	
		
			
				|  |  |                                  </li>
 | 
	
		
			
				|  |  |                                  <% } %>
 | 
	
		
			
				|  |  |                                  <% } %>
 | 
	
	
		
			
				|  | @@ -287,41 +313,47 @@
 | 
	
		
			
				|  |  |                                  <% for (let iA = 0; iA < auditors.length; iA++) { %>
 | 
	
		
			
				|  |  |                                  <% if (iA === 0) { %>
 | 
	
		
			
				|  |  |                                  <li class="list-group-item">
 | 
	
		
			
				|  |  | -                                    <span class="text-success pull-right"><% if (ctx.material.times > 1) { %>重新<% } %>上报</span>
 | 
	
		
			
				|  |  | -                                    <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></h5>
 | 
	
		
			
				|  |  | -                                    <p class="card-text"><small class="text-muted"><%- auditors[iA].begin_time.toLocaleDateString() %></small></p>
 | 
	
		
			
				|  |  | +                                    <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">
 | 
	
		
			
				|  |  | +                                        <span class="text-success"><small><%- auditors[iA].begin_time.toLocaleDateString() %></small> <% if (ctx.material.times > 1) { %>重新<% } %>上报</span>
 | 
	
		
			
				|  |  | +                                    </div>
 | 
	
		
			
				|  |  |                                  </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) { %> <%- ctx.material.user.name %><% } %></span>
 | 
	
		
			
				|  |  | -                                    <% } %>
 | 
	
		
			
				|  |  | -                                    <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></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>
 | 
	
		
			
				|  |  | -                                    <% } %>
 | 
	
		
			
				|  |  | +                                    <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><%- 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) { %> <%- ctx.material.user.name %><% } %></span>
 | 
	
		
			
				|  |  | +                                        <% } %>
 | 
	
		
			
				|  |  | +                                        <p class="card-text"><%- auditors[iA].opinion %></p>
 | 
	
		
			
				|  |  | +                                    </div>
 | 
	
		
			
				|  |  |                                  </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) { %> <%- ctx.material.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>
 | 
	
		
			
				|  |  | -                                    <% } %>
 | 
	
		
			
				|  |  | +                                    <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) { %> <%- ctx.material.user.name %><% } %></span>
 | 
	
		
			
				|  |  | +                                        <% } %>
 | 
	
		
			
				|  |  | +                                        <p class="card-text"><%- auditors[iA].opinion %></p>
 | 
	
		
			
				|  |  | +                                    </div>
 | 
	
		
			
				|  |  |                                  </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) { %> <%- ctx.material.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>
 | 
	
		
			
				|  |  | -                                    <% } %>
 | 
	
		
			
				|  |  | +                                    <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><%- 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) { %> <%- ctx.material.user.name %><% } %></span>
 | 
	
		
			
				|  |  | +                                        <% } %>
 | 
	
		
			
				|  |  | +                                        <p class="card-text"><%- auditors[iA].opinion %></p>
 | 
	
		
			
				|  |  | +                                    </div>
 | 
	
		
			
				|  |  |                                  </li>
 | 
	
		
			
				|  |  |                                  <% } %>
 | 
	
		
			
				|  |  |                                  <% } %>
 | 
	
	
		
			
				|  | @@ -352,14 +384,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> <%- ctx.material.user.name %>  <small class="text-muted"><%- ctx.material.user.role %></small>
 | 
	
		
			
				|  |  | +                                    <i class="fa fa fa-play-circle fa-rotate-90"></i> <%- ctx.material.user.name %>  <small class="text-muted"><%- ctx.material.user.role %></small><span class="pull-right">原报</span>
 | 
	
		
			
				|  |  |                                  </li>
 | 
	
		
			
				|  |  |                                  <% for (let i = 0; i < ctx.material.auditors2.length; i++) { %>
 | 
	
		
			
				|  |  |                                  <li class="list-group-item">
 | 
	
		
			
				|  |  |                                      <% if (i < ctx.material.auditors2.length - 1) { %>
 | 
	
		
			
				|  |  | -                                    <i class="fa fa-chevron-circle-down"></i> <%- ctx.material.auditors2[i].name %>  <small class="text-muted"><%- ctx.material.auditors2[i].role %></small>
 | 
	
		
			
				|  |  | +                                    <i class="fa fa-chevron-circle-down"></i> <%- ctx.material.auditors2[i].name %>  <small class="text-muted"><%- ctx.material.auditors2[i].role %></small><span class="pull-right"><%= ctx.helper.transFormToChinese(i+1) %>审</span>
 | 
	
		
			
				|  |  |                                      <% } else { %>
 | 
	
		
			
				|  |  | -                                    <i class="fa fa fa-stop-circle"></i> <%- ctx.material.auditors2[i].name %>  <small class="text-muted"><%- ctx.material.auditors2[i].role %></small>
 | 
	
		
			
				|  |  | +                                    <i class="fa fa fa-stop-circle"></i> <%- ctx.material.auditors2[i].name %>  <small class="text-muted"><%- ctx.material.auditors2[i].role %></small><span class="pull-right">终审</span>
 | 
	
		
			
				|  |  |                                      <% } %>
 | 
	
		
			
				|  |  |                                  </li>
 | 
	
		
			
				|  |  |                                  <% } %>
 | 
	
	
		
			
				|  | @@ -371,45 +403,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 (ctx.material.auditHistory.indexOf(ah) > 0) { %>重新<% } %>上报</span>
 | 
	
		
			
				|  |  | -                                    <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></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) { %> <%- ctx.material.user.name %><% } %></span>
 | 
	
		
			
				|  |  | -                                    <% } %>
 | 
	
		
			
				|  |  | -                                    <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></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) { %> <%- ctx.material.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) { %> <%- ctx.material.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> <%- ctx.material.user.name %> <small class="text-muted"><%- ctx.material.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 (ctx.material.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) { %> <%- ctx.material.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) { %> <%- ctx.material.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 <%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) { %> <%- ctx.material.user.name %><% } %></span>
 | 
	
		
			
				|  |  | +                                            <% } %>
 | 
	
		
			
				|  |  | +                                            <p class="card-text"><%- ah[iA].opinion %></p>
 | 
	
		
			
				|  |  | +                                        </div>
 | 
	
		
			
				|  |  | +                                    </li>
 | 
	
		
			
				|  |  |                                      <% } %>
 | 
	
		
			
				|  |  | -                                </li>
 | 
	
		
			
				|  |  | -                                <% } %>
 | 
	
		
			
				|  |  |                                  <% } %>
 | 
	
		
			
				|  |  |                              </ul>
 | 
	
		
			
				|  |  |                          </div>
 | 
	
	
		
			
				|  | @@ -437,14 +475,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> <%- ctx.material.user.name %>  <small class="text-muted"><%- ctx.material.user.role %></small>
 | 
	
		
			
				|  |  | +                                    <i class="fa fa fa-play-circle fa-rotate-90"></i> <%- ctx.material.user.name %>  <small class="text-muted"><%- ctx.material.user.role %></small><span class="pull-right">原报</span>
 | 
	
		
			
				|  |  |                                  </li>
 | 
	
		
			
				|  |  |                                  <% for (let i = 0; i < ctx.material.auditors2.length; i++) { %>
 | 
	
		
			
				|  |  |                                  <li class="list-group-item">
 | 
	
		
			
				|  |  |                                      <% if (i < ctx.material.auditors2.length - 1) { %>
 | 
	
		
			
				|  |  | -                                    <i class="fa fa-chevron-circle-down"></i> <%- ctx.material.auditors2[i].name %>  <small class="text-muted"><%- ctx.material.auditors2[i].role %></small>
 | 
	
		
			
				|  |  | +                                    <i class="fa fa-chevron-circle-down"></i> <%- ctx.material.auditors2[i].name %>  <small class="text-muted"><%- ctx.material.auditors2[i].role %></small><span class="pull-right"><%= ctx.helper.transFormToChinese(i+1) %>审</span>
 | 
	
		
			
				|  |  |                                      <% } else { %>
 | 
	
		
			
				|  |  | -                                    <i class="fa fa fa-stop-circle"></i> <%- ctx.material.auditors2[i].name %>  <small class="text-muted"><%- ctx.material.auditors2[i].role %></small>
 | 
	
		
			
				|  |  | +                                    <i class="fa fa fa-stop-circle"></i> <%- ctx.material.auditors2[i].name %>  <small class="text-muted"><%- ctx.material.auditors2[i].role %></small><span class="pull-right">终审</span>
 | 
	
		
			
				|  |  |                                      <% } %>
 | 
	
		
			
				|  |  |                                  </li>
 | 
	
		
			
				|  |  |                                  <% } %>
 | 
	
	
		
			
				|  | @@ -456,45 +494,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 (ctx.material.auditHistory.indexOf(ah) > 0) { %>重新<% } %>上报</span>
 | 
	
		
			
				|  |  | -                                    <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></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) { %> <%- ctx.material.user.name %><% } %></span>
 | 
	
		
			
				|  |  | -                                    <% } %>
 | 
	
		
			
				|  |  | -                                    <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></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) { %> <%- ctx.material.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) { %> <%- ctx.material.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> <%- ctx.material.user.name %> <small class="text-muted"><%- ctx.material.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 (ctx.material.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) { %> <%- ctx.material.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) { %> <%- ctx.material.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 <%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) { %> <%- ctx.material.user.name %><% } %></span>
 | 
	
		
			
				|  |  | +                                            <% } %>
 | 
	
		
			
				|  |  | +                                            <p class="card-text"><%- ah[iA].opinion %></p>
 | 
	
		
			
				|  |  | +                                        </div>
 | 
	
		
			
				|  |  | +                                    </li>
 | 
	
		
			
				|  |  |                                      <% } %>
 | 
	
		
			
				|  |  | -                                </li>
 | 
	
		
			
				|  |  | -                                <% } %>
 | 
	
		
			
				|  |  |                                  <% } %>
 | 
	
		
			
				|  |  |                              </ul>
 | 
	
		
			
				|  |  |                          </div>
 | 
	
	
		
			
				|  | @@ -523,7 +567,7 @@
 | 
	
		
			
				|  |  |                              <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> <%- ctx.material.user.name %>  <small class="text-muted"><%- ctx.material.user.role %></small>
 | 
	
		
			
				|  |  | +                                        <i class="fa fa fa-play-circle fa-rotate-90"></i> <%- ctx.material.user.name %>  <small class="text-muted"><%- ctx.material.user.role %></small><span class="pull-right">原报</span>
 | 
	
		
			
				|  |  |                                      </li>
 | 
	
		
			
				|  |  |                                  </ul>
 | 
	
		
			
				|  |  |                                  <ul class="list-group list-group-flush" id="auditors-list">
 | 
	
	
		
			
				|  | @@ -531,9 +575,9 @@
 | 
	
		
			
				|  |  |                                      <% for (let i = 0; i < auditorList.length; i++) { %>
 | 
	
		
			
				|  |  |                                          <li class="list-group-item" data-auditid="<%- auditorList[i].aid %>">
 | 
	
		
			
				|  |  |                                              <% 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>
 | 
	
		
			
				|  |  |                                      <% } %>
 |