Files
sentcms/view/admin/hcloud/index.html
2020-08-15 21:47:14 +08:00

75 lines
2.2 KiB
HTML

{extend name="admin/public/base"/}
{block name="body"}
<div class="box box-primary">
<div class="box-header with-border">
<h3 class="box-title">{$meta_title}</h3>
<div class="box-tools pull-right">
<!-- <a class="btn btn-sm btn-primary" href="{:url('/admin/hcloud/add')}">新 增</a>
<button class="btn btn-sm btn-danger ajax-post confirm" url="{:url('/admin/hcloud/delete')}" data-form="ids">删 除</button> -->
</div>
</div>
<div class="box-body">
<div class="table-responsive clearfix">
<table class="table table-bordered table-hover">
<thead>
<tr>
<th>公司名称</th>
<th>公司法人</th>
<th>注册地址</th>
<th>证书编号</th>
<th>安全许可到期时间</th>
<th>资质项名称</th>
<th>证书编号</th>
<th>发证日期</th>
<th>证书有效期</th>
<th>发证机关</th>
</tr>
</thead>
<tbody>
{volist name="list" id="item"}
{if count($item['apt']) > 0}
<tr>
<td rowspan="{:count($item['apt'])}">{$item['compName']}</td>
<td rowspan="{:count($item['apt'])}">{$item['compCeoName']}</td>
<td rowspan="{:count($item['apt'])}">{$item['compRegAddr']}</td>
<td rowspan="{:count($item['apt'])}">{$item['safetyCode']}</td>
<td rowspan="{:count($item['apt'])}">{$item['safetyEdate']}</td>
<td>{$item['apt'][0]['aptCasename']}</td>
<td>{$item['apt'][0]['certPrintNo']}</td>
<td>{$item['apt'][0]['validBdate']}</td>
<td>{$item['apt'][0]['validEdate']}</td>
<td>{$item['apt'][0]['issueUnitName']}</td>
</tr>
{volist name="item['apt']" id="vo" key="j"}
{if $j > 1}
<tr>
<td>{$vo['aptCasename']}</td>
<td>{$vo['certPrintNo']}</td>
<td>{$vo['validBdate']}</td>
<td>{$vo['validEdate']}</td>
<td>{$vo['issueUnitName']}</td>
</tr>
{/if}
{/volist}
{else/}
<tr>
<td>{$item['compName']}</td>
<td>{$item['compCeoName']}</td>
<td>{$item['compRegAddr']}</td>
<td>{$item['safetyCode']}</td>
<td>{$item['safetyEdate']}</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
{/if}
{/volist}
</tbody>
</table>
{$page|raw}
</div>
</div>
</div>
{/block}