enterprise_list.html 8.4 KB

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