category.ejs 1.3 KB

123456789101112131415161718192021222324252627282930313233343536
  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. <div class="sjs-height-0">
  13. <div class="m-3">
  14. <table class="table table-hover table-bordered table-sm">
  15. <thead>
  16. <tr>
  17. <th>名称</th>
  18. <th>值</th>
  19. <th>操作</th>
  20. </tr>
  21. </thead>
  22. <tbody id="categoryList">
  23. </tbody>
  24. </table>
  25. </div>
  26. </div>
  27. </div>
  28. </div>
  29. </div>
  30. <script>
  31. let cData = JSON.parse(unescape('<%- escape(JSON.stringify(categoryData)) %>'));
  32. const cType = JSON.parse(unescape('<%- escape(JSON.stringify(categoryType)) %>'));
  33. let tenders = JSON.parse(unescape('<%- escape(JSON.stringify(tenderData)) %>'));
  34. </script>
  35. <script src="/public/js/category.js"></script>
  36. <script>autoFlashHeight();</script>