lock_count.html 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. <!-- include 'header' -->
  2. <link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css" />
  3. <script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
  4. <script src="<?= WEB_SITE_GLOBAL ?>/js/jquery.ui.core.js"></script>
  5. <script src="<?= WEB_SITE_GLOBAL ?>/js/jquery.ui.widget.js"></script>
  6. <script src="<?= WEB_SITE_GLOBAL ?>/js/jquery.ui.position.js"></script>
  7. <script src="<?= WEB_SITE_GLOBAL ?>/js/jquery.ui.autocomplete.js"></script>
  8. <script>
  9. $(function() {
  10. $('select[fnCidData]').change(function() {
  11. $("#statistics").submit();
  12. });
  13. })
  14. </script>
  15. <body>
  16. <div class="mainLayout">
  17. <div class="mainMenu">
  18. <div class="menuItem">
  19. <a href="/" class="mLogo">CLD</a>
  20. <ul>
  21. <!-- include 'menu' -->
  22. </ul>
  23. </div>
  24. </div>
  25. <div class="warpContent">
  26. <div class="contactTab">
  27. <a href="/keyonline">公共锁库</a>
  28. <a class="now" href="#">使用统计</a>
  29. <div class="searchItem"><input type="text" placeholder="输入锁号进行搜索"><input type="button" class="subBtn" value="搜索"><input value="新锁" class="subBtn add" type="button" onclick="javascrtpt:window.location.href='admin-addlock.html'"></div>
  30. </div>
  31. <div class="lockDatabase fL autoHeight">
  32. <form id="statistics" action="/statistics" method="get" >
  33. <select name="cidKey" fnCidData >
  34. <!-- loop category -->
  35. <option <!-- if {{cid}}=={{category' value.cid}} --> selected <!-- endif --> value="{{category' value.cidKey}}">{{category' value.title}}</option>
  36. <!-- endloop -->
  37. </select>
  38. </form>
  39. <table class="table table-bordered table-condensed table-hover" style="margin:5px">
  40. <thead>
  41. <tr>
  42. <th rowspan="2" >办事处</th><th rowspan="2">员工</th><th colspan="3" class="taC">锁统计</th>
  43. </tr>
  44. <tr>
  45. <th title="接收">未使用</th><th title="销售、赠送、借出、升级、收回、更换">已使用</th><th>合计</th>
  46. </tr>
  47. </thead>
  48. <tbody>
  49. <!-- loop staffList -->
  50. <tr>
  51. <td>{{staffList' value.category}}</td>
  52. <td>{{staffList' value.username}}</td>
  53. <td>{{staffList' value.b}}</td>
  54. <td>{{staffList' value.a}}</td>
  55. <td>{{staffList' value.sum}}</td>
  56. </tr>
  57. <!-- endloop -->
  58. </tbody>
  59. </table>
  60. </div>
  61. <div class="lockDetil fL">
  62. </div>
  63. </div>
  64. </div>
  65. <script type="text/javascript">autoFlashHeight();</script>
  66. </body>