12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394 |
- <%var cssParam = {%>
- <%};%>
- <%var jsParam = {%>
- <script type="text/javascript">
- function todel(url,msg){
- bootbox.dialog({
- title: "系统提示",
- message: msg,
- locale:"zh_CN",
- buttons: {
- cancel: {label: "取消",className: "btn-cancel",callback: function() {}},
- ok: {label: "确定",className: "btn-success",
- callback: function() {
- window.location.href = url;
- }
- }
- }
- });
- }
- </script>
- <%};%>
- <%layout("/ace/commonPage/_layout.html", {nav: "技术问答主题审核",meunsel:"technicalQaThemeAuditManage",jsParam:jsParam,cssParam:cssParam}) {%>
- <div class="col-xs-12">
- <div class="row">
- <input type="hidden" name="pageNumber" value="1" />
- </div>
- </div>
- <div class="col-xs-12">
- <div class="row">
- <div class="table-responsive">
- <table id="sample-table-1"
- class="table table-striped table-bordered table-hover">
- <thead>
- <tr>
- <th>序号</th>
- <th>问题主题</th>
- <th>提问用户ID</th>
- <th>创建时间</th>
- <th>状态</th>
- <th>操作</th>
- </tr>
- </thead>
- <tbody>
- <%for(technicalQaThemeAudit in technicalQaThemeAuditList!){%>
- <tr>
- <td>${technicalQaThemeAuditLP.index}</td>
- <td>${technicalQaThemeAudit.title!''}</td>
- <td>${technicalQaThemeAudit.qaUserId!''}</td>
- <td>${technicalQaThemeAudit.createDate!''}</td>
- <td>
- <%if(technicalQaThemeAudit.state == 0){%>
- <font color="blue">待审核</font>
- <%}else if(technicalQaThemeAudit.state == 1){%>
- <font color="green">通过审核</font>
- <%}else if(technicalQaThemeAudit.state == 2){%>
- <font color="red">审核拒绝</font>
- <%}%>
- </td>
- <td>
- <div class="visible-md visible-lg hidden-sm hidden-xs btn-group">
- <a class="btn btn-xs btn-info" href="${contextPath}/admin/technicalQaThemeAudit/review?id=${technicalQaThemeAudit.id}" data-toggle="tooltip" data-placement="auto" title="查看详情">
- <i class="icon-flag bigger-120"></i>
- </a>
- <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="通过">
- <i class="icon-check bigger-120"></i>
- </a>
- <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="拒绝">
- <i class="icon-ban-circle bigger-120"></i>
- </a>
- </div>
- </td>
- </tr>
- <%}elsefor{%>
- <tr>
- <td colspan="9">没有记录!</td>
- </tr>
- <%}%>
- </tbody>
- </table>
- </div>
- <div class="pull-right">
- <%include("/ace/commonPage/_paginate.html", {"currentPage": pageNumber!1, "totalPage": totalPage!1, "totalRow": totalRow!0, "actionUrl": contextPath+"/admin/technicalQaThemeAudit/toReview?code=" + code!'' + "&pageNumber=", "urlParas": urlParas!''}){}%>
- </div>
- <!-- /.table-responsive -->
- </div>
- <!-- /span -->
- </div>
- <!-- /row -->
- <%}%>
|