province_declare.html 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  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. <style>
  8. .conditionInput {
  9. width:250px;
  10. }
  11. .conditionDate {
  12. width:150px;
  13. }
  14. </style>
  15. </head>
  16. <body layout:fragment="content">
  17. <nav class="breadcrumb" th:action="@{/projectApplication/list}" th:method="post">
  18. <i class="Hui-iconfont">&#xe67f;</i>
  19. 首页
  20. <span th:unless="${is_label}" class="c-gray en">&gt; 我的申报项目</span>
  21. <a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" >
  22. <i class="Hui-iconfont">&#xe68f;</i>
  23. </a>
  24. </nav>
  25. <form id="myForm" th:action="@{/projectApplication/list}" th:method="get" >
  26. <div class="page-container">
  27. <div class="clearfix">
  28. <span class="select-box conditionInput" >
  29. <select class="select" th:name="project_type" id="project_type" >
  30. <option value="" >-- 请选择项目类别 --</option>
  31. <option th:each="item : ${projectTypeList}" th:value="${item.id}"
  32. th:text="${item.type_name}" th:selected = "${searchCondition.project_type}==${item.id}">
  33. </option>
  34. </select>
  35. </span>
  36. <label>项目名称:</label>
  37. <input type="text" class="input-text conditionInput" placeholder="请输入项目名称查询" id="project_name" name="project_name" th:value="${searchCondition.project_name}"/>
  38. <label>申请日期:</label>
  39. <input type="text" class="input-text conditionDate" id="startTime" name="startTime" th:value="${searchCondition.startTime}"/>
  40. <label> - </label>
  41. <input type="text" class="input-text conditionDate" th:id="endTime" th:name="endTime" th:value="${searchCondition.endTime}"/>
  42. <input type="button" value="搜索" class="btn btn-primary" onclick="$('#myForm').submit();">
  43. </div>
  44. <div class="cl pd-5 bg-1 bk-gray mt-20">
  45. <!-- <span class="l">
  46. <a th:onclick="'javascript:open_dialog(\'项目申报\',\'/projectApplication/add/0'+'\');'"
  47. class="btn btn-primary radius"><i class="Hui-iconfont">&#xe600;</i> 项目申报</a>
  48. </span> -->
  49. <span class="r">共有数据:<strong th:text="${pageInfo.total}" id="total">54</strong> 条</span>
  50. </div>
  51. <!-- 表格 -->
  52. <table id="index" class="table table-border table-bordered table-bg table-hover" style="table-layout: fixed;width:100%;">
  53. <thead>
  54. <tr class="text-c">
  55. <!--<th style="width:0px;"></th>-->
  56. <th>申请单号</th>
  57. <th>申报项目</th>
  58. <th>项目来源</th>
  59. <th>填报日期</th>
  60. <th>单据状态</th>
  61. <th>操作</th>
  62. </tr>
  63. </thead>
  64. <tbody>
  65. <tr class="text-c" th:each="model,iterStat:${pageInfo.list}" th:object="${model}">
  66. <td th:text="*{apply_no}"></td>
  67. <td th:text="*{project_name}"></td>
  68. <td th:text="*{project_source_name}"></td>
  69. <td th:text="*{apply_date}"></td>
  70. <td th:text="*{apply_status_name}"></td>
  71. <td class="td-manage">
  72. <a title="查看"
  73. th:onclick="'javascript:open_dialog(\'查看\',\'/projectApplication/check/'+*{id}+'\',\'800\',\'400\');'"
  74. class="ml-5" style="text-decoration:none">查看</a>
  75. <a th:if="*{canEdit}" title="编辑"
  76. th:onclick="'javascript:open_dialog(\'编辑\',\'/projectApplication/edit/'+*{id}+'\',\'800\',\'400\');'"
  77. class="ml-5" style="text-decoration:none">编辑</a>
  78. <a th:if="*{canDelete}" title="删除"
  79. th:onclick="'javascript:apply_delete(\'/projectApplication/delete/'+*{id}+'\');'"
  80. class="ml-5" style="text-decoration:none">删除</a>
  81. </td>
  82. </tr>
  83. </tbody>
  84. </table>
  85. <div th:replace="admin/common/page :: page"></div>
  86. </div>
  87. </form>
  88. <script type="text/javascript" th:src="@{/js/company/project_application/apply_list.js}"></script>
  89. <script type="text/javascript" th:src="@{/js/common/page.js}"></script>
  90. <script th:inline="javascript">
  91. laydate.render({
  92. elem: '#startTime', //指定元素
  93. //min: 0,
  94. format: 'yyyy-MM-dd',
  95. type: 'date',
  96. //showBottom: false
  97. });
  98. laydate.render({
  99. elem: '#endTime', //指定元素
  100. //min: 0,
  101. format: 'yyyy-MM-dd',
  102. type: 'date',
  103. //showBottom: false
  104. });
  105. </script>
  106. </body>
  107. </html>