w-share-project-section-detail.html 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223
  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. <link rel=stylesheet href={{rootUrl}}global/css/bootstrap.css>
  9. <link rel=stylesheet href={{rootUrl}}global/css/style.css>
  10. <script src={{rootUrl}}global/js/jquery-1.9.1.min.js></script>
  11. <script src={{rootUrl}}global/js/bootstrap.js></script>
  12. <script src={{rootUrl}}global/js/jl.js></script>
  13. <script src={{rootUrl}}global/js/echarts.min.js></script>
  14. </head>
  15. <body style="overflow:auto">
  16. <div class="wrapHeader"><h1 title="纵横计量支付" class="mainLogo"></h1></div>
  17. <div class="mainContent">
  18. <div class="row-fluid">
  19. <div class="span7"><h2>{{pmname}}</h2>
  20. <p>共 {{totalnum}} 期(本期 {{status}}) | <span data-icon="n"></span> <a href="{{comefromurl}}">{{comefromurl}}</a></p>
  21. </div>
  22. <div class="span5">
  23. <div class="detail">
  24. <h5>总价:¥{{pros.bcontracttotal}}元 (<span class="colRed">+¥{{pros.bchangTotal}}</span>)</h5>
  25. <div class="progress">
  26. <div class="bar bar-success" style="width: {{pros.pcurrdone}};">{{pros.pcurrdone}}</div>
  27. </div>
  28. </div>
  29. </div>
  30. </div>
  31. <!--标段信息-->
  32. <ul class="nav nav-tabs">
  33. <li class="active">
  34. <a href="w-project-detail.html">标段信息</a>
  35. </li>
  36. </ul>
  37. <div class="project">
  38. <div class="proSection clearfix">
  39. <!--图表4-->
  40. <div id="chartContainer4" style="height: 300px; width: 100%;">
  41. </div>
  42. <!--图表4-->
  43. </div>
  44. <div class="proSection clearfix">
  45. <!--图表5-->
  46. <div class="fL" style="width:30%">
  47. <div id="chartContainer5" style="height: 300px; width: 100%;">
  48. </div>
  49. </div>
  50. <!--图表5-->
  51. <!--表-->
  52. <div class="fL" style="width:70%;height:300px;overflow:hide">
  53. <table class="table table-striped">
  54. <thead>
  55. <tr>
  56. <th width="8%">期数</th><th width="16%" class="taC">本期合同计量</th><th width="16%" class="taC">本期数量变更计量</th><th width="16%" class="taC">截止上期完成</th><th width="16%" class="taC">本期完成计量</th><th width="16%" class="taC">截止本期完成</th>
  57. </tr>
  58. </thead>
  59. </table>
  60. <div style="height:264px;overflow-y:auto">
  61. <table class="table table-striped">
  62. <!-- loop MeasureArray -->
  63. <tr>
  64. <td width="8%">第{{ToChinaseNum(MeasureArray' value.numpname)}}期&nbsp;<span data-toggle="tooltip" data-placement="bottom" title="上报:{{formatDate(MeasureArray' value.intime,'Y-m-d')}} <!-- if {{MeasureArray' value.audittime}}!='0' --> ;通过:{{formatDate(MeasureArray' value.audittime,'Y-m-d')}} <!-- endif -->" class="icon-time"></span></td><td width="16%" class="taR">{{MeasureArray' value.currcontractval}}</td><td width="16%" class="taR">{{MeasureArray' value.currchangeval}}</td><td width="16%" class="taR">{{MeasureArray' value.stopnowtotal}}</td><td width="16%" class="taR">{{MeasureArray' value.currdone}}</td><td width="16%" class="taR">{{MeasureArray' value.curralltotal}}</td>
  65. </tr>
  66. <!-- endloop -->
  67. </table>
  68. </div>
  69. </div>
  70. </div>
  71. </div>
  72. </div>
  73. <script type="text/javascript">
  74. //4 标段期数计量进度//
  75. var myChart = echarts.init(document.getElementById('chartContainer4'));
  76. var option = {
  77. color: ['#e9af68','#57b7b6','#e4575a','#959eac','#6699FF',
  78. '#d38b70','#8fb7cf','#cd5c5c','#ffa500','#40e0d0',
  79. '#1e90ff','#ff6347','#7b68ee','#00fa9a','#ffd700',
  80. '#5c616b','#ff6666','#3cb371','#b8860b','#30e0e0'],
  81. tooltip : {
  82. trigger: 'axis'
  83. },
  84. calculable : true,
  85. legend: {
  86. data:['本期合同计量','本期数量变更计量','截至上期完成','本期完成计量','完成度']
  87. },
  88. dataZoom: [
  89. {show: true,start: 0, end: 100}
  90. ],
  91. xAxis : [
  92. {
  93. type : 'category',
  94. splitLine : {show : true},
  95. data : [
  96. <!-- loop MeasureArray -->
  97. '第{{ToChinaseNum(MeasureArray' value.numpname)}}期',
  98. <!-- endloop -->
  99. ]
  100. }
  101. ],
  102. yAxis : [
  103. {
  104. type : 'value',
  105. name : '金额',
  106. position:'left',
  107. axisLabel : {
  108. formatter: '{value} 元'
  109. },
  110. splitArea : {show : true}
  111. },
  112. {
  113. type : 'value',
  114. name:'完成度',
  115. axisLabel : {
  116. formatter: '{value} %'
  117. },
  118. position: 'right',
  119. splitArea: {show: false},
  120. splitLine: {show: false}
  121. }
  122. ],
  123. series : [
  124. {
  125. name:'本期合同计量',
  126. type:'bar',
  127. tooltip : {trigger: 'item',formatter: "{b} <br/>{a}:{c}元"},
  128. stack: '合同',
  129. data:[
  130. <!-- loop MeasureArray -->
  131. {{MeasureArray' value.currcontractval}},
  132. <!-- endloop -->
  133. ]
  134. },
  135. {
  136. name:'本期数量变更计量',
  137. type:'bar',
  138. tooltip : {trigger: 'item',formatter: "{b} <br/>{a}:{c}元"},
  139. stack: '合同',
  140. data:[
  141. <!-- loop MeasureArray -->
  142. {{MeasureArray' value.currchangeval}},
  143. <!-- endloop -->
  144. ]
  145. },
  146. {
  147. name:'截至上期完成',
  148. type:'bar',
  149. tooltip : {trigger: 'item',formatter: "{b} <br/>{a}:{c}元"},
  150. stack: '完成',
  151. data:[
  152. <!-- loop MeasureArray -->
  153. {{MeasureArray' value.stopnowtotal}},
  154. <!-- endloop -->]
  155. },
  156. {
  157. name:'本期完成计量',
  158. type:'bar',
  159. tooltip : {trigger: 'item',formatter: "{b} <br/>{a}:{c}元"},
  160. stack: '完成',
  161. data:[
  162. <!-- loop MeasureArray -->
  163. {{MeasureArray' value.currdone}},
  164. <!-- endloop -->
  165. ]
  166. },
  167. {
  168. name:'完成度',
  169. type:'line',
  170. tooltip : {trigger: 'axis',formatter: "{b}占总标段<br/>{a}:{c} %"},
  171. yAxisIndex: 1,
  172. data:[
  173. <!-- loop MeasureArray -->
  174. {{MeasureArray' value.lessTotal}},
  175. <!-- endloop -->
  176. ]
  177. },
  178. ]
  179. };
  180. // 为echarts对象加载数据
  181. myChart.setOption(option);
  182. //4 标段期数计量进度//
  183. //5 期数组成//
  184. // 基于准备好的dom,初始化echarts图表
  185. var myChart = echarts.init(document.getElementById('chartContainer5'));
  186. var option = {
  187. color: ['#e9af68','#57b7b6','#e4575a','#959eac','#6699FF',
  188. '#d38b70','#8fb7cf','#cd5c5c','#ffa500','#40e0d0',
  189. '#1e90ff','#ff6347','#7b68ee','#00fa9a','#ffd700',
  190. '#5c616b','#ff6666','#3cb371','#b8860b','#30e0e0'],
  191. title : {
  192. text: '期数计量组成',
  193. x:'left'
  194. },
  195. tooltip : {
  196. trigger: 'item',
  197. formatter: "{a} <br/>{b}:{c} 元<br>占标段:{d} %"
  198. },
  199. calculable : true,
  200. series : [
  201. {
  202. name:'标段计量分布',
  203. type:'pie',
  204. // roseType: 'angle',
  205. radius : '40%',
  206. center: ['45%', 155],
  207. data:[
  208. <!-- loop MeasureArray -->
  209. {value: {{MeasureArray' value.currdone}}, name: '第{{ToChinaseNum(MeasureArray' value.numpname)}}期'},
  210. <!-- endloop -->
  211. ]
  212. }
  213. ]
  214. };
  215. // 为echarts对象加载数据
  216. myChart.setOption(option);
  217. //5 期数组成//
  218. </script>
  219. </body>