<% if (ctx.stage.status !== auditConst.status.uncheck) { %>
<!--选择比较期-->
<div class="modal fade" id="select-qi" 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">
                <table class="table table-sm">
                    <tr><th>审批人</th><th width="90">选择</th></tr>
                    <% for (const a of ctx.stage.auditors) { %>
                    <% if (a.status === auditConst.status.checked) { %>
                    <tr><td>a.name</td><td><input type="checkbox"></td></tr>
                    <% } %>
                    <% } %>
                </table>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-secondary" data-dismiss="modal">关闭</button>
                <button type="button" class="btn btn-primary" id="select-qi-ok">确认</button>
            </div>
        </div>
    </div>
</div>
<% } %>
<% include ./audit_modal.ejs %>