investHome2.js 59 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911
  1. let app = new Vue({
  2. el: '#app',
  3. data () {
  4. return {
  5. type: true, // 切换柱状图状态
  6. showTip2: false,
  7. year: '2022',
  8. time: '',
  9. timer: '',
  10. mapName: 'shanxi',
  11. geoCoordMap: {},
  12. config1: {
  13. number: [100],
  14. content: '{nt}个',
  15. },
  16. storageRecordConfig: {
  17. // waitTime: '2000000',
  18. header: ['企业集团', '项目名 ', '投资总额'],
  19. // headerBGC: '#05507b33',
  20. // oddRowBGC: '#05507b33',
  21. // evenRowBGC: '#05507b33',
  22. headerBGC: '#05183c',
  23. headerBGC: '#05507b33',
  24. oddRowBGC: '#05183c',
  25. evenRowBGC: '#05183c',
  26. rowNum: 4,
  27. align: ['center'],
  28. data: [
  29. ['国际能源', '娄烦县120MW智慧光伏发电项目+10%储能', "67840.59 "],
  30. ['国际能源', '平朔矿区150MW农光储氢一体化项目', "78403.10 "],
  31. ['汾酒集团', '汾酒2030技改原酒产储能扩建项目(一期)', "910181.50 "],
  32. ['大地控股', '山西大地控股忻州新店矿业有限公司投资建设年产800万吨精品砂石骨料项目', "86691.03 "],
  33. ['潞安化工', '分布式光伏发电项目', "20055.81 "],
  34. ['太重集团', '设立太重(大同)新能源产业投资公司', "3000.00 "],
  35. ['大地控股', '山西大地宏翔环保科技有限公司电厂固废资源化综合利用建设项目', "36000.00 "],
  36. ['大地控股', '山西大地海科环保科技有限公司电厂固废资源化综合利用建设项目', "31061.11 "],
  37. ['汾酒集团', '保健酒园区新增原酒产能项目', "49836.77 "],
  38. ['汾酒集团', '白玉酒厂改扩建项目', "49617.44 "],
  39. ['华阳新材', '5GW高效光伏组件制造项目', "48224.63 "],
  40. ['华新燃气', '吉县—延长输气管道项目(一期工程)', "35400.00 "],
  41. ['太重集团', '建设液压挖掘机配套油缸项目', "26000.00 "],
  42. ['华远陆港', '物产集团参股设立项目公司投资建设山西物产万科(太原)综合物流产业园项目', "66000.00 "]
  43. ],
  44. },
  45. companyList: [
  46. { name: '山西焦煤' },
  47. { name: '晋能控股' },
  48. { name: '华新燃气' },
  49. { name: '山西建投' },
  50. { name: '潞安化工' },
  51. { name: '华远陆港' },
  52. { name: '航产集团' },
  53. { name: '大地控股' },
  54. { name: '国新能源' },
  55. { name: '汾酒集团' },
  56. { name: '云时代' },
  57. { name: '神农科技' },
  58. { name: '华阳新材' },
  59. { name: '华舰体育' },
  60. { name: '交控集团' },
  61. { name: '文旅集团' },
  62. { name: '水控集团' },
  63. { name: '太重集团' },
  64. ],
  65. }
  66. },
  67. created () {
  68. this.time = formatDate()
  69. this.timer = setInterval(() => {
  70. this.time = formatDate()
  71. }, 1000)
  72. },
  73. beforeDestroy () {
  74. if (this.timer) {
  75. clearInterval(this.timer);
  76. }
  77. },
  78. mounted () {
  79. // 左侧图表
  80. setTimeout(() => {
  81. this.initChartL1()
  82. this.initChartL2()
  83. this.initChartL3()
  84. this.initChartL4()
  85. this.initChartL5()
  86. this.initChartL6()
  87. this.initChartL7()
  88. this.initChartR1()
  89. this.initChartR2()
  90. this.initChartR3()
  91. this.initChartR6()
  92. },)
  93. setTimeout(() => {
  94. var swiper = new Swiper(".mySwiper", {
  95. pagination: {
  96. el: ".swiper-pagination",
  97. type: "progressbar",
  98. },
  99. navigation: {
  100. nextEl: ".swiper-button-next",
  101. prevEl: ".swiper-button-prev",
  102. },
  103. });
  104. swiper.el.onmouseout = function () {
  105. swiper.autoplay.start();
  106. }
  107. })
  108. setInterval(() => {
  109. this.type = !this.type
  110. this.initChartL3()
  111. }, 2000)
  112. },
  113. methods: {
  114. convertData (data) {
  115. var res = []
  116. for (var i = 0; i < data.length; i++) {
  117. var geoCoord = this.geoCoordMap[data[i].name]
  118. if (geoCoord) {
  119. res.push({
  120. name: data[i].name,
  121. value: geoCoord.concat(data[i].value),
  122. })
  123. }
  124. }
  125. return res
  126. },
  127. initChinaChart () {
  128. var data = [
  129. { name: '吕梁市', value: 150 },
  130. { name: '大同市', value: 190 },
  131. { name: '忻州市', value: 140 },
  132. { name: '朔州市', value: 160 },
  133. { name: '晋中市', value: 100 },
  134. { name: '太原市', value: 300 },
  135. { name: '临汾市', value: 190 },
  136. { name: '长治市', value: 100 },
  137. { name: '晋城市', value: 280 },
  138. { name: '运城市', value: 180 },
  139. { name: '阳泉市', value: 110 },
  140. ]
  141. var moveLine = {
  142. normal: [
  143. {
  144. fromName: '太原市',
  145. toName: '吕梁市',
  146. coords: [
  147. [112.3352, 37.9413],
  148. [111.3574, 37.7325],
  149. ],
  150. },
  151. {
  152. fromName: '太原市',
  153. toName: '忻州市',
  154. coords: [
  155. [112.3352, 37.9413],
  156. [112.4561, 38.8971],
  157. ],
  158. },
  159. {
  160. fromName: '太原市',
  161. toName: '临汾市',
  162. coords: [
  163. [112.3352, 37.9413],
  164. [111.4783, 36.1615],
  165. ],
  166. },
  167. {
  168. fromName: '太原市',
  169. toName: '阳泉市',
  170. coords: [
  171. [112.3352, 37.9413],
  172. [113.4778, 38.0951],
  173. ],
  174. },
  175. {
  176. fromName: '太原市',
  177. toName: '晋中市',
  178. coords: [
  179. [112.3352, 37.9413],
  180. [112.7747, 37.37],
  181. ],
  182. },
  183. {
  184. fromName: '太原市',
  185. toName: '运城市',
  186. coords: [
  187. [112.3352, 37.9413],
  188. [111.1487, 35.2002],
  189. ],
  190. },
  191. {
  192. fromName: '太原市',
  193. toName: '大同市',
  194. coords: [
  195. [112.3352, 37.9413],
  196. [113.7854, 39.8035],
  197. ],
  198. },
  199. {
  200. fromName: '太原市',
  201. toName: '晋城市',
  202. coords: [
  203. [112.3352, 37.9413],
  204. [112.7856, 35.6342],
  205. ],
  206. },
  207. {
  208. fromName: '太原市',
  209. toName: '长治市',
  210. coords: [
  211. [112.3352, 37.9413],
  212. [112.8625, 36.4746],
  213. ],
  214. },
  215. {
  216. fromName: '太原市',
  217. toName: '朔州市',
  218. coords: [
  219. [112.3352, 37.9413],
  220. [113.0713, 39.6991],
  221. ],
  222. },
  223. ],
  224. }
  225. /*获取地图数据*/
  226. let myChart = echarts.init(this.$refs['echarts-map'])
  227. echarts.registerMap('shanxi', {
  228. type: 'FeatureCollection',
  229. features: [
  230. {
  231. type: 'Feature',
  232. id: '1409',
  233. properties: { name: '忻州市', cp: [112.4561, 38.8971], childNum: 14 },
  234. geometry: {
  235. type: 'Polygon',
  236. coordinates: [
  237. '@@Vx@lnbn¦WlnnUšmš°š²VšV‚VVVnUn„ºlz@l„„@Jƒ@kXWVXl@Lƒa@„ƒKUL„ŽlbnKlLnK‚LnKÆXn°šbVV@bUVl°Un@LnaVJUbW@UX²l‚@ČwlVVIšWnkÆa°„„anV‚Kn°™UW¯@™aVUVk@Un@„aV@ValwUanmWU„k@WVUUanaVwnLVl°@nk@mVU@UVK@w„LVKVU@ƒ„K@UUKVUV@@bnL„a‚V„aôšlIXmlKX_°KVV@bVV„@šzV`kblI„V„Ul‚šL@bnV@V„Ċll„„VlIXW@k„a‚U²blKšVnIlJ„albXXlWVn°JnšnL@l@XlJlaX@„X˜W²@l_VmnKšU„blU@mnkVK„¯@U@ƒma@kX¥VƒmakkƒLƒa@aƒ@WIUUVXWWnk@a°a@kkm@kUUmJm@WUUUIk`m@V—kaWWkX™KmƒXk¯ƒ@WKƒLkak@±bƒw@ƒaƒa@akaƒ@ma¯@ƒL—KÇÅkKWbkmġ™±ÅUƒLUK™VVkƒm¯LUVVbƒ„UwUW¯bm„ƒULƒxWJ—@ƒklmkUm@@KnwVkVK@akwƒ@@a¯bƒKkn›VUI™b¯mmbk@UbmKUL@xUUƒ@klmLUŽlVXI‚VVVUVUœU`mLXVWbXnW`Ų°xmŽxU@mĉƒƒwU@mbU@UƒmbkVW¦kJ™@ƒX@`¯Im@UlUVVnb@bWJXnmbƒJUU™UUaƒ@UamIkaƒxƒ@@x@b',
  238. ],
  239. encodeOffsets: [[113614, 39657]],
  240. },
  241. },
  242. {
  243. type: 'Feature',
  244. id: '1411',
  245. properties: { name: '吕梁市', cp: [111.3574, 37.7325], childNum: 13 },
  246. geometry: {
  247. type: 'Polygon',
  248. coordinates: [
  249. '@@@a@w„@„wlbnJVb„@VbšVVV„InaWmXI@a‚aUmVUVkn@°J@_„Wš@lIX¥lUnaV„V@naV@„xĊ„n‚V@‚wn¯wƱX_WmXaWUnKV_V›VUUUUWJkUVnKlk¯™@@kmKUaŁ±KkU@WmI@WUIlUUmVwXƒ‚w@ƒUlUVwœV‚@„Lnb‚W@anU@UšaVkô@l»n@na˜JnUÈLVaƃUUVm„VKVƒ²L@mU_lK@UVWkU‚a@a@U¯aUaƒÑóÑUb™„ƒKk@@aƒk¯mVaUwVƒÑkWUmK@UUKmXUWÝwUa™LUU@aWJUUU@Ua݄U@WL@VKVaVI@WnU@alIVKƒƒ@kIƒmIkJ@™m@ƒ™@@_™K@xƒ@kaW@U„@Vmn@ŽUK@mIƒJUXV¤XXWlkKƒkkK@XmJVakImJU@ó™¯LWKUV@nUVƒLkxmKkLma@kXKmmƒLƒab™LmK@V@mXVÆUxƒX@`nL„aV@@VmLUVnLlLš˜„b@„šŽ°²nx@b‚VUxlb@V¯bUV@zV‚XVĊXVx@lVn@VnnmŽUš@LlJXVƒz¯VWVXbšV@bmn™VUVk„Çþń@XVxmbUlV„Uln„W„@„Xl‚@VLXÒ@bÞJ°¦„L˜ò„@nU‚b@°„X@ŽXbmVU„V„nb@x‚x',
  250. ],
  251. encodeOffsets: [[113614, 39657]],
  252. },
  253. },
  254. {
  255. type: 'Feature',
  256. id: '1410',
  257. properties: { name: '临汾市', cp: [111.4783, 36.1615], childNum: 17 },
  258. geometry: {
  259. type: 'Polygon',
  260. coordinates: [
  261. '@@nW‚@@UnLšK‚a„b„KnnWL@lnblKnLlw„KVU@mVUXL°KôšV@nIlJUbnI@WlL„llLXkWWU£VW„InJ‚@VL@nm@UVƒX@lb„@@wšL@`‚@„šn@V@lw„@n„VmVX„WmwnUlƒœa@_lK„wVlUn°xVKVXXWlUšVVI@K@K„n°KœwlVlU@kna@V_„Wn‚m„UVm@kXml_@m„LlKXw°m@_ôJVUV@X™l@UaV@Va°I„lk»VwUkVmwUmmVn@V¯@KƒU—wmK@U¯wUVÝ@mJƒU—nWK™@@UnKVa„_lykUmKÛnm@™x@ƒUUlwVk™ƒXW@ƒa@Uƒ@@K@ƒkIV™nammVakUlƒ@wX@@kƒ™¯@ƒVVbml@„„°UbULmlVbnbÅK±VƒKVXUJWa@ULWaUU@@U@aWK@UkxUKƒLUUUJ±UkL@V±kk@kam@UV@l@LWl@n@VVUx„LlUUx@VUV™U@aƒIUl™L@°mLU‚ƒbkUUaWUUaUU@aWK—LWJ@bUL@VUVVbU@m@a@kmKmnĉlUK™XƒWUblb—xmIkƒƒU@xWb@lkšVx™LXŽmzVV@bklVVUzm˜@bk„@Vx@xlŽU„@lUbVnl@„Wxnl@n@ŽUbV„mL‚mƒb@`X@lUX@@xlnkLWaUJnnWV™Vn@l„@bULVV@l™V@XnJVX',
  262. ],
  263. encodeOffsets: [[113063, 37784]],
  264. },
  265. },
  266. {
  267. type: 'Feature',
  268. id: '1407',
  269. properties: { name: '晋中市', cp: [112.7747, 37.37], childNum: 11 },
  270. geometry: {
  271. type: 'Polygon',
  272. coordinates: [
  273. '@@@šlInJ„lJ„@‚„ULkJ@bmV@XUJUb‚L@UXKV@ރVbV@VVXI@bVVšKVbÞxVXnWVL@VnLV‚lX„ÒUŽVxUb°n„l@bl@„LšƒVaô҄ÒVb°b@VnLnnV@lmn@lb„U„V@„‚JœUVV‚Xkl@lUzmJ@xšXkl‚bUn„JVšUb„nU‚lb„V@nlLX@lakšV`Ub°š@XVJnU‚L²KlxnI@KV@lbUbVV„KnVl@„zlm@Uš@nŽšI@WUaVl@@mVU„@XkW@ƒnkVKVƒ„_Vw„y@knwVa‚@XalU„@šVnml@„X@V„L‚KVaÞbnnlJšI„mVKn„VVVInVlU„@„m@™mXK@UmyUI@mWUUakamw@wUwmLkakwVƒmK™w@wUam£y@am_ƒW@™UU@knmm„amU@WUa@knw@ƒUUUUV@nƒJm@mVUkKVUUUkKmwƒKULƒKUImV@lUn™nŽm@mbUK@°™bUnmbUmkkƒWUb@am@UXkK@a±@™V™@ĉř„V‚UXVxUVkLWl¯@@bULUlm@@nm`—XƒlWakIkm›VUbUL@Vm@kIƒ@@Kšm@—VaX‚I@W@aU@kUƒVU_™KƒbƒJkkǎ™b@nkKmL™wÅW@kVUUƒVU@WUIƒJmIXmma@_kyVaUUlkUm@ƒkU›x¯Lƒm@L@LUJ™UkVWXUWUL¯wVmUkƒxkL@`›bk„mVnxƒXUWUnmƒƒ@kxU@',
  274. ],
  275. encodeOffsets: [[114087, 37682]],
  276. },
  277. },
  278. {
  279. type: 'Feature',
  280. id: '1408',
  281. properties: { name: '运城市', cp: [111.1487, 35.2002], childNum: 13 },
  282. geometry: {
  283. type: 'Polygon',
  284. coordinates: [
  285. '@@„Vl„nJ˜wkaVa„XšWVLĊknmnL‚l@@bn‚V@UaVU@UVK@aXI˜KXL@bVVVbXVVblV„aVnK@¯šKVk„J@bšVVU@UVwkVƒKVwUUm@@Xk@K@kVUn@lbl@²l@UlK²VVIVV„KVLlw@VXL@b@VV@VŽXbVK‚@XbVIUW„L‚U²ÆLmaUankVKVaƒ¯@ƒnkUa„U°@„š‚n@@kWa„UVaXUW@IXKVw@U™ƒ„™WU@W@@UUƒU@mn@ƒ`m@UUULkUmJ™IUƒ@@UƒK@U@›anƒ™ak_@wmKUwmakV™kmK™V™k¯b™wƒ`kwUIÇx¯»ÇaŃmn@@™mƒmUkV@wkKW@kxmL™UkĉLÝk™xÝw¯lóVU„mV@ĀVVX¦W¤kz@`Vx°„²ĸ‚š@„Ul@x„êĸNJ°¤V„VlXLWnXxmV@nUl@„',
  286. ],
  287. encodeOffsets: [[113232, 36597]],
  288. },
  289. },
  290. {
  291. type: 'Feature',
  292. id: '1402',
  293. properties: { name: '大同市', cp: [113.7854, 39.8035], childNum: 8 },
  294. geometry: {
  295. type: 'Polygon',
  296. coordinates: [
  297. '@@²£šyl@Ȑ˜Ė@bĸŽĢbĸ„˜X„a‚KŤnn@ŎôllÈx„nVnÞDŽV@b‚nXllL°KšbVb@J@b—„‚„@ŽU„„xlKXLlKlXk„@Ulk„JlkUƒVKXUƒÇVIVm@_nǚLšašl‚w„VnU@UUwma@aƒaÝaLmUk@@Wƒ@U@@X™wVWÝUUUk@@VmLƒKV»nwUw™aUL@`mzƒJUIVƒUaUw™KUaVIlJôanÑlLVUn@ša„@VV„@@UUwVK°Vn_lJÆLœéW@UUUÅ@»lm@aÞIVwXW˜UUkkm@U@aƒU@mwU£VWU_kWmƒXwW_°yUkkK@UÇK@kkUVymóK—U@KWIƒbUak@mJ@bkbmLkŽ™UmƒkVU„W¦@lnb@„@Vƒ°ULml@nkVƒa™VmLUnk`±@—XƒWW@kbǦXŽ¯„WxI@xmbmxXlWV„„@bŎUz@J‚b@bÞb™ŽU@Wbk@ƒxk@WX¯VۙƒWÝbÝUkVUU@alI@a@akLWa™m@U¯UUmÇL@K@aU@¯VUkƒKmX@`@œkJ@nV‚Ub@lbVÆXVW„ULU`VbkLUV@XWl@bXJ˜@VbV@Vl',
  298. ],
  299. encodeOffsets: [[115335, 41209]],
  300. },
  301. },
  302. {
  303. type: 'Feature',
  304. id: '1404',
  305. properties: { name: '长治市', cp: [112.8625, 36.4746], childNum: 12 },
  306. geometry: {
  307. type: 'Polygon',
  308. coordinates: [
  309. '@@Uk™Lky@I‚JVa@mÞaWšy@_W@_WƒXVlUVwš@nw°K@m„UƒVaƒmVkU@mmmnLVUmKXa™U@IlKVUnK@UmWkX@WV_Vƒ@akU@a„KWIXyƒIUVmUn™Ua@WaXUVKVmkUWVkUƒLU@@VƒbƒKbƒIUmƒ@mbVL—x›WUUkn±V¯wƒbÅJUbmLkbmKÅKƒbVnUbƒV™KUb™KUbmLKmƒb™aƒKkUm@UŽnn‚VnxUVlUxl¼ƒk¯JUbU@Vbk@WšU@UVóI@`¯nWxkLƒK@nk`Wn@lUnƒVnm‚ƒXU`@mb@lkV@„VnklVVUblz@`nbWnnJ„IVJ@XUVV„UV@lÆXšxnKlL@mšaȍll„I„ašLV`„UlVV@@b@XJWUb@˜™n@L„@lJn@@UVKVaœUlnlJXb„k˜Wn_@mn@VkVK@a°@XklKVUUwVWUšƒĊƚ@šU²@@blLVWn@@bVa„XllVnnaVmša@¯VLnan@‚šmVm@knUVJ',
  310. ],
  311. encodeOffsets: [[116269, 37637]],
  312. },
  313. },
  314. {
  315. type: 'Feature',
  316. id: '1406',
  317. properties: { name: '朔州市', cp: [113.0713, 39.6991], childNum: 5 },
  318. geometry: {
  319. type: 'Polygon',
  320. coordinates: [
  321. '@@XXWVXVWnnlnn@èƼ@„„xlš„ŽV„nblšššVŽÈUVl‚š@„blnœL܃ĊmUkU@Ua‚—@WI@aXk@WVUlKUaV_VKXƒWUUÅka@VaU@mlI@›@_nW„LVl°UV@@b@LÈKVn°V@VšnXblK@b@bkJ@bVVlUÞVÞa„Xܚ°UXWl@„wl@XaV@šÝa@aa@IVyƍ@aƒƒXUWknwna@w‚JXw°ƒWÈ¥kI@W@kmKm™¯IUmkXWWkaƒbkImJ™UkL±aVƒb@lWXkJƒUkƒĉkƒ@UmU@a™KkƒVƒUkJlaU_™yƒ@UU@aUU¯LW`kLWnkJó™ƒbUƒbmK@aU@UVVL@VƒL@„UVULƒK@xUL@VUV@nml¯@UkmKUxmbVbUV@XƒlXVmnVbkxUbU@ƒbm@@VUlUVšb°@VX¯šm‚',
  322. ],
  323. encodeOffsets: [[114615, 40562]],
  324. },
  325. },
  326. {
  327. type: 'Feature',
  328. id: '1405',
  329. properties: { name: '晋城市', cp: [112.7856, 35.6342], childNum: 6 },
  330. geometry: {
  331. type: 'Polygon',
  332. coordinates: [
  333. '@@lV„Lšb„an‚LnKVašLVašL„UVaUm„aÆLnLlanKVaÆI„a°x²UlmVVœX˜wUKna„@Vn„J‚a„L„a@UV@@alUkKVKnkmmVwUk„w@ƒ™@kxWUXƒW@@mƒk@aUa@a¯aƒLkKmwkUm@kL@K@aWIXmƒVƒXƒWkUVakL@UVKƒw@aUK@UUKmLU@¯n™KUwVƒUIWJUWmka™@UXƒJƒk@UkmW@kLWKVƒx@bmI@VUaVU@a¯@UUmVKmX@±`kÝKVxUL±akL@V™bƒLkKmVƒ@XWVUbƒVXb@lm@@lW@@xk„lVUbnnmbUšlJ@„@L„@@V„b@‚WXš„UlkxVV@„šwn@ÜmnLlVkzƒ`UbmL@Vš@XL˜m„VnIÞ@VU°x@VnL˜x„V@LU°',
  334. ],
  335. encodeOffsets: [[115223, 36895]],
  336. },
  337. },
  338. {
  339. type: 'Feature',
  340. id: '1401',
  341. properties: { name: '太原市', cp: [112.3352, 37.9413], childNum: 5 },
  342. geometry: {
  343. type: 'Polygon',
  344. coordinates: [
  345. '@@„@VV@wVKnLVal@na°nšaVJœUlm„L°a@b„@lx@bULUlmx@Ln@lVkn„l˜@XI„w‚K„Vnƒ°aVXVx„ƒUaVU°K„nUlšUVL„KÆVš²Ģ‚lnXalLÈƘL„KUaVkUanmWU™a@WwkUWU¯y¯Ñ@anIl@@aVU„m„I„ymUƒLUUVakaU@@LmJkw±LKmVUI@W¯™VaU_l™kbW@kK@mƒUkaVƒmVaU™ƒIVmalk™W@wnIVy@klkWUU›VI@ƒƒUƒVkam@knU@mmmK@bblVUX@VkLV`@n±KU„ULƒ‚UnVVńUbÇKmV—Imbm@k¼ó@Ul™b@VmV@bXmaƒK@›UUxkV‚V@„xW„UxVnkVVJ@XnJ@XlV²LƂVbnL@lš@°',
  346. ],
  347. encodeOffsets: [[114503, 39134]],
  348. },
  349. },
  350. {
  351. type: 'Feature',
  352. id: '1403',
  353. properties: { name: '阳泉市', cp: [113.4778, 38.0951], childNum: 3 },
  354. geometry: {
  355. type: 'Polygon',
  356. coordinates: [
  357. '@@°@nb„@lb@b„b„b‚@„x²al@lb„KXU@m‚kUWkkmUUƒVwV@XUW@™naVklKXblKnL‚ƒnLVanImaXKlL„ašV@U@KUKW„alƒXK@£WKXUV@VU„ƒUUVW„_V™@W@@K„@šƒUƒƒIWmXUmƒULƒn™JkImmÝaUbLƒK@UƒWk@mn™Uƒ@kVWb@Ubmx@lƒzUxƒ`U„ULml@„XWlƒ@UV@nk@U‚Vb@X™Jm™@@Vknƒyk@ƒzƒJƒnUV@bk@mJ@b°Ò°zXVlVXx‚@šbXVmnVbUlVb',
  358. ],
  359. encodeOffsets: [[115864, 39336]],
  360. },
  361. },
  362. ],
  363. UTF8Encoding: true,
  364. })
  365. var mapFeatures = echarts.getMap(this.mapName).geoJson.features
  366. mapFeatures.forEach(v => {
  367. // 地区名称
  368. var name = v.properties.name
  369. // 地区经纬度
  370. this.geoCoordMap[name] = v.properties.cp
  371. })
  372. myChart.setOption({
  373. tooltip: {
  374. padding: 15,
  375. enterable: true,
  376. transitionDuration: 1,
  377. formatter: (params, ticket, callback) => {
  378. let tipHtml = `
  379. <div class="tooltip-cont">
  380. <p>新开工:<span>工程建设项目</span></p>
  381. <p>总投资额:<span>${params.data.value}亿</span></p>
  382. <p>当前阶段:<span>可论证阶段</span></p>
  383. <p>时间节点:<span>2021.10-2022.10</span></p>
  384. </div>`
  385. return tipHtml
  386. },
  387. },
  388. visualMap: {
  389. min: 0,
  390. max: 300,
  391. right: 0,
  392. bottom: 0,
  393. text: ['高', '低'],
  394. textStyle: {
  395. color: '#f1f1f1'
  396. },
  397. realtime: false,
  398. calculable: true,
  399. inRange: {
  400. color: ['lightskyblue', '#2754b7']
  401. }
  402. },
  403. geo: {
  404. show: true,
  405. map: 'shanxi',
  406. layoutCenter: ['50%', '50%'], //地图位置
  407. layoutSize: '100%',
  408. label: {
  409. normal: {
  410. show: false,
  411. },
  412. emphasis: {
  413. show: false,
  414. },
  415. },
  416. roam: false,
  417. itemStyle: {
  418. normal: {
  419. areaColor: '#1946a8',
  420. shadowColor: '#1946a8',
  421. borderWidth: 1, //设置外层边框
  422. borderColor: '#1946a8',
  423. shadowOffsetX: 10,
  424. shadowOffsetY: 5,
  425. shadowBlur: 2,
  426. },
  427. emphasis: {
  428. areaColor: '#1946a8',
  429. borderColor: '#d4bc1d',
  430. borderWidth: 2, //设置外层边框
  431. },
  432. },
  433. },
  434. series: [
  435. {
  436. name: '散点',
  437. type: 'scatter',
  438. coordinateSystem: 'geo',
  439. data: this.convertData(data),
  440. symbolSize: function (val) {
  441. return 10
  442. },
  443. label: {
  444. normal: {
  445. formatter: '{b}',
  446. position: [10, 10],
  447. fontSize: 15,
  448. fontWeight: 600,
  449. fontStyle: 'italic',
  450. color: '#fff',
  451. show: true,
  452. },
  453. emphasis: {
  454. show: true,
  455. },
  456. },
  457. itemStyle: {
  458. normal: {
  459. color: '#000',
  460. borderWidth: 2,
  461. borderColor: '#fff',
  462. },
  463. },
  464. },
  465. {
  466. type: 'map',
  467. map: this.mapName,
  468. geoIndex: 0,
  469. aspectScale: 0.75, //长宽比
  470. showLegendSymbol: true, // 存在legend时显示
  471. label: {
  472. normal: {
  473. show: true,
  474. },
  475. emphasis: {
  476. show: false,
  477. textStyle: {
  478. color: '#fff',
  479. },
  480. },
  481. },
  482. roam: true,
  483. itemStyle: {
  484. normal: {
  485. areaColor: '#031525',
  486. borderColor: '#3B5077',
  487. },
  488. emphasis: {
  489. areaColor: '#2B91B7',
  490. },
  491. },
  492. animation: false,
  493. data: data,
  494. },
  495. {
  496. name: '点',
  497. type: 'scatter',
  498. coordinateSystem: 'geo',
  499. zlevel: 6,
  500. },
  501. {
  502. name: 'Top 5',
  503. type: 'effectScatter',
  504. coordinateSystem: 'geo',
  505. data: this.convertData(
  506. data
  507. .sort(function (a, b) {
  508. return b.value - a.value
  509. })
  510. .slice(0, 5)
  511. ),
  512. symbolSize: function (val) {
  513. return 15
  514. },
  515. showEffectOn: 'render',
  516. rippleEffect: {
  517. brushType: 'stroke',
  518. },
  519. hoverAnimation: true,
  520. label: {
  521. normal: {
  522. formatter: '{b}',
  523. position: 'left',
  524. show: false,
  525. },
  526. },
  527. itemStyle: {
  528. normal: {
  529. color: 'yellow',
  530. shadowBlur: 10,
  531. shadowColor: 'yellow',
  532. },
  533. },
  534. zlevel: 1000,
  535. },
  536. {
  537. name: '线路',
  538. type: 'lines',
  539. zlevel: 2,
  540. effect: {
  541. show: true,
  542. period: 4, //箭头指向速度,值越小速度越快
  543. trailLength: 0.02, //特效尾迹长度[0,1]值越大,尾迹越长重
  544. symbol: 'arrow', //箭头图标
  545. symbolSize: 5, //图标大小
  546. },
  547. lineStyle: {
  548. normal: {
  549. color: '#00FFFF',
  550. width: 1,
  551. type: 'dashed',
  552. opacity: 0.5, //尾迹线条透明度
  553. curveness: -0.3, //尾迹线条曲直度
  554. },
  555. },
  556. data: moveLine.normal,
  557. },
  558. ],
  559. })
  560. },
  561. initChartL1 () {
  562. let myChart = echarts.init(document.getElementById("echartL1"));
  563. let option = {
  564. grid: {
  565. top: 35,
  566. right: 40,
  567. left: 60,
  568. bottom: 40,
  569. },
  570. tooltip: {
  571. show: true,
  572. trigger: "axis",
  573. axisPointer: {
  574. // 坐标轴指示器,坐标轴触发有效
  575. type: "shadow", // 默认为直线,可选为:'line' | 'shadow'
  576. },
  577. },
  578. xAxis: {
  579. data: ["山西焦煤", "晋能控股", "华阳新材", "潞安化工", "华新燃气", "太重集团", "国际能源", "华远陆港", "水控集团", "文旅集团", "交控集团", '航产集团', '山西建投', '汾酒集团', '大地控股', '云时代', '华舰体育', '神农科技'],
  580. axisTick: {
  581. show: false,
  582. },
  583. // x轴的字体颜色
  584. axisLabel: {
  585. rotate: 40,
  586. textStyle: {
  587. color: "white",
  588. },
  589. },
  590. //y轴线的颜色以及宽度
  591. axisLine: {
  592. show: true,
  593. lineStyle: {
  594. color: "#1E5389",
  595. width: 1,
  596. type: "solid",
  597. },
  598. },
  599. },
  600. yAxis: {
  601. name: '亿元',
  602. nameTextStyle: {//y轴上方单位的颜色
  603. color: '#fff',
  604. },
  605. axisTick: {
  606. lineStyle: {
  607. color: "#18416F",
  608. },
  609. },
  610. // y轴的字体颜色
  611. axisLabel: {
  612. textStyle: {
  613. color: "white",
  614. },
  615. },
  616. splitLine: {
  617. show: true,
  618. lineStyle: {
  619. color: "#204561",
  620. width: 1,
  621. type: "dotted",
  622. },
  623. },
  624. //y轴线的颜色以及宽度
  625. axisLine: {
  626. show: true,
  627. lineStyle: {
  628. color: "#1E5389",
  629. width: 1,
  630. type: "solid",
  631. },
  632. },
  633. },
  634. series: [
  635. {
  636. name: "2022年额度",
  637. type: "bar",
  638. data: [283.42, 622.16, 251.91, 163.19, 46.44, 14.87, 0.00, 32.07, 9.06, 13.88, 143.16, 0.29, 33.75, 49.99, 7.38, 10.41, 0.00, 0.00],
  639. showBackground: false,
  640. backgroundStyle: {
  641. color: "#18416F",
  642. },
  643. barWidth: "10%",
  644. itemStyle: {
  645. barBorderRadius: [10, 10, 0, 0],
  646. color: new echarts.graphic.LinearGradient(0, 1, 0, 0, [
  647. {
  648. offset: 0,
  649. color: '#082550',
  650. },
  651. {
  652. offset: 1,
  653. color: '#69c0ff',
  654. },
  655. ]),
  656. },
  657. },
  658. {
  659. name: "2023年额度",
  660. type: "bar",
  661. data: [285.48, 627.03, 254.41, 164.08, 46.76, 14.93, 0.00, 32.45, 9.17, 14.01, 143.52, 0.27, 34.61, 51.45, 7.53, 10.52, 0.00, 0.00],
  662. showBackground: false,
  663. backgroundStyle: {
  664. color: "#18416F",
  665. },
  666. barWidth: "10%",
  667. itemStyle: {
  668. barBorderRadius: [10, 10, 0, 0],
  669. color: new echarts.graphic.LinearGradient(0, 1, 0, 0, [
  670. {
  671. offset: 0,
  672. color: '#082550',
  673. },
  674. {
  675. offset: 1,
  676. color: '#957DFF',
  677. },
  678. ]),
  679. },
  680. },
  681. ],
  682. legend: {
  683. data: ["2022年额度", "2023年额度"],
  684. textStyle: {
  685. // 图列内容样式
  686. color: "#fff", // 字体颜色
  687. // fontSize: "10",
  688. },
  689. right: 'center',
  690. icon: "roundRect",
  691. // 小图标的宽高
  692. itemHeight: 5,
  693. },
  694. };
  695. tools.loopShowTooltip(myChart, option, {
  696. nterval: 2000,
  697. loopSeries: true,
  698. })
  699. let that = this
  700. myChart.on('click', function (param) {
  701. console.log(param)
  702. if (param.name == '晋能控股') {
  703. that.showTip2 = true
  704. setTimeout(() => {
  705. // that.initChartR4()
  706. // that.initChartR5()
  707. that.initChartL2b()
  708. })
  709. }
  710. })
  711. myChart.setOption(option);
  712. },
  713. initChartL2b () {
  714. let myChart = echarts.init(this.$refs['echartL2b'])
  715. var value = 0.37;
  716. var data = [value];
  717. let option = {
  718. backgroundColor: 'transparent',
  719. title: [
  720. {
  721. // text: '总额度285.48亿',
  722. // formatter: `<span>总额度</span>285.48亿`,
  723. x: '37%',
  724. y: '80%',
  725. textStyle: {
  726. fontSize: 24,
  727. fontWeight: 'bold',
  728. color: '#2CB7E0',
  729. lineHeight: 16,
  730. textAlign: 'center',
  731. },
  732. }
  733. ],
  734. series: [
  735. {
  736. type: 'liquidFill',
  737. radius: '70%',
  738. center: ['50%', '40%'],
  739. color: [
  740. {
  741. type: 'linear',
  742. x: 0,
  743. y: 0,
  744. x2: 0,
  745. y2: 1,
  746. colorStops: [
  747. {
  748. offset: 0,
  749. color: '#446bf5',
  750. },
  751. {
  752. offset: 1,
  753. color: '#2ca3e2',
  754. },
  755. ],
  756. globalCoord: false,
  757. },
  758. ],
  759. data: [value, value], // data个数代表波浪数
  760. backgroundStyle: {
  761. borderWidth: 1,
  762. color: 'RGBA(51, 66, 127, 0.7)',
  763. },
  764. label: {
  765. normal: {
  766. textStyle: {
  767. fontSize: 30,
  768. color: '#fff',
  769. },
  770. },
  771. },
  772. outline: {
  773. // show: false
  774. borderDistance: 0,
  775. itemStyle: {
  776. borderWidth: 2,
  777. borderColor: 'transparent',
  778. },
  779. },
  780. },
  781. ],
  782. }
  783. myChart.setOption(option)
  784. },
  785. initChartL2 () {
  786. let myChart = echarts.init(this.$refs['echartL2'])
  787. var value = 0.37;
  788. var data = [value];
  789. let option = {
  790. backgroundColor: 'transparent',
  791. title: [
  792. {
  793. // text: '总额度285.48亿',
  794. // formatter: `<span>总额度</span>285.48亿`,
  795. x: '37%',
  796. y: '80%',
  797. textStyle: {
  798. fontSize: 24,
  799. fontWeight: 'bold',
  800. color: '#2CB7E0',
  801. lineHeight: 16,
  802. textAlign: 'center',
  803. },
  804. }
  805. ],
  806. series: [
  807. {
  808. type: 'liquidFill',
  809. radius: '70%',
  810. center: ['50%', '40%'],
  811. color: [
  812. {
  813. type: 'linear',
  814. x: 0,
  815. y: 0,
  816. x2: 0,
  817. y2: 1,
  818. colorStops: [
  819. {
  820. offset: 0,
  821. color: '#446bf5',
  822. },
  823. {
  824. offset: 1,
  825. color: '#2ca3e2',
  826. },
  827. ],
  828. globalCoord: false,
  829. },
  830. ],
  831. data: [value, value], // data个数代表波浪数
  832. backgroundStyle: {
  833. borderWidth: 1,
  834. color: 'RGBA(51, 66, 127, 0.7)',
  835. },
  836. label: {
  837. normal: {
  838. textStyle: {
  839. fontSize: 30,
  840. color: '#fff',
  841. },
  842. },
  843. },
  844. outline: {
  845. // show: false
  846. borderDistance: 0,
  847. itemStyle: {
  848. borderWidth: 2,
  849. borderColor: 'transparent',
  850. },
  851. },
  852. },
  853. ],
  854. }
  855. myChart.setOption(option)
  856. },
  857. initChartL3 () {
  858. let myChart = echarts.init(this.$refs['echartL3'])
  859. option = {
  860. tooltip: {
  861. trigger: 'axis',
  862. formatter: '指标:' + '{c0}' + '<br/>' + '发展线:' + '{c1}' + '<br/>' + '生存线:' + '{c2}', //+ '<br/>'+ '{a1}:{c1}' + '%',
  863. axisPointer: {
  864. type: 'shadow',
  865. },
  866. },
  867. grid: {
  868. top: '10%',
  869. right: '5%',
  870. left: '10%',
  871. bottom: '15%',
  872. },
  873. xAxis: {
  874. data: ['总投资收益率', '销售利润率', '成本费用利润率', '总资产周转率', '财务内部收益率'],
  875. axisLine: {
  876. show: true, //隐藏X轴轴线
  877. lineStyle: {
  878. color: '#005094',
  879. width: 1,
  880. },
  881. },
  882. axisTick: {
  883. show: true, //隐藏X轴刻度
  884. },
  885. axisLabel: {
  886. show: true,
  887. rotate: 15,
  888. textStyle: {
  889. color: 'rgba(255,255,255,0.6)', //X轴文字颜色
  890. fontSize: 12,
  891. },
  892. },
  893. },
  894. yAxis: [
  895. {
  896. type: 'value',
  897. splitLine: {
  898. show: true,
  899. lineStyle: {
  900. color: '#68b4dd66',
  901. type: 'dashed',
  902. },
  903. },
  904. axisLine: {
  905. show: false
  906. },
  907. axisLabel: {
  908. show: true,
  909. formatter: '{value}',
  910. textStyle: {
  911. color: 'rgba(250,250,250,0.6)',
  912. },
  913. },
  914. nameTextStyle: {
  915. color: '#ebf8ac',
  916. fontSize: 16,
  917. },
  918. },
  919. ],
  920. series: [
  921. {
  922. name: '',
  923. type: 'bar',
  924. barWidth: 15,
  925. itemStyle: {
  926. normal: {
  927. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  928. {
  929. offset: 0,
  930. color: '#69c0ff',
  931. },
  932. {
  933. offset: 1,
  934. color: '#082550',
  935. },
  936. ]),
  937. },
  938. },
  939. data: [70, 52, 33, 41, 52],
  940. // markLine: {
  941. // symbol: ['none', 'none'],
  942. // data: [
  943. // {
  944. // name: '生存线',
  945. // yAxis: 10,
  946. // lineStyle: {
  947. // color: '#FF8F0A',
  948. // },
  949. // label: {
  950. // formatter: '{b}',
  951. // position: 'middle',
  952. // color: '#FF8F0A',
  953. // fontSize: 12,
  954. // },
  955. // },
  956. // {
  957. // name: '发展线',
  958. // yAxis: 15,
  959. // lineStyle: {
  960. // color: '#00EEA2',
  961. // },
  962. // label: {
  963. // formatter: '{b}',
  964. // position: 'middle',
  965. // color: '#00EEA2',
  966. // fontSize: 12,
  967. // },
  968. // },
  969. // ],
  970. // label: {
  971. // distance: [50, 0],
  972. // },
  973. // },
  974. },
  975. {
  976. name: '',
  977. type: 'line',
  978. barWidth: 15,
  979. itemStyle: {
  980. normal: {
  981. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  982. {
  983. offset: 0,
  984. color: '#69c0ff',
  985. },
  986. {
  987. offset: 1,
  988. color: 'green',
  989. },
  990. ]),
  991. },
  992. },
  993. data: [20, 30, 15, 28, 36],
  994. },
  995. {
  996. name: '',
  997. type: 'line',
  998. barWidth: 15,
  999. itemStyle: {
  1000. normal: {
  1001. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  1002. {
  1003. offset: 0,
  1004. color: '#69c0ff',
  1005. },
  1006. {
  1007. offset: 1,
  1008. color: 'yellow',
  1009. },
  1010. ]),
  1011. },
  1012. },
  1013. data: [15, 22, 17, 33, 14],
  1014. },
  1015. ],
  1016. }
  1017. myChart.setOption(option)
  1018. // tools.loopShowTooltip(myChart, option, {
  1019. // nterval: 2000,
  1020. // loopSeries: true,
  1021. // })
  1022. },
  1023. initChartL4 () {
  1024. let data = [
  1025. { value: [173.43, 129], name: '煤炭产业' },
  1026. { value: [23.10, 2], name: '火电产业' },
  1027. { value: [22.87, 8], name: '冶金产业' },
  1028. { value: [9.71, 5], name: '焦化产业' },
  1029. { value: [8.35, 6], name: '其他传统产业' }
  1030. ]
  1031. let count = 0
  1032. data.forEach(item => {
  1033. count += item.value[0]
  1034. })
  1035. let myChart = echarts.init(this.$refs['echartL4'])
  1036. let option = {
  1037. title: {
  1038. text: '产业类型分析',
  1039. x: 'center',
  1040. y: '0%',
  1041. textStyle: {
  1042. color: 'rgba(255,255,255,0.6)',
  1043. fontSize: 12,
  1044. },
  1045. },
  1046. tooltip: {
  1047. trigger: 'item',
  1048. formatter: function (params) {
  1049. return '名称:' + params.name + '</br >' + '项目数量:' + params.value[1] + '个' + '</br >' + '投资金额:' + params.value[0] + '亿' + '</br >' + '占比:' + (params.value[0] / count * 100).toFixed(2) + '%'
  1050. }
  1051. },
  1052. color: ['#6682f5', '#8ba2ff', '#69c0ff', '#43ede3'],
  1053. legend: {
  1054. orient: 'horizontal',
  1055. show: true,
  1056. icon: 'circle',
  1057. top: 'bottom',
  1058. orient: 'vertical',
  1059. right: '-3%',
  1060. textStyle: {
  1061. color: '#9DB9EB',
  1062. fontSize: '10px'
  1063. },
  1064. itemWidth: 10,
  1065. itemHeight: 10
  1066. },
  1067. series: [
  1068. {
  1069. name: '',
  1070. type: 'pie',
  1071. // radius: ['0%', '70%'],
  1072. radius: ['40%', '55%'],
  1073. center: ['45%', '55%'],
  1074. itemStyle: {
  1075. normal: {
  1076. borderColor: 'rgba(1,31,64,0.7)',
  1077. borderWidth: 6,
  1078. label: {
  1079. show: false,
  1080. },
  1081. },
  1082. },
  1083. labelLine: {
  1084. show: false,
  1085. },
  1086. data,
  1087. },
  1088. ],
  1089. }
  1090. myChart.setOption(option)
  1091. tools.loopShowTooltip(myChart, option, {
  1092. nterval: 2000,
  1093. loopSeries: true,
  1094. })
  1095. },
  1096. initChartL5 () {
  1097. let data = [
  1098. { value: [29.26, 102], name: '新一代信息技术产业' },
  1099. { value: [59.11, 38], name: '高端装备制造产业' },
  1100. { value: [3.96, 5], name: '新材料产业' },
  1101. { value: [2.12, 7], name: '生物产业' },
  1102. { value: [100.09, 79], name: '新能源产业' },
  1103. { value: [15.48, 32], name: '节能环保产业' },
  1104. { value: [3.00, 3], name: '相关服务业' },
  1105. ]
  1106. let count = 0
  1107. data.forEach(item => {
  1108. count += item.value[0]
  1109. })
  1110. let myChart = echarts.init(this.$refs['echartL5'])
  1111. let option = {
  1112. title: {
  1113. text: '传统产业',
  1114. x: 'center',
  1115. y: '0%',
  1116. textStyle: {
  1117. color: 'rgba(255,255,255,0.6)',
  1118. fontSize: 12,
  1119. },
  1120. },
  1121. tooltip: {
  1122. trigger: 'item',
  1123. formatter: function (params) {
  1124. return '名称:' + params.name + '</br >' + '项目数量:' + params.value[1] + '个' + '</br >' + '投资金额:' + params.value[0] + '亿' + '</br >' + '占比:' + (params.value[0] / count * 100).toFixed(2) + '%'
  1125. }
  1126. },
  1127. color: ['#6682f5', '#8ba2ff', '#69c0ff', '#43ede3'],
  1128. legend: {
  1129. show: true,
  1130. icon: 'circle',
  1131. top: 'bottom',
  1132. orient: 'vertical',
  1133. right: '-3%',
  1134. textStyle: {
  1135. color: '#9DB9EB',
  1136. fontSize: '10px'
  1137. },
  1138. itemWidth: 10,
  1139. itemHeight: 10
  1140. },
  1141. series: [
  1142. {
  1143. name: '',
  1144. type: 'pie',
  1145. // radius: ['0%', '70%'],
  1146. radius: ['40%', '55%'],
  1147. center: ['45%', '55%'],
  1148. itemStyle: {
  1149. normal: {
  1150. borderColor: 'rgba(1,31,64,0.7)',
  1151. borderWidth: 6,
  1152. label: {
  1153. show: false,
  1154. },
  1155. },
  1156. },
  1157. labelLine: {
  1158. show: false,
  1159. },
  1160. data
  1161. },
  1162. ],
  1163. }
  1164. myChart.setOption(option)
  1165. tools.loopShowTooltip(myChart, option, {
  1166. nterval: 2000,
  1167. loopSeries: true,
  1168. })
  1169. }, initChartL6 () {
  1170. let data = [
  1171. { value: [25.82, 43], name: '化工产业' },
  1172. { value: [17.36, 21], name: '煤层气产业' },
  1173. { value: [0.04, 1], name: '文旅康养' },
  1174. { value: [1.51, 7], name: '体育产业' },
  1175. { value: [9.32, 5], name: '酿造' },
  1176. { value: [71.12, 129], name: '建筑房地产' },
  1177. { value: [9.11, 14], name: '农业' },
  1178. ]
  1179. let count = 0
  1180. data.forEach(item => {
  1181. count += item.value[0]
  1182. })
  1183. let myChart = echarts.init(this.$refs['echartL6'])
  1184. let option = {
  1185. title: {
  1186. text: '战略性新兴产业',
  1187. x: 'center',
  1188. y: '0%',
  1189. textStyle: {
  1190. color: 'rgba(255,255,255,0.6)',
  1191. fontSize: 12,
  1192. },
  1193. },
  1194. tooltip: {
  1195. trigger: 'item',
  1196. formatter: function (params) {
  1197. return '名称:' + params.name + '</br >' + '项目数量:' + params.value[1] + '个' + '</br >' + '投资金额:' + params.value[0] + '亿' + '</br >' + '占比:' + (params.value[0] / count * 100).toFixed(2) + '%'
  1198. }
  1199. // position: ['30%', '87%'],
  1200. },
  1201. color: ['#6682f5', '#8ba2ff', '#69c0ff', '#43ede3'],
  1202. legend: {
  1203. show: true,
  1204. icon: 'circle',
  1205. top: 'bottom',
  1206. orient: 'vertical',
  1207. right: '-3%',
  1208. textStyle: {
  1209. color: '#9DB9EB',
  1210. fontSize: '10px'
  1211. },
  1212. itemWidth: 10,
  1213. itemHeight: 10
  1214. },
  1215. series: [
  1216. {
  1217. name: '',
  1218. type: 'pie',
  1219. // radius: ['0%', '70%'],
  1220. radius: ['40%', '55%'],
  1221. center: ['45%', '55%'],
  1222. itemStyle: {
  1223. normal: {
  1224. borderColor: 'rgba(1,31,64,0.7)',
  1225. borderWidth: 6,
  1226. label: {
  1227. show: false,
  1228. },
  1229. },
  1230. },
  1231. labelLine: {
  1232. show: false,
  1233. },
  1234. data,
  1235. },
  1236. ],
  1237. }
  1238. myChart.setOption(option)
  1239. tools.loopShowTooltip(myChart, option, {
  1240. nterval: 2000,
  1241. loopSeries: true,
  1242. })
  1243. }, initChartL7 () {
  1244. let data = [
  1245. { value: [155.82, 51], name: '交通运输业' },
  1246. { value: [8.47, 19], name: '煤气层管网' },
  1247. { value: [10.64, 24], name: '物流贸易' },
  1248. { value: [41.05, 46], name: '物流贸易' },
  1249. { value: [2.14, 7], name: '其他' },
  1250. ]
  1251. let count = 0
  1252. data.forEach(item => {
  1253. count += item.value[0]
  1254. })
  1255. let myChart = echarts.init(this.$refs['echartL7'])
  1256. let option = {
  1257. title: {
  1258. text: '基础产业',
  1259. x: 'center',
  1260. y: '0%',
  1261. textStyle: {
  1262. color: 'rgba(255,255,255,0.6)',
  1263. fontSize: 12,
  1264. },
  1265. },
  1266. tooltip: {
  1267. trigger: 'item',
  1268. formatter: function (params) {
  1269. return '名称:' + params.name + '</br >' + '项目数量:' + params.value[1] + '个' + '</br >' + '投资金额:' + params.value[0] + '亿' + '</br >' + '占比:' + (params.value[0] / count * 100).toFixed(2) + '%'
  1270. }
  1271. },
  1272. color: ['#6682f5', '#8ba2ff', '#69c0ff', '#43ede3'],
  1273. legend: {
  1274. show: true,
  1275. icon: 'circle',
  1276. top: 'bottom',
  1277. orient: 'vertical',
  1278. right: '-3%',
  1279. textStyle: {
  1280. color: '#9DB9EB',
  1281. fontSize: '10px'
  1282. },
  1283. itemWidth: 10,
  1284. itemHeight: 10
  1285. },
  1286. series: [
  1287. {
  1288. name: '',
  1289. type: 'pie',
  1290. // radius: ['0%', '70%'],
  1291. radius: ['40%', '55%'],
  1292. center: ['45%', '55%'],
  1293. itemStyle: {
  1294. normal: {
  1295. borderColor: 'rgba(1,31,64,0.7)',
  1296. borderWidth: 6,
  1297. label: {
  1298. show: false,
  1299. },
  1300. },
  1301. },
  1302. labelLine: {
  1303. show: false,
  1304. },
  1305. data
  1306. },
  1307. ],
  1308. }
  1309. myChart.setOption(option)
  1310. tools.loopShowTooltip(myChart, option, {
  1311. nterval: 2000,
  1312. loopSeries: true,
  1313. })
  1314. },
  1315. initChartR4 () {
  1316. let myChart = echarts.init(this.$refs['echartR4'])
  1317. let option = {
  1318. title: {
  1319. text: '2022年的可投资总额',
  1320. x: 'center',
  1321. y: '87%',
  1322. textStyle: {
  1323. color: 'rgba(255,255,255,0.6)',
  1324. fontSize: 12,
  1325. },
  1326. },
  1327. tooltip: {
  1328. trigger: 'item',
  1329. },
  1330. color: ['#69C1FF', '#4B97CC',],
  1331. legend: {
  1332. icon: 'circle',
  1333. top: 'bottom',
  1334. orient: 'vertical',
  1335. right: '1%',
  1336. textStyle: {
  1337. color: '#9DB9EB',
  1338. },
  1339. },
  1340. series: [
  1341. {
  1342. name: '',
  1343. type: 'pie',
  1344. label: {
  1345. normal: {
  1346. show: true,
  1347. position: 'center',
  1348. color: '#4c4a4a',
  1349. formatter: '{total|' + '462.83' + '}' + '\n\r' + '{active|亿元}',
  1350. rich: {
  1351. total: {
  1352. fontSize: 20,
  1353. fontFamily: "微软雅黑",
  1354. color: '#fff'
  1355. },
  1356. active: {
  1357. fontFamily: "微软雅黑",
  1358. fontSize: 15,
  1359. color: '#fff'
  1360. },
  1361. }
  1362. },
  1363. emphasis: {//中间文字显示
  1364. show: true,
  1365. }
  1366. },
  1367. radius: ['40%', '60%'],
  1368. center: ['50%', '45%'],
  1369. itemStyle: {
  1370. normal: {
  1371. label: {
  1372. show: false,
  1373. },
  1374. },
  1375. },
  1376. labelLine: {
  1377. show: false,
  1378. },
  1379. data: [
  1380. { value: 1048, name: '已使用额度' },
  1381. { value: 735, name: '可使用额度' }
  1382. ],
  1383. },
  1384. ],
  1385. }
  1386. myChart.setOption(option)
  1387. tools.loopShowTooltip(myChart, option, {
  1388. nterval: 2000,
  1389. loopSeries: true,
  1390. })
  1391. },
  1392. initChartR5 () {
  1393. let myChart = echarts.init(this.$refs['echartR5'])
  1394. let option = {
  1395. title: {
  1396. text: '2023年的可投资总额',
  1397. x: 'center',
  1398. y: '87%',
  1399. textStyle: {
  1400. color: 'rgba(255,255,255,0.6)',
  1401. fontSize: 12,
  1402. },
  1403. },
  1404. tooltip: {
  1405. trigger: 'item',
  1406. },
  1407. color: ['#69C1FF', '#4B97CC',],
  1408. legend: {
  1409. icon: 'circle',
  1410. top: 'bottom',
  1411. orient: 'vertical',
  1412. right: '1%',
  1413. textStyle: {
  1414. color: '#9DB9EB',
  1415. },
  1416. },
  1417. series: [
  1418. {
  1419. name: '',
  1420. type: 'pie',
  1421. label: {
  1422. normal: {
  1423. show: true,
  1424. position: 'center',
  1425. top: '50',
  1426. color: '#4c4a4a',
  1427. formatter: '{total|' + '462.83' + '}' + '\n\r' + '{active|亿元}',
  1428. rich: {
  1429. total: {
  1430. fontSize: 20,
  1431. fontFamily: "微软雅黑",
  1432. color: '#fff'
  1433. },
  1434. active: {
  1435. fontFamily: "微软雅黑",
  1436. fontSize: 15,
  1437. color: '#fff'
  1438. },
  1439. }
  1440. },
  1441. emphasis: {//中间文字显示
  1442. show: true,
  1443. }
  1444. },
  1445. radius: ['40%', '60%'],
  1446. center: ['50%', '45%'],
  1447. itemStyle: {
  1448. normal: {
  1449. label: {
  1450. show: false,
  1451. },
  1452. },
  1453. },
  1454. labelLine: {
  1455. show: false,
  1456. },
  1457. data: [
  1458. { value: 1048, name: '已使用额度' },
  1459. { value: 735, name: '可使用额度' }
  1460. ],
  1461. },
  1462. ],
  1463. }
  1464. myChart.setOption(option)
  1465. tools.loopShowTooltip(myChart, option, {
  1466. nterval: 2000,
  1467. loopSeries: true,
  1468. })
  1469. },
  1470. initChartR1 () {
  1471. let data = [
  1472. { value: [665.81, 549], name: '主业' },
  1473. { value: [65.17, 84], name: '辅业' },
  1474. { value: [423.36, 164], name: '技改' }
  1475. ]
  1476. let count = 0
  1477. data.forEach(item => {
  1478. count += item.value[0]
  1479. })
  1480. let myChart = echarts.init(this.$refs['echartR1'])
  1481. let option = {
  1482. title: {
  1483. text: '主辅业计划占比',
  1484. x: 'center',
  1485. y: '87%',
  1486. textStyle: {
  1487. color: 'rgba(255,255,255,0.6)',
  1488. fontSize: 12,
  1489. },
  1490. },
  1491. tooltip: {
  1492. trigger: 'item',
  1493. // formatter: '{b}' + ':' + '{c}' + '<br/>' + '占比:' + '{d}%',
  1494. // position: ['-5%', '95%'],
  1495. formatter: function (params) {
  1496. return params.name + ',' + (params.value[0] / count * 100).toFixed(2) + '%' + '</br >' + params.value[1] + '个' + ',' + params.value[0] + '亿'
  1497. }
  1498. },
  1499. color: ['#6682f5', '#8ba2ff', '#69c0ff', '#43ede3'],
  1500. legend: {
  1501. show: true,
  1502. icon: 'circle',
  1503. top: 'bottom',
  1504. orient: 'vertical',
  1505. right: '-3%',
  1506. textStyle: {
  1507. color: '#9DB9EB',
  1508. fontSize: '10px'
  1509. },
  1510. itemWidth: 10,
  1511. itemHeight: 10
  1512. },
  1513. series: [
  1514. {
  1515. name: '',
  1516. type: 'pie',
  1517. radius: ['40%', '60%'],
  1518. center: ['50%', '45%'],
  1519. itemStyle: {
  1520. normal: {
  1521. borderColor: 'rgba(1,31,64,0.7)',
  1522. borderWidth: 6,
  1523. label: {
  1524. show: false,
  1525. },
  1526. },
  1527. },
  1528. labelLine: {
  1529. show: false,
  1530. },
  1531. data,
  1532. },
  1533. ],
  1534. }
  1535. myChart.setOption(option)
  1536. tools.loopShowTooltip(myChart, option, {
  1537. nterval: 2000,
  1538. loopSeries: true,
  1539. })
  1540. },
  1541. initChartR2 () {
  1542. let data = [
  1543. { value: [340.77, 168], name: '特别监管类' },
  1544. { value: [390.22, 465], name: '备案类' }
  1545. ]
  1546. let count = 0
  1547. data.forEach(item => {
  1548. count += item.value[0]
  1549. })
  1550. let myChart = echarts.init(this.$refs['echartR2'])
  1551. let option = {
  1552. title: {
  1553. text: '项目管理类型',
  1554. x: 'center',
  1555. y: '87%',
  1556. textStyle: {
  1557. color: 'rgba(255,255,255,0.6)',
  1558. fontSize: 12,
  1559. },
  1560. },
  1561. tooltip: {
  1562. trigger: 'item',
  1563. formatter: function (params) {
  1564. return params.name + ',' + (params.value[0] / count * 100).toFixed(2) + '%' + '</br >' + params.value[1] + '个' + ',' + params.value[0] + '亿'
  1565. }
  1566. // position: ['-5%', '95%'],
  1567. },
  1568. color: ['#6682f5', '#8ba2ff', '#69c0ff', '#43ede3'],
  1569. legend: {
  1570. show: true,
  1571. icon: 'circle',
  1572. top: 'bottom',
  1573. orient: 'vertical',
  1574. right: '-3%',
  1575. textStyle: {
  1576. color: '#9DB9EB',
  1577. fontSize: '10px'
  1578. },
  1579. itemWidth: 10,
  1580. itemHeight: 10
  1581. },
  1582. series: [
  1583. {
  1584. name: '',
  1585. type: 'pie',
  1586. radius: ['40%', '60%'],
  1587. center: ['50%', '45%'],
  1588. itemStyle: {
  1589. normal: {
  1590. borderColor: 'rgba(1,31,64,0.7)',
  1591. borderWidth: 6,
  1592. label: {
  1593. show: false,
  1594. },
  1595. },
  1596. },
  1597. labelLine: {
  1598. show: false,
  1599. },
  1600. data,
  1601. },
  1602. ],
  1603. }
  1604. myChart.setOption(option)
  1605. tools.loopShowTooltip(myChart, option, {
  1606. nterval: 2000,
  1607. loopSeries: true,
  1608. })
  1609. },
  1610. initChartR3 () {
  1611. let myChart = echarts.init(this.$refs['echartR3'])
  1612. let option = {
  1613. title: {
  1614. text: '股权类',
  1615. textStyle: {
  1616. color: '#69C0FF',
  1617. fontSize: 16,
  1618. fontWeight: 500
  1619. },
  1620. top: '10',
  1621. left: '10'
  1622. },
  1623. textStyle: {
  1624. color: '#fff',
  1625. },
  1626. tooltip: {
  1627. trigger: "axis",
  1628. formatter: function (params) {
  1629. var tip = params[0].axisValue + '<br/>' + params[0].marker + params[0].data[1] + ':' + params[0].data[2] + '个,' + params[0].data[3] + '亿元' + '<br/>' + params[1].marker + params[1].data[1] + ':' + params[1].data[2] + '个,' + params[0].data[3] + '亿元';
  1630. return tip
  1631. },
  1632. axisPointer: {
  1633. lineStyle: {
  1634. type: 'dashed',
  1635. width: 2,
  1636. color: 'rgba(255,255,255,0.6)'
  1637. },
  1638. animation: true
  1639. }
  1640. },
  1641. grid: {
  1642. top: '22%',
  1643. right: '5%',
  1644. left: '10%',
  1645. bottom: '15%',
  1646. },
  1647. yAxis: {
  1648. data: ['备案', '特别监管'],
  1649. splitLine: {
  1650. show: true,
  1651. lineStyle: {
  1652. color: '#68b4dd66',
  1653. type: 'dashed',
  1654. },
  1655. },
  1656. axisLine: {
  1657. show: false
  1658. },
  1659. axisLabel: {
  1660. show: true,
  1661. formatter: '{value}',
  1662. textStyle: {
  1663. color: 'rgba(250,250,250,0.6)',
  1664. },
  1665. },
  1666. nameTextStyle: {
  1667. color: '#ebf8ac',
  1668. fontSize: 16,
  1669. },
  1670. },
  1671. xAxis: {
  1672. data: ['项目储备', '项目立项', '可研论证', '投资决策'],
  1673. axisLine: {
  1674. show: true, //隐藏X轴轴线
  1675. lineStyle: {
  1676. color: '#005094',
  1677. width: 1,
  1678. },
  1679. },
  1680. axisTick: {
  1681. show: false, //隐藏X轴刻度
  1682. },
  1683. axisLabel: {
  1684. show: true,
  1685. textStyle: {
  1686. color: 'rgba(255,255,255,0.6)', //X轴文字颜色
  1687. fontSize: 12,
  1688. },
  1689. },
  1690. },
  1691. series: [
  1692. {
  1693. name: '',
  1694. type: 'scatter',
  1695. symbol: 'circle',
  1696. symbolSize: function (data) {
  1697. return Math.sqrt(data[2]) * 3;
  1698. },
  1699. label: {
  1700. emphasis: {
  1701. show: true,
  1702. formatter: function (param) {
  1703. return param.data[2];
  1704. },
  1705. position: 'top'
  1706. }
  1707. },
  1708. itemStyle: {
  1709. normal: {
  1710. color: '#40A9FF'
  1711. }
  1712. },
  1713. data: [
  1714. ['项目储备', '特别监管', 9, 6.49],
  1715. ['项目立项', '特别监管', 0, 0.00],
  1716. ['可研论证', '特别监管', 2, 0.10],
  1717. ['投资决策', '特别监管', 27, 15.52],
  1718. ]
  1719. },
  1720. {
  1721. name: '',
  1722. type: 'scatter',
  1723. symbol: 'circle',
  1724. symbolSize: function (data) {
  1725. return Math.sqrt(data[2]) * 3;
  1726. },
  1727. label: {
  1728. emphasis: {
  1729. show: true,
  1730. formatter: function (param) {
  1731. return param.data[2];
  1732. },
  1733. position: 'top'
  1734. }
  1735. },
  1736. itemStyle: {
  1737. normal: {
  1738. color: '#45DAD1'
  1739. }
  1740. },
  1741. data: [
  1742. ['项目储备', '备案', 39, 8.08],
  1743. ['项目立项', '备案', 7, 1.83],
  1744. ['可研论证', '备案', 19, 1.01],
  1745. ['投资决策', '备案', 73, 17.65],
  1746. ]
  1747. },
  1748. ]
  1749. }
  1750. myChart.setOption(option)
  1751. tools.loopShowTooltip(myChart, option, {
  1752. nterval: 2000,
  1753. loopSeries: true,
  1754. })
  1755. },
  1756. initChartR6 () {
  1757. let myChart = echarts.init(this.$refs['echartR6'])
  1758. let option = {
  1759. title: {
  1760. text: '固定资产',
  1761. textStyle: {
  1762. color: '#69C0FF',
  1763. fontSize: 16,
  1764. fontWeight: 500
  1765. },
  1766. top: '10',
  1767. left: '10'
  1768. },
  1769. textStyle: {
  1770. color: '#fff',
  1771. },
  1772. tooltip: {
  1773. trigger: "axis",
  1774. formatter: function (params) {
  1775. var tip = params[0].axisValue + '<br/>' + params[0].marker + params[0].data[1] + ':' + params[0].data[2] + '个,' + params[0].data[3] + '亿元' + '<br/>' + params[1].marker + params[1].data[1] + ':' + params[1].data[2] + '个,' + params[0].data[3] + '亿元';
  1776. return tip
  1777. },
  1778. axisPointer: {
  1779. lineStyle: {
  1780. type: 'dashed',
  1781. width: 2,
  1782. color: 'rgba(255,255,255,0.6)'
  1783. },
  1784. animation: true
  1785. }
  1786. },
  1787. grid: {
  1788. top: '25%',
  1789. right: '5%',
  1790. left: '15%',
  1791. bottom: '15%',
  1792. },
  1793. yAxis: {
  1794. data: ['备案', '特别监管'],
  1795. splitLine: {
  1796. show: true,
  1797. lineStyle: {
  1798. color: '#68b4dd66',
  1799. type: 'dashed',
  1800. },
  1801. },
  1802. axisLine: {
  1803. show: false
  1804. },
  1805. axisLabel: {
  1806. show: true,
  1807. formatter: '{value}',
  1808. textStyle: {
  1809. color: 'rgba(250,250,250,0.6)',
  1810. },
  1811. },
  1812. nameTextStyle: {
  1813. color: '#ebf8ac',
  1814. fontSize: 16,
  1815. },
  1816. },
  1817. xAxis: {
  1818. data: ['项目储备', '项目立项', '可研论证', '投资决策'],
  1819. axisLine: {
  1820. show: true, //隐藏X轴轴线
  1821. lineStyle: {
  1822. color: '#005094',
  1823. width: 1,
  1824. },
  1825. },
  1826. axisTick: {
  1827. show: false, //隐藏X轴刻度
  1828. },
  1829. axisLabel: {
  1830. show: true,
  1831. textStyle: {
  1832. color: 'rgba(255,255,255,0.6)', //X轴文字颜色
  1833. fontSize: 12,
  1834. },
  1835. },
  1836. },
  1837. series: [
  1838. {
  1839. name: '特别监管',
  1840. type: 'scatter',
  1841. symbol: 'circle',//'circle', 'rect', 'roundRect', 'triangle', 'diamond', 'pin', 'arrow'
  1842. symbolSize: function (data) {
  1843. return Math.sqrt(data[2]) * 3;
  1844. },
  1845. label: {
  1846. emphasis: {
  1847. show: true,
  1848. formatter: function (param) {
  1849. return param.data[2];
  1850. },
  1851. position: 'top'
  1852. }
  1853. },
  1854. itemStyle: {
  1855. normal: {
  1856. color: '#40A9FF'
  1857. }
  1858. },
  1859. data: [
  1860. ['项目储备', '特别监管', 14, 12.05],
  1861. ['项目立项', '特别监管', 2, 1.25],
  1862. ['可研论证', '特别监管', 10, 32.69],
  1863. ['投资决策', '特别监管', 15, 28.53],
  1864. ]
  1865. },
  1866. {
  1867. name: '备案',
  1868. type: 'scatter',
  1869. symbol: 'circle',//'circle', 'rect', 'roundRect', 'triangle', 'diamond', 'pin', 'arrow'
  1870. symbolSize: function (data) {
  1871. return Math.sqrt(data[2]) * 3;
  1872. },
  1873. label: {
  1874. emphasis: {
  1875. show: true,
  1876. formatter: function (param) {
  1877. return param.data[2];
  1878. },
  1879. position: 'top'
  1880. }
  1881. },
  1882. itemStyle: {
  1883. normal: {
  1884. color: '#45DAD1'
  1885. }
  1886. },
  1887. data: [
  1888. ['项目储备', '备案', 27, 23.86],
  1889. ['项目立项', '备案', 1, 1.05],
  1890. ['可研论证', '备案', 14, 18.46],
  1891. ['投资决策', '备案', 40, 38.86],
  1892. ]
  1893. },
  1894. ]
  1895. }
  1896. myChart.setOption(option)
  1897. tools.loopShowTooltip(myChart, option, {
  1898. nterval: 2000,
  1899. loopSeries: true,
  1900. })
  1901. }
  1902. },
  1903. })