appoint_list.blade.php 65 KB

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