58 lines
1.8 KiB
HTML
58 lines
1.8 KiB
HTML
|
{extend name="../../base/view/common/base" /}
|
||
|
{block name="style"}
|
||
|
{include file="/approve/view_style" /}
|
||
|
{/block}
|
||
|
<!-- 主体 -->
|
||
|
{block name="body"}
|
||
|
<form class="layui-form p-4">
|
||
|
<h3 class="pb-3">请假审批</h3>
|
||
|
<table class="layui-table layui-table-form">
|
||
|
<tr>
|
||
|
<td class="layui-td-gray">请假类型</td>
|
||
|
<td>
|
||
|
{eq name="$detail.detail_type" value="1"}事假{/eq}
|
||
|
{eq name="$detail.detail_type" value="2"}年假{/eq}
|
||
|
{eq name="$detail.detail_type" value="3"}调休假{/eq}
|
||
|
{eq name="$detail.detail_type" value="4"}病假{/eq}
|
||
|
{eq name="$detail.detail_type" value="5"}婚假{/eq}
|
||
|
{eq name="$detail.detail_type" value="6"}丧假{/eq}
|
||
|
{eq name="$detail.detail_type" value="7"}产假{/eq}
|
||
|
{eq name="$detail.detail_type" value="8"}陪产假{/eq}
|
||
|
{eq name="$detail.detail_type" value="9"}其他{/eq}
|
||
|
</td>
|
||
|
<td class="layui-td-gray">请假日期</td>
|
||
|
<td>{$detail.start_time} 至 {$detail.end_time}</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="layui-td-gray">请假工时</td>
|
||
|
<td>共{$detail.duration}工时</td>
|
||
|
<td class="layui-td-gray">请假天数</td>
|
||
|
<td>共{$detail.days}天,{$detail.hours}小时</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="layui-td-gray">请假事由</td>
|
||
|
<td colspan="3">{$detail.content}</td>
|
||
|
</tr>
|
||
|
{notempty name="$detail.file_ids"}
|
||
|
<tr>
|
||
|
<td class="layui-td-gray">相关附件</td>
|
||
|
<td colspan="3" style="line-height:inherit">
|
||
|
<div class="layui-row">
|
||
|
{volist name="$detail.fileArray" id="vo"}
|
||
|
<div class="layui-col-md4">{:file_card($vo,'view')}</div>
|
||
|
{/volist}
|
||
|
</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
{/notempty}
|
||
|
</table>
|
||
|
{include file="/approve/view_step" /}
|
||
|
</div>
|
||
|
{/block}
|
||
|
<!-- /主体 -->
|
||
|
|
||
|
<!-- 脚本 -->
|
||
|
{block name="script"}
|
||
|
{include file="/approve/view_script" /}
|
||
|
{/block}
|
||
|
<!-- /脚本 -->
|