Files
ziqim/zhiqim_httpd/resource/zview/zhiqim_announcement/announcement.zml
T
2025-02-20 14:59:35 +08:00

63 line
2.8 KiB
Plaintext

<script>
function doDialog(announcementId)
{
var dialog = new Z.Dialog();
dialog.title = "已阅读人员列表";
dialog.url = "announcementReaderList.htm?announcementId="+announcementId;
dialog.width = 392;
dialog.height = 423;
dialog.execute();
}
</script>
${zhiqim_manager_breadcrumb("公告信息")}
${zhiqim_manager_content()}
<#-- 导航 -->
<div class="z-tabnav-main z-mg-b20 ${zmr_color_class}">
<nav>
<ul>
<li class="z-active">公告信息</li>
<li onclick="Z.L.href('announcementRecycle.htm');">公告回收站</li>
</ul>
<div class="z-float-left z-mg10">
<form name="theForm" method="post">
<input name="announcementTitle" class="z-float-left z-input z-w300 zi-bd-r-none" value="${announcementTitle}" maxlength="64" placeholder="模糊匹配公告标题">
<button class="z-float-left z-button z-w80 zi-bd-rd0 ${zmr_color_class}"><i class="z-font z-query"></i>查询</button>
</form>
</div>
<div class="z-text-right z-mg-t10 z-mg-r5">
<#if ZmrPathRule.check(request, "/"+zhiqim_announcement+"/announcementAdd.htm")>
<button class="z-button ${zmr_color_class}" onclick="Z.L.href('announcementAdd.htm');"><i class="z-ico z-add"></i>增加办公公告</button>
</#if>
</div>
</nav>
</div>
<#-- 列表 -->
<table class="z-table z-bordered z-pd10 z-bg-white z-text-center">
<tr class="zi-h40" bgcolor="${zmr_thead_bgcolor}">
<td width="110">公告类型</td>
<td width="*">公告标题</td>
<td width="110">发布人</td>
<td width="160">发布时间</td>
<td width="90">已读/未读</td>
<td width="180">操作</td>
</tr>
${zhiqim_manager_tr_no_record(result, 6, "没有公告信息")}
<#for item : result.list()>
<tr class="z-pointer z-h50" ${zhiqim_manager_tr_onmouse()} ${zhiqim_manager_tr_click_radio()}>
<td><#if item.getAnnouncementType()==1>行政公告</#if><#if item.getAnnouncementType()==2>假日公告</#if><#if item.getAnnouncementType()==3>会议公告</#if></td>
<td><a href="announcementItem.htm?announcementId=${item.getAnnouncementId()}">${item.getAnnouncementTitle()}</a></td>
<td>${item.getAnnouncementPublisher()}</td>
<td>${Sqls.toDateTimeString(item.getAnnouncementTime())}</td>
<td><#if item.getOperatorCode() == null><span class="z-text-cyan">未读</span><#else>已读</#if></td>
<td>
<button class="z-button z-w100 z-h30 z-mg-r10 ${zmr_color_class}" onclick="doDialog('${item.getAnnouncementId()}')">查看阅读列表</button>
<button class="z-button z-xsmall z-h30 z-font z-delete zi-px14 z-red" title="删除" onclick="Z.L.confirm('announcementDelete.htm?announcementId=${item.getAnnouncementId()}', '是否删除该公告?', null, zCallFrame);"></button>
</td>
</tr>
</#for>
</table>
${zhiqim_manager_paging (result)}
${zhiqim_manager_content_end()}