|
@@ -0,0 +1,73 @@
|
|
|
+{extend name='table'}
|
|
|
+{block name="button"}
|
|
|
+{if auth("add")}
|
|
|
+<button data-open='{:url("add")}' class='layui-btn layui-btn-sm layui-btn-primary'>添加招聘</button>
|
|
|
+{/if}
|
|
|
+{/block}
|
|
|
+{block name="content"}
|
|
|
+<!--<div class="layui-tab layui-tab-card">-->
|
|
|
+<!-- <div class="layui-tab-content">-->
|
|
|
+<!-- <form class="layui-form layui-form-pane form-search" action="{:sysuri()}" onsubmit="return false" method="get" autocomplete="off">-->
|
|
|
+<!-- <div class="layui-form-item layui-inline">-->
|
|
|
+<!-- <label class="layui-form-label">申请船厂</label>-->
|
|
|
+<!-- <label class="layui-input-inline">-->
|
|
|
+<!-- <input name="title" value="{$get.title|default=''}" placeholder="申请船厂" class="layui-input">-->
|
|
|
+<!-- </label>-->
|
|
|
+<!-- </div>-->
|
|
|
+<!-- <div class="layui-form-item layui-inline">-->
|
|
|
+<!-- <input type="hidden" name="type" value="{$type|default='index'}">-->
|
|
|
+<!-- <button class="layui-btn layui-btn-primary"><i class="layui-icon"></i> 搜 索</button>-->
|
|
|
+<!-- </div>-->
|
|
|
+<!-- </form>-->
|
|
|
+<!-- <table id="Table" data-url="{:sysuri()}" data-target-search="form.form-search"></table>-->
|
|
|
+<!-- </div>-->
|
|
|
+<!--</div>-->
|
|
|
+<script>
|
|
|
+ $(function () {
|
|
|
+ $('#Table').layTable({
|
|
|
+ even: true, height: 'full',
|
|
|
+ sort: {field: 'id', type: 'desc'},
|
|
|
+ where: {},
|
|
|
+ cols: [[
|
|
|
+ {field: 'shipyardname', title: '船厂', align: 'center', templet: function (d) {
|
|
|
+ return d.shipyard?d.shipyard.name:'平台发布'
|
|
|
+ }},
|
|
|
+ {field: 'title', title: '岗位名称', align: 'center'},
|
|
|
+ {field: 'number_person', title: '需要人数', align: 'center'},
|
|
|
+ {field: 'sex', title: '性别', align: 'center'},
|
|
|
+ {field: 'age', title: '年龄需求', align: 'center'},
|
|
|
+ {field: 'schooling', title: '学历', align: 'center'},
|
|
|
+ {field: 'province', title: '地址', align: 'center',templet:function (d) {
|
|
|
+ return d.province+d.city+d.area+d.address
|
|
|
+ }},
|
|
|
+ {field: 'experience', title: '经验', align: 'center'},
|
|
|
+ {field: 'working_time', title: '用工时长', align: 'center'},
|
|
|
+ {field: 'work_nature', title: '工作性质', align: 'center'},
|
|
|
+ {field: 'necessary_skills', title: '必备技能', align: 'center'},
|
|
|
+ {field: 'certificate', title: '证书', align: 'center'},
|
|
|
+ {field: 'remark', title: '备注', align: 'center'},
|
|
|
+ {field: 'state', title: '状态', align: 'center',templet(d){
|
|
|
+ if(d.state===1){
|
|
|
+ return `<span class="layui-badge layui-bg-green">正常</span>`
|
|
|
+ }else{
|
|
|
+ return `<span class="layui-badge layui-bg-red">下线</span>`
|
|
|
+ }
|
|
|
+ }},
|
|
|
+
|
|
|
+ {field: 'create_at', title: '创建时间', align: 'center'},
|
|
|
+ ]]
|
|
|
+ });
|
|
|
+ });
|
|
|
+</script>
|
|
|
+
|
|
|
+
|
|
|
+<!-- 列表排序权重模板 -->
|
|
|
+<script type="text/html" id="toolbar">
|
|
|
+ {if auth('audit')}
|
|
|
+ <button class="layui-btn layui-btn-sm" data-title="查看" data-modal='{:url("audit")}?id={{d.id}}'>查看</button>
|
|
|
+ <button class="layui-btn layui-btn-sm" data-title="编辑" data-open="{:url("edit")}?id={{d.id}}" style="{{-d.uid ?'display: none':''}}" >编辑</button>
|
|
|
+ {/if}
|
|
|
+ <!-- <input type="checkbox" value="{{d.id}}" lay-skin="switch" lay-text="已激活|已禁用" lay-filter="StatusSwitch" {{-d.uid=0?'checked':''}}>-->
|
|
|
+
|
|
|
+</script>
|
|
|
+{/block}
|