apply_list.html 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  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="@{/projectProvinces/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_source" id="project_source" >
  30. <option value="" >-- 请选择项目来源 --</option>
  31. <option th:each="item : ${projectSourceList}" th:value="${item.value}"
  32. th:text="${item.name}" th:selected = "${searchCondition.project_source}==${item.value}">
  33. </option>
  34. </select>
  35. </span>
  36. <span class="select-box conditionInput" >
  37. <select class="select" th:name="approve_status" id="approve_status" >
  38. <option value="" >-- 请选择单据状态 --</option>
  39. <option th:each="item : ${projectApprovalList}" th:value="${item.value}"
  40. th:text="${item.name}" th:selected = "${searchCondition.approve_status}==${item.value}">
  41. </option>
  42. </select>
  43. </span>
  44. <!--<label>项目名称:</label>-->
  45. <input type="text" class="input-text conditionInput" placeholder="请输入申报项" id="project_service_type" name="project_service_type" th:value="${searchCondition.project_service_type}"/>
  46. <!--<label>申请日期:</label>-->
  47. <!--<input type="text" class="input-text conditionDate" id="startTime" name="startTime" th:value="${searchCondition.startTime}"/>-->
  48. <!--<label> - </label>-->
  49. <!--<input type="text" class="input-text conditionDate" th:id="endTime" th:name="endTime" th:value="${searchCondition.endTime}"/>-->
  50. <input type="button" value="搜索" class="btn btn-primary" onclick="$('#myForm').submit();">
  51. </div>
  52. <div class="cl pd-5 bg-1 bk-gray mt-20">
  53. <!-- <span class="l">
  54. <a th:onclick="'javascript:open_dialog(\'项目申报\',\'/projectApplication/add/0'+'\');'"
  55. class="btn btn-primary radius"><i class="Hui-iconfont">&#xe600;</i> 项目申报</a>
  56. </span> -->
  57. <span class="r">共有数据:<strong th:text="${pageInfo.total}" id="total">54</strong> 条</span>
  58. </div>
  59. <!-- 表格 -->
  60. <table id="index" class="table table-border table-bordered table-bg table-hover" style="table-layout: fixed;width:100%;">
  61. <thead>
  62. <tr class="text-c">
  63. <!--<th style="width:0px;"></th>-->
  64. <th>申请单号</th>
  65. <th>申报项目</th>
  66. <th>项目来源</th>
  67. <th>填报日期</th>
  68. <th>单据状态</th>
  69. <th>操作</th>
  70. </tr>
  71. </thead>
  72. <tbody>
  73. <tr class="text-c" th:each="model,iterStat:${pageInfo.list}" th:object="${model}">
  74. <td th:text="*{apply_no}"></td>
  75. <td th:text="*{projectName}"></td>
  76. <td th:text="*{project_source_name}"></td>
  77. <td th:text="*{apply_date}"></td>
  78. <td th:text="*{apply_status_name}"></td>
  79. <td class="td-manage">
  80. <a title="查看"
  81. th:onclick="'javascript:open_dialog(\'查看\',\'/projectProvinces/check/'+*{id}+'\',\'800\',\'400\');'"
  82. class="ml-5" style="text-decoration:none">查看</a>
  83. <a th:if="*{canEdit}" title="编辑"
  84. th:onclick="'javascript:open_dialog(\'编辑\',\'/projectProvinces/edit/'+*{id}+'\',\'800\',\'400\');'"
  85. class="ml-5" style="text-decoration:none">编辑</a>
  86. <a th:if="*{canDelete}" title="删除"
  87. th:onclick="'javascript:apply_delete(\'/projectProvinces/delete/'+*{id}+'\');'"
  88. class="ml-5" style="text-decoration:none">删除</a>
  89. </td>
  90. </tr>
  91. </tbody>
  92. </table>
  93. <div th:replace="admin/common/page :: page"></div>
  94. </div>
  95. </form>
  96. <script type="text/javascript" th:src="@{/js/company/project_application/apply_list.js}"></script>
  97. <script type="text/javascript" th:src="@{/js/common/page.js}"></script>
  98. <script th:inline="javascript">
  99. laydate.render({
  100. elem: '#startTime', //指定元素
  101. //min: 0,
  102. format: 'yyyy-MM-dd',
  103. type: 'date',
  104. //showBottom: false
  105. });
  106. laydate.render({
  107. elem: '#endTime', //指定元素
  108. //min: 0,
  109. format: 'yyyy-MM-dd',
  110. type: 'date',
  111. //showBottom: false
  112. });
  113. </script>
  114. </body>
  115. </html>