sign-list-all.html 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. <!DOCTYPE html>
  2. <html lang=zh-cn>
  3. <head>
  4. <meta charset=utf-8>
  5. <title>纵横计量支付系统</title>
  6. <meta name=description content=计量支付>
  7. <meta name=copyright content=smartcost.com.cn>
  8. <meta name="viewport" content="width=device-width,initial-scale=1.0">
  9. <link rel=stylesheet href="{{rootUrl}}global/css/bootstrap.css">
  10. <link rel=stylesheet href={{rootUrl}}global/css/style.css>
  11. <script src={{rootUrl}}global/js/jquery-1.9.1.min.js></script>
  12. <script src={{rootUrl}}global/js/bootstrap.js></script>
  13. <script src={{rootUrl}}global/js/jl.js></script>
  14. </head>
  15. <body>
  16. <!-- include "top" -->
  17. <div class="wrapContent">
  18. <!-- include "left" -->
  19. <div class="mainContainer">
  20. <!--内容-->
  21. <div class="mainContent">
  22. <div class="title clearfix">
  23. <h1><a href="/sign/index" title="返回"><span class="closePanel" aria-hidden="true"
  24. data-icon="Z"></span></a>&nbsp;所有报表</h1>
  25. </div>
  26. <div class="project">
  27. <div class="proSection">
  28. <ul class="nav nav-pills">
  29. <li>
  30. <select id="itemlist">
  31. <option value="0">请选择项目</option>
  32. <!-- if !empty({{itemlist}}) -->
  33. <!-- loop itemlist -->
  34. <option value="{{itemlist' value.project}}" <!-- if {{project}} == {{itemlist' value.project}} -->selected<!-- endif --> >{{itemlist' value.pname}}</option>
  35. <!-- endloop -->
  36. <!-- endif -->
  37. </select>&nbsp;
  38. </li>
  39. <li>
  40. <select id="tenderlist">
  41. <option value="0">请选择标段</option>
  42. <!-- if !empty({{tenderlist}}) -->
  43. <!-- loop tenderlist -->
  44. <option value="{{tenderlist' value.tender}}" <!-- if {{tender}} == {{tenderlist' value.tender}} -->selected<!-- endif -->>{{tenderlist' value.pmname}}</option>
  45. <!-- endloop -->
  46. <!-- endif -->
  47. </select>&nbsp;
  48. </li>
  49. <li>
  50. <select id="phasenolist">
  51. <option value="0">请选择期数</option>
  52. <!-- if !empty({{phasenolist}}) -->
  53. <!-- loop phasenolist -->
  54. <option value="{{phasenolist' value.phaseno}}" <!-- if {{phaseno}} == {{phasenolist' value.phaseno}} -->selected<!-- endif -->>第{{ToChinaseNum(phasenolist' value.numpname)}}期</option>
  55. <!-- endloop -->
  56. <!-- endif -->
  57. </select>&nbsp;
  58. </li>
  59. </ul>
  60. <table class="table">
  61. <thead>
  62. <tr>
  63. <th width="40%">报表名</th>
  64. <th width="20%">项目-标段-期数</th>
  65. <th width="10%">生成</th>
  66. <th width="10%">发起</th>
  67. <th width="10%">状态</th>
  68. <th width="10%">操作</th>
  69. </tr>
  70. </thead>
  71. <tbody>
  72. <!-- if !empty({{list}}) -->
  73. <!-- loop list -->
  74. <tr>
  75. <td width="">{{list' value.name}}</td>
  76. <td>{{list' value.project}}-{{list' value.tender}}-第{{ToChinaseNum(list' value.phaseno)}}期</td>
  77. <td>{{list' value.ownname}}<br>{{formatDate(list' value.intime,'Y-m-d')}}</td>
  78. <td><!-- if !empty({{list' value.auditname}}) -->{{list' value.auditname}}<!-- endif --><br><!-- if !empty({{list' value.aintime}}) -->{{formatDate(list' value.aintime,'Y-m-d')}}<!-- endif --></td>
  79. <td><!-- if {{list' value.status}} == 'checked' --><span class="colGreen">完成</span><br>{{formatDate(list' value.sintime,'Y-m-d')}}<!-- elseif {{list' value.status}} == 'checking' --><span class="colOrange">签署中</span><br><!-- endif --></td>
  80. <td width=""><a class="btn btn-small" href="/sign/view/{{list' value.sid}}">查看报表</a></td>
  81. </tr>
  82. <!-- endloop -->
  83. <!-- endif -->
  84. </tbody>
  85. </table>
  86. <div class="pagination">
  87. <ul>
  88. {{pager}}
  89. </ul>
  90. </div>
  91. </div>
  92. </div>
  93. </div>
  94. <!--内容-->
  95. </div>
  96. </div>
  97. <script type="text/javascript">autoFlashHeight();</script>
  98. <script>
  99. $(function(){
  100. $('#itemlist').change(function(){
  101. var url = '/sign/list';
  102. if($(this).val() != 0){
  103. url += '/project/'+$(this).val();
  104. }
  105. window.location.href = url;
  106. });
  107. $('#tenderlist').change(function(){
  108. var url = '/sign/list/project/'+$('#itemlist').val();
  109. if($(this).val() != 0){
  110. url += '/tender/'+$(this).val();
  111. }
  112. window.location.href = url;
  113. })
  114. $('#phasenolist').change(function(){
  115. var url = '/sign/list/project/'+$('#itemlist').val()+'/tender/'+$('#tenderlist').val();
  116. if($(this).val() != 0){
  117. url += '/phaseno/'+$(this).val();
  118. }
  119. window.location.href = url;
  120. })
  121. })
  122. </script>
  123. </body>