dev_oa/app/oa/view/approve/view_yongzhang.html
hdm 338038c8b4 重写上传文件的模板展示,及js方法,图片、PDF文件支持在线查看功能,其他文件下载查看,系统整体提升了文件更能的操作体验。
修复了客户模块的日志展示错误bug,发票到账模块支持上传附件功能,可以上传到账凭据等资料。
2023-04-17 23:11:29 +08:00

63 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>{$detail.detail_time}</td>
<td class="layui-td-gray">印章类型</td>
<td>
{volist name=":oa_seal_cate()" id="vo"}
{eq name="$detail.detail_type" value="$vo.id"}{$vo.title}{/eq}
{/volist}
</td>
</tr>
<tr>
<td class="layui-td-gray">文件名称</td>
<td colspan="3">{$detail.name}</td>
</tr>
<tr>
<td class="layui-td-gray">文件类型</td>
<td>
{eq name="$detail.other_type" value="1"}公告类{/eq}
{eq name="$detail.other_type" value="2"}规则制度类{/eq}
{eq name="$detail.other_type" value="3"}合同类{/eq}
{eq name="$detail.other_type" value="4"}资质更新类{/eq}
{eq name="$detail.other_type" value="5"}员工证明{/eq}
{eq name="$detail.other_type" value="6"}其他{/eq}
</td>
<td class="layui-td-gray">文件份数</td>
<td>{$detail.num}</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" id="uploadImg{$vo.id}">{: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}
<!-- /脚本 -->