todo_list.html 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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. </head>
  8. <body layout:fragment="content">
  9. <nav class="breadcrumb">
  10. <i class="Hui-iconfont">&#xe67f;</i>
  11. 首页 <span class="c-gray en">&gt;</span>
  12. 待我处理 <a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont">&#xe68f;</i></a>
  13. </nav>
  14. <form id="myForm" th:action="@{/waitToDo/list}" th:method="get">
  15. <div class="page-container">
  16. <div class="text-c">
  17. <input type="text" class="input-text" style="width:250px" placeholder="请输入标题" name="title" th:value="${searchCondition.title}"/>
  18. <button type="submit" class="btn btn-primary">
  19. 搜索
  20. </button>
  21. </div>
  22. <div class="cl pd-5 bg-1 bk-gray mt-20">
  23. <span class="r">共有数据:<strong th:text="${pageInfo?.total}">54</strong> 条</span>
  24. </div>
  25. <table class="table table-border table-bordered table-hover table-bg">
  26. <thead>
  27. <tr class="text-c">
  28. <th width="30%">待办标题</th>
  29. <th width="20%">单号</th>
  30. <th width="20%">时间</th>
  31. <th width="10%">操作</th>
  32. </tr>
  33. </thead>
  34. <tbody>
  35. <tr class="text-c" th:each="model:${pageInfo?.list}" th:object="${model}">
  36. <td th:text="*{title}"></td>
  37. <td th:text="*{business_no}"></td>
  38. <td th:text="*{create_time}"></td>
  39. <td class="td-manage">
  40. <a title="处理" style="text-decoration:none" th:onclick="'javascript:open_dialog(\''+*{title}+'\',\''+*{url}+'\',\'1000\',\'700\');'">处理</a>
  41. </td>
  42. </tr>
  43. </tbody>
  44. </table>
  45. <div th:replace="admin/common/page :: page"></div>
  46. </div>
  47. </form>
  48. <script type="text/javascript" th:src="@{/js/common/page.js}"></script>
  49. <script type="text/javascript">
  50. function open_dialog(title, url, w, h) {
  51. var index = layer_show(title, pagePath+url, w, h);
  52. //默认全屏
  53. layer.full(index);
  54. }
  55. </script>
  56. </body>
  57. </html>