Files
ziqim/Yangcai365_design/manage/zview/notice/noticeHistory.zml
T
2025-02-20 14:58:55 +08:00

41 lines
1.3 KiB
Plaintext

${zhiqim_manager_breadcrumb("公告列表")}
${zhiqim_manager_content()}
${sweet_alert_reuse_method()}
<#-- 列表 -->
<table class="z-table z-bordered z-mg-t20 z-pd10 z-bg-white z-lh150p z-text-center">
<tr class="z-h40" bgcolor="${zmr_thead_bgcolor}">
<td width="25%">公告标题</td>
<td width="*">公告内容</td>
<td width="15%">发布人</td>
<td width="15%">发布时间</td>
</tr>
<#for item : result.list()>
<tr class="z-h60" bgcolor="${zhiqim_manager_tr_bg(item_index)}">
<td>#{item.getTitle()}</td>
<td><a href="javascript:void(0);" style="color:green"><span onclick="findInfo(${item.getId()})">点击查看</span></a></td>
<td>#{item.getFinshUser()}</td>
<td>#{Sqls.toDateTimeString(item.getFinshTime())}</td>
</tr>
</#for>
${zhiqim_manager_tr_no_record(result, 10, "暂时没有公告")}
</table>
<table class="z-table z-bordered zi-bd-t-none z-bg-white">
<tr class="z-h50">
<td><div class="z-float-right z-mg-r10">${PagingGo.toHtmlLink(result)}</div></td>
</tr>
</table>
${zhiqim_manager_content_end()}
<script>
function findInfo(id){
var dialog = new Z.Dialog();
dialog.title = "公告详情";
dialog.url = "/noticeInfo.htm?id="+id;
dialog.width = 1000;
dialog.height = 746;
dialog.position=4
dialog.execute();
}
</script>