noticeHistory.zml 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. ${zhiqim_manager_breadcrumb("公告列表")}
  2. ${zhiqim_manager_content()}
  3. ${sweet_alert_reuse_method()}
  4. <#-- 列表 -->
  5. <table class="z-table z-bordered z-mg-t20 z-pd10 z-bg-white z-lh150p z-text-center">
  6. <tr class="z-h40" bgcolor="${zmr_thead_bgcolor}">
  7. <td width="25%">公告标题</td>
  8. <td width="*">公告内容</td>
  9. <td width="15%">发布人</td>
  10. <td width="15%">发布时间</td>
  11. </tr>
  12. <#for item : result.list()>
  13. <tr class="z-h60" bgcolor="${zhiqim_manager_tr_bg(item_index)}">
  14. <td>#{item.getTitle()}</td>
  15. <td><a href="javascript:void(0);" style="color:green"><span onclick="findInfo(${item.getId()})">点击查看</span></a></td>
  16. <td>#{item.getFinshUser()}</td>
  17. <td>#{Sqls.toDateTimeString(item.getFinshTime())}</td>
  18. </tr>
  19. </#for>
  20. ${zhiqim_manager_tr_no_record(result, 10, "暂时没有公告")}
  21. </table>
  22. <table class="z-table z-bordered zi-bd-t-none z-bg-white">
  23. <tr class="z-h50">
  24. <td><div class="z-float-right z-mg-r10">${PagingGo.toHtmlLink(result)}</div></td>
  25. </tr>
  26. </table>
  27. ${zhiqim_manager_content_end()}
  28. <script>
  29. function findInfo(id){
  30. var dialog = new Z.Dialog();
  31. dialog.title = "公告详情";
  32. dialog.url = "/noticeInfo.htm?id="+id;
  33. dialog.width = 1000;
  34. dialog.height = 746;
  35. dialog.position=4
  36. dialog.execute();
  37. }
  38. </script>