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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222
  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 : true}
  120. }
  121. ],
  122. series : [
  123. {
  124. name:'本期合同计量',
  125. type:'bar',
  126. tooltip : {trigger: 'item',formatter: "{b} <br/>{a}:{c}元"},
  127. stack: '合同',
  128. data:[
  129. <!-- loop MeasureArray -->
  130. {{MeasureArray' value.currcontractval}},
  131. <!-- endloop -->
  132. ]
  133. },
  134. {
  135. name:'本期数量变更计量',
  136. type:'bar',
  137. tooltip : {trigger: 'item',formatter: "{b} <br/>{a}:{c}元"},
  138. stack: '合同',
  139. data:[
  140. <!-- loop MeasureArray -->
  141. {{MeasureArray' value.currchangeval}},
  142. <!-- endloop -->
  143. ]
  144. },
  145. {
  146. name:'截至上期完成',
  147. type:'bar',
  148. tooltip : {trigger: 'item',formatter: "{b} <br/>{a}:{c}元"},
  149. stack: '完成',
  150. data:[
  151. <!-- loop MeasureArray -->
  152. {{MeasureArray' value.stopnowtotal}},
  153. <!-- endloop -->]
  154. },
  155. {
  156. name:'本期完成计量',
  157. type:'bar',
  158. tooltip : {trigger: 'item',formatter: "{b} <br/>{a}:{c}元"},
  159. stack: '完成',
  160. data:[
  161. <!-- loop MeasureArray -->
  162. {{MeasureArray' value.currdone}},
  163. <!-- endloop -->
  164. ]
  165. },
  166. {
  167. name:'完成度',
  168. type:'line',
  169. tooltip : {trigger: 'axis',formatter: "{b}占总标段<br/>{a}:{c} %"},
  170. yAxisIndex: 1,
  171. data:[
  172. <!-- loop MeasureArray -->
  173. {{MeasureArray' value.lessTotal}},
  174. <!-- endloop -->
  175. ]
  176. },
  177. ]
  178. };
  179. // 为echarts对象加载数据
  180. myChart.setOption(option);
  181. //4 标段期数计量进度//
  182. //5 期数组成//
  183. // 基于准备好的dom,初始化echarts图表
  184. var myChart = echarts.init(document.getElementById('chartContainer5'));
  185. var option = {
  186. color: ['#e9af68','#57b7b6','#e4575a','#959eac','#6699FF',
  187. '#d38b70','#8fb7cf','#cd5c5c','#ffa500','#40e0d0',
  188. '#1e90ff','#ff6347','#7b68ee','#00fa9a','#ffd700',
  189. '#5c616b','#ff6666','#3cb371','#b8860b','#30e0e0'],
  190. title : {
  191. text: '期数计量组成',
  192. x:'left'
  193. },
  194. tooltip : {
  195. trigger: 'item',
  196. formatter: "{a} <br/>{b}:{c} 元<br>占标段:{d} %"
  197. },
  198. calculable : true,
  199. series : [
  200. {
  201. name:'标段计量分布',
  202. type:'pie',
  203. // roseType: 'angle',
  204. radius : '40%',
  205. center: ['45%', 155],
  206. data:[
  207. <!-- loop MeasureArray -->
  208. {value: {{MeasureArray' value.currdone}}, name: '第{{ToChinaseNum(MeasureArray' value.numpname)}}期'},
  209. <!-- endloop -->
  210. ]
  211. }
  212. ]
  213. };
  214. // 为echarts对象加载数据
  215. myChart.setOption(option);
  216. //5 期数组成//
  217. </script>
  218. </body>