apply_list.html 3.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  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="@{/company/projectIntelligent/list}" th:method="get" >
  26. <div class="page-container">
  27. <div class="cl pd-5 bg-1 bk-gray mt-20">
  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 style="width:0px;"></th>-->
  35. <th>申请单号</th>
  36. <th>项目类型</th>
  37. <th>项目名称</th>
  38. <th>奖励或申请类</th>
  39. <th>单据状态</th>
  40. <th>操作</th>
  41. </tr>
  42. </thead>
  43. <tbody>
  44. <tr class="text-c" th:each="model,iterStat:${pageInfo.list}" th:object="${model}">
  45. <td th:text="*{apply_no}"></td>
  46. <td th:text="*{super_type_name}"></td>
  47. <td th:text="*{projectName}"></td>
  48. <td th:text="*{apply_type}"></td>
  49. <td th:text="*{apply_status_name}"></td>
  50. <td class="td-manage">
  51. <a title="查看"
  52. th:onclick="'javascript:open_dialog(\'内容\',\'/company/projectIntelligent/detail/'+*{id}+'\',\'800\',\'400\');'"
  53. class="ml-5" style="text-decoration:none">内容</a>
  54. <a th:if="*{apply_status}!=0 and *{apply_status}!=3" title="单据详情"
  55. th:onclick="'javascript:open_dialog(\'单据详情\',\'/company/projectIntelligent/check/'+*{id}+'\',\'800\',\'400\');'"
  56. class="ml-5" style="text-decoration:none">单据详情</a>
  57. <a th:if="*{canEdit}" title="编辑"
  58. th:onclick="'javascript:open_dialog(\'编辑\',\'/company/projectIntelligent/edit/'+*{id}+'\',\'800\',\'400\');'"
  59. class="ml-5" style="text-decoration:none">编辑</a>
  60. <a th:if="*{canDelete}" title="删除"
  61. th:onclick="'javascript:apply_delete(\'/company/projectIntelligent/delete/'+*{id}+'\');'"
  62. class="ml-5" style="text-decoration:none">删除</a>
  63. </td>
  64. </tr>
  65. </tbody>
  66. </table>
  67. <div th:replace="admin/common/page :: page"></div>
  68. </div>
  69. </form>
  70. <script type="text/javascript" th:src="@{/js/company/project_application/apply_list.js}"></script>
  71. <script type="text/javascript" th:src="@{/js/common/page.js}"></script>
  72. <script th:inline="javascript">
  73. laydate.render({
  74. elem: '#startTime', //指定元素
  75. //min: 0,
  76. format: 'yyyy-MM-dd',
  77. type: 'date',
  78. //showBottom: false
  79. });
  80. laydate.render({
  81. elem: '#endTime', //指定元素
  82. //min: 0,
  83. format: 'yyyy-MM-dd',
  84. type: 'date',
  85. //showBottom: false
  86. });
  87. </script>
  88. </body>
  89. </html>