hr.html 9.5 KB

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