category.ejs 1.1 KB

1234567891011121314151617181920212223242526272829303132
  1. <% include ./sub_menu.ejs %>
  2. <div class="panel-content">
  3. <div class="panel-title">
  4. <div class="title-main">
  5. <h2>标段自定义类别
  6. <a href="#add-cate" data-toggle="modal" data-target="#add-cate" class="btn btn-primary btn-sm pull-right">添加类别</a>
  7. </h2>
  8. </div>
  9. </div>
  10. <div class="content-wrap">
  11. <div class="c-body">
  12. <table class="table table-hover table-bordered table-sm">
  13. <thead>
  14. <tr>
  15. <th>名称</th>
  16. <th>类型</th>
  17. <th>值</th>
  18. <th>操作</th>
  19. </tr>
  20. </thead>
  21. <tbody id="categoryList">
  22. </tbody>
  23. </table>
  24. </div>
  25. </div>
  26. </div>
  27. <script>
  28. let cData = JSON.parse('<%- JSON.stringify(categoryData) %>');
  29. const cType = JSON.parse('<%- JSON.stringify(categoryType) %>');
  30. let tenders = JSON.parse('<%- JSON.stringify(tenderData) %>');
  31. </script>
  32. <script src="/public/js/category.js"></script>