oaNotifyList.jsp 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. <%@ page contentType="text/html;charset=UTF-8" %>
  2. <%@ include file="/webpage/include/taglib.jsp"%>
  3. <html>
  4. <head>
  5. <title>通知管理</title>
  6. <meta http-equiv="Content-type" content="text/html; charset=utf-8">
  7. <meta name="decorator" content="ani"/>
  8. <%@ include file="/webpage/include/bootstraptable.jsp"%>
  9. <%@include file="/webpage/include/treeview.jsp" %>
  10. <%@include file="oaNotifyList.js" %>
  11. </head>
  12. <body>
  13. <div class="wrapper wrapper-content">
  14. <div class="panel panel-primary">
  15. <div class="panel-heading">
  16. <h3 class="panel-title">通知管理列表</h3>
  17. </div>
  18. <div class="panel-body">
  19. <!-- 搜索 -->
  20. <div id="search-collapse" class="collapse">
  21. <div class="accordion-inner">
  22. <form:form id="searchForm" modelAttribute="oaNotify" class="form form-horizontal well clearfix">
  23. <div class="col-xs-12 col-sm-6 col-md-4">
  24. <label class="label-item single-overflow pull-left" title="标题:">标题:</label>
  25. <form:input path="title" htmlEscape="false" maxlength="200" class=" form-control input-sm"/>
  26. </div>
  27. <div class="col-xs-12 col-sm-6 col-md-4">
  28. <label class="label-item single-overflow pull-left" title="类型:">类型:</label>
  29. <form:select path="type" class="form-control m-b">
  30. <form:option value="" label=""/>
  31. <form:options items="${fns:getDictList('oa_notify_type')}" itemLabel="label" itemValue="value" htmlEscape="false"/>
  32. </form:select>
  33. </div>
  34. <div class="col-xs-12 col-sm-6 col-md-4">
  35. <div style="margin-top:26px">
  36. <a id="search" class="btn btn-primary btn-rounded btn-bordered btn-sm"><i class="fa fa-search"></i> 查询</a>
  37. <a id="reset" class="btn btn-primary btn-rounded btn-bordered btn-sm" ><i class="fa fa-refresh"></i> 重置</a>
  38. </div>
  39. </div>
  40. </form:form>
  41. </div>
  42. </div>
  43. <c:if test="${!isSelf}">
  44. <!-- 工具栏 -->
  45. <div id="toolbar">
  46. <shiro:hasPermission name="oa:oaNotify:add">
  47. <a id="add" class="btn btn-primary" href="${ctx}/oa/oaNotify/form" title="通知"><i class="glyphicon glyphicon-plus"></i> 新建</a>
  48. </shiro:hasPermission>
  49. <shiro:hasPermission name="oa:oaNotify:edit">
  50. <button id="edit" class="btn btn-success" disabled onclick="edit()">
  51. <i class="glyphicon glyphicon-edit"></i> 修改
  52. </button>
  53. </shiro:hasPermission>
  54. <shiro:hasPermission name="oa:oaNotify:del">
  55. <button id="remove" class="btn btn-danger" disabled onclick="deleteAll()">
  56. <i class="glyphicon glyphicon-remove"></i> 删除
  57. </button>
  58. </shiro:hasPermission>
  59. <shiro:hasPermission name="oa:oaNotify:import">
  60. <button id="btnImport" class="btn btn-info"><i class="fa fa-folder-open-o"></i> 导入</button>
  61. <div id="importBox" class="hide">
  62. <form id="importForm" action="${ctx}/oa/oaNotify/import" method="post" enctype="multipart/form-data"
  63. style="padding-left:20px;text-align:center;" ><br/>
  64. <input id="uploadFile" name="file" type="file" style="width:330px"/>导入文件不能超过5M,仅允许导入“xls”或“xlsx”格式文件!<br/>  
  65. </form>
  66. </div>
  67. </shiro:hasPermission>
  68. </div>
  69. </c:if>
  70. <!-- 表格 -->
  71. <table id="table" data-toolbar="#toolbar"></table>
  72. <c:if test="${!isSelf}">
  73. <!-- context menu -->
  74. <ul id="context-menu" class="dropdown-menu">
  75. <shiro:hasPermission name="oa:oaNotify:edit">
  76. <li data-item="edit"><a>编辑</a></li>
  77. </shiro:hasPermission>
  78. <shiro:hasPermission name="oa:oaNotify:del">
  79. <li data-item="delete"><a>删除</a></li>
  80. </shiro:hasPermission>
  81. <li data-item="action1"><a>取消</a></li>
  82. </ul>
  83. </c:if>
  84. </div>
  85. </div>
  86. </div>
  87. </body>
  88. </html>