|  | @@ -704,8 +704,8 @@
 | 
	
		
			
				|  |  |                                                          </div>
 | 
	
		
			
				|  |  |                                                          <!--审批意见-->
 | 
	
		
			
				|  |  |                                                          <% if(auditor.status !== auditConst.auditStatus.uncheck) { %>
 | 
	
		
			
				|  |  | +                                                            <% if (auditor.status === auditConst.auditStatus.checking) { %>
 | 
	
		
			
				|  |  |                                                              <div class="card-body p-3 border-top">
 | 
	
		
			
				|  |  | -                                                                <% if (auditor.status === auditConst.auditStatus.checking) { %>
 | 
	
		
			
				|  |  |                                                                      <label>审批意见<b class="text-danger">*</b></label>
 | 
	
		
			
				|  |  |                                                                      <textarea class="form-control form-control-sm"
 | 
	
		
			
				|  |  |                                                                                name="sdesc">同意</textarea>
 | 
	
	
		
			
				|  | @@ -719,10 +719,12 @@
 | 
	
		
			
				|  |  |                                                                      <% } else { %>
 | 
	
		
			
				|  |  |                                                                          <input type="hidden" name="audit_next_id" value="<%= auditList3[index+1].id %>">
 | 
	
		
			
				|  |  |                                                                      <% } %>
 | 
	
		
			
				|  |  | -                                                                <% } else { %>
 | 
	
		
			
				|  |  | -                                                                    <p style="margin: 0;"><%- auditor.sdesc %></p>
 | 
	
		
			
				|  |  | -                                                                <% } %>
 | 
	
		
			
				|  |  |                                                              </div>
 | 
	
		
			
				|  |  | +                                                            <% } else if (auditor.sdesc) { %>
 | 
	
		
			
				|  |  | +                                                            <div class="card-body p-3 border-top">
 | 
	
		
			
				|  |  | +                                                                <p style="margin: 0;"><%- auditor.sdesc %></p>
 | 
	
		
			
				|  |  | +                                                            </div>
 | 
	
		
			
				|  |  | +                                                            <% } %>
 | 
	
		
			
				|  |  |                                                          <% } %>
 | 
	
		
			
				|  |  |                                                      </div>
 | 
	
		
			
				|  |  |                                                  </div>
 | 
	
	
		
			
				|  | @@ -941,33 +943,35 @@
 | 
	
		
			
				|  |  |                                                          </div>
 | 
	
		
			
				|  |  |                                                          <!--审批意见-->
 | 
	
		
			
				|  |  |                                                          <% if(auditor.status !== auditConst.auditStatus.uncheck) { %>
 | 
	
		
			
				|  |  | +                                                            <% if (auditor.status === auditConst.auditStatus.checking) { %>
 | 
	
		
			
				|  |  |                                                              <div class="card-body p-3 border-top">
 | 
	
		
			
				|  |  | -                                                                <% if (auditor.status === auditConst.auditStatus.checking) { %>
 | 
	
		
			
				|  |  | -                                                                    <label>审批意见<b class="text-danger">*</b></label>
 | 
	
		
			
				|  |  | -                                                                    <textarea class="form-control form-control-sm"
 | 
	
		
			
				|  |  | -                                                                              name="sdesc">不同意</textarea>
 | 
	
		
			
				|  |  | -                                                                    <input type="hidden" name="audit_id" value="<%= auditor.id %>">
 | 
	
		
			
				|  |  | -                                                                    <div id="change-back-content" class="alert alert-warning"
 | 
	
		
			
				|  |  | -                                                                         style="margin-top: 15px;">
 | 
	
		
			
				|  |  | +                                                                <label>审批意见<b class="text-danger">*</b></label>
 | 
	
		
			
				|  |  | +                                                                <textarea class="form-control form-control-sm"
 | 
	
		
			
				|  |  | +                                                                          name="sdesc">不同意</textarea>
 | 
	
		
			
				|  |  | +                                                                <input type="hidden" name="audit_id" value="<%= auditor.id %>">
 | 
	
		
			
				|  |  | +                                                                <div id="change-back-content" class="alert alert-warning"
 | 
	
		
			
				|  |  | +                                                                     style="margin-top: 15px;">
 | 
	
		
			
				|  |  | +                                                                    <div class="form-check form-check-inline">
 | 
	
		
			
				|  |  | +                                                                        <input class="form-check-input" type="radio" name="status"
 | 
	
		
			
				|  |  | +                                                                               id="change-back" value="<%- auditConst.auditStatus.back %>">
 | 
	
		
			
				|  |  | +                                                                        <label class="form-check-label" for="change-back">退回原报 <%= auditList3[0].name %></label>
 | 
	
		
			
				|  |  | +                                                                    </div>
 | 
	
		
			
				|  |  | +                                                                    <% if (auditor.usite !== 1) { %>
 | 
	
		
			
				|  |  |                                                                          <div class="form-check form-check-inline">
 | 
	
		
			
				|  |  |                                                                              <input class="form-check-input" type="radio" name="status"
 | 
	
		
			
				|  |  | -                                                                                   id="change-back" value="<%- auditConst.auditStatus.back %>">
 | 
	
		
			
				|  |  | -                                                                            <label class="form-check-label" for="change-back">退回原报 <%= auditList3[0].name %></label>
 | 
	
		
			
				|  |  | +                                                                                   id="chagne-backnew"
 | 
	
		
			
				|  |  | +                                                                                   value="<%- auditConst.auditStatus.backnew %>">
 | 
	
		
			
				|  |  | +                                                                            <label class="form-check-label" for="chagne-backnew">退回上一审批人 <%= auditList2[auditor.usite-1].name %></label>
 | 
	
		
			
				|  |  | +                                                                            <input type="hidden" name="audit_last_id" value="<%= auditList2[auditor.usite-1].id %>">
 | 
	
		
			
				|  |  |                                                                          </div>
 | 
	
		
			
				|  |  | -                                                                        <% if (auditor.usite !== 1) { %>
 | 
	
		
			
				|  |  | -                                                                            <div class="form-check form-check-inline">
 | 
	
		
			
				|  |  | -                                                                                <input class="form-check-input" type="radio" name="status"
 | 
	
		
			
				|  |  | -                                                                                       id="chagne-backnew"
 | 
	
		
			
				|  |  | -                                                                                       value="<%- auditConst.auditStatus.backnew %>">
 | 
	
		
			
				|  |  | -                                                                                <label class="form-check-label" for="chagne-backnew">退回上一审批人 <%= auditList2[auditor.usite-1].name %></label>
 | 
	
		
			
				|  |  | -                                                                                <input type="hidden" name="audit_last_id" value="<%= auditList2[auditor.usite-1].id %>">
 | 
	
		
			
				|  |  | -                                                                            </div>
 | 
	
		
			
				|  |  | -                                                                        <% } %>
 | 
	
		
			
				|  |  | -                                                                    </div>
 | 
	
		
			
				|  |  | -                                                                <% } else if(auditor.status === auditConst.auditStatus.checked){ %>
 | 
	
		
			
				|  |  | -                                                                    <p style="margin: 0;"><%- auditor.sdesc %></p>
 | 
	
		
			
				|  |  | -                                                                <% } %>
 | 
	
		
			
				|  |  | +                                                                    <% } %>
 | 
	
		
			
				|  |  | +                                                                </div>
 | 
	
		
			
				|  |  |                                                              </div>
 | 
	
		
			
				|  |  | +                                                            <% } else if(auditor.sdesc) { %>
 | 
	
		
			
				|  |  | +                                                                <div class="card-body p-3 border-top">
 | 
	
		
			
				|  |  | +                                                                    <p style="margin: 0;"><%- auditor.sdesc %></p>
 | 
	
		
			
				|  |  | +                                                                </div>
 | 
	
		
			
				|  |  | +                                                            <% } %>
 | 
	
		
			
				|  |  |                                                          <% } %>
 | 
	
		
			
				|  |  |                                                      </div>
 | 
	
		
			
				|  |  |                                                  </div>
 | 
	
	
		
			
				|  | @@ -1012,57 +1016,57 @@
 | 
	
		
			
				|  |  |          </div>
 | 
	
		
			
				|  |  |      </div>
 | 
	
		
			
				|  |  |  </div>
 | 
	
		
			
				|  |  | -<% if (auditStatus === 4 && ctx.session.sessionUser.accountId === auditList[auditList.length-1].uid && stageChangeNum === 0) { %>
 | 
	
		
			
				|  |  | +<% if (auditStatus === 4 && ctx.session.sessionUser.accountId === auditList[auditList.length-1].uid) { %>
 | 
	
		
			
				|  |  |      <% if (!authMobile && ctx.session.sessionUser.loginStatus === 0) { %>
 | 
	
		
			
				|  |  | -        <!--<!–终审重新审批–>-->
 | 
	
		
			
				|  |  | -        <!--<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>重新审批需要您的手机短信验证</h5>-->
 | 
	
		
			
				|  |  | -        <!--<h5>您目前还没设置认证手机,请先设置。</h5>-->
 | 
	
		
			
				|  |  | -        <!--</div>-->
 | 
	
		
			
				|  |  | -        <!--<div class="modal-footer">-->
 | 
	
		
			
				|  |  | -        <!--<button type="button" class="btn btn-sm btn-secondary" data-dismiss="modal">取消</button>-->
 | 
	
		
			
				|  |  | -        <!--<a href="/profile/sms" class="btn btn-sm btn-primary">去设置</a>-->
 | 
	
		
			
				|  |  | -        <!--</div>-->
 | 
	
		
			
				|  |  | -        <!--</div>-->
 | 
	
		
			
				|  |  | -        <!--</div>-->
 | 
	
		
			
				|  |  | -        <!--</div>-->
 | 
	
		
			
				|  |  | -    <!--<% } else { %>-->
 | 
	
		
			
				|  |  | -    <!--<!–重新审批–>-->
 | 
	
		
			
				|  |  | -    <!--<div class="modal fade" id="sp-down-back" data-backdrop="static">-->
 | 
	
		
			
				|  |  | -    <!--<div class="modal-dialog" role="document">-->
 | 
	
		
			
				|  |  | -    <!--<form id="againForm" class="modal-content" method="post" action="/tender/<%- tender.id %>/change/check/again" onsubmit="return false;">-->
 | 
	
		
			
				|  |  | -    <!--<div class="modal-header">-->
 | 
	
		
			
				|  |  | -    <!--<h5 class="modal-title">重新审批</h5>-->
 | 
	
		
			
				|  |  | -    <!--</div>-->
 | 
	
		
			
				|  |  | -    <!--<div class="modal-body">-->
 | 
	
		
			
				|  |  | -    <!--<h5>确认由「终审-<%= auditList[auditList.length-1].name %>」重新审批「<%= change.code %>」?</h5>-->
 | 
	
		
			
				|  |  | -    <!--<% if (ctx.session.sessionUser.loginStatus === 0) { %>-->
 | 
	
		
			
				|  |  | -    <!--<div class="form-group">-->
 | 
	
		
			
				|  |  | -    <!--<label>重审需要验证码确认,验证码将发送至尾号<%- authMobile.slice(-4) %>的手机</label>-->
 | 
	
		
			
				|  |  | -    <!--<div class="input-group input-group-sm mb-3">-->
 | 
	
		
			
				|  |  | -    <!--<input class="form-control" type="text" readonly="readonly" name="code" placeholder="输入短信中的6位验证码" />-->
 | 
	
		
			
				|  |  | -    <!--<div class="input-group-append">-->
 | 
	
		
			
				|  |  | -    <!--<button class="btn btn-outline-secondary" type="button" id="get-code">获取验证码</button>-->
 | 
	
		
			
				|  |  | -    <!--</div>-->
 | 
	
		
			
				|  |  | -    <!--</div>-->
 | 
	
		
			
				|  |  | -    <!--</div>-->
 | 
	
		
			
				|  |  | -    <!--<% } %>-->
 | 
	
		
			
				|  |  | -    <!--</div>-->
 | 
	
		
			
				|  |  | -    <!--<div class="modal-footer">-->
 | 
	
		
			
				|  |  | -    <!--<input type="hidden" name="cid" value="<%= change.cid %>">-->
 | 
	
		
			
				|  |  | -    <!--<input type="hidden" name="_csrf_j" value="<%= ctx.csrf %>" />-->
 | 
	
		
			
				|  |  | -    <!--<button type="button" class="btn btn-secondary btn-sm" data-dismiss="modal">关闭</button>-->
 | 
	
		
			
				|  |  | -    <!--<button type="button" id="re-shenpi-btn" class="btn btn-warning btn-sm" <% if (ctx.session.sessionUser.loginStatus === 0) { %>disabled<% } %>>确定重审</button>-->
 | 
	
		
			
				|  |  | -    <!--</div>-->
 | 
	
		
			
				|  |  | -    <!--</form>-->
 | 
	
		
			
				|  |  | -    <!--</div>-->
 | 
	
		
			
				|  |  | -    <!--</div>-->
 | 
	
		
			
				|  |  | +        <!--终审重新审批-->
 | 
	
		
			
				|  |  | +        <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>重新审批需要您的手机短信验证</h5>
 | 
	
		
			
				|  |  | +                        <h5>您目前还没设置认证手机,请先设置。</h5>
 | 
	
		
			
				|  |  | +                    </div>
 | 
	
		
			
				|  |  | +                    <div class="modal-footer">
 | 
	
		
			
				|  |  | +                        <button type="button" class="btn btn-sm btn-secondary" data-dismiss="modal">取消</button>
 | 
	
		
			
				|  |  | +                        <a href="/profile/sms" class="btn btn-sm btn-primary">去设置</a>
 | 
	
		
			
				|  |  | +                    </div>
 | 
	
		
			
				|  |  | +                </div>
 | 
	
		
			
				|  |  | +            </div>
 | 
	
		
			
				|  |  | +        </div>
 | 
	
		
			
				|  |  | +    <% } else { %>
 | 
	
		
			
				|  |  | +        <!--重新审批-->
 | 
	
		
			
				|  |  | +        <div class="modal fade" id="sp-down-back" data-backdrop="static">
 | 
	
		
			
				|  |  | +            <div class="modal-dialog" role="document">
 | 
	
		
			
				|  |  | +                <form id="againForm" class="modal-content" method="post" action="/tender/<%- tender.id %>/change/check/again" onsubmit="return false;">
 | 
	
		
			
				|  |  | +                    <div class="modal-header">
 | 
	
		
			
				|  |  | +                        <h5 class="modal-title">重新审批</h5>
 | 
	
		
			
				|  |  | +                    </div>
 | 
	
		
			
				|  |  | +                    <div class="modal-body">
 | 
	
		
			
				|  |  | +                        <h5>确认由「终审-<%= auditList[auditList.length-1].name %>」重新审批「<%= change.code %>」?</h5>
 | 
	
		
			
				|  |  | +                        <% if (ctx.session.sessionUser.loginStatus === 0) { %>
 | 
	
		
			
				|  |  | +                            <div class="form-group">
 | 
	
		
			
				|  |  | +                                <label>重审需要验证码确认,验证码将发送至尾号<%- authMobile.slice(-4) %>的手机</label>
 | 
	
		
			
				|  |  | +                                <div class="input-group input-group-sm mb-3">
 | 
	
		
			
				|  |  | +                                    <input class="form-control" type="text" readonly="readonly" name="code" placeholder="输入短信中的6位验证码" />
 | 
	
		
			
				|  |  | +                                    <div class="input-group-append">
 | 
	
		
			
				|  |  | +                                        <button class="btn btn-outline-secondary" type="button" id="get-code">获取验证码</button>
 | 
	
		
			
				|  |  | +                                    </div>
 | 
	
		
			
				|  |  | +                                </div>
 | 
	
		
			
				|  |  | +                            </div>
 | 
	
		
			
				|  |  | +                        <% } %>
 | 
	
		
			
				|  |  | +                    </div>
 | 
	
		
			
				|  |  | +                    <div class="modal-footer">
 | 
	
		
			
				|  |  | +                        <input type="hidden" name="cid" value="<%= change.cid %>">
 | 
	
		
			
				|  |  | +                        <input type="hidden" name="_csrf_j" value="<%= ctx.csrf %>" />
 | 
	
		
			
				|  |  | +                        <button type="button" class="btn btn-secondary btn-sm" data-dismiss="modal">关闭</button>
 | 
	
		
			
				|  |  | +                        <button type="button" id="re-shenpi-btn" class="btn btn-warning btn-sm" <% if (ctx.session.sessionUser.loginStatus === 0) { %>disabled<% } %>>确定重审</button>
 | 
	
		
			
				|  |  | +                    </div>
 | 
	
		
			
				|  |  | +                </form>
 | 
	
		
			
				|  |  | +            </div>
 | 
	
		
			
				|  |  | +        </div>
 | 
	
		
			
				|  |  |      <% } %>
 | 
	
		
			
				|  |  |  <% } %>
 | 
	
		
			
				|  |  |  <% if (auditStatus === 4 && ctx.session.sessionUser.accountId === change.uid) { %>
 |