|
@@ -1,42 +1,94 @@
|
|
|
-{include file='approve_info/index_search_5'}
|
|
|
-<table class="layui-table margin-top-10" lay-skin="line">
|
|
|
- {notempty name='list'}
|
|
|
- <thead>
|
|
|
- <tr>
|
|
|
- <th class='text-left nowrap'>申请ID</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>
|
|
|
- <th class="text-center nowrap">操作</th>
|
|
|
- </tr>
|
|
|
- </thead>
|
|
|
+<style>
|
|
|
+ table {
|
|
|
+ /*letter-spacing: 1px;*/
|
|
|
+ width: 100%;
|
|
|
+ border-collapse: collapse;
|
|
|
+ table-layout: fixed;
|
|
|
+ }
|
|
|
+ td {
|
|
|
+ text-align: left;
|
|
|
+ }
|
|
|
+ .content {
|
|
|
+ border: 1px solid black;
|
|
|
+ }
|
|
|
+ .with-30{
|
|
|
+ width:30%;
|
|
|
+ }
|
|
|
+ .with-70{
|
|
|
+ width:60%;
|
|
|
+ }
|
|
|
+ .align-center {
|
|
|
+ text-align: center;
|
|
|
+ }
|
|
|
+ .font-size-14{
|
|
|
+ font-size: 14pt;
|
|
|
+ }
|
|
|
+</style>
|
|
|
+<div class="align-center font-size-14">{$get_module_list[$vo.module]|default='--'}审批单</div>
|
|
|
+<table cellpadding="6">
|
|
|
+ <tr>
|
|
|
+ <td class="with-30">{$vo.subject|default='--'}</td>
|
|
|
+ <td class="with-70"> 创建时间:{$vo.apply_date|default='--'}</td>
|
|
|
+ <td></td>
|
|
|
+ </tr>
|
|
|
+</table>
|
|
|
+<table cellpadding="8">
|
|
|
+ <tr>
|
|
|
+ <td class="content with-30">审批编号</td>
|
|
|
+ <td class="content with-70">{$vo.order_no|default='--'}</td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td class="content">审批状态</td>
|
|
|
+ <td class="content">{$get_approve_status_list[$vo.status]|default='--'}</td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td class="content">创建人</td>
|
|
|
+ <td class="content">{$vo.create_user.name|default='--'}</td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td class="content">创建人部门</td>
|
|
|
+ <td class="content">{foreach $vo.department_data as $k=>$v} {$v.name} {/foreach}</td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td class="content">申请人</td>
|
|
|
+ <td class="content">{$vo.apply_user.name|default='--'}</td>
|
|
|
+ </tr>
|
|
|
+
|
|
|
+ <tr>
|
|
|
+ <td class="content">出差事由</td>
|
|
|
+ <td class="content">{$vo.reason|default='--'}</td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td class="content">出差开始时间</td>
|
|
|
+ <td class="content">{$vo.module_info.start_time|default='--'}</td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td class="content">出差结束时间</td>
|
|
|
+ <td class="content">{$vo.module_info.end_time|default='--'}</td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td class="content">附件</td>
|
|
|
+ <td class="content"></td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td class="content">出差类型</td>
|
|
|
+ <td class="content">{$get_type_list[$vo.type]|default='--'}</td>
|
|
|
+ </tr>
|
|
|
+ {if ($vo.type == 1)}
|
|
|
+ <tr>
|
|
|
+ <td class="content">是否跨关内关外</td>
|
|
|
+ <td class="content">{$get_is_who_list[$vo.module_info.is_who]|default='--'}</td>
|
|
|
+ </tr>
|
|
|
+ {/if}
|
|
|
+ <tr>
|
|
|
+ <td class="content">备注</td>
|
|
|
+ <td class="content">{$vo.module_info.remark|default='--'}</td>
|
|
|
+ </tr>
|
|
|
+ {notempty name='vo.data'}
|
|
|
+ <tr>
|
|
|
+ <td class="content">同行人员</td>
|
|
|
+ <td class="content">{foreach $vo.data as $k=>$v}{$v.name|default='--'} {/foreach}</td>
|
|
|
+ </tr>
|
|
|
{/notempty}
|
|
|
- <tbody>
|
|
|
- {foreach $list as $key=>$vo}
|
|
|
- <tr>
|
|
|
- <td class='text-left nowrap'>{$vo.id}</td>
|
|
|
- <td class='text-left nowrap'>
|
|
|
- <p>用户姓名:{$vo.create_user.name|default='--'}</p>
|
|
|
- <p class="color-desc">手机号码:{$vo.create_user.mobile|default="--"}</p>
|
|
|
- </td>
|
|
|
- <td class='text-left nowrap'><strong>{$get_approve_status_list[$vo.status]}</strong></td>
|
|
|
- <td class='text-left nowrap'>{$vo.create_at}</td>
|
|
|
- <td class='text-left nowrap'>{$vo.order_no}</td>
|
|
|
- <td class='text-left nowrap'>{$vo.apply_date}</td>
|
|
|
- <td class='text-left nowrap'>{$vo.reason}</td>
|
|
|
- <td class='text-left nowrap'>{$get_type_list[$vo.type]}</td>
|
|
|
- <td class='text-left nowrap'>{$vo.start_time} - {$vo.end_time}</td>
|
|
|
- <td class='text-center nowrap'>
|
|
|
- <a class="layui-btn layui-btn-xs layui-bg-blue" data-open="{:url('approve_info_log/index')}?info_id={$vo.id}">审批人修改记录</a>
|
|
|
- <a class="layui-btn layui-btn-xs" data-open="{:url('edit')}?id={$vo.id}">详 情</a>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- {/foreach}
|
|
|
- </tbody>
|
|
|
</table>
|
|
|
-{empty name='list'}<span class="notdata">没 有 记 录 哦!</span>{else}{$pagehtml|raw|default=''}{/empty}
|
|
|
+{include file='common/index_approve'}
|