list.ejs 1.2 KB

12345678910111213141516171819202122232425262728
  1. <div class="panel-content">
  2. <div class="panel-title fluid">
  3. <div class="title-main d-flex justify-content-between">
  4. <div>动态投资</div>
  5. </div>
  6. </div>
  7. <div class="content-wrap">
  8. <div class="sjs-height-0" style="background-color: #fff">
  9. <div class="c-body">
  10. <% if (!budgetList || budgetList.length === 0) { %>
  11. <div class="jumbotron">
  12. <h3 class="display-6">还没有项目数据</h3>
  13. </div>
  14. <% } else { %>
  15. <table class="table table-hover table-bordered">
  16. <tr class="text-center"><th style="min-width: 200px">项目名称</th><th>概预算标准</th><th>创建时间</th><th>投资估算</th><th>初步概算</th><th>施工图预算</th><th>操作</th></tr>
  17. <tbody id="budgetList">
  18. </tbody>
  19. </table>
  20. <% } %>
  21. </div>
  22. </div>
  23. </div>
  24. </div>
  25. <script>
  26. const budgetList = JSON.parse(unescape('<%- escape(JSON.stringify(budgetList)) %>'));
  27. const category = JSON.parse(unescape('<%- escape(JSON.stringify(categoryData)) %>'));
  28. </script>