|
@@ -2,15 +2,23 @@
|
|
|
<div class="layui-card">
|
|
|
<div class="layui-form layui-form-pane layui-card-header layuiadmin-card-header-auto" lay-filter="LAY-demand-demandlist-search">
|
|
|
<div class="layui-form-item">
|
|
|
+ <input type="hidden" name="id" value="{$id}">
|
|
|
<div class="layui-inline">
|
|
|
- <label class="layui-form-label">状态</label>
|
|
|
+ <label class="layui-form-label">姓名</label>
|
|
|
<div class="layui-input-block">
|
|
|
- <select name="status">
|
|
|
- <option value="">全部状态</option>
|
|
|
- <option value="1">待审核</option>
|
|
|
- <option value="2">审核通过</option>
|
|
|
- <option value="3">已完成</option>
|
|
|
- </select>
|
|
|
+ <input type="text" name="realname" placeholder="请输入姓名" autocomplete="off" class="layui-input">
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="layui-inline">
|
|
|
+ <label class="layui-form-label">电话</label>
|
|
|
+ <div class="layui-input-block">
|
|
|
+ <input type="text" name="mobile" placeholder="请输入电话" autocomplete="off" class="layui-input">
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="layui-inline">
|
|
|
+ <label class="layui-form-label">身份证号</label>
|
|
|
+ <div class="layui-input-block">
|
|
|
+ <input type="text" name="idcard" placeholder="请输入身份证号" autocomplete="off" class="layui-input">
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="layui-inline">
|
|
@@ -23,16 +31,6 @@
|
|
|
|
|
|
<div class="layui-card-body">
|
|
|
<table id="LAY-demand-demandlist-table" lay-filter="LAY-demand-demandlist-table"></table>
|
|
|
- <script type="text/html" id="selectStatus">
|
|
|
- <select name="status" lay-filter="status" data-value=""></select>
|
|
|
- </script>
|
|
|
- <script type="text/html" id="setTpl">
|
|
|
- {{# if(d.status > 1){ }}
|
|
|
- <a class="layui-btn layui-btn-normal layui-btn-xs" lay-event="report"><i class="layui-icon layui-icon-edit"></i>报备</a>
|
|
|
- <a class="layui-btn layui-btn-normal layui-btn-xs" lay-event="reportlog"><i class="layui-icon layui-icon-edit"></i>报备记录</a>
|
|
|
- {{# } }}
|
|
|
- <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="detail"><i class="layui-icon layui-icon-delete"></i>订单详情</a>
|
|
|
- </script>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -54,17 +52,18 @@
|
|
|
table.render({
|
|
|
elem: '#LAY-demand-demandlist-table',
|
|
|
height: 'full-20',
|
|
|
- url: setter.baseWorkerUrl + 'demand/reportlog',
|
|
|
+ url: setter.baseWorkerUrl + 'demand/reportlog?id={$id}',
|
|
|
cols: [
|
|
|
[
|
|
|
{ field: 'id', width: 80, title: '表ID', sort: true },
|
|
|
- { field: 'demand', title: '岗位标题', minWidth: 200, toolbar: '<div>{{d.demand.title}}</div>' },
|
|
|
- { field: 'worker', title: '公司名称', width: 200, toolbar: '<div>{{d.demand.worker.title}}</div>' },
|
|
|
- { field: 'demand', title: '联系电话', width: 120, toolbar: '<div>{{d.demand.telephone}}</div>' },
|
|
|
- { field: 'num', title: '招聘人数', width: 100 },
|
|
|
- { field: 'status_text', title: '状态', width: 100 },
|
|
|
- { field: 'createtime', title: '接单时间', width: 180 },
|
|
|
- { title: '操作', width: 280, align: 'center', fixed: 'right', toolbar: '#setTpl' }
|
|
|
+ { field: 'realname', title: '姓名', width: 100 },
|
|
|
+ { field: 'mobile', title: '手机号', width: 120 },
|
|
|
+ { field: 'idcard', title: '身份证号', width: 180 },
|
|
|
+ { field: 'arrivetime', title: '预计到达时间', width: 150 },
|
|
|
+ { field: 'remark', title: '备注信息', width: 200 },
|
|
|
+ { field: 'createtime', title: '报备时间', width: 150 },
|
|
|
+ { field: 'agentid', title: '门店', minWidth: 100, toolbar: '<div>{{d.agent ? d.agent.title : ""}}</div>' },
|
|
|
+ { field: 'brokerid', title: '经纪人', minWidth: 100, toolbar: '<div>{{d.broker ? d.broker.title : ""}}</div>' },
|
|
|
]
|
|
|
],
|
|
|
page: true,
|
|
@@ -83,37 +82,6 @@
|
|
|
});
|
|
|
});
|
|
|
|
|
|
- table.on('tool(LAY-demand-demandlist-table)', function(obj) {
|
|
|
- var data = obj.data;
|
|
|
- if (obj.event === 'report') {
|
|
|
- let index = layer.open({
|
|
|
- type: 2,
|
|
|
- title: '报备',
|
|
|
- content: 'report.html?id=' + data.id,
|
|
|
- maxmin: true,
|
|
|
- area: ['750px', '480px']
|
|
|
- });
|
|
|
- layer.full(index);
|
|
|
- } else if (obj.event === 'reportlog') {
|
|
|
- let index = layer.open({
|
|
|
- type: 2,
|
|
|
- title: '编辑其他订单信息',
|
|
|
- content: 'reportlog.html?id=' + data.id,
|
|
|
- maxmin: true,
|
|
|
- area: ['750px', '480px']
|
|
|
- });
|
|
|
- layer.full(index);
|
|
|
- } else if (obj.event === 'detail') {
|
|
|
- let index = layer.open({
|
|
|
- type: 2,
|
|
|
- title: '订单详情',
|
|
|
- content: 'demanddetail.html?id=' + data.demand_id,
|
|
|
- maxmin: true,
|
|
|
- area: ['750px', '480px']
|
|
|
- });
|
|
|
- layer.full(index);
|
|
|
- }
|
|
|
- });
|
|
|
|
|
|
});
|
|
|
</script>
|