auditSolutionListPage.html 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  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:"Manage",jsParam:jsParam,cssParam:cssParam}) {%>
  23. <div class="col-xs-12">
  24. <div class="row">
  25. <form id="searchForm" action="${contextPath}/TechnicalDemandSolutionAudit/toSolution" method="post" class="form-horizontal">
  26. <input type="hidden" name="pageNumber" value="1" />
  27. 查询技术需求编号:<input type="text" name="demandId" placeholder="请输入技术需求编号" value="" />
  28. <button class="btn btn-xs btn-primary" onclick="document.getElementById('searchForm').submit();"><i class="icon-search bigger-120">查询</i></button>
  29. </form>
  30. </div>
  31. </div>
  32. <div class="col-xs-12">
  33. <div class="row">
  34. <div class="table-responsive">
  35. <table id="sample-table-1"
  36. class="table table-striped table-bordered table-hover">
  37. <thead>
  38. <tr>
  39. <th>序号</th>
  40. <th>企业名称</th>
  41. <th>解决方案名称</th>
  42. <th>提交时间</th>
  43. <th>状态</th>
  44. <th>操作</th>
  45. </tr>
  46. </thead>
  47. <tbody>
  48. <%for(tempDate in dateList!){%>
  49. <tr>
  50. <td>${tempDateLP.index}</td>
  51. <td>${tempDate.enterpriseName!''}</td>
  52. <td>${tempDate.name!''}</td>
  53. <td>${tempDate.createDate!''}</td>
  54. <td>
  55. <%if(tempDate.state == 0){%>
  56. <font color="wathet">保存</font>
  57. <%}else if(tempDate.state == 1){%>
  58. <font color="blue">待审核</font>
  59. <%}else if(tempDate.state == 2){%>
  60. <font color="Orange">企业拒绝</font>
  61. <%}else if(tempDate.state == 3){%>
  62. <font color="Violet">待联盟审核</font>
  63. <%}else if(tempDate.state == 4){%>
  64. <font color="red">联盟拒绝</font>
  65. <%}else if(tempDate.state == 5){%>
  66. <font color="green">确认立项</font>
  67. <%}%>
  68. </td>
  69. <td>
  70. <div class="visible-md visible-lg hidden-sm hidden-xs btn-group">
  71. <a class="btn btn-xs btn-info" href="${contextPath}/TechnicalDemandSolutionAudit/toSolution?id=${tempDate.id}&pageNumber=${pageNumber!1}" data-toggle="tooltip" data-placement="auto" title="查看详情">
  72. <i class="icon-flag bigger-120"></i>
  73. </a>
  74. <a class="btn btn-xs btn-info" href="javascript:todel('${contextPath}/TechnicalDemandSolutionAudit/audit?id=${tempDate.id}&result=5&pageNumber=${pageNumber!1}&urlParas=${urlParas!}','审核通过。您确定吗?')" onclick="" data-toggle="tooltip" data-placement="auto" title="通过">
  75. <i class="icon-check bigger-120"></i>
  76. </a>
  77. <a class="btn btn-xs btn-danger" href="javascript:todel('${contextPath}/TechnicalDemandSolutionAudit/audit?id=${tempDate.id}&result=2&pageNumber=${pageNumber!1}&urlParas=${urlParas!}','审核拒绝。您确定吗?')" onclick="" data-toggle="tooltip" data-placement="auto" title="拒绝">
  78. <i class="icon-ban-circle bigger-120"></i>
  79. </a>
  80. </div>
  81. </td>
  82. </tr>
  83. <%}elsefor{%>
  84. <tr>
  85. <td colspan="8">没有记录!</td>
  86. </tr>
  87. <%}%>
  88. </tbody>
  89. </table>
  90. </div>
  91. <div class="pull-right">
  92. <%include("/ace/commonPage/_paginate.html", {"currentPage": pageNumber!1, "totalPage": totalPage!1, "totalRow": totalRow!0, "actionUrl": contextPath+"/TechnicalDemandSolutionAudit/getDemandSolutionList?pageNumber=", "urlParas": urlParas!''}){}%>
  93. </div>
  94. <!-- /.table-responsive -->
  95. </div>
  96. <!-- /span -->
  97. </div>
  98. <!-- /row -->
  99. <%}%>