patrol_work.html 2.5 KB

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