appoint_list.blade.php 59 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104
  1. <section class="content">
  2. <div class="row">
  3. <div class="col-md-12">
  4. <div class="box">
  5. {{ csrf_field() }}
  6. <div class="box-body table-responsive">
  7. <div class="col-md-3 clearfix">
  8. <div class="box-body table-responsive" style="padding:5px;">
  9. <div class="form-group clearfix" style="margin-bottom:0;">
  10. <label for="prefix" class="control-label">政治面貌:</label>
  11. <div style="float: left;width: 150px;">
  12. <select class="form-control" name="political_affiliation" id="political_affiliation">
  13. <option value=''>不限</option>
  14. <option @if(array_key_exists('political_affiliation',$search_data) && $search_data['political_affiliation'] == '01') selected @endif value="01">中共党员</option>
  15. <option @if(array_key_exists('political_affiliation',$search_data) && $search_data['political_affiliation'] == '02') selected @endif value="02">中共预备党员</option>
  16. <option @if(array_key_exists('political_affiliation',$search_data) && $search_data['political_affiliation'] == '03') selected @endif value="03">共青团员</option>
  17. <option @if(array_key_exists('political_affiliation',$search_data) && $search_data['political_affiliation'] == '04') selected @endif value="04">民革党员</option>
  18. <option @if(array_key_exists('political_affiliation',$search_data) && $search_data['political_affiliation'] == '05') selected @endif value="05">民盟盟员</option>
  19. <option @if(array_key_exists('political_affiliation',$search_data) && $search_data['political_affiliation'] == '06') selected @endif value="06">民建会员</option>
  20. <option @if(array_key_exists('political_affiliation',$search_data) && $search_data['political_affiliation'] == '07') selected @endif value="07">民进会员</option>
  21. <option @if(array_key_exists('political_affiliation',$search_data) && $search_data['political_affiliation'] == '08') selected @endif value="08">农工党党员</option>
  22. <option @if(array_key_exists('political_affiliation',$search_data) && $search_data['political_affiliation'] == '09') selected @endif value="09">致公党党员</option>
  23. <option @if(array_key_exists('political_affiliation',$search_data) && $search_data['political_affiliation'] == '10') selected @endif value="10">九三学社社员</option>
  24. <option @if(array_key_exists('political_affiliation',$search_data) && $search_data['political_affiliation'] == '11') selected @endif value="11">台盟盟员</option>
  25. <option @if(array_key_exists('political_affiliation',$search_data) && $search_data['political_affiliation'] == '12') selected @endif value="12">无党派人士</option>
  26. <option @if(array_key_exists('political_affiliation',$search_data) && $search_data['political_affiliation'] == '13') selected @endif value="13">群众</option>
  27. </select>
  28. </div>
  29. </div>
  30. </div>
  31. <div class="box-body table-responsive" style="padding:5px;">
  32. <div class="form-group clearfix" style="margin-bottom:0;">
  33. <label for="prefix" class="control-label">报名状态:</label>
  34. <div style="float: left;width: 150px;">
  35. <select class="form-control" name="audit" id="audit">
  36. <option value=''>不限</option>
  37. <option @if(array_key_exists('audit',$search_data) && $search_data['audit'] == '1') selected @endif value='1'>已提交,待审核</option>
  38. <option @if(array_key_exists('audit',$search_data) && $search_data['audit'] == '2') selected @endif value='2'>审核失败,已退回</option>
  39. <option @if(array_key_exists('audit',$search_data) && $search_data['audit'] == '3') selected @endif value='3'>审核成功</option>
  40. </select>
  41. </div>
  42. </div>
  43. </div>
  44. <div class="box-body table-responsive" style="padding:5px;">
  45. <div class="form-group clearfix" style="margin-bottom:0;">
  46. <label for="prefix" class="control-label">精确查询:</label>
  47. <div style="float: left;width: 150px;">
  48. <input type="text" class="form-control" name="realname" id="realname" placeholder="请输入姓名" @if(array_key_exists('realname',$search_data)) value="{{$search_data['realname']}}" @endif>
  49. </div>
  50. </div>
  51. </div>
  52. </div>
  53. <div class="col-md-3 clearfix">
  54. <div class="box-body table-responsive" style="padding:5px;">
  55. <div class="form-group clearfix" style="margin-bottom:0;">
  56. <label for="prefix" class="control-label">性别:</label>
  57. <div style="float: left;width: 150px;">
  58. <select class="form-control" name="sex" id="sex">
  59. <option value=''>不限</option>
  60. <option value='0' @if(array_key_exists('sex',$search_data) && $search_data['sex'] == '0') selected @endif>女</option>
  61. <option value='1' @if(array_key_exists('sex',$search_data) && $search_data['sex'] == '1') selected @endif>男</option>
  62. </select>
  63. </div>
  64. </div>
  65. </div>
  66. <div class="box-body table-responsive" style="padding:5px;">
  67. <div class="form-group clearfix" style="margin-bottom:0;">
  68. <label for="prefix" class="control-label">学历:</label>
  69. <div style="float: left;width: 150px;">
  70. <select class="form-control" name="education" id="education">
  71. <option value=''>不限</option>
  72. <option value='小学' @if(array_key_exists('education',$search_data) && $search_data['education'] == '小学') selected @endif>小学</option>
  73. <option value='初中' @if(array_key_exists('education',$search_data) && $search_data['education'] == '初中') selected @endif>初中</option>
  74. <option value='技校' @if(array_key_exists('education',$search_data) && $search_data['education'] == '技校') selected @endif>技校</option>
  75. <option value='职高' @if(array_key_exists('education',$search_data) && $search_data['education'] == '职高') selected @endif>职高</option>
  76. <option value='高中' @if(array_key_exists('education',$search_data) && $search_data['education'] == '高中') selected @endif>高中</option>
  77. <option value='中专' @if(array_key_exists('education',$search_data) && $search_data['education'] == '中专') selected @endif>中专</option>
  78. <option value='专科' @if(array_key_exists('education',$search_data) && $search_data['education'] == '专科') selected @endif>专科</option>
  79. <option value='本科' @if(array_key_exists('education',$search_data) && $search_data['education'] == '本科') selected @endif>本科</option>
  80. <option value='硕士' @if(array_key_exists('education',$search_data) && $search_data['education'] == '硕士') selected @endif>硕士</option>
  81. <option value='博士' @if(array_key_exists('education',$search_data) && $search_data['education'] == '博士') selected @endif>博士</option>
  82. </select>
  83. </div>
  84. </div>
  85. </div>
  86. <div class="box-body table-responsive" style="padding:5px;">
  87. <div class="form-group clearfix" style="margin-bottom:0;">
  88. <label for="prefix" class="control-label">报名岗位:</label>
  89. <div style="float: left;width: 150px;">
  90. <select class="form-control" name="post_id" id="post_id">
  91. <option value=''>不限</option>
  92. @foreach($post as $k => $v)
  93. <option value='{{$k}}' @if(array_key_exists('post_id',$search_data) && $search_data['post_id'] == $k) selected @endif>{{$v}}</option>
  94. @endforeach
  95. </select>
  96. </div>
  97. </div>
  98. </div>
  99. </div>
  100. <div class="col-md-3 clearfix">
  101. <div class="box-body table-responsive" style="padding:5px;">
  102. <div class="form-group clearfix" style="margin-bottom:0;">
  103. <label for="prefix" class="control-label">打印笔试准考证:</label>
  104. <div style="float: left;width: 150px;">
  105. <select class="form-control" name="print_bs" id="print_bs">
  106. <option value=''>不限</option>
  107. <option value='1'>是
  108. </option>
  109. <option value='0'>否
  110. </option>
  111. </select>
  112. </div>
  113. </div>
  114. </div>
  115. <div class="box-body table-responsive" style="padding:5px;">
  116. <div class="form-group clearfix" style="margin-bottom:0;">
  117. <label for="prefix" class="control-label">打印上机准考证:</label>
  118. <div style="float: left;width: 150px;">
  119. <select class="form-control" name="print_js" id="print_js">
  120. <option value=''>不限</option>
  121. <option value='1'>是
  122. </option>
  123. <option value='0'>否
  124. </option>
  125. </select>
  126. </div>
  127. </div>
  128. </div>
  129. <div class="box-body table-responsive" style="padding:5px;">
  130. <div class="form-group clearfix" style="margin-bottom:0;">
  131. <label for="prefix" class="control-label">打印面试准考证:</label>
  132. <div style="float: left;width: 150px;">
  133. <select class="form-control" name="print_ms" id="print_ms">
  134. <option value=''>不限</option>
  135. <option value='1'>是
  136. </option>
  137. <option value='0'>否
  138. </option>
  139. </select>
  140. </div>
  141. </div>
  142. </div>
  143. </div>
  144. <div class="col-md-3 clearfix">
  145. <div class="box-body table-responsive" style="padding:5px;">
  146. <div class="form-group clearfix" style="margin-bottom:0;">
  147. <label for="prefix" class="control-label">笔试结果:</label>
  148. <div style="float: left;width: 150px;">
  149. <select class="form-control" name="pen_audit" id="pen_audit">
  150. <option value=''>不限</option>
  151. <option value='-1'>未开始</option>
  152. <option value='1'>已通过</option>
  153. <option value='0'>未通过</option>
  154. <option value="2">缺考</option>
  155. <option value="3">不需要</option>
  156. </select>
  157. </div>
  158. </div>
  159. </div>
  160. </div>
  161. </div>
  162. <div class="box-footer">
  163. <div class="btn-group" style="margin-left: 440px;">
  164. <button type="button" class="btn btn-info btn-primary js-search" data-type="1"><i class="fa fa-search">搜索</i></button>
  165. </div>
  166. </div>
  167. <div class="box-body table-responsive">
  168. <div class="col-md-12">
  169. <div class="box-header with-border">
  170. <h3 class="box-title">查询结果</h3>
  171. </div>
  172. <div class="box-body table-responsive no-padding">
  173. <table class="table table-hover">
  174. <thead>
  175. <tr>
  176. <th height="26" class="admin_list_tit">
  177. <input type="checkbox" name=" " title="全选/反选" id="chk" />
  178. </th>
  179. <th>照片</th>
  180. <th>基础资料</th>
  181. <th>邮箱</th>
  182. <th>电话</th>
  183. <th>岗位编号</th>
  184. <th>报考岗位</th>
  185. <th>报名时间</th>
  186. <th>记录变更时间</th>
  187. <th>当前状态</th>
  188. <th>准考证打印情况</th>
  189. <th>日志</th>
  190. <th>操作</th>
  191. </tr>
  192. </thead>
  193. <tbody>
  194. @if(isset($list) && $list->total())
  195. @foreach($list as $k=>$v)
  196. <tr>
  197. <td>
  198. <input ls="{{$v->id}}" name="id[]" id="appointinfo_{{$v->id}}" type="checkbox" value="{{$v->id}}" />
  199. </td>
  200. <td>
  201. <span class="vtip" title='<img @if($v->avatar) src="{{$v->avatar}}" @else src="/data/upload/resource/no_photo_male.png" @endif>' height=120>
  202. <img style="width: 30px; height: 30px;" @if($v->avatar) src="{{$v->avatar}}" @else src="/data/upload/resource/no_photo_male.png" @endif></span>
  203. </td>
  204. <td>
  205. <a target="_blank" href="{{admin_base_path()}}/personal/manager/into2/{{$v->uid}}/{{$v->recruit_id}}">{!! $v->realname !!}</a>
  206. <span style="color: #0A246A; margin-right: 3px;">{{$v->sex}}</span>
  207. <span style="color:#be7707; margin-right: 3px;">{{$v->birthday}}</span>
  208. <span style="color:#0A7CF7; margin-right: 3px;">{{$v->education}}</span>
  209. <span style="color:#ff2424; margin-right: 3px;">{{$v->nation}}</span>
  210. <span style="color:#0F73AC; margin-right: 3px;">{{$v->native_place}}</span>
  211. <span style="color:#ff0000; margin-right: 3px;">{{$v->political_affiliation}}</span>
  212. </td>
  213. <td>
  214. {{ $v->email }}
  215. </td>
  216. <td>
  217. {{ $v->mobile }}
  218. </td>
  219. <td>{!! $v->code !!}</td>
  220. <td>{!! $v->name !!}</td>
  221. <td>{!! $v->created_at !!}</td>
  222. <td>{!! $v->updated_at !!}</td>
  223. <td>
  224. @if(in_array('1',explode(',',$recruit->step)) && $v->current >= 1)
  225. <p>报名:
  226. @if($v->audit == 3)
  227. <span style="color: #67c23a;">通过</span>
  228. @elseif($v->audit == 2)
  229. <span style="color: #f56c6c;">审核失败</span>
  230. @elseif($v->audit == 1)
  231. <span style="color: #e6a23c;">审核中</span>
  232. @endif
  233. </p>
  234. @endif
  235. @if(in_array('3',explode(',',$recruit->step)) && $v->current >= 2)
  236. <p>笔试:
  237. @if($v->pen_audit == -1)
  238. <span style="color: #909399;">未开始</span>
  239. @elseif($v->pen_audit == 0)
  240. <span style="color: #f56c6c;">未通过</span>
  241. @elseif($v->pen_audit == 1)
  242. <span style=" color: #67c23a;">通过</span>
  243. @elseif($v->pen_audit == 2)
  244. <span style="color: #909399;">缺考</span>
  245. @elseif($v->pen_audit == 3)
  246. <span style="color: #909399;">不需要笔试</span>
  247. @endif
  248. </p>
  249. @endif
  250. @if(in_array('4',explode(',',$recruit->step)) && $v->current >= 2)
  251. <p>上机:
  252. @if($v->computer_audit == -1)
  253. <span style="color: #909399;">未开始</span>
  254. @elseif($v->computer_audit == 0)
  255. <span style="color: #f56c6c;">未通过</span>
  256. @elseif($v->computer_audit == 1)
  257. <span style=" color: #67c23a;">通过</span>
  258. @elseif($v->computer_audit == 2)
  259. <span style="color: #909399;">缺考</span>
  260. @elseif($v->computer_audit == 3)
  261. <span style="color: #909399;">不需要上机</span>
  262. @endif
  263. </p>
  264. @endif
  265. @if(in_array('5',explode(',',$recruit->step)) && $v->current >= 2)
  266. <p>面试:
  267. @if($v->face_audit == -1)
  268. <span style="color: #909399;">未开始</span>
  269. @elseif($v->face_audit == 0)
  270. <span style="color: #f56c6c;">未通过</span>
  271. @elseif($v->face_audit == 1)
  272. <span style=" color: #67c23a;">通过</span>
  273. @elseif($v->face_audit == 2)
  274. <span style="color: #909399;">缺考</span>
  275. @elseif($v->face_audit == 3)
  276. <span style="color: #909399;">不需要面试</span>
  277. @endif
  278. </p>
  279. @endif
  280. @if(in_array('6',explode(',',$recruit->step)) && $v->current >= 2)
  281. <p>复试:
  282. @if($v->reexamine_audit == -1)
  283. <span style="color: #909399;">未开始</span>
  284. @elseif($v->reexamine_audit == 0)
  285. <span style="color: #f56c6c;">未通过</span>
  286. @elseif($v->reexamine_audit == 1)
  287. <span style=" color: #67c23a;">通过</span>
  288. @elseif($v->reexamine_audit == 2)
  289. <span style="color: #909399;">缺考</span>
  290. @elseif($v->reexamine_audit == 3)
  291. <span style="color: #909399;">不需要复试</span>
  292. @endif
  293. </p>
  294. @endif
  295. @if(in_array('7',explode(',',$recruit->step)) && $v->current >= 3)
  296. <p>体检:
  297. @if($v->inspect_audit == -1)
  298. <span style="color: #909399;">未开始</span>
  299. @elseif($v->inspect_audit == 0)
  300. <span style="color: #f56c6c;">未通过</span>
  301. @elseif($v->inspect_audit == 1)
  302. <span style=" color: #67c23a;">通过</span>
  303. @elseif($v->inspect_audit == 2)
  304. <span style="color: #909399;">缺检</span>
  305. @elseif($v->inspect_audit == 3)
  306. <span style="color: #909399;">不需要体检</span>
  307. @endif
  308. </p>
  309. @endif
  310. @if(in_array('8',explode(',',$recruit->step)) && $v->current >= 3)
  311. <p>政审:
  312. @if($v->political_audit == -1)
  313. <span style="color: #909399;">未开始</span>
  314. @elseif($v->political_audit == 0)
  315. <span style="color: #f56c6c;">未通过</span>
  316. @elseif($v->political_audit == 1)
  317. <span style=" color: #67c23a;">通过</span>
  318. @elseif($v->political_audit == 2)
  319. <span style="color: #909399;">缺检</span>
  320. @elseif($v->political_audit == 3)
  321. <span style="color: #909399;">不需要政审</span>
  322. @endif
  323. </p>
  324. @endif
  325. </td>
  326. <td>
  327. @if(in_array('3',explode(',',$recruit->step)) && $v->current >= 2 && $v->pen_audit != 3)
  328. <p>笔试准考证:
  329. @if($v->pen_print)
  330. <span style=" color: #67c23a;">已打印</span>
  331. @else
  332. <span style=" color: #ff2424;">未打印</span><br />
  333. @endif
  334. </p>
  335. @endif
  336. @if(in_array('4',explode(',',$recruit->step)) && $v->current >= 2 && $v->computer_audit != 3)
  337. <P>上机准考证:
  338. @if($v->computer_print)
  339. <span style=" color: #67c23a;">已打印</span>
  340. @else
  341. <span style=" color: #ff2424;">未打印</span><br />
  342. @endif
  343. </P>
  344. @endif
  345. @if(in_array('5',explode(',',$recruit->step)) && $v->current >= 2 & $v->face_audit != 3)
  346. <P>面试准考证:
  347. @if($v->face_print)
  348. <span style=" color: #67c23a;">已打印</span>
  349. @else
  350. <span style=" color: #ff2424;">未打印</span><br />
  351. @endif
  352. </P>
  353. @endif
  354. @if(in_array('6',explode(',',$recruit->step)) && $v->current >= 2 & $v->reexamine_audit != 3)
  355. <P>复试准考证:
  356. @if($v->reexamine_print)
  357. <span style=" color: #67c23a;">已打印</span>
  358. @else
  359. <span style=" color: #ff2424;">未打印</span><br />
  360. @endif
  361. </P>
  362. @endif
  363. </td>
  364. <td>
  365. <a href="javascript:;" data-url="{{ route('recruit.show_log') }}" data-param="{{$v->id}}" hidefocus="true" class="ButExamineLog">查看</a>
  366. </td>
  367. <td>
  368. <button class='btn btn-primary btn-xs business ButCompared' data-param="{{$v->id}}" data-url="{{ route('recruit.getUserinfo') }}" style="margin-bottom: 10px" >查看报名信息</button>
  369. <button class='btn btn-primary btn-xs appoint_audit' data-param="{{$v->id}}" style="margin-bottom: 10px">报名审核</button>
  370. <button class='btn btn-primary btn-xs fetch_word' data-rid="{{$v->recruit_id}}" data-aid="{{$v->id}}" style="margin-bottom: 10px">生成word简历</button>
  371. @if($recruit->id == 5)
  372. <button class='btn btn-primary btn-xs supplement' data-param="{{$v->id}}" style="margin-bottom: 10px">补登材料审核</button>
  373. @endif
  374. </td>
  375. </tr>
  376. @endforeach
  377. @else
  378. <tr>
  379. <td colspan="10">
  380. <div class="list_empty_group">
  381. <div class="list_empty">
  382. <div class="list_empty_left"></div>
  383. <div class="list_empty_right">
  384. <div class="sorry_box">对不起,暂无相关信息!</div>
  385. </div>
  386. <div class="clear"></div>
  387. </div>
  388. </div>
  389. </td>
  390. </tr>
  391. @endif
  392. </tbody>
  393. </table>
  394. </div>
  395. <div class="list_foot" style="margin-top: 20px">
  396. <table width="100%" border="0" cellspacing="10" cellpadding="0" class="admin_list_btm">
  397. <tr>
  398. <td>
  399. <input name="ButtonADD" type="button" class="btn btn-sm btn-warning" recruit_id="{{$recruit->id}}" id="ButtonAudit" value="批量报名审核" />
  400. {{-- <input name="ButDel" type="button" class="btn btn-sm btn-info ButPen" onclick="employ()" recruit_id="{{$recruit->id}}" value="入职聘用" />--}}
  401. <input name="ButDel" type="button" class="btn btn-sm btn-info" onclick="record()" value="上传成绩" />
  402. <input name="ButDel" type="button" class="btn btn-sm btn-info ButPen" onclick="card()" value="准考证生成" />
  403. {{-- <input name="ButDel" type="button" class="btn btn-sm btn-info ButPen" onclick="delcard()" value="准考证撤销" />--}}
  404. {{-- @if(Encore\Admin\Facades\Admin::user()->can('auth_recruit_outexcel'))--}}
  405. {{-- <a href="{{route('recruit.out_zip',['where'=>\Request::getRequestUri(),'id'=>$recruit->id])}}" target="_blank">--}}
  406. {{-- <input name="ButDel" type="button" class="btn btn-sm btn-info ButPen" recruit_id="{{$recruit->id}}" value="导出word版简历(压缩包)" />--}}
  407. {{-- </a>--}}
  408. <a href="{{route('recruit.out_excel',['where'=>\Request::getRequestUri(),'id'=>$recruit->id])}}" target="_blank">
  409. <input id="out_excel" name="ButDel" type="button" class="btn btn-sm btn-info ButPen" data-recruit_id="{{$recruit->id}}" value="汇总表" />
  410. </a>
  411. <a href="{{route('recruit.seat_sticker',['where'=>\Request::getRequestUri(),'id'=>$recruit->id])}}" target="_blank">
  412. <input id="seat_sticker" name="ButDel" type="button" class="btn btn-sm btn-info ButPen" data-recruit_id="{{$recruit->id}}" value="座位贴" />
  413. </a>
  414. <a href="{{route('recruit.sign_table',['where'=>\Request::getRequestUri(),'id'=>$recruit->id])}}" target="_blank">
  415. <input id="seat_sticker" name="ButDel" type="button" class="btn btn-sm btn-info ButPen" data-recruit_id="{{$recruit->id}}" value="签到表" />
  416. </a>
  417. {{-- @endif--}}
  418. </td>
  419. </tr>
  420. </table>
  421. </div>
  422. @if(isset($list))
  423. {{ $list->appends($search_data)->links('module.widgets.pagination') }}
  424. @endif
  425. </div>
  426. </div>
  427. </div>
  428. </div>
  429. </div>
  430. </section>
  431. <script type="text/javascript" src="{{ theme_asset('app/js/jquery.disappear.tooltip.js') }}"></script>
  432. <script type="text/javascript" src="{{ theme_asset('app/js/jquery.modal.userselectlayer.js') }}"></script>
  433. <script type="text/javascript" src="{{ theme_asset('app/js/jquery.user.city.js') }}"></script>
  434. <script type="text/javascript" src="{{ theme_asset('app/js/jquery.modal.dialog.js') }}"></script>
  435. <script>
  436. //图片预览
  437. this.vtip = function() {
  438. this.xOffset = -10; // x distance from mouse
  439. this.yOffset = 15; // y distance from mouse
  440. $(".vtip").unbind().hover(
  441. function(e) {
  442. this.t = $(this).attr("title");
  443. this.title = '';
  444. this.top = (e.pageY + yOffset);
  445. this.left = (e.pageX + xOffset);
  446. $('body').css("cursor","help");
  447. $('p#vtip').width()>450?$('p#vtip').width(450):'';
  448. $('body').append( '<p id="vtip">' + this.t + '</p>' );
  449. $('p#vtip').css("top", this.top+"px").css("left", this.left+"px").fadeIn(0);
  450. },
  451. function() {
  452. this.title = this.t;
  453. $('body').css("cursor","");
  454. $("p#vtip").fadeOut("slow").remove();
  455. }
  456. ).mousemove(
  457. function(e) {
  458. this.top = (e.pageY + yOffset);
  459. this.left = (e.pageX + xOffset);
  460. $("p#vtip").css("top", this.top+"px").css("left", this.left+"px");
  461. }
  462. );
  463. };
  464. //提交数组整理
  465. this.show = function(type = 0){
  466. var id_array = new Array();
  467. if(type == 0){
  468. $('input[name="id\[\]"]:checked').each(function() {
  469. id_array.push($(this).val()); //向数组中添加元素
  470. });
  471. }else{
  472. id_array.push($("#appointinfo_"+type).val());
  473. }
  474. if (id_array.length == 0) {
  475. disapperTooltip('remind', '请选择用户');
  476. return false;
  477. } else {
  478. var idstr = id_array.join(','); //将数组元素连接起来以构建一个字符串
  479. if (idstr == '' || idstr == null) {
  480. idstr = 0;
  481. }
  482. return idstr;
  483. }
  484. }
  485. //报名记录审核
  486. this.appointAudit = function(type = 0){
  487. var ids = show(type);
  488. if(!ids){
  489. return false;
  490. }
  491. if (ids !== false) {
  492. var qsDialog = $(this).dialog({
  493. title: '报名审核',
  494. loading: true,
  495. showFooter: false,
  496. yes: function() {
  497. $('.J_btnyes').val('发送中...');
  498. $.post("{{ route('recruit.appoint_audit') }}", $('#J_interviewWrap').serialize(), function(result) {
  499. if (result.status == 1) {
  500. disapperTooltip('success', result.msg);
  501. setTimeout(function() {
  502. $.pjax.reload('#pjax-container');
  503. qsDialog.hide(true);
  504. }, 2000);
  505. } else {
  506. $('.J_btnyes').val('确定');
  507. disapperTooltip('remind', result.msg);
  508. }
  509. }, 'json');
  510. }
  511. });
  512. qsDialog.setCloseDialog(false);
  513. var recruit_id = $(this).attr('recruit_id');
  514. $.getJSON("/ST3IXxKlOa4eGEv0eTw0CfORI9444Mgj/recruit/ajax_audit", {
  515. recruit_id: recruit_id,
  516. ids: ids
  517. }, function(result) {
  518. if (result.status == 1) {
  519. qsDialog.setContent(result.data);
  520. qsDialog.showFooter(true);
  521. } else {
  522. qsDialog.setContent('<div class="confirm">' + result.msg + '<\/div>');
  523. }
  524. });
  525. }
  526. };
  527. //材料补登
  528. this.supplement = function(type = 0){
  529. var ids = show(type);
  530. if(!ids){
  531. return false;
  532. }
  533. if (ids !== false) {
  534. var qsDialog = $(this).dialog({
  535. title: '材料补登审核',
  536. loading: true,
  537. showFooter: false,
  538. yes: function() {
  539. $('.J_btnyes').val('发送中...');
  540. $.post("{{ route('recruit.supplement') }}", $('#J_interviewWrap').serialize(), function(result) {
  541. if (result.status == 1) {
  542. disapperTooltip('success', result.msg);
  543. setTimeout(function() {
  544. $.pjax.reload('#pjax-container');
  545. qsDialog.hide(true);
  546. }, 2000);
  547. } else {
  548. $('.J_btnyes').val('确定');
  549. disapperTooltip('remind', result.msg);
  550. }
  551. }, 'json');
  552. }
  553. });
  554. qsDialog.setCloseDialog(false);
  555. var recruit_id = $(this).attr('recruit_id');
  556. $.getJSON("/ST3IXxKlOa4eGEv0eTw0CfORI9444Mgj/recruit/ajax_supplement", {
  557. recruit_id: recruit_id,
  558. ids: ids
  559. }, function(result) {
  560. if (result.status == 1) {
  561. qsDialog.setContent(result.data);
  562. qsDialog.showFooter(true);
  563. } else {
  564. qsDialog.setContent('<div class="confirm">' + result.msg + '<\/div>');
  565. }
  566. });
  567. }
  568. }
  569. $(document).ready(function() {
  570. vtip();
  571. $(document).off("click",'.appoint_audit').on('click','.appoint_audit',function () {
  572. appointAudit($(this).data('param'));
  573. });
  574. $(document).off("click",'.supplement').on('click','.supplement',function () {
  575. supplement($(this).data('param'));
  576. });
  577. $(document).off("click",'.fetch_word').on('click','.fetch_word',function () {
  578. var recruit_id = $(this).attr('data-rid'),appoint_id = $(this).attr('data-aid');
  579. var qsDialog = $(this).dialog({
  580. title: 'word简历生成',
  581. loading: true,
  582. showFooter: false,
  583. yes: function() {
  584. $('.J_btnyes').val('发送中...');
  585. $.post("{{ route('recruit.fetchword') }}", {_token:'{{ csrf_token() }}',recruit_id:recruit_id,appoint_id:appoint_id}, function(result) {
  586. if (result.status == 1) {
  587. disapperTooltip('success', result.msg);
  588. window.location.href = result.url;
  589. setTimeout(function() {
  590. $.pjax.reload('#pjax-container');
  591. qsDialog.hide(true);
  592. }, 2000);
  593. } else {
  594. $('.J_btnyes').val('确定');
  595. disapperTooltip('remind', result.msg);
  596. }
  597. }, 'json');
  598. }
  599. });
  600. qsDialog.setCloseDialog(false);
  601. qsDialog.setContent("重新生成会覆盖原有简历,请确认?");
  602. qsDialog.showFooter(true);
  603. });
  604. $("#ButtonAudit").click(function() {
  605. appointAudit(0)
  606. })
  607. /*查看人员信息*/
  608. $('.ButCompared').click(function() {
  609. var qsDialog = $(this).dialog({
  610. title: '查看报名信息',
  611. loading: true,
  612. footer: false
  613. });
  614. var param = $(this).data('param');
  615. var url = $(this).data('url') + "?id=" + param;
  616. $.getJSON(url, function(result) {
  617. qsDialog.setContent('<div style="max-height:600px;overflow-y:auto;">' + result.data + '<\/div>');
  618. });
  619. });
  620. //导出word简历压缩包
  621. $("#out_zip").click(function() {
  622. var id = show();
  623. if(!id){
  624. return false;
  625. }
  626. $(this).val("数据生成中。。。")
  627. $.ajax({
  628. url: "{{ route('recruit.out_zip') }}",
  629. type: 'POST',
  630. dataType: 'json',
  631. data: {
  632. id: id,
  633. recruit_id: "{{$recruit->id}}"
  634. },
  635. error: function(data) {
  636. },
  637. success: function(res) {
  638. $(this).val("导出word版简历(压缩包)")
  639. if (res.status == 1) {
  640. window.open(res.msg);
  641. } else {
  642. alert(res.msg);
  643. return false;
  644. }
  645. }
  646. });
  647. });
  648. });
  649. /*查看日志信息*/
  650. $('.ButExamineLog').click(function() {
  651. var qsDialog = $(this).dialog({
  652. title: '查看审核信息',
  653. loading: true,
  654. footer: false
  655. });
  656. var param = $(this).data('param');
  657. var url = $(this).data('url') + "?id=" + param;
  658. $.getJSON(url, function(result) {
  659. qsDialog.setContent('<div style="max-height:600px;overflow-y:auto;">' + result.data + '<\/div>');
  660. });
  661. });
  662. $('.js-search').click(function() {
  663. var political_affiliation = $.trim($('#political_affiliation').val());
  664. var audit = $.trim($('#audit').val());
  665. var realname = $.trim($('#realname').val());
  666. var print_ms = $.trim($('#print_ms').val());
  667. var print_bs = $.trim($('#print_bs').val());
  668. var pen_audit = $.trim($('#pen_audit').val());
  669. var computer_audit = $.trim($('#computer_audit').val());
  670. var face_audit = $.trim($('#face_audit').val());
  671. var reexamine_audit = $.trim($('#reexamine_audit').val());
  672. var inspect_audit = $.trim($('#inspect_audit').val());
  673. var print_js = $.trim($('#print_js').val());
  674. var review_audit = $.trim($('#review_audit').val());
  675. var political_audit = $.trim($('#politics_face_id').val());
  676. var sex = $.trim($("#sex").val());
  677. var education = $.trim($("#education").val());
  678. var post_id = $.trim($("#post_id").val());
  679. var parm = '';
  680. if (political_audit) {
  681. parm += "&political_audit=" + political_audit;
  682. }
  683. if (review_audit) {
  684. parm += "&review_audit=" + review_audit;
  685. }
  686. if (political_affiliation) {
  687. parm += "&political_affiliation=" + political_affiliation;
  688. }
  689. if (audit) {
  690. parm += "&audit=" + audit;
  691. }
  692. if (realname) {
  693. parm += "&realname=" + realname;
  694. }
  695. if (print_ms) {
  696. parm += "&print_ms=" + print_ms;
  697. }
  698. if (print_bs) {
  699. parm += "&print_bs=" + print_bs;
  700. }
  701. if (pen_audit) {
  702. parm += "&pen_audit=" + pen_audit;
  703. }
  704. if (face_audit) {
  705. parm += "&face_audit=" + face_audit;
  706. }
  707. if (computer_audit) {
  708. parm += "&computer_audit=" + computer_audit;
  709. }
  710. if (reexamine_audit) {
  711. parm += "&reexamine_audit=" + reexamine_audit;
  712. }
  713. if (inspect_audit) {
  714. parm += "&inspect_audit=" + inspect_audit;
  715. }
  716. if (print_js) {
  717. parm += "&print_js=" + print_js;
  718. }
  719. if(sex){
  720. parm += "&sex=" + sex;
  721. }
  722. if(education){
  723. parm += "&education=" + education;
  724. }
  725. if(post_id){
  726. parm += "&post_id=" + post_id;
  727. }
  728. window.location = "{{ url('/ST3IXxKlOa4eGEv0eTw0CfORI9444Mgj/recruit/appoint_list')}}?id={{$search_data['id']}}" + parm;
  729. });
  730. //入职聘用
  731. function employ() {
  732. var ids = show();
  733. if (ids !== false) {
  734. var qsDialog = $(this).dialog({
  735. title: '请选择',
  736. loading: true,
  737. showFooter: false,
  738. yes: function() {
  739. $('.J_btnyes').val('发送中...');
  740. // console.log($('#J_interviewWrap').serialize());
  741. $.post("recruit.employ", $('#J_interviewWrap').serialize(), function(result) {
  742. if (result.status == 1) {
  743. disapperTooltip('success', result.msg);
  744. setTimeout(function() {
  745. $.pjax.reload('#pjax-container');
  746. qsDialog.hide(true);
  747. }, 2000);
  748. } else {
  749. $('.J_btnyes').val('确定');
  750. disapperTooltip('remind', result.msg);
  751. }
  752. }, 'json');
  753. }
  754. });
  755. qsDialog.setCloseDialog(false);
  756. var recruit_id = "{{$recruit->id}}";
  757. $.getJSON("recruit.employ_audit", {
  758. recruit_id: recruit_id,
  759. ids: ids
  760. }, function(result) {
  761. if (result.status == 1) {
  762. qsDialog.setContent(result.data);
  763. qsDialog.showFooter(true);
  764. } else {
  765. qsDialog.setContent('<div class="confirm">' + result.msg + '<\/div>');
  766. }
  767. });
  768. }
  769. }
  770. //其它审核
  771. function butpen(i) {
  772. var ids = show();
  773. if (ids !== false) {
  774. var qsDialog = $(this).dialog({
  775. title: '请选择',
  776. loading: true,
  777. showFooter: false,
  778. yes: function() {
  779. $('.J_btnyes').val('发送中...');
  780. $.post("recruit.other_auth", $('#J_interviewWrap').serialize(), function(result) {
  781. if (result.status == 1) {
  782. disapperTooltip('success', result.msg);
  783. setTimeout(function() {
  784. $.pjax.reload('#pjax-container');
  785. qsDialog.hide(true);
  786. }, 2000);
  787. } else {
  788. $('.J_btnyes').val('确定');
  789. disapperTooltip('remind', result.msg);
  790. }
  791. }, 'json');
  792. }
  793. });
  794. qsDialog.setCloseDialog(false);
  795. var recruit_id = "{{$recruit->id}}";
  796. if (i == 'pay_audit') {
  797. $.getJSON("recruit.pay_audit", {
  798. recruit_id: recruit_id,
  799. ids: ids,
  800. type: i
  801. }, function(result) {
  802. if (result.status == 1) {
  803. qsDialog.setContent(result.data);
  804. qsDialog.showFooter(true);
  805. } else {
  806. qsDialog.setContent('<div class="confirm">' + result.msg + '<\/div>');
  807. }
  808. });
  809. } else {
  810. $.getJSON("recruit.ajax_other_audit", {
  811. recruit_id: recruit_id,
  812. ids: ids,
  813. type: i
  814. }, function(result) {
  815. if (result.status == 1) {
  816. qsDialog.setContent(result.data);
  817. qsDialog.showFooter(true);
  818. } else {
  819. qsDialog.setContent('<div class="confirm">' + result.msg + '<\/div>');
  820. }
  821. });
  822. }
  823. }
  824. }
  825. //准考证生成
  826. function card() {
  827. var recruit_id = "{{$recruit->id}}";
  828. var qsDialog = $(this).dialog({
  829. title: '请选择',
  830. loading: true,
  831. showFooter: false,
  832. yes: function() {
  833. $('.J_btnyes').val('发送中...');
  834. var data = new FormData(document.getElementById("J_ticketWrap"));
  835. console.log(data)
  836. $.ajax({
  837. url: "{{ route('recruit.create_ticket') }}",
  838. type: 'POST',
  839. data: data,
  840. processData: false,
  841. contentType : false,
  842. success: function(response){
  843. if (response.status == 1) {
  844. disapperTooltip('success', response.msg);
  845. setTimeout(function() {
  846. $.pjax.reload('#pjax-container');
  847. qsDialog.hide(true);
  848. }, 2000);
  849. } else {
  850. $('.J_btnyes').val('确定');
  851. disapperTooltip('remind', response.msg);
  852. }
  853. }
  854. })
  855. }
  856. });
  857. qsDialog.setCloseDialog(false);
  858. $.getJSON("ajax/ajax_ticket", {
  859. recruit_id: recruit_id
  860. }, function(result) {
  861. if (result.status == 1) {
  862. qsDialog.setContent(result.data);
  863. qsDialog.showFooter(true);
  864. } else {
  865. qsDialog.setContent('<div class="confirm">' + result.msg + '<\/div>');
  866. }
  867. });
  868. }
  869. //成绩更新
  870. function record() {
  871. var recruit_id = "{{$recruit->id}}";
  872. var qsDialog = $(this).dialog({
  873. title: '请选择',
  874. loading: true,
  875. showFooter: false,
  876. yes: function() {
  877. $('.J_btnyes').val('发送中...');
  878. var data = new FormData(document.getElementById("J_recordWrap"));
  879. $.ajax({
  880. url: "{{ route('recruit.update_record') }}",
  881. type: 'POST',
  882. data: data,
  883. processData: false,
  884. contentType : false,
  885. success: function(response){
  886. if (response.status == 1) {
  887. disapperTooltip('success', response.msg);
  888. setTimeout(function() {
  889. $.pjax.reload('#pjax-container');
  890. qsDialog.hide(true);
  891. }, 2000);
  892. } else {
  893. $('.J_btnyes').val('确定');
  894. disapperTooltip('remind', response.msg);
  895. }
  896. }
  897. })
  898. }
  899. });
  900. qsDialog.setCloseDialog(false);
  901. $.getJSON("ajax/ajax_record", {
  902. recruit_id: recruit_id
  903. }, function(result) {
  904. if (result.status == 1) {
  905. qsDialog.setContent(result.data);
  906. qsDialog.showFooter(true);
  907. } else {
  908. qsDialog.setContent('<div class="confirm">' + result.msg + '<\/div>');
  909. }
  910. });
  911. }
  912. //提交准考证
  913. $("#build").click(function() {
  914. $("form[name=form1]").attr("action", "{:U('buildcard')}" + "&recruit_id=" + recruit_ids +
  915. "&time=" + time + "&audits=" + audits + "&times=" + times + "&home=" + home + "&address=" + address + "&expand=" + expand);
  916. $("form[name=form1]").submit();
  917. });
  918. //撤销准考证
  919. $("#del_ticket").click(function() {
  920. var ticket_id = $("input[name='ticket_id']:checked").val();
  921. var r_id = $("input[name='r_id']").val();
  922. $("form[name=form1]").attr("action", "{:U('delcard')}" + "&ticket_id=" + ticket_id + "&r_id=" + r_id);
  923. $("form[name=form1]").submit();
  924. });
  925. //撤销准考证
  926. function delcard() {
  927. var ids = show();
  928. var recruit_id = "{{$recruit->id}}";
  929. if (ids !== false) {
  930. var qsDialog = $(this).dialog({
  931. title: '请选择',
  932. loading: true,
  933. showFooter: false,
  934. yes: function() {
  935. $('.J_btnyes').val('发送中...');
  936. var ticket_id = $("input[name='ticket_id']:checked").val();
  937. data = {
  938. 'ids': ids,
  939. 'recruit_id': recruit_id,
  940. 'ticket_id': ticket_id,
  941. };
  942. $.post("recruit.ticket_del", data, function(result) {
  943. if (result.status == 1) {
  944. disapperTooltip('success', result.msg);
  945. setTimeout(function() {
  946. $.pjax.reload('#pjax-container');
  947. qsDialog.hide(true);
  948. }, 2000);
  949. } else {
  950. $('.J_btnyes').val('确定');
  951. disapperTooltip('remind', result.msg);
  952. }
  953. }, 'json');
  954. }
  955. });
  956. qsDialog.setCloseDialog(false);
  957. $.getJSON("recruit.ajax_ticket_del", {
  958. recruit_id: recruit_id,
  959. ids: ids,
  960. }, function(result) {
  961. if (result.status == 1) {
  962. // console.log(result.data);
  963. qsDialog.setContent(result.data);
  964. qsDialog.showFooter(true);
  965. } else {
  966. qsDialog.setContent('<div class="confirm">' + result.msg + '<\/div>');
  967. }
  968. });
  969. }
  970. }
  971. /*全选*/
  972. $("#chk").click(function() {
  973. if (this.checked == false) {
  974. // console.log("反选")
  975. $("td :checkbox").prop("checked", false);
  976. }
  977. if (this.checked == true) {
  978. // console.log("全选")
  979. $("td :checkbox").prop("checked", true);
  980. }
  981. })
  982. //子复选框有一个未选中时,去掉全选按钮的选中状态
  983. $("td :checkbox").click(function() {
  984. var allCheckNum = $("td input[type='checkbox']").length;
  985. var checkedNum = $("td input[type='checkbox']:checked").length;
  986. if (checkedNum == allCheckNum) {
  987. // console.log("全选");
  988. document.getElementById("chk").checked = true;
  989. } else {
  990. // console.log("反选");
  991. document.getElementById("chk").checked = false;
  992. }
  993. })
  994. </script>
  995. <link href="{{ theme_asset('app/css/person/common.css') }}" rel="stylesheet">
  996. <style type="text/css">
  997. p#vtip { display: none; position: absolute; padding: 10px; left: 5px; font-size: 0.8em; background-color: white; border: 1px solid #a6c9e2; -moz-border-radius: 5px; -webkit-border-radius: 5px; z-index: 9999 }
  998. p#vtip img{width: 200px}
  999. /*body{min-width: 1680px;overflow: auto;}*/
  1000. .clearfix:after {
  1001. display: block;
  1002. clear: both;
  1003. content: "";
  1004. visibility: hidden;
  1005. height: 0;
  1006. }
  1007. .clearfix {
  1008. zoom: 1;
  1009. /*为了兼容IE*/
  1010. }
  1011. .box .box-body {
  1012. position: relative;
  1013. }
  1014. .box .form-group label {
  1015. float: left;
  1016. width: 120px;
  1017. line-height: 34px;
  1018. text-align: right;
  1019. }
  1020. .box .input-group {
  1021. width: 360px;
  1022. }
  1023. .list_empty_group {
  1024. text-align: center;
  1025. line-height: 80px;
  1026. color: #404446;
  1027. font-size: 22px;
  1028. }
  1029. .jobslist_table .li-table-btn {
  1030. width: 120px;
  1031. height: 50px;
  1032. line-height: 50px;
  1033. }
  1034. .modal {
  1035. display: block;
  1036. position: static;
  1037. }
  1038. .qs-category-unlimited .selected-group .selected-box .s-cell {
  1039. width: 112px;
  1040. }
  1041. .qs-category-unlimited .cate-type .dd {
  1042. margin: 0px;
  1043. font-size: 14px;
  1044. }
  1045. .qs-category-unlimited .cate-type .one-select label {
  1046. display: block;
  1047. margin: 0px;
  1048. width: 110px;
  1049. }
  1050. .qs-category-unlimited .cate-type .one-select .check-box {
  1051. margin: 0px;
  1052. }
  1053. .modal_body_box .list_nav1 li label {
  1054. margin-bottom: 0px;
  1055. }
  1056. .disappear_tooltip .content {
  1057. min-height: auto;
  1058. padding: 0px;
  1059. padding-left: 10px;
  1060. padding-right: 10px;
  1061. }
  1062. </style>