reviewListPage.html 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. <%var cssParam = {%>
  2. <%};%>
  3. <%var jsParam = {%>
  4. <script type="text/javascript">
  5. function todel(url,msg){
  6. bootbox.dialog({
  7. title: "系统提示",
  8. message: msg,
  9. locale:"zh_CN",
  10. buttons: {
  11. cancel: {label: "取消",className: "btn-cancel",callback: function() {}},
  12. ok: {label: "确定",className: "btn-success",
  13. callback: function() {
  14. window.location.href = url;
  15. }
  16. }
  17. }
  18. });
  19. }
  20. </script>
  21. <%};%>
  22. <%layout("/ace/commonPage/_layout.html", {nav: "技术问答主题审核",meunsel:"technicalQaThemeAuditManage",jsParam:jsParam,cssParam:cssParam}) {%>
  23. <div class="col-xs-12">
  24. <div class="row">
  25. <input type="hidden" name="pageNumber" value="1" />
  26. </div>
  27. </div>
  28. <div class="col-xs-12">
  29. <div class="row">
  30. <div class="table-responsive">
  31. <table id="sample-table-1"
  32. class="table table-striped table-bordered table-hover">
  33. <thead>
  34. <tr>
  35. <th>序号</th>
  36. <th>问题主题</th>
  37. <th>提问用户ID</th>
  38. <th>创建时间</th>
  39. <th>状态</th>
  40. <th>操作</th>
  41. </tr>
  42. </thead>
  43. <tbody>
  44. <%for(technicalQaThemeAudit in technicalQaThemeAuditList!){%>
  45. <tr>
  46. <td>${technicalQaThemeAuditLP.index}</td>
  47. <td>${technicalQaThemeAudit.title!''}</td>
  48. <td>${technicalQaThemeAudit.qaUserId!''}</td>
  49. <td>${technicalQaThemeAudit.createDate!''}</td>
  50. <td>
  51. <%if(technicalQaThemeAudit.state == 0){%>
  52. <font color="blue">待审核</font>
  53. <%}else if(technicalQaThemeAudit.state == 1){%>
  54. <font color="green">通过审核</font>
  55. <%}else if(technicalQaThemeAudit.state == 2){%>
  56. <font color="red">审核拒绝</font>
  57. <%}%>
  58. </td>
  59. <td>
  60. <div class="visible-md visible-lg hidden-sm hidden-xs btn-group">
  61. <a class="btn btn-xs btn-info" href="${contextPath}/admin/technicalQaThemeAudit/review?id=${technicalQaThemeAudit.id}" data-toggle="tooltip" data-placement="auto" title="查看详情">
  62. <i class="icon-flag bigger-120"></i>
  63. </a>
  64. <a class="btn btn-xs btn-info" href="javascript:todel('${contextPath}/admin/technicalQaThemeAudit/audit?id=${technicalQaThemeAudit.id}&type=1&pageNumber=${pageNumber!1}&urlParas=${urlParas!}','审核通过。您确定吗?')" onclick="" data-toggle="tooltip" data-placement="auto" title="通过">
  65. <i class="icon-check bigger-120"></i>
  66. </a>
  67. <a class="btn btn-xs btn-danger" href="javascript:todel('${contextPath}/admin/technicalQaThemeAudit/audit?id=${technicalQaThemeAudit.id}&type=2&pageNumber=${pageNumber!1}&urlParas=${urlParas!}','审核拒绝。您确定吗?')" onclick="" data-toggle="tooltip" data-placement="auto" title="拒绝">
  68. <i class="icon-ban-circle bigger-120"></i>
  69. </a>
  70. </div>
  71. </td>
  72. </tr>
  73. <%}elsefor{%>
  74. <tr>
  75. <td colspan="9">没有记录!</td>
  76. </tr>
  77. <%}%>
  78. </tbody>
  79. </table>
  80. </div>
  81. <div class="pull-right">
  82. <%include("/ace/commonPage/_paginate.html", {"currentPage": pageNumber!1, "totalPage": totalPage!1, "totalRow": totalRow!0, "actionUrl": contextPath+"/admin/technicalQaThemeAudit/toReview?code=" + code!'' + "&pageNumber=", "urlParas": urlParas!''}){}%>
  83. </div>
  84. <!-- /.table-responsive -->
  85. </div>
  86. <!-- /span -->
  87. </div>
  88. <!-- /row -->
  89. <%}%>