apply_list.html 4.5 KB

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