|
@@ -147,7 +147,95 @@
|
|
|
@endif
|
|
|
@if(in_array('4',explode(',',$recruit->step)))
|
|
|
<div class="tab-pane" id="tab-form-2">
|
|
|
-{{-- todo--}}
|
|
|
+ @if($recruit->computer_ticket_type < 0)
|
|
|
+ <div class="notice">
|
|
|
+ 您已设置不需要准考证,请返回招考编辑页更改设置。
|
|
|
+ </div>
|
|
|
+ @else
|
|
|
+ @if($recruit->computer_ticket_status > 0)
|
|
|
+ <div class="notice">
|
|
|
+ 上机/考核准考证正在生成中或已生成,暂不允许操作,有疑问请联系技术人员。
|
|
|
+ </div>
|
|
|
+ @else
|
|
|
+ <div class="tips">
|
|
|
+ <p>
|
|
|
+ 1.生成准考证前您可以下载已经上传的模板,确认是否有误!
|
|
|
+ </p>
|
|
|
+ <p>
|
|
|
+ 2.生成准考证的模板变量包括:({{ $recruit->computer_ticket_field }}),非ex开头的将自动抓取报名表里面的数据。
|
|
|
+ </p>
|
|
|
+ <p>
|
|
|
+ 3.最终生成的准考证为pdf格式。
|
|
|
+ </p>
|
|
|
+ <p>
|
|
|
+ 4.该生成操作目前不可逆,请谨慎操作。
|
|
|
+ </p>
|
|
|
+ <p>
|
|
|
+ 5.自动生成准考证仅能从准考证号、考室号、座位号三个进行生成,其余字段请确保模板中已存在。
|
|
|
+ </p>
|
|
|
+ <p>
|
|
|
+ 6.<a href="{{ route('recruit.ticket_data_template',['recruit_id' => $recruit->id,'type' => 'computer']) }}" target="_blank">点我下载</a>准考证导入信息模板。
|
|
|
+ </p>
|
|
|
+ <p>
|
|
|
+ 7.每间考场人数的设置仅在选择自动生成模式时有效。
|
|
|
+ </p>
|
|
|
+ </div>
|
|
|
+ <div class="form-group">
|
|
|
+ <label for="type" class="col-sm-2 astrisk control-label">准考证生成方式:</label>
|
|
|
+ <div class="col-sm-8">
|
|
|
+ <label class="radio-inline">
|
|
|
+ <input type="radio" name="computer[type]" value="0" data-ref="computer" class="minimal type" checked="" style="position: absolute; opacity: 0;"> 不需要准考证
|
|
|
+ </label>
|
|
|
+ <label class="radio-inline">
|
|
|
+ <input type="radio" name="computer[type]" value="1" data-ref="computer" class="minimal type" style="position: absolute; opacity: 0;"> 自动生成
|
|
|
+ </label>
|
|
|
+ <label class="radio-inline">
|
|
|
+ <input type="radio" name="computer[type]" value="2" data-ref="computer" class="minimal type" style="position: absolute; opacity: 0;"> 模板上传
|
|
|
+ </label>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="form-group ">
|
|
|
+ <label for="apply_start" class="col-sm-2 astrisk control-label">打印时间段</label>
|
|
|
+ <div class="col-sm-8">
|
|
|
+ <div class="row" style="width: 470px">
|
|
|
+ <div class="col-lg-6">
|
|
|
+ <div class="input-group">
|
|
|
+ <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
|
|
|
+ <input type="text" name="computer[ex_start]" value="" class="form-control ex_start" style="width: 200px"></div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="col-lg-6">
|
|
|
+ <div class="input-group">
|
|
|
+ <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
|
|
|
+ <input type="text" name="computer[ex_end]" value="" class="form-control ex_end" style="width: 200px"></div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div id="face_autoCreate" style="display: none">
|
|
|
+ <div class="form-group">
|
|
|
+ <label for="auto_each_number" class="col-sm-2 control-label">每间考场人数</label>
|
|
|
+ <div class="col-sm-5">
|
|
|
+ <div class="input-group">
|
|
|
+ <span class="input-group-addon"><i class="fa fa-pencil fa-fw"></i></span>
|
|
|
+ <input type="text" id="auto_each_number" name="computer[auto_each_number]" value="35" class="form-control auto_each_number" placeholder="输入每间考场人数">
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div id="face_fetchCreate" style="display: none">
|
|
|
+ <div class="form-group ">
|
|
|
+ <label for="test" class="col-sm-2 control-label">准考证数据</label>
|
|
|
+ <div class="col-sm-8">
|
|
|
+ <div class="file-input file-input-new">
|
|
|
+ <input type="file" name="computer[data]" />
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ @endif
|
|
|
+ @endif
|
|
|
</div>
|
|
|
@endif
|
|
|
@if(in_array('5',explode(',',$recruit->step)))
|