listPage.html 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  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:"TApplyAuthenticationManage",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. <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.productname!tempDate.supplydemandname}</td>
  52. <td>${tempDate.fbusername!''}</td>
  53. <td>${tempDate.squsername!''}</td>
  54. <td>${tempDate.createDate!''}</td>
  55. <td>
  56. <%if(tempDate.applicantStatus == 0){%>
  57. <font color="green">未提交</font>
  58. <%}else if(tempDate.applicantStatus == 1){%>
  59. <font color="blue">成功</font>
  60. <%}else if(tempDate.applicantStatus == 2){%>
  61. <font color="red">失败</font>
  62. <%}%>
  63. </td>
  64. <td>
  65. <%if(tempDate.publisherStatus == 0){%>
  66. <font color="green">未提交</font>
  67. <%}else if(tempDate.publisherStatus == 1){%>
  68. <font color="blue">成功</font>
  69. <%}else if(tempDate.publisherStatus == 2){%>
  70. <font color="red">失败</font>
  71. <%}%>
  72. </td>
  73. <td>${tempDate.description!''}</td>
  74. <td>
  75. <%if(tempDate.state == 0){%>
  76. <font color="green">未开始</font>
  77. <%}else if(tempDate.state == 1){%>
  78. <font color="blue">交易中</font>
  79. <%}else if(tempDate.state == 2){%>
  80. <font color="black">交易成功</font>
  81. <%}else if(tempDate.state == 2){%>
  82. <font color="red">交易失败</font>
  83. <%}%>
  84. </td>
  85. <td>
  86. <div class="visible-md visible-lg hidden-sm hidden-xs btn-group">
  87. <a class="btn btn-xs btn-info" href="javascript:todel('${contextPath}/admin/tApplyAuthentication/edit?id=${tempDate.id}&type=1&pageNumber=${pageNumber!1}&urlParas=${urlParas!}','交易成功。您确定吗?')" onclick="" data-toggle="tooltip" data-placement="auto" title="认证成功">
  88. <i class="icon-check bigger-120"></i>
  89. </a>
  90. <a class="btn btn-xs btn-danger" href="javascript:todel('${contextPath}/admin/tApplyAuthentication/edit?id=${tempDate.id}&type=2&pageNumber=${pageNumber!1}&urlParas=${urlParas!}','交易失败。您确定吗?')" onclick="" data-toggle="tooltip" data-placement="auto" title="认证失败">
  91. <i class="icon-ban-circle bigger-120"></i>
  92. </a>
  93. </div>
  94. </td>
  95. </tr>
  96. <%}elsefor{%>
  97. <tr>
  98. <td colspan="10">没有记录!</td>
  99. </tr>
  100. <%}%>
  101. </tbody>
  102. </table>
  103. </div>
  104. <div class="pull-right">
  105. <%include("/ace/commonPage/_paginate.html",{"currentPage": pageNumber!1, "totalPage": totalPage!1, "totalRow": totalRow!0, "actionUrl": contextPath+"/admin/tApplyAuthentication/tApplyAuthenticationlist?pageNumber=", "urlParas": urlParas!''}){}%>
  106. </div>
  107. <!-- /.table-responsive -->
  108. </div>
  109. <!-- /span -->
  110. </div>
  111. <!-- /row -->
  112. <%}%>