listPage.html 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. <%var cssPar = {%>
  2. <link href="${contextPath}/WebPages_170421/css/personal/list.css" rel="stylesheet" type="text/css">
  3. <%};%>
  4. <%var jsPar = {%>
  5. <script type="text/javascript" src="${contextPath}/WebPages_170421/js/personal/list.js"></script>
  6. <%};%>
  7. <%layout("/WebPages_170421/personalPages/commonPage/_layout.html", {nav:"",meunsel:"",jsParam:jsPar,cssParam:cssPar}) {%>
  8. <div class="container">
  9. <div class="conent">
  10. <span class="nin">您当前的位置:</span>
  11. <a href="/" class="yiji">首页</a>
  12. <span class="nin"> > </span>
  13. <a href="/toindex" class="yiji">个人中心</a>
  14. <span class="nin"> > </span>
  15. <a href="${contextPath}/ReportingManagement/toedit?id=1&pageNumber=1" class="yiji">上报通知管理</a>
  16. </div>
  17. </div>
  18. <div class="container" >
  19. <% include("/WebPages_170421/personalPages/commonPage/_navigation.html"){} %>
  20. <div class="Dlrt">
  21. <form action="/ReportingManagement/getReportingManagementList" method="post" class="frmSs">
  22. <input type="hidden" name="pageNumber" value="1" />
  23. <span class="p1">查询上报名称:</span>
  24. <input type="text" class="p2" name="name" placeholder="请输入上报名称">
  25. <input type="submit" class="p3" value="查询">
  26. <a href="${contextPath}/ReportingManagement/toedit?pageNumber=${pageNumber!1}">
  27. <input type="button" class="p4" value="添加上报通知">
  28. </a>
  29. </form>
  30. <div class="table-fa">
  31. <table border="1" style="border-bottom:1px solid #cccccc; border-left:1px solid #f6f7f8; border-top:1px solid #f6f7f8; border-right:1px solid #cccccc;" width="915px" >
  32. <thead>
  33. <tr style="width: 910px; height: 40px; text-align: center; background: #e5f1f9">
  34. <th>序号</th>
  35. <th>名称</th>
  36. <th>相关链接</th>
  37. <th>开始时间</th>
  38. <th>结束时间</th>
  39. <th>简述</th>
  40. <th>目前状态</th>
  41. <th>状态操作</th>
  42. <th> 操 作 </th>
  43. </tr>
  44. </thead>
  45. <tbody id="t1">
  46. <%for(tempDate in dateList!){%>
  47. <tr style=" height: 40px;">
  48. <td>${tempDateLP.index}</td>
  49. <td>${tempDate.name!''}</td>
  50. <td>${tempDate.url!''}</td>
  51. <td>${tempDate.startTime!''}</td>
  52. <td>${tempDate.endTime!''}</td>
  53. <td>${tempDate.introduction!''}</td>
  54. <td>
  55. <%if(tempDate.state == 0){%>
  56. <font color="blue">开启</font>
  57. <%}else if(tempDate.state == 1){%>
  58. <font color="red">结束</font>
  59. <%}%>
  60. </td>
  61. <td>
  62. <%if(tempDate.state == 0){%>
  63. <a href = ${contextPath}/ReportingManagement/editState?id=${tempDate.id}&state=${state!1}&pageNumber=${pageNumber!1}&urlParas=${urlParas!''}>结束</a>
  64. <%}else if(tempDate.state == 1){%>
  65. <a href = ${contextPath}/ReportingManagement/editState?id=${tempDate.id}&state=${state!0}&pageNumber=${pageNumber!1}&urlParas=${urlParas!''}>开启</a>
  66. <%}%>
  67. </td>
  68. <td style="width:110px;">
  69. <a href="${contextPath}/ReportingManagement/view?id=${tempDate.id}">
  70. <div class="btn1" style="margin-left:12px;" title="详情">
  71. <i class="icon-folder-open-alt"></i>
  72. </div>
  73. </a>
  74. <a href="${contextPath}/ReportingManagement/toedit?id=${tempDate.id}&pageNumber=${pageNumber!1}&urlParas=${urlParas!}">
  75. <div class="btn1" title="编辑">
  76. <i class="icon-edit"></i>
  77. </div>
  78. </a>
  79. <a href="javascript:" onclick="del()">
  80. <div class="btn1 bgli" title="删除">
  81. <i class="icon-trash" ></i>
  82. </div>
  83. </a>
  84. </td>
  85. </tr>
  86. <div id="box">
  87. <p style="width: 200px; height:80px; line-height:80px; text-align: center;">确认删除吗?</p>
  88. <a href="${contextPath}/ReportingManagement/del?id=${tempDate.id}&pageNumber=${pageNumber!1}&urlParas=${urlParas!}">
  89. <input type="button" onclick="yes()" value="确定" class="delBtn">
  90. </a>
  91. <input type="button" onclick="no()" value="取消" class="delBtn m0" >
  92. </div>
  93. <%}elsefor{%>
  94. <tr>
  95. <td colspan="12">没有记录!</td>
  96. </tr>
  97. <%}%>
  98. </tbody>
  99. </table>
  100. <%include("/WebPages_170421/personalPages/commonPage/_paginate.html", {"currentPage": pageNumber!1, "totalPage": totalPage!1, "totalRow": totalRow!0, "actionUrl": contextPath+"/ReportingManagement/getReportingManagementList?code=" + code!'' + "&pageNumber=", "urlParas": urlParas!''}){}%>
  101. </div>
  102. </div>
  103. </div>
  104. <%}%>