yesExamine.html 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. <!DOCTYPE html>
  2. <html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
  3. <head>
  4. <th:block th:include="include :: header('商户审核列表')" />
  5. </head>
  6. <body class="gray-bg">
  7. <div class="container-div">
  8. <div class="row">
  9. <div class="col-sm-12 search-collapse">
  10. <form id="formId">
  11. <div class="select-list">
  12. <ul>
  13. <li>
  14. <p>企业名称:</p>
  15. <input type="text" name="companyName"/>
  16. </li>
  17. <li>
  18. <p>企业类型:</p>
  19. <select name="companyType" th:with="type=${@dict.getType('company_type')}">
  20. <option value="">所有</option>
  21. <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
  22. </select>
  23. </li>
  24. <li>
  25. <p>审核状态:</p>
  26. <select name="status">
  27. <option value="">所有</option>
  28. <option value="1">已通过</option>
  29. <option value="2">已驳回</option>
  30. </select>
  31. </li>
  32. <li>
  33. <p>企业法人:</p>
  34. <input type="text" name="legalPerson"/>
  35. </li>
  36. <li class="select-time">
  37. <p>申请日期:</p>
  38. <input type="text" class="time-input" id="applyDate" placeholder="申请日期" name="applyDate"/>
  39. </li>
  40. <li class="select-time">
  41. <p>审核日期:</p>
  42. <input type="text" class="time-input" id="examineDate" placeholder="审核日期" name="examineDate"/>
  43. </li>
  44. <li>
  45. <a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i>&nbsp;搜索</a>
  46. <a class="btn btn-warning btn-rounded btn-sm" onclick="$.form.reset()"><i class="fa fa-refresh"></i>&nbsp;重置</a>
  47. </li>
  48. </ul>
  49. </div>
  50. </form>
  51. </div>
  52. <div class="btn-group-sm" id="toolbar" role="group">
  53. <!--<a class="btn btn-success" onclick="$.operate.add()" shiro:hasPermission="system:examine:add">
  54. <i class="fa fa-plus"></i> 添加
  55. </a>-->
  56. <a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="system:examine:edit">
  57. <i class="fa fa-edit"></i> 修改
  58. </a>
  59. <a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="system:examine:remove">
  60. <i class="fa fa-remove"></i> 删除
  61. </a>
  62. <a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="system:examine:export">
  63. <i class="fa fa-download"></i> 导出
  64. </a>
  65. </div>
  66. <div class="col-sm-12 select-table table-striped">
  67. <table id="bootstrap-table"></table>
  68. </div>
  69. </div>
  70. </div>
  71. <th:block th:include="include :: footer" />
  72. <script th:inline="javascript">
  73. var companyTypes = [[${@dict.getType('company_type')}]];
  74. var examineStatus = [[${@dict.getType('examine_status')}]];
  75. var prefix = ctx + "companyext/examine";
  76. $(function() {
  77. var options = {
  78. url: prefix + "/list",
  79. createUrl: prefix + "/add",
  80. updateUrl: prefix + "/edit/{id}",
  81. removeUrl: prefix + "/remove",
  82. exportUrl: prefix + "/export",
  83. modalName: "商户审核",
  84. columns: [{
  85. checkbox: true
  86. },
  87. {
  88. field : 'id',
  89. title : '主键',
  90. visible: false
  91. },
  92. {
  93. field : 'companyId',
  94. title : '商户(公司)Id',
  95. visible: false
  96. },
  97. {
  98. field : 'companyName',
  99. title : '企业名称'
  100. },
  101. {
  102. field : 'companyType',
  103. title : '企业类型',
  104. align: 'center',
  105. formatter: function(value, row, index) {
  106. return $.table.selectDictLabel(companyTypes, value);
  107. }
  108. },
  109. {
  110. field : 'legalPerson',
  111. title : '企业法人'
  112. },
  113. {
  114. field : 'contactNumber',
  115. title : '联系电话'
  116. },
  117. {
  118. field : 'status',
  119. title : '审核状态',
  120. align: 'center',
  121. formatter: function(value, row, index) {
  122. return $.table.selectDictLabel(examineStatus, value);
  123. }
  124. },
  125. {
  126. field : 'applyDate',
  127. title : '申请日期'
  128. },
  129. {
  130. field : 'examineDate',
  131. title : '审核日期'
  132. },
  133. {
  134. title: '操作',
  135. align: 'center',
  136. formatter: function(value, row, index) {
  137. var actions = [];
  138. return actions.join('');
  139. }
  140. }]
  141. };
  142. $.table.init(options);
  143. });
  144. </script>
  145. </body>
  146. </html>