appoint_list.blade.php 65 KB

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