appoint_list.blade.php 66 KB

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