list.html 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299
  1. <div ng-controller="workingHistoryFormCtr" class="">
  2. <section id="page-title">
  3. <div class="row">
  4. <div class="col-sm-8">
  5. <h1 class="mainTitle">每日上下班记录
  6. <i tooltip='每日上下班记录,点击操作处理任务' tooltip-placement="right"
  7. class="fa ti-help-alt margin-left-10 fontcolor-five pointfont"></i>
  8. </h1>
  9. </div>
  10. </div>
  11. </section>
  12. <div class="listbote">
  13. <div class="list-controls clearfix">
  14. <div class="btn-group">
  15. <button class="btn btn-statebutton statebutton keepleftbottom wt_btn2" ng-click="onChange('on')"
  16. ng-class="{'statecolor':searchstate=='on'}">上班记录</button>
  17. <button class="btn btn-statebutton statebutton wt_btn2" ng-class="{'statecolor':searchstate=='off'}"
  18. ng-click="onChange('off')">下班记录</button>
  19. </div>
  20. </div>
  21. <div style="background: #F9F9F9 !important;padding-left: 16px;padding-right: 0px;">
  22. <div class="row wt_searchlistback" id="searchid">
  23. <div class="col-xs-10" style="padding-right: 0px !important;padding-bottom: 10px;">
  24. <form class="form-inline incidentsearchsize" style='padding-top: 8px'>
  25. <div class="form-group incidentsearch wt_width">
  26. <div class="">
  27. <div class="control-label pull-left margin-top-5">打卡时间:</div>
  28. <input type="text" class=" incidentsearchsize wt_width5" datepicker-popuptime="yyyy-MM-dd"
  29. ng-model="searchkeys.date" ng-change="changeDate()" max-date="maxDate" is-open="startOpened" hour-time=true
  30. ng-init="startOpened = false" close-text="关闭" ng-click="startOpen($event)" placeholder="" />
  31. </div>
  32. </div>
  33. <div class="form-group incidentsearch wt_width">
  34. <div class="control-label pull-left margin-top-5">状态:</div>
  35. <ui-select class="pull-right selectzise wt_width1 wt_width3" ng-model="searchkeys.state"
  36. theme="bootstrap">
  37. <ui-select-match placeholder="">
  38. {{$select.selected.name}}
  39. </ui-select-match>
  40. <ui-select-choices repeat="item in states | filter: $select.search">
  41. <div ng-bind-html="item.name | highlight: $select.search"></div>
  42. </ui-select-choices>
  43. </ui-select>
  44. </div>
  45. </form>
  46. </div>
  47. <div class="col-xs-2 wt_pad">
  48. <div class="" style='padding-top: 8px'>
  49. <div class="pull-left margin-top-10 searchBtnBox">
  50. <div class=" wt_btns">
  51. <div class="btn btn_search" ng-click="refreshData()" type="button">搜索</div>
  52. </div>
  53. <div class=" wt_btns">
  54. <div class="btn btn_clean" ng-click="clear()" type="button">重置</div>
  55. </div>
  56. </div>
  57. </div>
  58. </div>
  59. </div>
  60. </div>
  61. <div class="wt_list">
  62. <div ui-i18n="{{lang}}" style="background: #fff;">
  63. <div id="grid" style="border-radius: 2px !important;" ui-grid="gridOptions" external-scopes="$scope"
  64. ui-grid-resize-columns ui-grid-auto-resize class="grid"></div>
  65. </div>
  66. </div>
  67. </div>
  68. </div>
  69. <style>
  70. @media screen and (max-width: 1750px) {
  71. .wt_width {
  72. width: 30% !important;
  73. }
  74. .wt_width1 {
  75. width: 60% !important;
  76. }
  77. .wt_width4 {
  78. width: 27% !important;
  79. }
  80. .wt_width5 {
  81. width: 60% !important;
  82. border-color: #dedede;
  83. float: right;
  84. }
  85. }
  86. .selectzise {
  87. width: 160px;
  88. }
  89. .wt_width {
  90. width: 20%;
  91. margin-right: 16px;
  92. min-width: 275px !important;
  93. }
  94. .wt_width1 {
  95. width: 160px;
  96. }
  97. .wt_margin-top {
  98. margin-top: 35px !important;
  99. }
  100. .form-inline .form-control {
  101. border-radius: 2px;
  102. }
  103. .wt_width3 {
  104. width: 160px;
  105. height: 28px !important;
  106. border-radius: 2px !important;
  107. }
  108. .wt_width4 {
  109. width: 20%;
  110. }
  111. .wt_width5 {
  112. width: 160px;
  113. border-color: #dedede;
  114. float: right;
  115. height: 28px;
  116. border-radius: 2px !important;
  117. }
  118. .wt_width6 {
  119. display: inline-block;
  120. padding-top: 0px;
  121. position: relative;
  122. top: 4px;
  123. /* left: 10px; */
  124. width: 8.2%;
  125. text-align: left;
  126. }
  127. .ui-select-bootstrap .ui-select-toggle {
  128. height: 28px;
  129. }
  130. /*
  131. .wt_width {
  132. width: 20%;
  133. margin-right: 1%;
  134. padding: 0px;
  135. }
  136. .wt_width1 {
  137. width: 100% !important;
  138. padding: 0px;
  139. } */
  140. .wt_width2 {
  141. width: 50% !important;
  142. }
  143. .wt_pad {
  144. padding: 0px;
  145. }
  146. .wt_btns {
  147. display: inline-block;
  148. margin-right: 8px;
  149. }
  150. .wt_btn1 {
  151. width: 60px;
  152. height: 28px !important;
  153. border-radius: 2px;
  154. line-height: 28px;
  155. font-size: 14px;
  156. padding: 0px !important;
  157. font-size: 14px !important;
  158. }
  159. .btn.steelbutton.wt_btn1 {
  160. padding: 0px !important;
  161. }
  162. .wt_btnColor {
  163. background: #4A90E2 !important;
  164. }
  165. /* .btn{
  166. padding: 0px!important;
  167. } */
  168. .wt_btnColor:hover {
  169. background: #fff !important;
  170. color: #2B5EB8 !important;
  171. border: 1px solid #2B5EB8;
  172. }
  173. .wt_btnColor2:hover {
  174. background: #fff !important;
  175. color: #2B5EB8 !important;
  176. border: 1px solid #2B5EB8;
  177. }
  178. .wt_btn2 {
  179. width: 100px;
  180. height: 34px !important;
  181. border-radius: 2px !important;
  182. }
  183. .wt_list {
  184. padding: 15px;
  185. background: #F9F9F9;
  186. }
  187. .ui-grid-render-container:hover {
  188. background: #fff !important;
  189. }
  190. .wt_btnColor1 {
  191. background: #fff !important;
  192. color: #2B5EB8 !important;
  193. border: 1px solid #2B5EB8;
  194. }
  195. .wt_btnColor1:hover {
  196. background: #4A90E2 !important;
  197. color: #fff !important;
  198. border: 1px solid #4A90E2 !important;
  199. }
  200. div.ui-grid-row.ng-scope:hover {
  201. cursor: pointer;
  202. background: #fff !important;
  203. }
  204. .wt_searchlistback {
  205. margin-top: 1px;
  206. margin-bottom: 8px;
  207. border-top-left-radius: 0px !important;
  208. border-top-right-radius: 8px !important;
  209. border-bottom-left-radius: 8px !important;
  210. border-bottom-right-radius: 8px !important;
  211. }
  212. .ui-grid-row:nth-child(even) .ui-grid-cell {
  213. background: #fafafa !important;
  214. }
  215. .searchBtnBox>.wt_btns {
  216. margin: 0 8px 10px 0;
  217. }
  218. /* 故障地点 */
  219. .address-wrap {
  220. position: relative;
  221. height: 28px;
  222. }
  223. #bx_address {
  224. height: 100%;
  225. }
  226. #bx_address_ul {
  227. position: absolute;
  228. top: 28px;
  229. left: 0;
  230. width: 100%;
  231. max-height: 136px;
  232. overflow-y: auto;
  233. background-color: #fff;
  234. border: 1px solid #d1d1d1;
  235. border-top: none;
  236. z-index: 9999;
  237. }
  238. #bx_address_ul li {
  239. height: 34px;
  240. border-bottom: 1px solid #d1d1d1;
  241. line-height: 32px;
  242. padding: 0 16px;
  243. cursor: pointer;
  244. overflow: hidden;
  245. text-overflow: ellipsis;
  246. white-space: nowrap;
  247. }
  248. #bx_address_ul li:hover {
  249. /* background-color: #005395; */
  250. /* color: #fff; */
  251. }
  252. #bx_address_ul li:last-child {
  253. border-bottom: none;
  254. }
  255. </style>