reviewListPage.html 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  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:"transactionApplyAuditManage",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>交易信息发布用户</th>
  38. <th>申请用户</th>
  39. <th>创建时间</th>
  40. <th>交易申请说明</th>
  41. <th>状态</th>
  42. <th>操作</th>
  43. </tr>
  44. </thead>
  45. <tbody>
  46. <%for(tempDate in datelist!){%>
  47. <tr>
  48. <td>${tempDateLP.index}</td>
  49. <td>${tempDate.productname!tempDate.supplydemandname}</td>
  50. <td>${tempDate.fbusername!''}</td>
  51. <td>${tempDate.squsername!''}</td>
  52. <td>${tempDate.createDate!''}</td>
  53. <td>${tempDate.description!''}</td>
  54. <td>
  55. <%if(tempDate.state == 0){%>
  56. <font color="green">未开始</font>
  57. <%}else if(tempDate.state == 1){%>
  58. <font color="blue">交易中</font>
  59. <%}else if(tempDate.state == 2){%>
  60. <font color="red">交易成功</font>
  61. <%}else if(tempDate.state == 2){%>
  62. <font color="black">交易失败</font>
  63. <%}%>
  64. </td>
  65. <td>
  66. <div class="visible-md visible-lg hidden-sm hidden-xs btn-group">
  67. <a class="btn btn-xs btn-info" href="${contextPath}/admin/transactionApplyAudit/review?id=${tempDate.id}" data-toggle="tooltip" data-placement="auto" title="查看详情">
  68. <i class="icon-flag bigger-120"></i>
  69. </a>
  70. <a class="btn btn-xs btn-info" href="javascript:todel('${contextPath}/admin/transactionApplyAudit/audit?id=${tempDate.id}&type=1&pageNumber=${pageNumber!1}&urlParas=${urlParas!}','审核通过。您确定吗?')" onclick="" data-toggle="tooltip" data-placement="auto" title="通过">
  71. <i class="icon-check bigger-120"></i>
  72. </a>
  73. <a class="btn btn-xs btn-danger" href="javascript:todel('${contextPath}/admin/transactionApplyAudit/audit?id=${tempDate.id}&type=2&pageNumber=${pageNumber!1}&urlParas=${urlParas!}','审核拒绝。您确定吗?')" onclick="" data-toggle="tooltip" data-placement="auto" title="拒绝">
  74. <i class="icon-ban-circle bigger-120"></i>
  75. </a>
  76. </div>
  77. </td>
  78. </tr>
  79. <%}elsefor{%>
  80. <tr>
  81. <td colspan="8">没有记录!</td>
  82. </tr>
  83. <%}%>
  84. </tbody>
  85. </table>
  86. </div>
  87. <div class="pull-right">
  88. <%include("/ace/commonPage/_paginate.html",{"currentPage": pageNumber!1, "totalPage": totalPage!1, "totalRow": totalRow!0, "actionUrl": contextPath+"/admin/transactionApplyAudit/toReview?pageNumber=", "urlParas": urlParas!''}){}%>
  89. </div>
  90. <!-- /.table-responsive -->
  91. </div>
  92. <!-- /span -->
  93. </div>
  94. <!-- /row -->
  95. <%}%>