appoint_list.blade.php 60 KB

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