| 
					
				 | 
			
			
				@@ -81,7 +81,9 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <div class="modal-footer"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 <button type="button" class="btn btn-secondary" data-dismiss="modal">关闭</button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                <% if (ctx.url !== '/tender/' + ctx.tender.id + '/measure/stage/' + ctx.stage.order + '/detail') { %> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 <a href="/tender/<%- ctx.tender.id %>/measure/stage/<%- ctx.stage.order %>/detail" class="btn btn-primary">进入中间计量</a> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                <% } %> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </div> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -142,6 +144,11 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     <h5 class="card-title"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                         <i class="<%- (iA < auditors.length - 1 ? 'fa fa-chevron-circle-down text-warning' : 'fa fa-stop-circle text-warning') %>"></i> <%- auditors[iA].name %> <small class="text-muted"><%- auditors[iA].role %></small> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     </h5> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                    <% } else if (auditors[iA].status === auditConst.status.checkAgain) { %> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                    <span class="text-warning 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-warning' : 'fa fa-stop-circle text-warning') %>"></i> <%- auditors[iA].name %> <small class="text-muted"><%- auditors[iA].role %></small> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                    </h5> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     <% } 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> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -223,6 +230,11 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     <h5 class="card-title"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                         <i class="<%- (iA < auditors.length - 1 ? 'fa fa-chevron-circle-down text-warning' : 'fa fa-stop-circle text-warning') %>"></i> <%- auditors[iA].name %> <small class="text-muted"><%- auditors[iA].role %></small> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     </h5> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                    <% } else if (auditors[iA].status === auditConst.status.checkAgain) { %> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                    <span class="text-warning 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-warning' : 'fa fa-stop-circle text-warning') %>"></i> <%- auditors[iA].name %> <small class="text-muted"><%- auditors[iA].role %></small> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                    </h5> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     <% } 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> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -241,9 +253,10 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                             <label class="form-check-label" for="inlineRadio1">退回上报 <%- ctx.stage.user.name %></label> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                         </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                         <% if (auditors[iA].order > 1 && auditors[iA].aid !== auditors[0].aid) { %> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                        <% const auditorIndex = ctx.stage.auditors2.findIndex(function (item) { return item.aid === auditors[iA].aid }) %> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                         <div class="form-check form-check-inline"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                             <input class="form-check-input" type="radio" name="checkType" id="inlineRadio2" value="<%- auditConst.status.checkNoPre %>" checked> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                                            <label class="form-check-label" for="inlineRadio2">退回上一审批人 <%- auditors[iA-1].name %></label> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                            <label class="form-check-label" for="inlineRadio2">退回上一审批人 <%- ctx.stage.auditors2[auditorIndex-1].name %></label> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                         </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                         <% } %> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     </div> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -275,7 +288,9 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <div class="modal-footer"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 <button type="button" class="btn btn-secondary" data-dismiss="modal">关闭</button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                <% if (ctx.url !== '/tender/' + ctx.tender.id + '/measure/stage/' + ctx.stage.order + '/detail') { %> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 <a href="/tender/<%- ctx.tender.id %>/measure/stage/<%- ctx.stage.order %>/detail" class="btn btn-primary">进入中间计量</a> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                <% } %> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </div> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -324,7 +339,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     <span class="<%- auditConst.statusClass[ah[iA].status] %> pull-right"><%- auditConst.statusString[ah[iA].status]%><% if (ah[iA].status === auditConst.status.checkNo) { %> <%- ctx.stage.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 || ah[iA].status === auditConst.status.checkNoPre) { %> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                    <% if (ah[iA].status === auditConst.status.checked || ah[iA].status === auditConst.status.checkNo || ah[iA].status === auditConst.status.checkNoPre || ah[iA].status === auditConst.status.checkAgain) { %> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     <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> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     <% } %> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -335,7 +350,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     <span class="<%- auditConst.statusClass[ah[iA].status] %> pull-right"><%- auditConst.statusString[ah[iA].status]%><% if (ah[iA].status === auditConst.status.checkNo) { %> <%- ctx.stage.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 || ah[iA].status === auditConst.status.checkNoPre) { %> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                    <% if (ah[iA].status === auditConst.status.checked || ah[iA].status === auditConst.status.checkNo || ah[iA].status === auditConst.status.checkNoPre || ah[iA].status === auditConst.status.checkAgain) { %> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     <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> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     <% } %> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -346,7 +361,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     <span class="<%- auditConst.statusClass[ah[iA].status] %> pull-right"><%- auditConst.statusString[ah[iA].status]%><% if (ah[iA].status === auditConst.status.checkNo) { %> <%- ctx.stage.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 || ah[iA].status === auditConst.status.checkNoPre) { %> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                    <% if (ah[iA].status === auditConst.status.checked || ah[iA].status === auditConst.status.checkNo || ah[iA].status === auditConst.status.checkNoPre || ah[iA].status === auditConst.status.checkAgain) { %> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     <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> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     <% } %> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -372,7 +387,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     <span class="<%- auditConst.statusClass[auditors[iA].status] %> pull-right"><%- auditConst.statusString[auditors[iA].status]%><% if (auditors[iA].status === auditConst.status.checkNo) { %> <%- ctx.stage.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 || auditors[iA].status === auditConst.status.checkNoPre) { %> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                    <% if (auditors[iA].status === auditConst.status.checked || auditors[iA].status === auditConst.status.checkNo || auditors[iA].status === auditConst.status.checkNoPre || auditors[iA].status === auditConst.status.checkAgain) { %> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     <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> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     <% } %> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -383,7 +398,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     <span class="<%- auditConst.statusClass[auditors[iA].status] %> pull-right"><%- auditConst.statusString[auditors[iA].status]%><% if (auditors[iA].status === auditConst.status.checkNo) { %> <%- ctx.stage.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 || auditors[iA].status === auditConst.status.checkNoPre) { %> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                    <% if (auditors[iA].status === auditConst.status.checked || auditors[iA].status === auditConst.status.checkNo || auditors[iA].status === auditConst.status.checkNoPre || auditors[iA].status === auditConst.status.checkAgain) { %> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     <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> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     <% } %> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -394,7 +409,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     <span class="<%- auditConst.statusClass[auditors[iA].status] %> pull-right"><%- auditConst.statusString[auditors[iA].status]%><% if (auditors[iA].status === auditConst.status.checkNo) { %> <%- ctx.stage.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 || auditors[iA].status === auditConst.status.checkNoPre) { %> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                    <% if (auditors[iA].status === auditConst.status.checked || auditors[iA].status === auditConst.status.checkNo || auditors[iA].status === auditConst.status.checkNoPre || auditors[iA].status === auditConst.status.checkAgain) { %> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     <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> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     <% } %> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -458,7 +473,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     <span class="<%- auditConst.statusClass[ah[iA].status] %> pull-right"><%- auditConst.statusString[ah[iA].status]%><% if (ah[iA].status === auditConst.status.checkNo) { %> <%- ctx.stage.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 || ah[iA].status === auditConst.status.checkNoPre) { %> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                    <% if (ah[iA].status === auditConst.status.checked || ah[iA].status === auditConst.status.checkNo || ah[iA].status === auditConst.status.checkNoPre || ah[iA].status === auditConst.status.checkAgain) { %> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     <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> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     <% } %> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -469,7 +484,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     <span class="<%- auditConst.statusClass[ah[iA].status] %> pull-right"><%- auditConst.statusString[ah[iA].status]%><% if (ah[iA].status === auditConst.status.checkNo) { %> <%- ctx.stage.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 || ah[iA].status === auditConst.status.checkNoPre) { %> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                    <% if (ah[iA].status === auditConst.status.checked || ah[iA].status === auditConst.status.checkNo || ah[iA].status === auditConst.status.checkNoPre || ah[iA].status === auditConst.status.checkAgain) { %> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     <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> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     <% } %> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -480,7 +495,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     <span class="<%- auditConst.statusClass[ah[iA].status] %> pull-right"><%- auditConst.statusString[ah[iA].status]%><% if (ah[iA].status === auditConst.status.checkNo) { %> <%- ctx.stage.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 || ah[iA].status === auditConst.status.checkNoPre) { %> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                    <% if (ah[iA].status === auditConst.status.checked || ah[iA].status === auditConst.status.checkNo || ah[iA].status === auditConst.status.checkNoPre || ah[iA].status === auditConst.status.checkAgain) { %> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     <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> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     <% } %> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -506,7 +521,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     <span class="<%- auditConst.statusClass[auditors[iA].status] %> pull-right"><%- auditConst.statusString[auditors[iA].status]%><% if (auditors[iA].status === auditConst.status.checkNo) { %> <%- ctx.stage.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 || auditors[iA].status === auditConst.status.checkNoPre) { %> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                    <% if (auditors[iA].status === auditConst.status.checked || auditors[iA].status === auditConst.status.checkNo || auditors[iA].status === auditConst.status.checkNoPre || auditors[iA].status === auditConst.status.checkAgain) { %> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     <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> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     <% } %> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -517,7 +532,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     <span class="<%- auditConst.statusClass[auditors[iA].status] %> pull-right"><%- auditConst.statusString[auditors[iA].status]%><% if (auditors[iA].status === auditConst.status.checkNo) { %> <%- ctx.stage.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 || auditors[iA].status === auditConst.status.checkNoPre) { %> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                    <% if (auditors[iA].status === auditConst.status.checked || auditors[iA].status === auditConst.status.checkNo || auditors[iA].status === auditConst.status.checkNoPre || auditors[iA].status === auditConst.status.checkAgain) { %> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     <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> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     <% } %> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -528,7 +543,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     <span class="<%- auditConst.statusClass[auditors[iA].status] %> pull-right"><%- auditConst.statusString[auditors[iA].status]%><% if (auditors[iA].status === auditConst.status.checkNo) { %> <%- ctx.stage.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 || auditors[iA].status === auditConst.status.checkNoPre) { %> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                    <% if (auditors[iA].status === auditConst.status.checked || auditors[iA].status === auditConst.status.checkNo || auditors[iA].status === auditConst.status.checkNoPre || auditors[iA].status === auditConst.status.checkAgain) { %> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     <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> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     <% } %> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -591,7 +606,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     <span class="<%- auditConst.statusClass[ah[iA].status] %> pull-right"><%- auditConst.statusString[ah[iA].status]%><% if (ah[iA].status === auditConst.status.checkNo) { %> <%- ctx.stage.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 || ah[iA].status === auditConst.status.checkNoPre) { %> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                    <% if (ah[iA].status === auditConst.status.checked || ah[iA].status === auditConst.status.checkNo || ah[iA].status === auditConst.status.checkNoPre || ah[iA].status === auditConst.status.checkAgain) { %> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     <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> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     <% } %> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -602,7 +617,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     <span class="<%- auditConst.statusClass[ah[iA].status] %> pull-right"><%- auditConst.statusString[ah[iA].status]%><% if (ah[iA].status === auditConst.status.checkNo) { %> <%- ctx.stage.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 || ah[iA].status === auditConst.status.checkNoPre) { %> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                    <% if (ah[iA].status === auditConst.status.checked || ah[iA].status === auditConst.status.checkNo || ah[iA].status === auditConst.status.checkNoPre || ah[iA].status === auditConst.status.checkAgain) { %> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     <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> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     <% } %> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -613,7 +628,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     <span class="<%- auditConst.statusClass[ah[iA].status] %> pull-right"><%- auditConst.statusString[ah[iA].status]%><% if (ah[iA].status === auditConst.status.checkNo) { %> <%- ctx.stage.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 || ah[iA].status === auditConst.status.checkNoPre) { %> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                    <% if (ah[iA].status === auditConst.status.checked || ah[iA].status === auditConst.status.checkNo || ah[iA].status === auditConst.status.checkNoPre || ah[iA].status === auditConst.status.checkAgain) { %> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     <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> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     <% } %> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -680,7 +695,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                                         <span class="<%- auditConst.statusClass[ah[iA].status] %> pull-right"><%- auditConst.statusString[ah[iA].status]%><% if (ah[iA].status === auditConst.status.checkNo) { %> <%- ctx.stage.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 || ah[iA].status === auditConst.status.checkNoPre) { %> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                                    <% if (ah[iA].status === auditConst.status.checked || ah[iA].status === auditConst.status.checkNo || ah[iA].status === auditConst.status.checkNoPre || ah[iA].status === auditConst.status.checkAgain) { %> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                                         <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> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                                     <% } %> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -691,7 +706,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                                         <span class="<%- auditConst.statusClass[ah[iA].status] %> pull-right"><%- auditConst.statusString[ah[iA].status]%><% if (ah[iA].status === auditConst.status.checkNo) { %> <%- ctx.stage.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 || ah[iA].status === auditConst.status.checkNoPre) { %> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                                    <% if (ah[iA].status === auditConst.status.checked || ah[iA].status === auditConst.status.checkNo || ah[iA].status === auditConst.status.checkNoPre || ah[iA].status === auditConst.status.checkAgain) { %> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                                         <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> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                                     <% } %> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -702,7 +717,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                                         <span class="<%- auditConst.statusClass[ah[iA].status] %> pull-right"><%- auditConst.statusString[ah[iA].status]%><% if (ah[iA].status === auditConst.status.checkNo) { %> <%- ctx.stage.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 || ah[iA].status === auditConst.status.checkNoPre) { %> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                                    <% if (ah[iA].status === auditConst.status.checked || ah[iA].status === auditConst.status.checkNo || ah[iA].status === auditConst.status.checkNoPre || ah[iA].status === auditConst.status.checkAgain) { %> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                                         <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> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                                     <% } %> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -760,7 +775,9 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <div class="modal-footer"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 <button type="button" class="btn btn-secondary" data-dismiss="modal">关闭</button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                <a href="/tender/<%- ctx.tender.id %>/measure/stage/<% ctx.stage.order %>/detail" class="btn btn-primary">进入中间计量</a> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                <% if (ctx.url !== '/tender/' + ctx.tender.id + '/measure/stage/' + ctx.stage.order + '/detail') { %> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                <a href="/tender/<%- ctx.tender.id %>/measure/stage/<%- ctx.stage.order %>/detail" class="btn btn-primary">进入中间计量</a> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                <% } %> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </div> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -810,7 +827,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     <span class="<%- auditConst.statusClass[ah[iA].status] %> pull-right"><%- auditConst.statusString[ah[iA].status]%><% if (ah[iA].status === auditConst.status.checkNo) { %> <%- ctx.stage.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 || ah[iA].status === auditConst.status.checkNoPre) { %> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                    <% if (ah[iA].status === auditConst.status.checked || ah[iA].status === auditConst.status.checkNo || ah[iA].status === auditConst.status.checkNoPre || ah[iA].status === auditConst.status.checkAgain) { %> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     <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> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     <% } %> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -821,7 +838,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     <span class="<%- auditConst.statusClass[ah[iA].status] %> pull-right"><%- auditConst.statusString[ah[iA].status]%><% if (ah[iA].status === auditConst.status.checkNo) { %> <%- ctx.stage.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 || ah[iA].status === auditConst.status.checkNoPre) { %> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                    <% if (ah[iA].status === auditConst.status.checked || ah[iA].status === auditConst.status.checkNo || ah[iA].status === auditConst.status.checkNoPre || ah[iA].status === auditConst.status.checkAgain) { %> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     <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> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     <% } %> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -832,7 +849,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     <span class="<%- auditConst.statusClass[ah[iA].status] %> pull-right"><%- auditConst.statusString[ah[iA].status]%><% if (ah[iA].status === auditConst.status.checkNo) { %> <%- ctx.stage.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 || ah[iA].status === auditConst.status.checkNoPre) { %> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                    <% if (ah[iA].status === auditConst.status.checked || ah[iA].status === auditConst.status.checkNo || ah[iA].status === auditConst.status.checkNoPre || ah[iA].status === auditConst.status.checkAgain) { %> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     <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> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     <% } %> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -858,7 +875,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     <span class="<%- auditConst.statusClass[auditors[iA].status] %> pull-right"><%- auditConst.statusString[auditors[iA].status]%><% if (auditors[iA].status === auditConst.status.checkNo) { %> <%- ctx.stage.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 || auditors[iA].status === auditConst.status.checkNoPre) { %> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                    <% if (auditors[iA].status === auditConst.status.checked || auditors[iA].status === auditConst.status.checkNo || auditors[iA].status === auditConst.status.checkNoPre || auditors[iA].status === auditConst.status.checkAgain) { %> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     <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> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     <% } %> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -869,7 +886,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     <span class="<%- auditConst.statusClass[auditors[iA].status] %> pull-right"><%- auditConst.statusString[auditors[iA].status]%><% if (auditors[iA].status === auditConst.status.checkNo) { %> <%- ctx.stage.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 || auditors[iA].status === auditConst.status.checkNoPre) { %> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                    <% if (auditors[iA].status === auditConst.status.checked || auditors[iA].status === auditConst.status.checkNo || auditors[iA].status === auditConst.status.checkNoPre || auditors[iA].status === auditConst.status.checkAgain) { %> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     <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> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     <% } %> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -880,7 +897,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     <span class="<%- auditConst.statusClass[auditors[iA].status] %> pull-right"><%- auditConst.statusString[auditors[iA].status]%><% if (auditors[iA].status === auditConst.status.checkNo) { %> <%- ctx.stage.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 || auditors[iA].status === auditConst.status.checkNoPre) { %> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                    <% if (auditors[iA].status === auditConst.status.checked || auditors[iA].status === auditConst.status.checkNo || auditors[iA].status === auditConst.status.checkNoPre || auditors[iA].status === auditConst.status.checkAgain) { %> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     <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> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     <% } %> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -1051,9 +1068,10 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                             <label class="form-check-label" for="inlineRadio1">退回上报 <%- ctx.stage.user.name %></label> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                         </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                         <% if (auditors[iA].order > 1 && auditors[iA].aid !== auditors[0].aid) { %> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                        <% const auditorIndex = ctx.stage.auditors2.findIndex(function (item) { return item.aid === auditors[iA].aid }) %> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                         <div class="form-check form-check-inline"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                             <input class="form-check-input" type="radio" name="checkType" id="inlineRadio2" value="<%- auditConst.status.checkNoPre %>" checked> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                                            <label class="form-check-label" for="inlineRadio2">退回上一审批人 <%- auditors[iA-1].name %></label> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                            <label class="form-check-label" for="inlineRadio2">退回上一审批人 <%- ctx.stage.auditors2[auditorIndex-1].name %></label> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                         </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                         <% } %> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     </div> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -1085,10 +1103,31 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 <div class="modal-footer"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     <button type="button" class="btn btn-secondary" data-dismiss="modal">关闭</button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    <% if (ctx.url !== '/tender/' + ctx.tender.id + '/measure/stage/' + ctx.stage.order + '/detail') { %> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     <a href="/tender/<%- ctx.tender.id %>/measure/stage/<%- ctx.stage.order %>/detail" class="btn btn-primary">进入中间计量</a> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    <% } %> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <% } %> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 <% } %> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+<% if (ctx.stage.user_id === ctx.session.sessionUser.accountId && ctx.stage.status === auditConst.status.checked && ctx.stage.order === ctx.stage.highOrder) { %> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <!--上报审批 需要完成中间计量--> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <div class="modal fade" id="sp-down-back" data-backdrop="static"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <div class="modal-dialog" role="document"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <div class="modal-content"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                <div class="modal-header"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    <h5 class="modal-title">重新审批</h5> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                <div class="modal-body"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    <h5>确认由「终审-<%= ctx.stage.auditors[ctx.stage.auditors.length-1].name %>」重新审批「第<%= ctx.stage.order %>期」?</h5> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                <div class="modal-footer"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    <button type="button" class="btn btn-secondary" data-dismiss="modal">关闭</button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    <a href="<%- preUrl %>/audit/check/again" class="btn btn-warning">确定重审</a> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+<% } %> 
			 |