|
@@ -6,16 +6,16 @@
|
|
|
|
|
|
{block name="content"}
|
|
|
<div class="think-box-shadow">
|
|
|
- {include file='leave_info/index_search'}
|
|
|
+ {include file='car_info/index_search'}
|
|
|
<table class="layui-table margin-top-20" lay-skin="line">
|
|
|
<thead>
|
|
|
<tr>
|
|
|
<th class='list-table-sort-td'>
|
|
|
<button type="button" data-reload class="layui-btn layui-btn-xs">刷 新</button>
|
|
|
</th>
|
|
|
- <th class='text-left nowrap'>请假员工</th>
|
|
|
- <th class='text-left nowrap'>请假类型</th>
|
|
|
- <th class='text-left nowrap'>请假时间</th>
|
|
|
+ <th class='text-left nowrap'>用车员工</th>
|
|
|
+ <th class='text-left nowrap'>用车时间</th>
|
|
|
+ <th class='text-left nowrap'>用车地址</th>
|
|
|
<th class='text-left nowrap'>审批状态</th>
|
|
|
<th class="text-left nowrap">操作</th>
|
|
|
</tr>
|
|
@@ -32,11 +32,17 @@
|
|
|
</div>
|
|
|
</td>
|
|
|
|
|
|
- <td class='text-left nowrap'>{$all_type[$vo.type]['title']|default=''}</td>
|
|
|
<td class='text-left nowrap'>
|
|
|
<div class="inline-block">
|
|
|
- 开始时间:{$vo.start_date|default='--'}--{$vo.start_time|default='--'}<br><br>
|
|
|
- 结束时间:{$vo.end_date|default='--'}--{$vo.end_time|default='--'}<br>
|
|
|
+ 开始时间:{$vo.start_time|default='--'}<br><br>
|
|
|
+ 结束时间:{$vo.end_time|default='--'}
|
|
|
+ </div>
|
|
|
+ </td>
|
|
|
+ <td class='text-left nowrap'>
|
|
|
+ <div class="inline-block">
|
|
|
+ 出发地址:{$vo.departure|default='--'}<br>
|
|
|
+ 到达地址:{$vo.arrive|default='--'}<br>
|
|
|
+ 返回地址:{$vo.back_address|default='--'}<br>
|
|
|
</div>
|
|
|
</td>
|
|
|
<td class='text-left nowrap'>
|
|
@@ -46,7 +52,6 @@
|
|
|
{eq name ='vo.status' value='9'}已取消{/eq}
|
|
|
</td>
|
|
|
<td class='text-left' >
|
|
|
- <a data-title="查看事由" class="layui-btn layui-btn-sm" data-modal='{:url("edit")}?id={$vo.id}'>查看事由</a>
|
|
|
<a data-title="查看审批" class="layui-btn layui-btn-sm" data-modal='{:url("approve")}?id={$vo.id}'>审批记录</a>
|
|
|
<span class="layui-btn layui-btn-sm layui-btn-danger" onclick="btn_confirm('删除','remove','{$vo.id}');">删 除</span>
|
|
|
</td>
|
|
@@ -60,7 +65,7 @@
|
|
|
<script>
|
|
|
function btn_confirm(msg,fun,id) {
|
|
|
layer.confirm('请确定是否'+msg, {btn: ['确定', '取消'], title: "提示"}, function () {
|
|
|
- var url = "/leave/leave_info/"+fun;
|
|
|
+ var url = "/car/car_info/"+fun;
|
|
|
layer.closeAll();
|
|
|
$.ajax({
|
|
|
type: "post",
|