appoint_list.blade.php 66 KB

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