hr.html 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292
  1. <!-- include '../header' -->
  2. <script type="text/javascript" src="<?= WEB_SITE_GLOBAL ?>/js/humanResource.js"></script>
  3. <link rel=stylesheet href="<?= WEB_SITE_GLOBAL ?>css/jquery.validator.css">
  4. <script type="text/javascript" src="<?= WEB_SITE_GLOBAL ?>js/jquery.validator.min.js"></script>
  5. <script type="text/javascript" src="<?= WEB_SITE_GLOBAL ?>js/zh-CN.js"></script>
  6. <script src="<?= WEB_SITE_GLOBAL ?>js/hr.validator.js"></script>
  7. <body>
  8. <div class="mainLayout">
  9. <div class="mainMenu">
  10. <div class="menuItem">
  11. <a href="#" class="mLogo">CLD</a>
  12. <ul>
  13. <!-- include '../menu' -->
  14. </ul>
  15. </div>
  16. </div>
  17. <div class="warpContent">
  18. <div class="subMenu fL">
  19. <div class="menuItem">
  20. <!-- include 'hrMenu' -->
  21. </div>
  22. </div>
  23. <div class="adminContent autoHeight">
  24. <div class="saea-borad">
  25. <div class="borad-menu">
  26. </div>
  27. <div class="borad-news">
  28. <div class="saeaList">
  29. <div class="clearfix">
  30. <legend><div class="fR"></div>需要您处理</legend>
  31. <table class="table table-bordered table-condensed">
  32. <tbody>
  33. <tr><th class="taC" width="140">员工名称</th><th class="taC">办事处/部门</th><th class="taC">岗位</th><th class="taC">状态</th><th class="taC" width="120">操作</th></tr>
  34. <!-- loop staffList -->
  35. <tr>
  36. <td><a href="#employeeInfo" node-employeeInfo node-sidKey="{{staffList' value.sidKey}}" data-toggle="modal">{{staffList' value.username}}</a></td>
  37. <td>{{staffList' value.category}}</td>
  38. <td>{{staffList' value.position}}</td>
  39. <td>
  40. <!-- if {{staffList' value.pendStatus}}==2 -->
  41. 待入职
  42. <!-- elseif {{staffList' value.pendStatus}}==3 -->
  43. 待离职
  44. <!-- elseif {{staffList' value.pendStatus}}==5 -->
  45. 待转正
  46. <!-- elseif {{staffList' value.pendStatus}}==6 -->
  47. 待晋升
  48. <!-- elseif {{staffList' value.pendStatus}}==7 -->
  49. 待再入职
  50. <!-- endif -->
  51. </td>
  52. <td>
  53. <!-- if {{staffList' value.pendStatus}}==2 -->
  54. <a class="button btn-block" node-approvals node-sidKey="{{staffList' value.sidKey}}" href="#approval" data-toggle="modal">入职审批</a>
  55. <!-- elseif {{staffList' value.pendStatus}}==3 -->
  56. <a class="button btn-block" node-approvalsDimission node-sidKey="{{staffList' value.sidKey}}" href="#approvalDimission" data-toggle="modal">离职审批</a>
  57. <!-- elseif {{staffList' value.pendStatus}}==5 -->
  58. <a class="button btn-block" node-approvalsRegular node-sidKey="{{staffList' value.sidKey}}" href="#approvalRegular" data-toggle="modal">转正审批</a>
  59. <!-- elseif {{staffList' value.pendStatus}}==6 -->
  60. <a class="button btn-block" node-approvalsPromote node-sidKey="{{staffList' value.sidKey}}" href="#approvalPromote" data-toggle="modal">晋升审批</a>
  61. <!-- elseif {{staffList' value.pendStatus}}==7 -->
  62. <a class="button btn-block" node-approvalsReentry node-sidKey="{{staffList' value.sidKey}}" href="#approvalReentry" data-toggle="modal">再入职审批</a>
  63. <!-- endif -->
  64. </td>
  65. </tr>
  66. <!-- endloop -->
  67. </tbody>
  68. </table>
  69. </div>
  70. <div class="clearfix">
  71. <legend><div class="fR"></div>进行中</legend>
  72. <table class="table table-bordered table-condensed">
  73. <tbody>
  74. <tr><th class="taC" width="140">员工名称</th><th class="taC">办事处/部门</th><th class="taC">岗位</th><th class="taC">状态</th><th class="taC" width="120">时间</th></tr>
  75. <!-- loop staffProcessing -->
  76. <tr>
  77. <td><a href="#employeeInfo" node-employeeInfo node-sidKey="{{staffList' value.sidKey}}" data-toggle="modal">{{staffList' value.username}}</a></td>
  78. <td>{{staffList' value.category}}</td>
  79. <td>{{staffList' value.position}}</td>
  80. <td>
  81. <!-- if {{staffList' value.pendStatus}}==2 -->
  82. 待入职
  83. <!-- elseif {{staffList' value.pendStatus}}==3 -->
  84. 待离职
  85. <!-- elseif {{staffList' value.pendStatus}}==5 -->
  86. 待转正
  87. <!-- elseif {{staffList' value.pendStatus}}==6 -->
  88. 待晋升
  89. <!-- elseif {{staffList' value.pendStatus}}==7 -->
  90. 待再入职
  91. <!-- endif -->
  92. </td>
  93. <td width="120">2018-06-07</td>
  94. </tr>
  95. <!-- endloop -->
  96. </tbody>
  97. </table>
  98. </div>
  99. <div class="clearfix">
  100. <legend><div class="fR"></div>最近变动</legend>
  101. <table class="table table-bordered table-condensed">
  102. <tbody>
  103. <tr><th class="taC" width="140">员工名称</th><th class="taC">办事处/部门</th><th class="taC">岗位</th><th class="taC">状态</th><th class="taC" width="120">时间</th></tr>
  104. <!-- loop staffNew -->
  105. <tr>
  106. <td><a href="#employeeInfo" node-employeeInfo node-sidKey="{{staffList' value.sidKey}}" data-toggle="modal">{{staffList' value.username}}</a></td>
  107. <td>{{staffList' value.category}}</td>
  108. <td>{{staffList' value.position}}</td>
  109. <td>
  110. <!-- if {{staffList' value.pendStatus}}==0 -->
  111. 入职
  112. <!-- elseif {{staffList' value.pendStatus}}==4 -->
  113. 离职
  114. <!-- endif -->
  115. </td>
  116. <td width="120">2018-06-07</td>
  117. </tr>
  118. <!-- endloop -->
  119. </tbody>
  120. </table>
  121. </div>
  122. </div>
  123. </div>
  124. </div>
  125. </div>
  126. </div>
  127. </div>
  128. <!--弹出(审批员工入职)-->
  129. <div class="modal hide fade" id="approval">
  130. <form method="post" action="/employeeInductionApprovals" name="group">
  131. <input type="hidden" name="sidKey" id='sidKey' value="">
  132. <div class="modal-dialog modal-xlg">
  133. <div class="modal-content">
  134. <div class="modal-header">
  135. <h3>员工入职审批</h3>
  136. </div>
  137. <div id='staffDetailNC'>
  138. </div>
  139. <div class="modal-footer">
  140. <input type="submit" class="button" value="审批通过">
  141. <a href="#" class="button btn-gray" data-dismiss="modal" aria-hidden="true">关闭</a>
  142. </div>
  143. </div>
  144. </div>
  145. </form>
  146. </div>
  147. <!--弹出(审批员工转正)-->
  148. <div class="modal hide fade" id="approvalRegular">
  149. <form method="post" action="/employeeRegularApprovals" name="group">
  150. <input type="hidden" name="sidKey" id='sidKeyRegular' value="">
  151. <div class="modal-dialog modal-xlg">
  152. <div class="modal-content">
  153. <div class="modal-header">
  154. <h3>员工转正审批</h3>
  155. </div>
  156. <div id='staffDetailAD'>
  157. </div>
  158. <div class="modal-footer">
  159. <input type="submit" class="button" value="审批通过">
  160. <a href="#" class="button btn-gray" data-dismiss="modal" aria-hidden="true">关闭</a>
  161. </div>
  162. </div>
  163. </div>
  164. </form>
  165. </div>
  166. <!--弹出(审批员工离职)-->
  167. <div class="modal hide fade" id="approvalDimission">
  168. <form method="post" action="/employeeDimissionApprovals" name="group">
  169. <input type="hidden" name="sidKey" id='sidKeyDimission' value="">
  170. <div class="modal-dialog modal-xlg">
  171. <div class="modal-content">
  172. <div class="modal-header">
  173. <h3>员工离职审批</h3>
  174. </div>
  175. <div id='staffDetailDi'>
  176. </div>
  177. <div class="modal-footer">
  178. <input type="submit" class="button" value="审批通过">
  179. <a href="#" class="button btn-gray" data-dismiss="modal" aria-hidden="true">关闭</a>
  180. </div>
  181. </div>
  182. </div>
  183. </form>
  184. </div>
  185. <!--弹出(审批员工晋升)-->
  186. <div class="modal hide fade" id="approvalPromote">
  187. <form method="post" action="/employeePromoteApprovals" name="group">
  188. <input type="hidden" name="sidKey" id='sidKeyPromote' value="">
  189. <div class="modal-dialog modal-xlg">
  190. <div class="modal-content">
  191. <div class="modal-header">
  192. <h3>员工晋升审批</h3>
  193. </div>
  194. <div id='staffDetailP'>
  195. </div>
  196. <div class="modal-footer">
  197. <input type="submit" class="button" value="审批通过">
  198. <a href="#" class="button btn-gray" data-dismiss="modal" aria-hidden="true">关闭</a>
  199. </div>
  200. </div>
  201. </div>
  202. </form>
  203. </div>
  204. <!--弹出(审批员工再入职)-->
  205. <div class="modal hide fade" id="approvalReentry">
  206. <form method="post" action="/employeeReentryApprovals" name="group">
  207. <input type="hidden" name="sidKey" id='sidKeyReentry' value="">
  208. <div class="modal-dialog modal-xlg">
  209. <div class="modal-content">
  210. <div class="modal-header">
  211. <h3>员工晋升审批</h3>
  212. </div>
  213. <div id='staffDetailReentry'>
  214. </div>
  215. <div class="modal-footer">
  216. <input type="submit" class="button" value="审批通过">
  217. <a href="#" class="button btn-gray" data-dismiss="modal" aria-hidden="true">关闭</a>
  218. </div>
  219. </div>
  220. </div>
  221. </form>
  222. </div>
  223. <!--弹出(更新员工信息)-->
  224. <div class="modal hide fade" id="employeeInfo">
  225. <form method="post" action="/staffUpdate" id="staffUpdate">
  226. <input type="hidden" name="sidKey" id='sidKeyEmployeeInfo' value="">
  227. <input type="hidden" name="employeeInfo" value="employeeInfo">
  228. <div class="modal-dialog modal-xlg">
  229. <div class="modal-content">
  230. <div id='EMPLOYEENC'>
  231. </div>
  232. <div class="modal-footer">
  233. <input type="submit" class="button" value="确定更新">
  234. <a href="#" class="button btn-gray" data-dismiss="modal" aria-hidden="true">关闭</a>
  235. </div>
  236. </div>
  237. </div>
  238. </form>
  239. </div>
  240. <script type="text/javascript">autoFlashHeight();</script>
  241. </body>