apply_list.html 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  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 : ${projectSourceList}" th:value="${item.value}"
  32. th:text="${item.name}" th:selected = "${searchCondition.approve_status}==${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. <input type="text" class="input-text conditionInput" placeholder="请输入服务事项" id="matters_name" name="matters_name" th:value="${searchCondition.matters_name}"/>
  45. <input type="text" class="input-text conditionInput" placeholder="请输入申请企业" id="company_name" name="company_name" th:value="${searchCondition.company_name}"/>
  46. <input type="button" value="搜索" class="btn btn-primary" onclick="$('#myForm').submit();">
  47. </div>
  48. <div class="cl pd-5 bg-1 bk-gray mt-20">
  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. <th>单据状态</th>
  63. <th>操作</th>
  64. </tr>
  65. </thead>
  66. <tbody>
  67. <tr class="text-c" th:each="model,iterStat:${pageInfo.list}" th:object="${model}">
  68. <td th:text="*{apply_no}"></td>
  69. <!--<td th:text="*{super_type_name}"></td>
  70. <td th:text="*{service_type_name}"></td>-->
  71. <td th:text="*{project_name}"></td>
  72. <td th:text="*{project_source_name}"></td>
  73. <!--<td th:text="*{apply_date}"></td>-->
  74. <td th:text="*{apply_status_name}"></td>
  75. <td class="td-manage">
  76. <a title="内容" th:onclick="'javascript:open_dialog(\'内容\',\'/company/projectMatters/detail/'+*{id}+'\',\'800\',\'400\');'"
  77. class="ml-5" style="text-decoration:none">内容</a>
  78. <a title="详情" th:onclick="'javascript:open_dialog(\'单据详情\',\'/company/projectMatters/check/'+*{id}+'\',\'800\',\'400\');'"
  79. class="ml-5" style="text-decoration:none">单据详情</a>
  80. <a th:if="*{canEdit}" title="编辑"
  81. th:onclick="'javascript:open_dialog(\'编辑\',\'/company/projectMatters/edit/'+*{id}+'\',\'800\',\'400\');'"
  82. class="ml-5" style="text-decoration:none">编辑</a>
  83. </td>
  84. </tr>
  85. </tbody>
  86. </table>
  87. <div th:replace="admin/common/page :: page"></div>
  88. </div>
  89. </form>
  90. <script type="text/javascript" th:src="@{/js/company/project_matters/apply_list.js}"></script>
  91. <script type="text/javascript" th:src="@{/js/common/page.js}"></script>
  92. <script th:inline="javascript">
  93. /* laydate.render({
  94. elem: '#startTime', //指定元素
  95. //min: 0,
  96. format: 'yyyy-MM-dd',
  97. type: 'date',
  98. //showBottom: false
  99. });
  100. laydate.render({
  101. elem: '#endTime', //指定元素
  102. //min: 0,
  103. format: 'yyyy-MM-dd',
  104. type: 'date',
  105. //showBottom: false
  106. });*/
  107. </script>
  108. </body>
  109. </html>