index1.html 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  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. #form-content-edit{padding-top:70px}
  9. /*.input-text{padding:0px;}*/
  10. .text-c label { text-align: right; padding-right: 0;}
  11. .text-c>div>input{margin-top:5px;display:inline-block;}
  12. .text-c>label{margin-top:5px;display:inline-block;}
  13. .cl .l .layui-upload-file{display: none;}
  14. </style>
  15. </head>
  16. <body layout:fragment="content">
  17. <nav class="breadcrumb">
  18. <i class="Hui-iconfont">&#xe67f;</i>
  19. 首页
  20. <span class="c-gray en">&gt;</span>待审核<span class="c-gray en"></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="@{/register/already_list}" th:method="get" >
  26. <div class="page-container">
  27. <div class="text-c">
  28. <input type="text" class="input-text" style="width:250px" placeholder="请输入企业名称进行查询" id="keyword" name="keyword" th:value="${keyword}"/>
  29. <input type="button" value="搜索" class="btn btn-primary" onclick="$('#myForm').submit();">
  30. <a class="btn btn-primary" onclick="showHideSearch()">高级搜索</a>
  31. </div>
  32. <div class="text-c" id="searchSection" style="display:none;">
  33. <label class="conditionLabel" >组织机构代码:</label>
  34. <input type="text" class="input-text" style="width:200px" placeholder="请输入组织机构代码" id="keyword" name="organization_code" th:value="${searchCondition.organization_code}"/>
  35. <label class="conditionLabel" >账号名:</label>
  36. <input type="text" class="input-text" style="width:200px" placeholder="请输入账号名" id="keyword" name="nick_name" th:value="${searchCondition.nick_name}"/>
  37. <label class="conditionLabel" >姓名:</label>
  38. <input type="text" class="input-text" style="width:200px" placeholder="请输入姓名" id="keyword" name="user_name" th:value="${searchCondition.user_name}"/>
  39. <label class="conditionLabel" >手机号:</label>
  40. <input type="text" class="input-text" style="width:200px" placeholder="请输入手机号" id="keyword" name="phone" th:value="${searchCondition.phone}"/>
  41. </div>
  42. <div class="cl pd-5 bg-1 bk-gray mt-20">
  43. <span class="r">共有数据:<strong th:text="${pageInfo.total}" id="total">54</strong> 条</span><!-- -->
  44. </div>
  45. <table class="table table-border table-bordered table-bg table-hover">
  46. <thead>
  47. <tr class="text-c">
  48. <th width="25"><input type="checkbox" name="" value=""/></th>
  49. <th>序号</th>
  50. <th>企业名称</th>
  51. <th>组织机构代码</th>
  52. <th>账号名</th>
  53. <th>姓名</th>
  54. <th>手机号</th>
  55. <th>状态</th>
  56. <th >操作</th>
  57. </tr>
  58. </thead>
  59. <tbody>
  60. <tr class="text-c" th:each="model,iterStat:${pageInfo.list}" th:object="${model}">
  61. <td><input type="checkbox" th:value="*{id}" th:id="${iterStat.index+1}" name="id"/></td>
  62. <td th:text="${iterStat.index+1}"></td>
  63. <td th:text="*{company_name}"></td>
  64. <td th:text="*{organization_code}"></td>
  65. <td th:text="*{nick_name}"></td>
  66. <td th:text="*{user_name}"></td>
  67. <td th:text="*{phone}"></td>
  68. <td class="td-status">
  69. <span class="label radius" th:unless="*{is_start}">禁用</span>
  70. <span class="label radius label-success" th:if="*{is_start}">启用</span>
  71. </td>
  72. <td class="td-manage">
  73. <a title="详情" href="javascript:;" th:onclick="'javascript:details(\'企业详情\',\'/register/details?id='+*{id}+'\');'"
  74. class="ml-5" style="text-decoration:none"><i class="Hui-iconfont">详情</i></a>
  75. </td>
  76. </tr>
  77. </tbody>
  78. </table>
  79. <div th:replace="admin/common/page :: page"></div>
  80. </div>
  81. </form>
  82. <script type="text/javascript" th:src="@{/js/common/page.js}"></script>
  83. <script th:inline="javascript">
  84. function details(title, url, w, h) {
  85. var index = layer_show(title, pagePath+url, w, h);
  86. //默认全屏
  87. layer.full(index);
  88. }
  89. function approval(title, url, w, h) {
  90. var index = layer_show(title, pagePath+url, w, h);
  91. //默认全屏
  92. layer.full(index);
  93. }
  94. //显示隐藏高级搜索
  95. function showHideSearch(){
  96. if($("#searchSection").is(":hidden")){
  97. $("#searchSection").show();
  98. }else{
  99. $("#searchSection").hide();
  100. }
  101. }
  102. </script>
  103. </body>
  104. </html>