appoint_list.blade.php 67 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192
  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. <a href="{{ route('recruit.check_out_appoint',['id' => $v->id]) }}">
  396. <button class='btn btn-primary btn-xs appoint_audit_new' data-param="{{$v->id}}" style="margin-bottom: 10px">(新)报名审核</button>
  397. </a>
  398. <button class='btn btn-primary btn-xs fetch_word' data-rid="{{$v->recruit_id}}" data-aid="{{$v->id}}" style="margin-bottom: 10px">生成word简历</button>
  399. @if($recruit->pen_health == 1)
  400. <button class='btn btn-primary btn-xs health' data-param="{{$v->id}}" data-type="pen" style="margin-bottom: 10px">笔试健康信息审核</button>
  401. @endif
  402. @if($recruit->face_health == 1)
  403. <button class='btn btn-primary btn-xs health' data-param="{{$v->id}}" data-type="face" style="margin-bottom: 10px">面试健康信息审核</button>
  404. @endif
  405. @if($recruit->reexamine_health == 1)
  406. <button class='btn btn-primary btn-xs health' data-param="{{$v->id}}" data-type="reexamine" style="margin-bottom: 10px">复试健康信息审核</button>
  407. @endif
  408. @if($recruit->id == 5 || $recruit->id == 16 || $recruit->id == 18 || $recruit->id == 38 || $recruit->id == 68)
  409. <button class='btn btn-primary btn-xs supplement' data-param="{{$v->id}}" style="margin-bottom: 10px">补登材料审核</button>
  410. @endif
  411. </td>
  412. </tr>
  413. @endforeach
  414. @else
  415. <tr>
  416. <td colspan="10">
  417. <div class="list_empty_group">
  418. <div class="list_empty">
  419. <div class="list_empty_left"></div>
  420. <div class="list_empty_right">
  421. <div class="sorry_box">对不起,暂无相关信息!</div>
  422. </div>
  423. <div class="clear"></div>
  424. </div>
  425. </div>
  426. </td>
  427. </tr>
  428. @endif
  429. </tbody>
  430. </table>
  431. </div>
  432. <div class="list_foot" style="margin-top: 20px">
  433. <table width="100%" border="0" cellspacing="10" cellpadding="0" class="admin_list_btm">
  434. <tr>
  435. <td>
  436. <input name="ButtonADD" type="button" class="btn btn-sm btn-warning" recruit_id="{{$recruit->id}}" id="ButtonAudit" value="批量报名审核" />
  437. {{-- <input name="ButDel" type="button" class="btn btn-sm btn-info ButPen" onclick="employ()" recruit_id="{{$recruit->id}}" value="入职聘用" />--}}
  438. <input name="ButDel" type="button" class="btn btn-sm btn-info" onclick="record()" value="上传成绩" />
  439. <input name="ButDel" type="button" class="btn btn-sm btn-info ButPen" onclick="card()" value="准考证生成" />
  440. {{-- <input name="ButDel" type="button" class="btn btn-sm btn-info ButPen" onclick="delcard()" value="准考证撤销" />--}}
  441. {{-- @if(Encore\Admin\Facades\Admin::user()->can('auth_recruit_outexcel'))--}}
  442. {{-- <a href="{{route('recruit.out_zip',['where'=>\Request::getRequestUri(),'id'=>$recruit->id])}}" target="_blank">--}}
  443. {{-- <input name="ButDel" type="button" class="btn btn-sm btn-info ButPen" recruit_id="{{$recruit->id}}" value="导出word版简历(压缩包)" />--}}
  444. {{-- </a>--}}
  445. <a href="{{route('recruit.out_excel',['where'=>\Request::getRequestUri(),'id'=>$recruit->id])}}" target="_blank">
  446. <input id="out_excel" name="ButDel" type="button" class="btn btn-sm btn-info ButPen" data-recruit_id="{{$recruit->id}}" value="汇总表" />
  447. </a>
  448. <a href="{{route('recruit.seat_sticker',['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. <a href="{{route('recruit.sign_table',['where'=>\Request::getRequestUri(),'id'=>$recruit->id])}}" target="_blank">
  452. <input id="seat_sticker" name="ButDel" type="button" class="btn btn-sm btn-info ButPen" data-recruit_id="{{$recruit->id}}" value="签到表" />
  453. </a>
  454. {{-- @endif--}}
  455. </td>
  456. </tr>
  457. </table>
  458. </div>
  459. @if(isset($list))
  460. {{ $list->appends($search_data)->links('module.widgets.pagination') }}
  461. @endif
  462. </div>
  463. </div>
  464. </div>
  465. </div>
  466. </div>
  467. </section>
  468. <script type="text/javascript" src="{{ theme_asset('app/js/jquery.disappear.tooltip.js') }}"></script>
  469. <script type="text/javascript" src="{{ theme_asset('app/js/jquery.modal.userselectlayer.js') }}"></script>
  470. <script type="text/javascript" src="{{ theme_asset('app/js/jquery.user.city.js') }}"></script>
  471. <script type="text/javascript" src="{{ theme_asset('app/js/jquery.modal.dialog.js') }}"></script>
  472. <script>
  473. //图片预览
  474. this.vtip = function() {
  475. this.xOffset = -10; // x distance from mouse
  476. this.yOffset = 15; // y distance from mouse
  477. $(".vtip").unbind().hover(
  478. function(e) {
  479. this.t = $(this).attr("title");
  480. this.title = '';
  481. this.top = (e.pageY + yOffset);
  482. this.left = (e.pageX + xOffset);
  483. $('body').css("cursor","help");
  484. $('p#vtip').width()>450?$('p#vtip').width(450):'';
  485. $('body').append( '<p id="vtip">' + this.t + '</p>' );
  486. $('p#vtip').css("top", this.top+"px").css("left", this.left+"px").fadeIn(0);
  487. },
  488. function() {
  489. this.title = this.t;
  490. $('body').css("cursor","");
  491. $("p#vtip").fadeOut("slow").remove();
  492. }
  493. ).mousemove(
  494. function(e) {
  495. this.top = (e.pageY + yOffset);
  496. this.left = (e.pageX + xOffset);
  497. $("p#vtip").css("top", this.top+"px").css("left", this.left+"px");
  498. }
  499. );
  500. };
  501. //提交数组整理
  502. this.show = function(type = 0){
  503. var id_array = new Array();
  504. if(type == 0){
  505. $('input[name="id\[\]"]:checked').each(function() {
  506. id_array.push($(this).val()); //向数组中添加元素
  507. });
  508. }else{
  509. id_array.push($("#appointinfo_"+type).val());
  510. }
  511. if (id_array.length == 0) {
  512. disapperTooltip('remind', '请选择用户');
  513. return false;
  514. } else {
  515. var idstr = id_array.join(','); //将数组元素连接起来以构建一个字符串
  516. if (idstr == '' || idstr == null) {
  517. idstr = 0;
  518. }
  519. return idstr;
  520. }
  521. }
  522. //报名记录审核
  523. this.appointAudit = function(type = 0){
  524. var ids = show(type);
  525. if(!ids){
  526. return false;
  527. }
  528. if (ids !== false) {
  529. var qsDialog = $(this).dialog({
  530. title: '报名审核',
  531. loading: true,
  532. showFooter: false,
  533. yes: function() {
  534. $('.J_btnyes').val('发送中...');
  535. $.post("{{ route('recruit.appoint_audit') }}", $('#J_interviewWrap').serialize(), function(result) {
  536. if (result.status == 1) {
  537. disapperTooltip('success', result.msg);
  538. setTimeout(function() {
  539. $.pjax.reload('#pjax-container');
  540. qsDialog.hide(true);
  541. }, 2000);
  542. } else {
  543. $('.J_btnyes').val('确定');
  544. disapperTooltip('remind', result.msg);
  545. }
  546. }, 'json');
  547. }
  548. });
  549. qsDialog.setCloseDialog(false);
  550. var recruit_id = $(this).attr('recruit_id');
  551. $.getJSON("/ST3IXxKlOa4eGEv0eTw0CfORI9444Mgj/recruit/ajax_audit", {
  552. recruit_id: recruit_id,
  553. ids: ids
  554. }, function(result) {
  555. if (result.status == 1) {
  556. qsDialog.setContent(result.data);
  557. qsDialog.showFooter(true);
  558. } else {
  559. qsDialog.setContent('<div class="confirm">' + result.msg + '<\/div>');
  560. }
  561. });
  562. }
  563. };
  564. //材料补登
  565. this.supplement = function(type = 0){
  566. var ids = show(type);
  567. if(!ids){
  568. return false;
  569. }
  570. if (ids !== false) {
  571. var qsDialog = $(this).dialog({
  572. title: '材料补登审核',
  573. loading: true,
  574. showFooter: false,
  575. yes: function() {
  576. $('.J_btnyes').val('发送中...');
  577. $.post("{{ route('recruit.supplement') }}", $('#J_interviewWrap').serialize(), function(result) {
  578. if (result.status == 1) {
  579. disapperTooltip('success', result.msg);
  580. setTimeout(function() {
  581. $.pjax.reload('#pjax-container');
  582. qsDialog.hide(true);
  583. }, 2000);
  584. } else {
  585. $('.J_btnyes').val('确定');
  586. disapperTooltip('remind', result.msg);
  587. }
  588. }, 'json');
  589. }
  590. });
  591. qsDialog.setCloseDialog(false);
  592. var recruit_id = $(this).attr('recruit_id');
  593. $.getJSON("/ST3IXxKlOa4eGEv0eTw0CfORI9444Mgj/recruit/ajax_supplement", {
  594. recruit_id: recruit_id,
  595. ids: ids
  596. }, function(result) {
  597. if (result.status == 1) {
  598. qsDialog.setContent(result.data);
  599. qsDialog.showFooter(true);
  600. } else {
  601. qsDialog.setContent('<div class="confirm">' + result.msg + '<\/div>');
  602. }
  603. });
  604. }
  605. }
  606. //材料补登
  607. this.health = function(param = 0,type = 'pen'){
  608. var ids = show(param);
  609. if(!ids){
  610. return false;
  611. }
  612. if (ids !== false) {
  613. var qsDialog = $(this).dialog({
  614. title: '健康信息审核',
  615. loading: true,
  616. showFooter: false,
  617. yes: function() {
  618. $('.J_btnyes').val('发送中...');
  619. $.post("{{ route('recruit.health') }}", $('#J_interviewWrap').serialize(), function(result) {
  620. if (result.status == 1) {
  621. disapperTooltip('success', result.msg);
  622. setTimeout(function() {
  623. $.pjax.reload('#pjax-container');
  624. qsDialog.hide(true);
  625. }, 2000);
  626. } else {
  627. $('.J_btnyes').val('确定');
  628. disapperTooltip('remind', result.msg);
  629. }
  630. }, 'json');
  631. }
  632. });
  633. qsDialog.setCloseDialog(false);
  634. var recruit_id = $(this).attr('recruit_id');
  635. $.getJSON("/ST3IXxKlOa4eGEv0eTw0CfORI9444Mgj/recruit/ajax_health", {
  636. recruit_id: recruit_id,
  637. ids: ids,
  638. type: type
  639. }, function(result) {
  640. if (result.status == 1) {
  641. qsDialog.setContent(result.data);
  642. qsDialog.showFooter(true);
  643. } else {
  644. qsDialog.setContent('<div class="confirm">' + result.msg + '<\/div>');
  645. }
  646. });
  647. }
  648. }
  649. $(document).ready(function() {
  650. vtip();
  651. $(document).off("click",'.appoint_audit').on('click','.appoint_audit',function () {
  652. appointAudit($(this).data('param'));
  653. });
  654. $(document).off("click",'.supplement').on('click','.supplement',function () {
  655. supplement($(this).data('param'));
  656. });
  657. $(document).off("click",'.health').on('click','.health',function () {
  658. health($(this).data('param'),$(this).data("type"));
  659. });
  660. $(document).off("click",'.fetch_word').on('click','.fetch_word',function () {
  661. var recruit_id = $(this).attr('data-rid'),appoint_id = $(this).attr('data-aid');
  662. var qsDialog = $(this).dialog({
  663. title: 'word简历生成',
  664. loading: true,
  665. showFooter: false,
  666. yes: function() {
  667. $('.J_btnyes').val('发送中...');
  668. $.post("{{ route('recruit.fetchword') }}", {_token:'{{ csrf_token() }}',recruit_id:recruit_id,appoint_id:appoint_id}, function(result) {
  669. if (result.status == 1) {
  670. disapperTooltip('success', result.msg);
  671. window.location.href = result.url;
  672. setTimeout(function() {
  673. $.pjax.reload('#pjax-container');
  674. qsDialog.hide(true);
  675. }, 2000);
  676. } else {
  677. $('.J_btnyes').val('确定');
  678. disapperTooltip('remind', result.msg);
  679. }
  680. }, 'json');
  681. }
  682. });
  683. qsDialog.setCloseDialog(false);
  684. qsDialog.setContent("重新生成会覆盖原有简历,请确认?");
  685. qsDialog.showFooter(true);
  686. });
  687. $("#ButtonAudit").click(function() {
  688. appointAudit(0)
  689. })
  690. /*查看人员信息*/
  691. $('.ButCompared').click(function() {
  692. var qsDialog = $(this).dialog({
  693. title: '查看报名信息',
  694. loading: true,
  695. footer: false
  696. });
  697. var param = $(this).data('param');
  698. var url = $(this).data('url') + "?id=" + param;
  699. $.getJSON(url, function(result) {
  700. qsDialog.setContent('<div style="max-height:600px;overflow-y:auto;">' + result.data + '<\/div>');
  701. });
  702. });
  703. //导出word简历压缩包
  704. $("#out_zip").click(function() {
  705. var id = show();
  706. if(!id){
  707. return false;
  708. }
  709. $(this).val("数据生成中。。。")
  710. $.ajax({
  711. url: "{{ route('recruit.out_zip') }}",
  712. type: 'POST',
  713. dataType: 'json',
  714. data: {
  715. id: id,
  716. recruit_id: "{{$recruit->id}}"
  717. },
  718. error: function(data) {
  719. },
  720. success: function(res) {
  721. $(this).val("导出word版简历(压缩包)")
  722. if (res.status == 1) {
  723. window.open(res.msg);
  724. } else {
  725. alert(res.msg);
  726. return false;
  727. }
  728. }
  729. });
  730. });
  731. });
  732. /*查看日志信息*/
  733. $('.ButExamineLog').click(function() {
  734. var qsDialog = $(this).dialog({
  735. title: '查看审核信息',
  736. loading: true,
  737. footer: false
  738. });
  739. var param = $(this).data('param');
  740. var url = $(this).data('url') + "?id=" + param;
  741. $.getJSON(url, function(result) {
  742. qsDialog.setContent('<div style="max-height:600px;overflow-y:auto;">' + result.data + '<\/div>');
  743. });
  744. });
  745. $('.js-search').click(function() {
  746. var political_affiliation = $.trim($('#political_affiliation').val());
  747. var audit = $.trim($('#audit').val());
  748. var realname = $.trim($('#realname').val());
  749. var print_ms = $.trim($('#print_ms').val());
  750. var print_bs = $.trim($('#print_bs').val());
  751. var pen_audit = $.trim($('#pen_audit').val());
  752. var computer_audit = $.trim($('#computer_audit').val());
  753. var face_audit = $.trim($('#face_audit').val());
  754. var reexamine_audit = $.trim($('#reexamine_audit').val());
  755. var inspect_audit = $.trim($('#inspect_audit').val());
  756. var print_js = $.trim($('#print_js').val());
  757. var review_audit = $.trim($('#review_audit').val());
  758. var political_audit = $.trim($('#political_audit').val());
  759. var health_audit = $.trim($('#health_audit').val());
  760. var sex = $.trim($("#sex").val());
  761. var education = $.trim($("#education").val());
  762. var post_id = $.trim($("#post_id").val());
  763. var parm = '';
  764. if (health_audit) {
  765. parm += "&health_audit=" + health_audit;
  766. }
  767. if (political_audit) {
  768. parm += "&political_audit=" + political_audit;
  769. }
  770. if (review_audit) {
  771. parm += "&review_audit=" + review_audit;
  772. }
  773. if (political_affiliation) {
  774. parm += "&political_affiliation=" + political_affiliation;
  775. }
  776. if (audit) {
  777. parm += "&audit=" + audit;
  778. }
  779. if (realname) {
  780. parm += "&realname=" + realname;
  781. }
  782. if (print_ms) {
  783. parm += "&print_ms=" + print_ms;
  784. }
  785. if (print_bs) {
  786. parm += "&print_bs=" + print_bs;
  787. }
  788. if (pen_audit) {
  789. parm += "&pen_audit=" + pen_audit;
  790. }
  791. if (face_audit) {
  792. parm += "&face_audit=" + face_audit;
  793. }
  794. if (computer_audit) {
  795. parm += "&computer_audit=" + computer_audit;
  796. }
  797. if (reexamine_audit) {
  798. parm += "&reexamine_audit=" + reexamine_audit;
  799. }
  800. if (inspect_audit) {
  801. parm += "&inspect_audit=" + inspect_audit;
  802. }
  803. if (print_js) {
  804. parm += "&print_js=" + print_js;
  805. }
  806. if(sex){
  807. parm += "&sex=" + sex;
  808. }
  809. if(education){
  810. parm += "&education=" + education;
  811. }
  812. if(post_id){
  813. parm += "&post_id=" + post_id;
  814. }
  815. window.location = "{{ url('/ST3IXxKlOa4eGEv0eTw0CfORI9444Mgj/recruit/appoint_list')}}?id={{$search_data['id']}}" + parm;
  816. });
  817. //入职聘用
  818. function employ() {
  819. var ids = show();
  820. if (ids !== false) {
  821. var qsDialog = $(this).dialog({
  822. title: '请选择',
  823. loading: true,
  824. showFooter: false,
  825. yes: function() {
  826. $('.J_btnyes').val('发送中...');
  827. // console.log($('#J_interviewWrap').serialize());
  828. $.post("recruit.employ", $('#J_interviewWrap').serialize(), function(result) {
  829. if (result.status == 1) {
  830. disapperTooltip('success', result.msg);
  831. setTimeout(function() {
  832. $.pjax.reload('#pjax-container');
  833. qsDialog.hide(true);
  834. }, 2000);
  835. } else {
  836. $('.J_btnyes').val('确定');
  837. disapperTooltip('remind', result.msg);
  838. }
  839. }, 'json');
  840. }
  841. });
  842. qsDialog.setCloseDialog(false);
  843. var recruit_id = "{{$recruit->id}}";
  844. $.getJSON("recruit.employ_audit", {
  845. recruit_id: recruit_id,
  846. ids: ids
  847. }, function(result) {
  848. if (result.status == 1) {
  849. qsDialog.setContent(result.data);
  850. qsDialog.showFooter(true);
  851. } else {
  852. qsDialog.setContent('<div class="confirm">' + result.msg + '<\/div>');
  853. }
  854. });
  855. }
  856. }
  857. //其它审核
  858. function butpen(i) {
  859. var ids = show();
  860. if (ids !== false) {
  861. var qsDialog = $(this).dialog({
  862. title: '请选择',
  863. loading: true,
  864. showFooter: false,
  865. yes: function() {
  866. $('.J_btnyes').val('发送中...');
  867. $.post("recruit.other_auth", $('#J_interviewWrap').serialize(), function(result) {
  868. if (result.status == 1) {
  869. disapperTooltip('success', result.msg);
  870. setTimeout(function() {
  871. $.pjax.reload('#pjax-container');
  872. qsDialog.hide(true);
  873. }, 2000);
  874. } else {
  875. $('.J_btnyes').val('确定');
  876. disapperTooltip('remind', result.msg);
  877. }
  878. }, 'json');
  879. }
  880. });
  881. qsDialog.setCloseDialog(false);
  882. var recruit_id = "{{$recruit->id}}";
  883. if (i == 'pay_audit') {
  884. $.getJSON("recruit.pay_audit", {
  885. recruit_id: recruit_id,
  886. ids: ids,
  887. type: i
  888. }, function(result) {
  889. if (result.status == 1) {
  890. qsDialog.setContent(result.data);
  891. qsDialog.showFooter(true);
  892. } else {
  893. qsDialog.setContent('<div class="confirm">' + result.msg + '<\/div>');
  894. }
  895. });
  896. } else {
  897. $.getJSON("recruit.ajax_other_audit", {
  898. recruit_id: recruit_id,
  899. ids: ids,
  900. type: i
  901. }, function(result) {
  902. if (result.status == 1) {
  903. qsDialog.setContent(result.data);
  904. qsDialog.showFooter(true);
  905. } else {
  906. qsDialog.setContent('<div class="confirm">' + result.msg + '<\/div>');
  907. }
  908. });
  909. }
  910. }
  911. }
  912. //准考证生成
  913. function card() {
  914. var recruit_id = "{{$recruit->id}}";
  915. var qsDialog = $(this).dialog({
  916. title: '请选择',
  917. loading: true,
  918. showFooter: false,
  919. yes: function() {
  920. $('.J_btnyes').val('发送中...');
  921. var data = new FormData(document.getElementById("J_ticketWrap"));
  922. console.log(data)
  923. $.ajax({
  924. url: "{{ route('recruit.create_ticket') }}",
  925. type: 'POST',
  926. data: data,
  927. processData: false,
  928. contentType : false,
  929. success: function(response){
  930. if (response.status == 1) {
  931. disapperTooltip('success', response.msg);
  932. setTimeout(function() {
  933. $.pjax.reload('#pjax-container');
  934. qsDialog.hide(true);
  935. }, 2000);
  936. } else {
  937. $('.J_btnyes').val('确定');
  938. disapperTooltip('remind', response.msg);
  939. }
  940. }
  941. })
  942. }
  943. });
  944. qsDialog.setCloseDialog(false);
  945. $.getJSON("ajax/ajax_ticket", {
  946. recruit_id: recruit_id
  947. }, function(result) {
  948. if (result.status == 1) {
  949. qsDialog.setContent(result.data);
  950. qsDialog.showFooter(true);
  951. } else {
  952. qsDialog.setContent('<div class="confirm">' + result.msg + '<\/div>');
  953. }
  954. });
  955. }
  956. //成绩更新
  957. function record() {
  958. var recruit_id = "{{$recruit->id}}";
  959. var qsDialog = $(this).dialog({
  960. title: '请选择',
  961. loading: true,
  962. showFooter: false,
  963. yes: function() {
  964. $('.J_btnyes').val('发送中...');
  965. var data = new FormData(document.getElementById("J_recordWrap"));
  966. $.ajax({
  967. url: "{{ route('recruit.update_record') }}",
  968. type: 'POST',
  969. data: data,
  970. processData: false,
  971. contentType : false,
  972. success: function(response){
  973. if (response.status == 1) {
  974. disapperTooltip('success', response.msg);
  975. setTimeout(function() {
  976. $.pjax.reload('#pjax-container');
  977. qsDialog.hide(true);
  978. }, 2000);
  979. } else {
  980. $('.J_btnyes').val('确定');
  981. disapperTooltip('remind', response.msg);
  982. }
  983. }
  984. })
  985. }
  986. });
  987. qsDialog.setCloseDialog(false);
  988. $.getJSON("ajax/ajax_record", {
  989. recruit_id: recruit_id
  990. }, function(result) {
  991. if (result.status == 1) {
  992. qsDialog.setContent(result.data);
  993. qsDialog.showFooter(true);
  994. } else {
  995. qsDialog.setContent('<div class="confirm">' + result.msg + '<\/div>');
  996. }
  997. });
  998. }
  999. //提交准考证
  1000. $("#build").click(function() {
  1001. $("form[name=form1]").attr("action", "{:U('buildcard')}" + "&recruit_id=" + recruit_ids +
  1002. "&time=" + time + "&audits=" + audits + "&times=" + times + "&home=" + home + "&address=" + address + "&expand=" + expand);
  1003. $("form[name=form1]").submit();
  1004. });
  1005. //撤销准考证
  1006. $("#del_ticket").click(function() {
  1007. var ticket_id = $("input[name='ticket_id']:checked").val();
  1008. var r_id = $("input[name='r_id']").val();
  1009. $("form[name=form1]").attr("action", "{:U('delcard')}" + "&ticket_id=" + ticket_id + "&r_id=" + r_id);
  1010. $("form[name=form1]").submit();
  1011. });
  1012. //撤销准考证
  1013. function delcard() {
  1014. var ids = show();
  1015. var recruit_id = "{{$recruit->id}}";
  1016. if (ids !== false) {
  1017. var qsDialog = $(this).dialog({
  1018. title: '请选择',
  1019. loading: true,
  1020. showFooter: false,
  1021. yes: function() {
  1022. $('.J_btnyes').val('发送中...');
  1023. var ticket_id = $("input[name='ticket_id']:checked").val();
  1024. data = {
  1025. 'ids': ids,
  1026. 'recruit_id': recruit_id,
  1027. 'ticket_id': ticket_id,
  1028. };
  1029. $.post("recruit.ticket_del", data, function(result) {
  1030. if (result.status == 1) {
  1031. disapperTooltip('success', result.msg);
  1032. setTimeout(function() {
  1033. $.pjax.reload('#pjax-container');
  1034. qsDialog.hide(true);
  1035. }, 2000);
  1036. } else {
  1037. $('.J_btnyes').val('确定');
  1038. disapperTooltip('remind', result.msg);
  1039. }
  1040. }, 'json');
  1041. }
  1042. });
  1043. qsDialog.setCloseDialog(false);
  1044. $.getJSON("recruit.ajax_ticket_del", {
  1045. recruit_id: recruit_id,
  1046. ids: ids,
  1047. }, function(result) {
  1048. if (result.status == 1) {
  1049. // console.log(result.data);
  1050. qsDialog.setContent(result.data);
  1051. qsDialog.showFooter(true);
  1052. } else {
  1053. qsDialog.setContent('<div class="confirm">' + result.msg + '<\/div>');
  1054. }
  1055. });
  1056. }
  1057. }
  1058. /*全选*/
  1059. $("#chk").click(function() {
  1060. if (this.checked == false) {
  1061. // console.log("反选")
  1062. $("td :checkbox").prop("checked", false);
  1063. }
  1064. if (this.checked == true) {
  1065. // console.log("全选")
  1066. $("td :checkbox").prop("checked", true);
  1067. }
  1068. })
  1069. //子复选框有一个未选中时,去掉全选按钮的选中状态
  1070. $("td :checkbox").click(function() {
  1071. var allCheckNum = $("td input[type='checkbox']").length;
  1072. var checkedNum = $("td input[type='checkbox']:checked").length;
  1073. if (checkedNum == allCheckNum) {
  1074. // console.log("全选");
  1075. document.getElementById("chk").checked = true;
  1076. } else {
  1077. // console.log("反选");
  1078. document.getElementById("chk").checked = false;
  1079. }
  1080. })
  1081. </script>
  1082. <link href="{{ theme_asset('app/css/person/common.css') }}" rel="stylesheet">
  1083. <style type="text/css">
  1084. 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 }
  1085. p#vtip img{width: 200px}
  1086. /*body{min-width: 1680px;overflow: auto;}*/
  1087. .clearfix:after {
  1088. display: block;
  1089. clear: both;
  1090. content: "";
  1091. visibility: hidden;
  1092. height: 0;
  1093. }
  1094. .clearfix {
  1095. zoom: 1;
  1096. /*为了兼容IE*/
  1097. }
  1098. .box .box-body {
  1099. position: relative;
  1100. }
  1101. .box .form-group label {
  1102. float: left;
  1103. width: 120px;
  1104. line-height: 34px;
  1105. text-align: right;
  1106. }
  1107. .box .input-group {
  1108. width: 360px;
  1109. }
  1110. .list_empty_group {
  1111. text-align: center;
  1112. line-height: 80px;
  1113. color: #404446;
  1114. font-size: 22px;
  1115. }
  1116. .jobslist_table .li-table-btn {
  1117. width: 120px;
  1118. height: 50px;
  1119. line-height: 50px;
  1120. }
  1121. .modal {
  1122. display: block;
  1123. position: static;
  1124. }
  1125. .qs-category-unlimited .selected-group .selected-box .s-cell {
  1126. width: 112px;
  1127. }
  1128. .qs-category-unlimited .cate-type .dd {
  1129. margin: 0px;
  1130. font-size: 14px;
  1131. }
  1132. .qs-category-unlimited .cate-type .one-select label {
  1133. display: block;
  1134. margin: 0px;
  1135. width: 110px;
  1136. }
  1137. .qs-category-unlimited .cate-type .one-select .check-box {
  1138. margin: 0px;
  1139. }
  1140. .modal_body_box .list_nav1 li label {
  1141. margin-bottom: 0px;
  1142. }
  1143. .disappear_tooltip .content {
  1144. min-height: auto;
  1145. padding: 0px;
  1146. padding-left: 10px;
  1147. padding-right: 10px;
  1148. }
  1149. </style>