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

67 lines
1.9 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{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.name}</td>
<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}
</td>
</tr>
<tr>
<td class="layui-td-gray">来文单位</td>
<td>{$detail.address}</td>
<td class="layui-td-gray">来文日期</td>
<td>{$detail.detail_time}</td>
</tr>
<tr>
<td class="layui-td-gray">文件摘要</td>
<td colspan="3">{$detail.content}</td>
</tr>
<tr>
<td class="layui-td-gray">备注</td>
<td colspan="3">{$detail.remark}</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">
<div class="file-card file-view">
<i class="file-icon iconfont icon-renwuguanli"></i>
<div class="file-info">
<div class="file-title">{$vo.name}</div>
<div class="file-ops">{:to_size($vo.filesize)}{$vo.create_time|date='Y-m-d H:i'}</div>
</div>
<div class="file-tool">
<a href="{$vo.filepath}" download="{$vo.name}" target="_blank" title="下载查看"><i class="iconfont icon-shujudaoru blue"></i></a>
</div>
</div>
</div>
{/volist}
</div>
</td>
</tr>
{/notempty}
</table>
{include file="/approve/view_step" /}
</div>
{/block}
<!-- /主体 -->
<!-- 脚本 -->
{block name="script"}
{include file="/approve/view_script" /}
{/block}
<!-- /脚本 -->