123456789101112131415161718192021222324252627282930 |
- <!--设置z自定义变更类别-->
- <div class="modal fade" id="bgclass" 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">
- <div class="alert alert-warning">设置后,工程变更-变更类别仅显示显示勾选的类别。</div>
- <div id="change_class_div">
- <% for (const cc of funSet.change_class) { %>
- <div class="input-group input-group-sm mb-1">
- <div class="input-group-prepend">
- <div class="input-group-text">
- <input type="checkbox" value="<%- cc.value %>" aria-label="Checkbox for following text input" <% if (cc.checked) { %>checked<% } %>>
- </div>
- <span class="input-group-text"><%- cc.name %></span>
- </div>
- <input type="text" class="form-control" value="<%- cc.new_name %>" <% if (!cc.checked) { %>readonly<% } %> aria-label="Text input with checkbox" placeholder="">
- </div>
- <% } %>
- </div>
- <div class="modal-footer">
- <button type="button" class="btn btn-sm btn-secondary" data-dismiss="modal">关闭</button>
- <button type="button" class="btn btn-sm btn-primary" id="set_change_class_btn">确认</button>
- </div>
- </div>
- </div>
- </div>
- </div>
|