enterprise_list.html 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. <div class="bjui-pageHeader">
  2. <form id="pagerForm" data-toggle="ajaxsearch" action="${ctxPath}/cms/enterprise/list" method="post">
  3. <input type="hidden" name="pageSize" value="${model.pageSize!}">
  4. <input type="hidden" name="pageCurrent" value="${model.pageNum!}">
  5. <div class="bjui-searchBar">
  6. <label>企业名称:</label><input type="text" value="${enterprise.qy_qymc!}" name="qy_qymc" class="form-control"
  7. size="15">&nbsp;
  8. <label>审核状态:</label>
  9. <select name="qy_spzt" data-toggle="selectpicker">
  10. @if(isEmpty(enterprise.qy_spzt)){
  11. <option value="" selected>所有</option>
  12. <option value="0">未审核</option>
  13. <option value="1">已审核</option>
  14. @}else if(enterprise.qy_spzt==0){
  15. <option value="">所有</option>
  16. <option value="0" selected>未审核</option>
  17. <option value="1">已审核</option>
  18. @}else if(enterprise.qy_spzt==1){
  19. <option value="">所有</option>
  20. <option value="0">未审核</option>
  21. <option value="1" selected>已审核</option>
  22. @}
  23. </select>&nbsp;
  24. <!-- <label>是否名企:</label>
  25. <select name="qy_sftj" data-toggle="selectpicker">
  26. @if(isEmpty(enterprise.qy_sftj)){
  27. <option value="" selected>所有</option>
  28. <option value="0">否</option>
  29. <option value="1">知名企业 </option>
  30. <option value="2">名企招聘 </option>
  31. @}else if(enterprise.qy_sftj=='0'){
  32. <option value="">所有</option>
  33. <option value="0" selected>否</option>
  34. <option value="1">知名企业</option>
  35. <option value="2">名企招聘 </option>
  36. @}else if(enterprise.qy_sftj=='1'){
  37. <option value="" >所有</option>
  38. <option value="0">否</option>
  39. <option value="1" selected>知名企业</option>
  40. <option value="2">名企招聘 </option>
  41. @}else if(enterprise.qy_sftj=='2'){
  42. <option value="" >所有</option>
  43. <option value="0">否</option>
  44. <option value="1">知名企业 </option>
  45. <option value="2" selected>名企招聘 </option>
  46. @}
  47. </select>&nbsp;-->
  48. <button type="submit" class="btn-default" data-icon="search">查询</button>&nbsp;
  49. <a class="btn btn-orange" href="javascript:;" data-toggle="reloadsearch" data-clear-query="true"
  50. data-icon="undo">刷新全部</a>
  51. &nbsp;
  52. <a href="${ctxPath}/cms/enterprise/input" class="btn btn-green" data-toggle="dialog" data-maxable="false"
  53. data-resizable="false" data-width="1039" data-height="560" data-id="edit-admin-user"
  54. data-title="新增">新增</a>
  55. <div class="pull-right">
  56. <div class="btn-group">
  57. <button type="button" class="btn-default dropdown-toggle" data-toggle="dropdown" data-icon="copy">
  58. 复选框-批量操作<span class="caret"></span></button>
  59. <ul class="dropdown-menu right" role="menu">
  60. <li><a href="${ctxPath}/cms/enterprise/delete" data-toggle="doajaxchecked"
  61. data-confirm-msg="确定要删除选中项吗?" data-idname="ids" data-group="ids">删除选中</a></li>
  62. </ul>
  63. </div>
  64. </div>
  65. </div>
  66. </form>
  67. </div>
  68. <div class="bjui-pageContent tableContent">
  69. <table class="table table-bordered table-hover table-striped table-top" data-selected-multi="true">
  70. <thead>
  71. <tr>
  72. <th align="center" width="50">企业名称</th>
  73. <th align="center" width="50">联系人</th>
  74. <th align="center" width="50">联系电话</th>
  75. <th align="center" width="50">创建时间</th>
  76. <th align="center" width="50">是否审核</th>
  77. <!-- <th align="center" width="50">是否为名企</th>-->
  78. <th align="center" width="26"><input type="checkbox" class="checkboxCtrl" data-group="ids"
  79. data-toggle="icheck"></th>
  80. <th align="center" width="80">操作</th>
  81. </tr>
  82. </thead>
  83. <tbody>
  84. @for(enterprise in model.list){
  85. <tr data-id="${enterprise.qy_id!}">
  86. <td align="center">${enterprise.qy_qymc!,xss}</td>
  87. <td align="center">${enterprise.qy_lxr!,xss}</td>
  88. <td align="center">${enterprise.qy_lxdh!,xss}</td>
  89. <td align="center">${strutil.subStringTo(enterprise.qy_fbsc!,0,10)}</td>
  90. <td align="center">
  91. @if(enterprise.qy_spzt==0){
  92. <span style="font-weight: 500;color: red">未审核</span>
  93. @}else if(enterprise.qy_spzt==1){
  94. <span style="font-weight: 500;color:#4A8CDB">已审核</span>
  95. @}
  96. </td>
  97. <!-- <td align="center">
  98. @if(enterprise.qy_sftj=='0'){
  99. <span style="font-weight: 500;color: red">否</span>
  100. @}else if(enterprise.qy_sftj=='1'){
  101. <span style="font-weight: 500;color:#4A8CDB">知名企业</span>
  102. @}else if(enterprise.qy_sftj=='2'){
  103. <span style="font-weight: 500;color:#4A8CDB">名企招聘</span>
  104. @}
  105. </td>-->
  106. <td align="center"><input type="checkbox" name="ids" data-toggle="icheck" value="${enterprise.qy_id!}"></td>
  107. <td align="center" width='80'>
  108. <!-- <a href="${ctxPath}/cms/enterprise/detail?qy_id=${enterprise.qy_id!}" class="btn btn-green" data-toggle="dialog" data-maxable="false" data-resizable="false" data-width="650" data-height="350" data-id="edit-admin-user" data-title="企业详情">查看</a>-->
  109. <a href="${ctxPath}/cms/enterprise/input?qy_id=${enterprise.qy_id!}" class="btn btn-green"
  110. data-toggle="dialog" data-maxable="false" data-resizable="false" data-width="1039" data-height="567"
  111. data-id="edit-admin-user" data-title="编辑">编辑</a>
  112. @if(enterprise.qy_spzt==0){
  113. <a href="${ctxPath}/cms/enterprise/approval?qy_id=${enterprise.qy_id!}&zh_id=${enterprise.zh_id}"
  114. data-toggle="doajax" class="btn btn-blue">审核</a>
  115. @}
  116. <!--@if(enterprise.qy_sftj=='0'){
  117. <a href="${ctxPath}/cms/enterprise/updateSftj?qy_id=${enterprise.qy_id!}&type=1" data-toggle="doajax" class="btn btn-blue" >推送知名企业</a>
  118. <a href="${ctxPath}/cms/enterprise/updateSftj?qy_id=${enterprise.qy_id!}&type=2" data-toggle="doajax" class="btn btn-blue" >推送名企招聘</a>
  119. @}
  120. @if(enterprise.qy_sftj=='1'){
  121. <a href="${ctxPath}/cms/enterprise/updateSftj?qy_id=${enterprise.qy_id!}&type=0" data-toggle="doajax" class="btn btn-blue" >取消推送知名企业</a>
  122. <a href="${ctxPath}/cms/enterprise/updateSftj?qy_id=${enterprise.qy_id!}&type=2" data-toggle="doajax" class="btn btn-blue" >推送名企招聘</a>
  123. @}
  124. @if(enterprise.qy_sftj=='2'){
  125. <a href="${ctxPath}/cms/enterprise/updateSftj?qy_id=${enterprise.qy_id!}&type=0" data-toggle="doajax" class="btn btn-blue" >取消推送名企招聘</a>
  126. <a href="${ctxPath}/cms/enterprise/updateSftj?qy_id=${enterprise.qy_id!}&type=1" data-toggle="doajax" class="btn btn-blue" >推送知名企业</a>
  127. @}
  128. -->
  129. <a href="${ctxPath}/cms/post/list?qy_id=${enterprise.qy_id!}" class="btn btn-green" data-toggle="dialog"
  130. data-maxable="false" data-resizable="false" data-width="1280" data-height="580"
  131. data-id="edit-admin-user" data-title="企业岗位">企业岗位</a>
  132. <a href="${ctxPath}/cms/enterprise/delete?ids=${enterprise.qy_id!}" class="btn btn-red"
  133. data-toggle="doajax" data-confirm-msg="确定要删除该行信息吗?">删</a>
  134. </td>
  135. </tr>
  136. @}
  137. </tbody>
  138. </table>
  139. </div>
  140. <div class="bjui-pageFooter">
  141. <div class="pages">
  142. <span>每页&nbsp;</span>
  143. <div class="selectPagesize">
  144. <select data-toggle="selectpicker" data-toggle-change="changepagesize">
  145. <option value="30">30</option>
  146. <option value="60">60</option>
  147. <option value="120">120</option>
  148. <option value="150">150</option>
  149. </select>
  150. </div>
  151. <span>&nbsp;条,共 ${model.total!} 条</span>
  152. </div>
  153. <div class="pagination-box" data-toggle="pagination" data-total="${model.total!}" data-page-size="30"
  154. data-page-current="1">
  155. </div>
  156. </div>