workList.html 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. <!DOCTYPE html>
  2. <html xmlns="http://www.w3.org/1999/xhtml" ng-app="app">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
  6. <title>值班日志</title>
  7. <link href="../../AFrontEnd/css/animate.css" rel="stylesheet" />
  8. <link href="../../AFrontEnd/css/fontawesome/css/font-awesome.css" rel="stylesheet" />
  9. <link href="../../AFrontEnd/css/bootstrap.css" rel="stylesheet" />
  10. <link href="../../AFrontEnd/css/style.css" rel="stylesheet" />
  11. <script>document.write("<link href='../../AFrontEnd/css/special.css?time=" + new Date().getTime() + "' rel='stylesheet'>");</script>
  12. </head>
  13. <body>
  14. <div ng-controller="listCtrl as ctl" ng-cloak>
  15. <div class="loading" ng-if="ctl.loading">
  16. <div class="loading-msg">
  17. <h3>数据加载中,请等待</h3>
  18. <div class="spinner">
  19. <div class="bounce1"></div>
  20. <div class="bounce2"></div>
  21. <div class="bounce3"></div>
  22. </div>
  23. </div>
  24. </div>
  25. <div class="wrapper wrapper-content">
  26. <div class="row">
  27. <div class="col-md-12">
  28. <div class="ibox float-e-margins">
  29. <div class="ibox-content">
  30. <div class="row">
  31. <div class="col-md-12">
  32. <div class="sp-page-tab">
  33. <a class="sp-pull-right sp-btn-gray sp-btn-radius" ng-click="ctl.getData(ctl.pageno)">
  34. <i class="fa fa-refresh sp-mr-5"></i>刷 新
  35. </a>
  36. <a class="sp-pull-right sp-btn-gray sp-btn-radius" ng-click="ctl.btnAdd()">
  37. <i class="fa fa-plus sp-mr-5"></i>新 建
  38. </a>
  39. </div>
  40. </div>
  41. <div class="sp-page">
  42. <table class="sp-table sp-mt-10">
  43. <thead>
  44. <tr>
  45. <th width="50">序号</th>
  46. <th>日期</th>
  47. <th>星期</th>
  48. <th>带班领导及职务</th>
  49. <th>白班</th>
  50. <th>夜班</th>
  51. <th>值班记录</th>
  52. <th class="sp-text-center" style="width: 180px;">操 作</th>
  53. </tr>
  54. </thead>
  55. <tbody>
  56. <tr dir-paginate="item in ctl.list|itemsPerPage:ctl.itemsPerPage" total-items="ctl.total_count">
  57. <td ng-bind="(ctl.pageno-1)*ctl.itemsPerPage+($index+1)"></td>
  58. <td ng-bind="item.GLRQ1"></td>
  59. <td ng-bind="item.XINGQI"></td>
  60. <td ng-bind="item.DBLDZW"></td>
  61. <td ng-bind="item.ZBYBB"></td>
  62. <td ng-bind="item.ZBYYB"></td>
  63. <td ng-bind="item.ZBJL"></td>
  64. <td class="sp-text-center">
  65. <button class="sp-btn-blue sp-btn-sm sp-radius" ng-click="ctl.btnEdit(item.ID)" ng-if="ctl.userId==item.USERID">编&nbsp;辑</button>
  66. <button class="sp-btn-red sp-btn-sm sp-radius" ng-click="ctl.btnDel(item.ID)" ng-if="ctl.userId==item.USERID">删&nbsp;除</button>
  67. <button class="sp-btn-blue sp-btn-sm sp-radius" ng-click="ctl.btnRead(item.ID)" ng-if="ctl.userId!=item.USERID">查&nbsp;看</button>
  68. </td>
  69. </tr>
  70. </tbody>
  71. </table>
  72. <div class="sp-table-tip ng-hide" ng-show="ctl.noDataTip == 0">
  73. <i class="fa fa-exclamation-circle sp-mr-10"></i>您好,暂未查询到相关信息!
  74. </div>
  75. <div class="sp-page" ng-show="ctl.noDataTip != 0">
  76. <div class="sp-page-col sp-pull-right">
  77. <div class="sp-lh-34">
  78. 每页 <select ng-model="ctl.itemsPerPage" ng-options="x for x in ctl.pageOptions"
  79. ng-init="ctl.itemsPerPage=ctl.pageOptions[0]"></select> 条
  80. </div>
  81. </div>
  82. <div class="sp-page-col sp-pull-right">
  83. <dir-pagination-controls max-size="8" direction-links="true" boundary-links="true"
  84. on-page-change="ctl.getData(newPageNumber)">
  85. </dir-pagination-controls>
  86. </div>
  87. </div>
  88. </div>
  89. </div>
  90. </div>
  91. </div>
  92. </div>
  93. </div>
  94. </div>
  95. </div>
  96. </div>
  97. <script src="../../AFrontEnd/js/jquery/jquery-2.1.4.min.js"></script>
  98. <script src="../../AFrontEnd/js/laydate/laydate.js"></script>
  99. <script src="../../AFrontEnd/js/angularjs/angular.js"></script>
  100. <script src="../../AFrontEnd/js/angularjs/dirPagination.js"></script>
  101. <script src="../../apiurljs.js"></script>
  102. <script src="../../js/sm4.js"></script>
  103. <script>document.write('<scri' + 'pt src="../../AFrontEnd/js/special/special.js?time=' + new Date().getTime() + '" type="text/javascript"></s' + 'cript>')</script>
  104. <script>document.write('<scri' + 'pt src="js/workList.js?time=' + new Date().getTime() + '" type="text/javascript"></s' + 'cript>')</script>
  105. <script src="../../AFrontEnd/js/special/spng.js"></script>
  106. <script src="../../AFrontEnd/js/special/spngvld.js"></script>
  107. </body>
  108. </html>