0
0

device_work.html 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. {extend name="common/common2" /}
  2. {block name="main"}
  3. <div class="ibox-content">
  4. <div class="row">
  5. <div class="col-sm-12">
  6. <div class="ibox float-e-margins">
  7. <h5>{$meta_title}</h5>
  8. <div class="panel-body" id="printer">
  9. <table class="table table-bordered">
  10. <thead>
  11. <tr>
  12. <th>设备</th>
  13. <th>总数</th>
  14. <th>本月</th>
  15. <th>本周</th>
  16. <th>今天</th>
  17. </tr>
  18. </thead>
  19. <tbody>
  20. {foreach $data.list as $k=>$v}
  21. <tr>
  22. <td>{$v['title']}</td>
  23. <td>{$v['count']}</td>
  24. <td>{$v['count1']}</td>
  25. <td>{$v['count2']}</td>
  26. <td>{$v['count3']}</td>
  27. </tr>
  28. {/foreach}
  29. <tr>
  30. <td style="text-align: right;"><strong>合计</strong></td>
  31. <td>{$data['count']}</td>
  32. <td>{$data['count1']}</td>
  33. <td>{$data['count2']}</td>
  34. <td>{$data['count3']}</td>
  35. </tr>
  36. </tbody>
  37. </table>
  38. </div>
  39. </div>
  40. </div>
  41. </div>
  42. </div>
  43. {/block}
  44. {block name="script"}
  45. <script src="/static/echarts.js"></script>
  46. <script src="/static/browser.js"></script>
  47. <script src="/static/layDate-v5.0.9/laydate.js"></script>
  48. <script type="text/javascript">
  49. function empty_search(){
  50. window.location.href = 'duration';
  51. }
  52. $(function () {
  53. laydate.render({
  54. elem: '#dialog-datetime1'
  55. ,type: 'month',
  56. theme:'#148d8f'
  57. });
  58. })
  59. </script>
  60. {/block}