sign-create_sign.html 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  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. </tr>
  69. </thead>
  70. <tbody>
  71. <!-- if !empty({{unlist}}) -->
  72. <!-- loop unlist -->
  73. <tr>
  74. <td width="">{{unlist' value.name}}</td>
  75. <td>{{unlist' value.project}}-{{unlist' value.tender}}-第{{ToChinaseNum(unlist' value.phaseno)}}期</td>
  76. <td>{{unlist' value.ownname}}</td>
  77. <td>{{formatDate(unlist' value.intime,'Y-m-d')}}</td>
  78. <td width=""><a class="btn btn-primary btn-small" href="/sign/set/{{list' value.sid}}">发起签署</a>
  79. </tr>
  80. <!-- endloop -->
  81. <!-- endif -->
  82. </tbody>
  83. </table>
  84. <div class="pagination">
  85. <ul>
  86. {{pager}}
  87. </ul>
  88. </div>
  89. </div>
  90. </div>
  91. </div>
  92. <!--内容-->
  93. </div>
  94. </div>
  95. <script type="text/javascript">autoFlashHeight();</script>
  96. <script>
  97. $(function(){
  98. $('#itemlist').change(function(){
  99. var url = '/sign/create';
  100. if($(this).val() != 0){
  101. url += '/project/'+$(this).val();
  102. }
  103. window.location.href = url;
  104. });
  105. $('#tenderlist').change(function(){
  106. var url = '/sign/create/project/'+$('#itemlist').val();
  107. if($(this).val() != 0){
  108. url += '/tender/'+$(this).val();
  109. }
  110. window.location.href = url;
  111. })
  112. $('#phasenolist').change(function(){
  113. var url = '/sign/create/project/'+$('#itemlist').val()+'/tender/'+$('#tenderlist').val();
  114. if($(this).val() != 0){
  115. url += '/phaseno/'+$(this).val();
  116. }
  117. window.location.href = url;
  118. })
  119. })
  120. </script>
  121. </body>