appoint_list.blade.php 66 KB

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