user_check.html 3.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. <div class="bjui-pageHeader">
  2. <form id="pagerForm" data-toggle="ajaxsearch" action="${ctxPath}/system/cms/site/userCheck" 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>
  7. <select name="status" data-toggle="selectpicker">
  8. @if(isEmpty(user.status)){
  9. <option value="" selected>所有</option>
  10. <option value="0"> 禁用</option>
  11. <option value="1"> 正常 </option>
  12. @}else if(!user.status){
  13. <option value="">所有</option>
  14. <option value="0" selected> 禁用</option>
  15. <option value="1"> 正常 </option>
  16. @}else{
  17. <option value="" >所有</option>
  18. <option value="0"> 禁用</option>
  19. <option value="1" selected> 正常 </option>
  20. @}
  21. </select>&nbsp;
  22. <label>用户名:</label><input type="text" value="${user.username!}" name="username" class="form-control" size="10">&nbsp;
  23. <button type="submit" class="btn-default" data-icon="search">查询</button>
  24. <div class="pull-right">
  25. <input type="checkbox" name="lookupType" value="1" data-toggle="icheck" data-label="追加">
  26. &nbsp;
  27. <button type="button" class="btn-blue" data-toggle="lookupback" data-lookupid="ids" data-warn="请至少选择一项职业" data-icon="check-square-o">选择选中</button>
  28. </div>
  29. </div>
  30. </form>
  31. </div>
  32. <div class="bjui-pageContent tableContent">
  33. <table class="table table-bordered table-hover table-striped table-top" data-selected-multi="true">
  34. <thead>
  35. <tr>
  36. <th align="center" width="25">No</th>
  37. <th align="center" width="50">用户名</th>
  38. <th align="center" width="100">描述</th>
  39. <th align="center" width="80">状态</th>
  40. <!--<th align="center">支付方式</th>-->
  41. <th align="center" width="150">创建时间</th>
  42. <th align="center" width="26" ><input type="checkbox" class="checkboxCtrl" data-group="ids" data-toggle="icheck"></th>
  43. <th align="center" width="60">操作</th>
  44. </tr>
  45. </thead>
  46. <tbody>
  47. @for(user in model.list){
  48. <tr data-id="${userLP.index}">
  49. <td align="center">${user.userId!}</td>
  50. <td align="center">${user.username!,xss}</td>
  51. <td align="center">${user.des!,xss}</td>
  52. <td align="center">${user.status?'正常':'禁用'}</td>
  53. <td align="center">${user.createTime!"N/A",dateFormat="yyyy-MM-dd HH:mm:dd"}</td>
  54. <td align="center"><input type="checkbox" name="ids" data-toggle="icheck" value="{userIds:'${user.userId!}', userNames:'${user.username!}'}"></td>
  55. <td align="center">
  56. <a href="javascript:;" data-toggle="lookupback" data-args="{userIds:'${user.userId!}', userNames:'${user.username!}'}" class="btn btn-blue" title="选择本项" data-icon="check">选择</a>
  57. </td>
  58. </tr>
  59. @}
  60. </tbody>
  61. </table>
  62. </div>
  63. <div class="bjui-pageFooter">
  64. <div class="pages">
  65. <span>每页&nbsp;</span>
  66. <div class="selectPagesize">
  67. <select data-toggle="selectpicker" data-toggle-change="changepagesize">
  68. <option value="30">30</option>
  69. <option value="60">60</option>
  70. <option value="120">120</option>
  71. <option value="150">150</option>
  72. </select>
  73. </div>
  74. <span>&nbsp;条,共 ${model.total!} 条</span>
  75. </div>
  76. <div class="pagination-box" data-toggle="pagination" data-total="${model.total!}" data-page-size="30" data-page-current="1">
  77. </div>
  78. </div>