1234567891011121314151617181920212223242526272829303132333435 |
- <div class="modal fade" id="add-rpt" 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" style="max-height:800px;overflow: auto">
- <table id="rpt-table1" class="table table-bordered">
- <thead>
- <tr>
- <th class="text-center"><input type="checkbox" id="select_all_rpt_checkbox"> 选择</th>
- <th class="text-center">表单名</th>
- </tr>
- </thead>
- <tbody id="rpt_table">
- <% for (const rpt of rptProjectList) { %>
- <tr>
- <td class="text-center">
- <input type="checkbox" name="rptId[]" data-name="<%- rpt.name %>" value="<%- rpt.ID %>"
- <% if (ctx.helper._.findIndex(tenderRptList, { rpt_id: rpt.ID }) !== -1) { %>checked<% } %> <% if (rpt.had_rpt) { %>disabled<% } %>>
- </td>
- <td class="in-<%- rpt.level %>"><% if (rpt.items && rpt.items.length > 0) { %><i class="fa fa-folder-o"></i> <% } %><%- rpt.name %></td>
- </tr>
- <% } %>
- </tbody>
- </table>
- </div>
- <div class="modal-footer">
- <input type="hidden" id="add_tender_folder_id" />
- <button type="button" class="btn btn-sm btn-secondary" data-dismiss="modal">取消</button>
- <button type="button" class="btn btn-sm btn-primary" id="add_rpt_btn">确定添加</button>
- </div>
- </div>
- </div>
- </div>
|