list.html 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. <!DOCTYPE HTML>
  2. <html xmlns:th="http://www.thymeleaf.org"
  3. xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
  4. layout:decorate="~{admin/common/common}">
  5. <head>
  6. <title>项目申报</title>
  7. </head>
  8. <body layout:fragment="content">
  9. <nav class="breadcrumb" th:action="@{/projectDeclaration/index}" th:method="post">
  10. <i class="Hui-iconfont">&#xe67f;</i>
  11. 首页
  12. <span th:unless="${is_label}" class="c-gray en">&gt; 项目申报</span>
  13. <span th:unless="${is_label}" class="c-gray en">&gt; 列表</span>
  14. <a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" >
  15. <i class="Hui-iconfont">&#xe68f;</i>
  16. </a>
  17. </nav>
  18. <form id="myForm" th:action="@{/project/list}" th:method="post" >
  19. <div class="page-container">
  20. <div class="text-c">
  21. <input type="text" class="input-text" style="width:250px" placeholder="请输入关键字搜索" id="keyword" name="keyword" th:value="${keyword}"/>
  22. <input type="button" value="搜索" class="btn btn-primary" onclick="$('#myForm').submit();">
  23. </div>
  24. <div class="cl pd-5 bg-1 bk-gray mt-20">
  25. <span class="l">
  26. <a th:onclick="'javascript:open_dialog(\'新增\',\'/project/add\',\'1000\',\'500\');'" class="btn btn-primary radius"><i class="Hui-iconfont">&#xe600;</i> 新增</a>
  27. </span>
  28. <span class="r">共有数据:<strong th:text="${pageInfo.total}" id="total">54</strong> 条</span>
  29. </div>
  30. <!-- 表格 -->
  31. <table id="index" class="table table-border table-bordered table-bg table-hover" style="table-layout: fixed;width:100%;">
  32. <thead>
  33. <tr class="text-c">
  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>
  46. <tr class="text-c" th:each="model,iterStat:${pageInfo.list}" th:object="${model}">
  47. <td th:text="${iterStat.index+1}"></td>
  48. <td th:text="*{questionnaire_name}" class="text-overflow" th:title="*{questionnaire_name}"></td>
  49. <td th:text="*{start_time}"></td>
  50. <td th:text="*{end_time}"></td>
  51. <td th:text="*{create_by}"></td>
  52. <td class="td-status">
  53. <span class="label radius">参与人</span>
  54. </td>
  55. <td class="td-status">
  56. <span class="label radius">统计分析</span>
  57. </td>
  58. <td class="td-manage">
  59. <a title="编辑" href="javascript:;" th:onclick="'javascript:open_dialog(\'编辑项目名称\',\'/project/edit/'+*{id}+'\',\'800\',\'500\');'" class="ml-5" style="text-decoration:none">编辑</a>
  60. <a title="删除" href="javascript:;" th:onclick="'javascript:project_del(\'/project/delete/'+*{id}+'\');'" class="ml-5" style="text-decoration:none">删除</a>
  61. </td>
  62. </tr>
  63. </tbody>
  64. </table>
  65. <div th:replace="admin/common/page :: page"></div>
  66. </div>
  67. </form>
  68. <script type="text/javascript" th:src="@{/js/government/project/project_list.js}"></script>
  69. <script type="text/javascript" th:src="@{/js/common/page.js}"></script>
  70. <script th:inline="javascript">
  71. </script>
  72. </body>
  73. </html>