index.js 80 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375
  1. let barImg =
  2. 'data:image/png;base64,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'
  3. let app = new Vue({
  4. el: '#app',
  5. data () {
  6. return {
  7. // paymentShow:false, // 定薪酬弹窗
  8. imgPop:'',
  9. twinkle7: [],
  10. twinkle8: [],
  11. twinkleR6: [],
  12. showTip: false,
  13. showTip2: false,
  14. showTip3: false,
  15. showTip4: false,
  16. titleShow: false,
  17. tipNum: '',
  18. tipData: tipData,
  19. titleData: titleData,
  20. time: '',
  21. year: '2022',
  22. config1: {
  23. number: [100],
  24. content: '{nt}个',
  25. },
  26. centerData: '',
  27. storageRecordConfig: {
  28. header: ['', '所属集团', '工作情况'],
  29. headerBGC: '#05507b33',
  30. oddRowBGC: '#69c0ff0f',
  31. // waitTime: '50000',
  32. evenRowBGC: '',
  33. headerHeight: '40',
  34. columnWidth: [150, 150],
  35. rowNum: 4,
  36. align: ['right', 'center', 'center', 'center'],
  37. data: [
  38. // ['<span class="lightOut"><span class="light red"></span></span>', '2022年1月', '山西焦煤', '已经开展高层次人才引进工作'],
  39. // ['<span class="lightOut"><span class="light yellow"></span></span>', '2022年2月', '山西文旅', '不能按期完成序时进度'],
  40. // ['<span class="lightOut"><span class="light green"></span></span>', '2022年3月', '大地控股', '已经实现中长期激励机制贯彻'],
  41. // ['<span class="lightOut"><span class="light red"></span></span>', '2022年4月', '国际能源', '薪酬结果没有做到公开'],
  42. // ['<span class="lightOut"><span class="light yellow"></span></span>', '2022年5月', '山西焦煤', '已经开展高层次人才引进工作'],
  43. // ['<span class="lightOut"><span class="light green"></span></span>', '2022年6月', '山西焦煤', '不能按期完成序时进度'],
  44. ['<span class="lightOut"><span class=" light green "></span></span>', ' 山西焦煤 ', ' “退二进一”完成情况表现优秀 '],
  45. ['<span class="lightOut"><span class=" light green "></span></span>', ' 山西焦煤 ', ' 总部机构压减成效明显 '],
  46. ['<span class="lightOut"><span class=" light green "></span></span>', ' 晋能控股 ', ' 总部人员压减成效突出 '],
  47. ['<span class="lightOut"><span class=" light green "></span></span>', ' 晋能控股 ', ' 中层管理人数改革成效显著 '],
  48. ['<span class="lightOut"><span class=" light green "></span></span>', ' 晋能控股 ', ' 管理级次压缩成效明显 '],
  49. ['<span class="lightOut"><span class=" light red "></span></span>', ' 华阳新材 ', ' 六定未按要求下穿到全级次企业 '],
  50. ['<span class="lightOut"><span class=" light green "></span></span>', ' 潞安化工 ', ' 全员劳动生产率提高明显 '],
  51. ['<span class="lightOut"><span class=" light green "></span></span>', ' 建投集团 ', ' 深入开展中层管理人员竞聘上岗 '],
  52. ['<span class="lightOut"><span class=" light green "></span></span>', ' 华舰体育 ', ' 集团人数增长速度较快 '],
  53. ['<span class="lightOut"><span class=" light green "></span></span>', ' 华舰体育 ', ' 人员增速显著高于全员劳动生产率增速 '],
  54. ['<span class="lightOut"><span class=" light green "></span></span>', ' 国际能源 ', ' 全员劳动生产率增速显著高于人员增速 '],
  55. ['<span class="lightOut"><span class=" light green "></span></span>', ' 山西焦煤 ', ' 人工成本利润率增长且总人数下降 '],
  56. ['<span class="lightOut"><span class=" light green "></span></span>', ' 晋能控股 ', ' 人工成本利润率增长且总人数下降 '],
  57. ['<span class="lightOut"><span class=" light green "></span></span>', ' 华阳新材 ', ' 人工成本利润率增长且总人数下降 '],
  58. ['<span class="lightOut"><span class=" light green "></span></span>', ' 太重集团 ', ' 人工成本利润率增长且总人数下降 '],
  59. ['<span class="lightOut"><span class=" light green "></span></span>', ' 国际能源 ', ' 人工成本利润率增长且总人数下降 '],
  60. ['<span class="lightOut"><span class=" light green "></span></span>', ' 华远陆港 ', ' 人工成本利润率增长且总人数下降 '],
  61. ['<span class="lightOut"><span class=" light green "></span></span>', ' 交控集团 ', ' 人工成本利润率增长且总人数下降 '],
  62. ['<span class="lightOut"><span class=" light green "></span></span>', ' 云时代 ', ' 人工成本利润率增长且总人数下降 '],
  63. ['<span class="lightOut"><span class=" light yellow "></span></span>', ' 文旅集团 ', ' 人工成本利润率显著降低 '],
  64. ['<span class="lightOut"><span class=" light yellow "></span></span>', ' 航产集团 ', ' 人工成本利润率显著降低 '],
  65. ['<span class="lightOut"><span class=" light red "></span></span>', ' 大地控股 ', ' 中层管理人员任命不符合六定要求 '],
  66. ['<span class="lightOut"><span class=" light green "></span></span>', ' 交控集团 ', ' “退二进一”完成情况表现优秀 '],
  67. ['<span class="lightOut"><span class=" light green "></span></span>', ' 太重集团 ', ' 开展管理人员末等调整和不胜任退出 '],
  68. ['<span class="lightOut"><span class=" light yellow "></span></span>', ' 华舰体育 ', ' 六定相关文件未按要求备案 '],
  69. ['<span class="lightOut"><span class=" light yellow "></span></span>', ' 文旅集团 ', ' 六定相关文件未按要求备案 '],
  70. ['<span class="lightOut"><span class=" light yellow "></span></span>', ' 水控集团 ', ' 六定相关文件未按要求备案 '],
  71. ],
  72. // data: [
  73. // ['<span style-"display:inline-block; width:15px;height:15px;border-radius:50%;background-color:green;"></span>', '2022年1月', '山西焦煤', '已经开展高层次人才引进工作'],
  74. // ['2022年2月', '山西文旅', '不能按期完成序时进度'],
  75. // ['2022年3月', '大地控股', '已经实现中长期激励机制贯彻'],
  76. // ['2022年4月', '国际能源', '薪酬结果没有做到公开'],
  77. // ['2022年5月', '山西焦煤', '已经开展高层次人才引进工作'],
  78. // ['2022年6月', '山西焦煤', '不能按期完成序时进度'],
  79. // ],
  80. },
  81. storageRecordConfig2: {
  82. header: ['', '企业名称', '预警内容', '累计未获取数据日期'],
  83. headerBGC: '#05507b33',
  84. oddRowBGC: '#05507b33',
  85. evenRowBGC: '',
  86. headerHeight: '40',
  87. columnWidth: [150],
  88. rowNum: 4,
  89. align: ['center', 'center', 'center', 'center', 'center'],
  90. data: [
  91. ['<span class="lightOut"><span class=" light green "></span></span>', ' 华新燃气 ', ' 本季度数据更新及时准确 ', ' - '],
  92. ['<span class="lightOut"><span class=" light green "></span></span>', ' 云时代 ', ' 本季度数据更新及时准确 ', ' '],
  93. ['<span class="lightOut"><span class=" light red "></span></span>', ' 大地控股 ', ' 六定长效机制情况未更新 ', ' 30 '],
  94. ['<span class="lightOut"><span class=" light yellow "></span></span>', ' 建设投资 ', ' 六定长效机制数据未获取 ', ' 15 '],
  95. ['<span class="lightOut"><span class=" light yellow "></span></span>', ' 交控集团 ', ' 经营业绩考核数据未获取 ', ' 15 '],
  96. ['<span class="lightOut"><span class=" light yellow "></span></span>', ' 太重集团 ', ' 经营业绩考核数据未获取 ', ' 15 '],
  97. ['<span class="lightOut"><span class=" light yellow "></span></span>', ' 文旅集团 ', ' 经营业绩考核数据未获取 ', ' 15 '],
  98. ['<span class="lightOut"><span class=" light yellow "></span></span>', ' 水务集团 ', ' 经营业绩考核数据未获取 ', ' 15 '],
  99. ['<span class="lightOut"><span class=" light yellow "></span></span>', ' 航产集团 ', ' 经营业绩考核数据未获取 ', ' 15 '],
  100. ['<span class="lightOut"><span class=" light yellow "></span></span>', ' 华舰体育 ', ' 经营业绩考核数据未获取 ', ' 15 '],
  101. ['<span class="lightOut"><span class=" light yellow "></span></span>', ' 文旅集团 ', ' 六定长效机制情况数据更新错误 ', ' - '],
  102. ]
  103. // [
  104. // ['<span class="lightOut"><span class=" light green "></span></span>', ' 华新燃气 ', ' 本季度数据更新及时准确 ', ' 四季度 ', ' - '],
  105. // ['<span class="lightOut"><span class=" light green "></span></span>', ' 云时代 ', ' 本季度数据更新及时准确 ', ' 四季度 ', ' '],
  106. // ['<span class="lightOut"><span class=" light red "></span></span>', ' 大地控股 ', ' 六定长效机制情况未更新 ', ' 2022.12.01-12.31 ', ' 30 '],
  107. // ['<span class="lightOut"><span class=" light yellow "></span></span>', ' 建设投资 ', ' 六定长效机制12月数据未获取 ', ' 2022.12.01-12.31 ', ' 15 '],
  108. // ['<span class="lightOut"><span class=" light yellow "></span></span>', ' 交控集团 ', ' 经营业绩考核12月数据未获取 ', ' 2022.12.01-12.31 ', ' 15 '],
  109. // ['<span class="lightOut"><span class=" light yellow "></span></span>', ' 太重集团 ', ' 经营业绩考核12月数据未获取 ', ' 2022.12.01-12.31 ', ' 15 '],
  110. // ['<span class="lightOut"><span class=" light yellow "></span></span>', ' 文旅集团 ', ' 经营业绩考核12月数据未获取 ', ' 2022.12.01-12.31 ', ' 15 '],
  111. // ['<span class="lightOut"><span class=" light yellow "></span></span>', ' 水务集团 ', ' 经营业绩考核12月数据未获取 ', ' 2022.12.01-12.31 ', ' 15 '],
  112. // ['<span class="lightOut"><span class=" light yellow "></span></span>', ' 航产集团 ', ' 经营业绩考核12月数据未获取 ', ' 2022.12.01-12.31 ', ' 15 '],
  113. // ['<span class="lightOut"><span class=" light yellow "></span></span>', ' 华舰体育 ', ' 经营业绩考核12月数据未获取 ', ' 2022.12.01-12.31 ', ' 15 '],
  114. // ['<span class="lightOut"><span class=" light yellow "></span></span>', ' 文旅集团 ', ' 六定长效机制情况数据更新错误 ', ' 2022.12.01-12.31 ', ' - '],
  115. // ]
  116. ,
  117. },
  118. companyList: companyList,
  119. commonOption: {
  120. title: {
  121. text: 'xxx',
  122. x: 'center',
  123. y: '3%',
  124. textStyle: {
  125. color: '#69C0FF',
  126. fontSize: 24,
  127. },
  128. },
  129. tooltip: {
  130. trigger: 'axis',
  131. textStyle: { fontSize: 18 },
  132. axisPointer: {
  133. type: 'cross',
  134. label: {
  135. fontSize: 18,
  136. },
  137. },
  138. },
  139. grid: {
  140. top: '22%',
  141. right: '5%',
  142. left: '8%',
  143. bottom: '20%',
  144. },
  145. legend: {
  146. data: '',
  147. top: '12%',
  148. right: '5%',
  149. textStyle: {
  150. color: 'rgba(250,250,250,0.6)',
  151. fontSize: 16,
  152. },
  153. },
  154. xAxis: {
  155. data: companyList.map(item => item.name),
  156. axisLine: {
  157. show: false, //隐藏X轴轴线
  158. lineStyle: {
  159. color: '#005094',
  160. width: 1,
  161. },
  162. },
  163. axisTick: {
  164. show: false, //隐藏X轴刻度
  165. },
  166. axisLabel: {
  167. show: true,
  168. rotate: 50,
  169. textStyle: {
  170. color: 'rgba(255,255,255,0.6)', //X轴文字颜色
  171. fontSize: 16,
  172. },
  173. },
  174. },
  175. yAxis: [
  176. {
  177. type: 'value',
  178. nameTextStyle: {
  179. color: '#ebf8ac',
  180. fontSize: 16,
  181. },
  182. splitLine: {
  183. show: true,
  184. lineStyle: {
  185. color: '#68b4dd66',
  186. type: 'dashed',
  187. },
  188. },
  189. axisLine: {
  190. show: false,
  191. },
  192. axisLabel: {
  193. show: true,
  194. textStyle: {
  195. color: 'rgba(250,250,250,0.6)',
  196. fontSize: 16,
  197. },
  198. },
  199. },
  200. ],
  201. },
  202. }
  203. },
  204. beforeMount () {
  205. dataL7[0].forEach((item, index) => {
  206. if (dataL7[1][index] < 0 && dataL7[0][index] > 0) {
  207. let obj = { value: [companyList[index].name, dataL7[0][index]], symbolSize: 15 }
  208. this.twinkle7.push(obj)
  209. }
  210. })
  211. // if (dataL8[1][params.dataIndex] < 0 && params.value > 0) {
  212. dataL8[0].forEach((item, index) => {
  213. if (dataL8[1][index] < 0 && dataL8[0][index] > 0) {
  214. let obj = { value: [companyList[index].name, dataL8[0][index]], symbolSize: 15 }
  215. this.twinkle8.push(obj)
  216. }
  217. })
  218. // params.value > 0 && fjxdataL2[0][params.dataIndex] < 0
  219. fjxdataL2[0].forEach((item, index) => {
  220. if (fjxdataL2[1][index] > 0 && fjxdataL2[0][index] < 0) {
  221. let obj = { value: [companyList[index].name, fjxdataL2[1][index]], symbolSize: 15 }
  222. this.twinkleR6.push(obj)
  223. }
  224. })
  225. console.log(this.twinkleR6)
  226. },
  227. mounted () {
  228. this.time = formatDate()
  229. this.timer = setInterval(() => {
  230. this.time = formatDate()
  231. }, 1000)
  232. this.centerData = data
  233. // 左侧图表
  234. this.initChartL1()
  235. this.initChartL2()
  236. this.initChartL3()
  237. this.initChartL4()
  238. this.initChartL5()
  239. this.initChartL6()
  240. this.initChartL7()
  241. this.initChartL8()
  242. // 中间图表
  243. this.initChartC1()
  244. this.initChartC2()
  245. // 右侧图表
  246. this.initChartR1()
  247. this.initChartR2()
  248. this.initChartR3()
  249. this.initChartR4()
  250. this.initChartR5()
  251. this.initChartR6()
  252. this.initChartR7()
  253. this.initChartR8()
  254. },
  255. beforeDestroy () {
  256. if (this.timer) {
  257. clearInterval(this.timer)
  258. }
  259. },
  260. methods: {
  261. handleTitleShow (e) {
  262. this.imgPop = e
  263. this.titleShow = true
  264. this.showTip = false
  265. this.showTip2 = false
  266. },
  267. showTipClose () {
  268. this.showTip = false
  269. this.showTip2 = false
  270. this.titleShow = false
  271. },
  272. handleShowTip (index, type) {
  273. if (type == 'analysis') {
  274. this.tipData = tipData.analysis
  275. } else if(type == 'focus'){
  276. this.tipData = tipData.focus
  277. } else if(type == 'topThree'){
  278. this.tipData = tipData.topThree
  279. } else if(type == 'totlePeople'){
  280. this.tipData = tipData.totlePeople
  281. }else if(type == 'beforeReform'){
  282. this.tipData = tipData.beforeReform
  283. }else if(type == 'reformRegistered'){
  284. this.tipData = tipData.reformRegistered
  285. }else if(type == 'reforAveRemuneration'){
  286. this.tipData = tipData.reforAveRemuneration
  287. }
  288. this.showTip2 = false
  289. this.showTip = true
  290. this.titleShow = false
  291. this.tipNum = index
  292. },
  293. handleShowTip2 (index) {
  294. this.showTip = false
  295. this.showTip2 = true
  296. this.titleShow = false
  297. this.tipNum = index
  298. },
  299. handleGoPage (url) {
  300. console.log(url,'什么情况呢')
  301. if (url.length) {
  302. window.location.href = url
  303. }
  304. },
  305. numFormat (value) {
  306. if (!value) return '0'
  307. var intPart = Number(value).toFixed(0) // 获取整数部分
  308. var intPartFormat = intPart.toString().replace(/(\d)(?=(?:\d{3})+$)/g, '$1,') // 将整数部分逢三一断
  309. var floatPart = '.00' // 预定义小数部分
  310. var value2Array = value.toString().split('.')
  311. // =2表示数据有小数位
  312. if (value2Array.length === 2) {
  313. floatPart = value2Array[1].toString() // 拿到小数部分
  314. if (floatPart.length === 1) {
  315. // 补0
  316. return intPartFormat + '.' + floatPart + '0'
  317. } else {
  318. return intPartFormat + '.' + floatPart
  319. }
  320. } else {
  321. return intPartFormat
  322. }
  323. },
  324. initChartL1 () {
  325. let myChart = echarts.init(this.$refs['echartL1'])
  326. let option = {
  327. ..._.cloneDeep(this.commonOption),
  328. series: [
  329. {
  330. name: '总部机构数核定上限',
  331. type: 'line',
  332. // yAxisIndex: 1, //使用的 y 轴的 index,在单个图表实例中存在多个 y轴的时候有用
  333. smooth: true, //平滑曲线显示
  334. showAllSymbol: true, //显示所有图形。
  335. symbol: 'circle', //标记的图形为实心圆
  336. symbolSize: 8, //标记的大小
  337. smooth: false,
  338. itemStyle: {
  339. //折线拐点标志的样式
  340. color: '#fbe138',
  341. borderColor: '#fbe138',
  342. width: 2,
  343. shadowColor: '#fbe138',
  344. shadowBlur: 4,
  345. },
  346. lineStyle: {
  347. color: '#fbe138',
  348. width: 2,
  349. },
  350. data: dataL1[2],
  351. },
  352. {
  353. name: '六定改革前总部机构数',
  354. type: 'bar',
  355. barWidth: 15,
  356. itemStyle: {
  357. normal: {
  358. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  359. {
  360. offset: 0,
  361. color: '#43ede3',
  362. },
  363. {
  364. offset: 1,
  365. color: '#082550',
  366. },
  367. ]),
  368. },
  369. },
  370. data: dataL1[0],
  371. },
  372. {
  373. name: '当前各省属企业总部机构数',
  374. type: 'bar',
  375. barWidth: 15,
  376. itemStyle: {
  377. normal: {
  378. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  379. {
  380. offset: 0,
  381. color: '#69c0ff',
  382. },
  383. {
  384. offset: 1,
  385. color: '#082550',
  386. },
  387. ]),
  388. },
  389. },
  390. data: dataL1[1],
  391. },
  392. ],
  393. // tooltip: {
  394. // trigger: 'item',
  395. // position: 'top'
  396. // },
  397. }
  398. option.title.text = '各省属企业总部机构数'
  399. option.legend.data = ['六定改革前总部机构数', '当前各省属企业总部机构数', '总部机构数核定上限']
  400. option.yAxis.push({
  401. splitLine: {
  402. show: false,
  403. },
  404. axisLine: {
  405. show: false,
  406. },
  407. })
  408. myChart.setOption(option)
  409. },
  410. initChartL2 () {
  411. let myChart = echarts.init(this.$refs['echartL2'])
  412. let option = {
  413. ..._.cloneDeep(this.commonOption),
  414. color: ['#69c0ff'],
  415. series: [
  416. {
  417. name: '当前共享服务中心/事业部数',
  418. type: 'bar',
  419. barWidth: 15,
  420. label: {
  421. normal: {
  422. show: true,
  423. position: 'top',
  424. textStyle: {
  425. color: '#69c0ff',
  426. fontStyle: 'normal',
  427. textAlign: 'left',
  428. fontSize: 16,
  429. },
  430. formatter: function (data) {
  431. if (data.name == '华阳新材') {
  432. return data.value
  433. } else {
  434. return ''
  435. }
  436. }
  437. }
  438. },
  439. itemStyle: {
  440. color: params => {
  441. if (params.value > dataL2[1][params.dataIndex]) {
  442. return new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  443. {
  444. offset: 0,
  445. color: 'red',
  446. },
  447. {
  448. offset: 1,
  449. color: '#082550',
  450. },
  451. ])
  452. } else {
  453. return new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  454. {
  455. offset: 0,
  456. color: '#69c0ff',
  457. },
  458. {
  459. offset: 1,
  460. color: '#082550',
  461. },
  462. ])
  463. }
  464. },
  465. },
  466. data: dataL2[0],
  467. },
  468. {
  469. name: '共享服务中心/事业部核定上限',
  470. type: 'line',
  471. // yAxisIndex: 1, //使用的 y 轴的 index,在单个图表实例中存在多个 y轴的时候有用
  472. smooth: true, //平滑曲线显示
  473. showAllSymbol: true, //显示所有图形。
  474. symbol: 'circle', //标记的图形为实心圆
  475. symbolSize: 8, //标记的大小
  476. smooth: false,
  477. label: {
  478. normal: {
  479. show: true,
  480. position: 'top',
  481. textStyle: {
  482. color: '#fbe138',
  483. fontStyle: 'normal',
  484. textAlign: 'left',
  485. fontSize: 16,
  486. },
  487. formatter: function (data) {
  488. if (data.name == '华阳新材') {
  489. return data.value
  490. } else {
  491. return ''
  492. }
  493. }
  494. }
  495. },
  496. itemStyle: {
  497. //折线拐点标志的样式
  498. color: '#fbe138',
  499. borderColor: '#fbe138',
  500. width: 2,
  501. shadowColor: '#fbe138',
  502. shadowBlur: 4,
  503. },
  504. lineStyle: {
  505. color: '#fbe138',
  506. width: 2,
  507. },
  508. data: dataL2[1],
  509. },
  510. ],
  511. }
  512. option.title.text = '各省属企业共享服务中心/事业部数'
  513. option.legend.data = ['当前共享服务中心/事业部数', '共享服务中心/事业部核定上限']
  514. option.yAxis.push({
  515. splitLine: {
  516. show: false,
  517. },
  518. axisLine: {
  519. show: false,
  520. },
  521. })
  522. myChart.setOption(option)
  523. },
  524. initChartL3 () {
  525. let myChart = echarts.init(this.$refs['echartL3'])
  526. let option = {
  527. ..._.cloneDeep(this.commonOption),
  528. series: [
  529. {
  530. name: '当前管理人员数',
  531. type: 'bar',
  532. barWidth: 15,
  533. itemStyle: {
  534. normal: {
  535. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  536. {
  537. offset: 0,
  538. color: '#5e7ae9',
  539. },
  540. {
  541. offset: 1,
  542. color: '#082550',
  543. },
  544. ]),
  545. },
  546. },
  547. data: dataL3[0],
  548. },
  549. {
  550. name: '管理人员数占总人数比值',
  551. type: 'line',
  552. yAxisIndex: 1,
  553. smooth: true, //平滑曲线显示
  554. showAllSymbol: true, //显示所有图形。
  555. symbol: 'circle', //标记的图形为实心圆
  556. symbolSize: 8, //标记的大小
  557. smooth: false,
  558. itemStyle: {
  559. //折线拐点标志的样式
  560. color: '#fbe138',
  561. borderColor: '#fbe138',
  562. width: 2,
  563. shadowColor: '#fbe138',
  564. shadowBlur: 4,
  565. },
  566. lineStyle: {
  567. color: '#fbe138',
  568. width: 2,
  569. },
  570. markLine: {
  571. data: [
  572. {
  573. name: '管理人员数占总人数的合理比值线',
  574. yAxis: 15,
  575. lineStyle: {
  576. color: '#fff',
  577. },
  578. label: {
  579. formatter: '{b}',
  580. position: 'middle',
  581. color: '#fff',
  582. fontSize: 16,
  583. },
  584. },
  585. ],
  586. label: {
  587. distance: [20, 8],
  588. },
  589. },
  590. data: dataL3[1],
  591. },
  592. ],
  593. }
  594. option.title.text = '各省属企业管理人员数'
  595. option.legend.data = ['当前管理人员数', '管理人员数占总人数比值']
  596. option.yAxis[0] = {
  597. type: 'log',
  598. min: 1,
  599. logBase: 10,
  600. axisLine: {
  601. show: false,
  602. },
  603. splitLine: {
  604. show: true,
  605. lineStyle: {
  606. color: '#68b4dd66',
  607. type: 'dashed',
  608. },
  609. },
  610. axisLabel: {
  611. show: true,
  612. formatter: function (value) {
  613. return value === 1 ? 0 : value
  614. },
  615. textStyle: {
  616. color: 'rgba(250,250,250,0.6)',
  617. },
  618. },
  619. }
  620. option.yAxis.push({
  621. type: 'value',
  622. max: 15,
  623. axisLine: {
  624. show: false,
  625. },
  626. splitLine: {
  627. show: false,
  628. },
  629. axisLabel: {
  630. show: true,
  631. formatter: '{value} %',
  632. textStyle: {
  633. color: 'rgba(250,250,250,0.6)',
  634. },
  635. },
  636. })
  637. option.tooltip.formatter = '{a0}:{c0}' + '<br/>' + '{a1}:{c1}' + '%'
  638. myChart.setOption(option)
  639. },
  640. initChartL4 () {
  641. let myChart = echarts.init(this.$refs['echartL4'])
  642. let option = {
  643. ..._.cloneDeep(this.commonOption),
  644. series: [
  645. {
  646. name: '六定改革前总部中层管理人数',
  647. type: 'bar',
  648. barWidth: 15,
  649. label: {
  650. normal: {
  651. show: true,
  652. position: 'top',
  653. textStyle: {
  654. color: '#69c0ff',
  655. fontStyle: 'normal',
  656. textAlign: 'left',
  657. fontSize: 16,
  658. },
  659. formatter: function (data) {
  660. if (data.name == '云时代') {
  661. return data.value
  662. } else {
  663. return ''
  664. }
  665. }
  666. }
  667. },
  668. itemStyle: {
  669. normal: {
  670. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  671. {
  672. offset: 0,
  673. color: '#69c0ff',
  674. },
  675. {
  676. offset: 1,
  677. color: '#082550',
  678. },
  679. ]),
  680. },
  681. },
  682. data: dataL4[0],
  683. },
  684. {
  685. name: '当前总部中层管理人数',
  686. type: 'bar',
  687. barWidth: 15,
  688. label: {
  689. normal: {
  690. show: true,
  691. position: 'top',
  692. textStyle: {
  693. color: '#6480f3',
  694. fontStyle: 'normal',
  695. textAlign: 'left',
  696. fontSize: 16,
  697. },
  698. formatter: function (data) {
  699. if (data.name == '云时代') {
  700. return data.value
  701. } else {
  702. return ''
  703. }
  704. }
  705. }
  706. },
  707. itemStyle: {
  708. normal: {
  709. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  710. {
  711. offset: 0,
  712. color: '#6480f3',
  713. },
  714. {
  715. offset: 1,
  716. color: '#082550',
  717. },
  718. ]),
  719. },
  720. },
  721. data: dataL4[1],
  722. },
  723. {
  724. name: '总部中层管理人数核定上限',
  725. type: 'line',
  726. yAxisIndex: 1,
  727. smooth: true, //平滑曲线显示
  728. showAllSymbol: true, //显示所有图形。
  729. symbol: 'circle', //标记的图形为实心圆
  730. symbolSize: 8, //标记的大小
  731. smooth: false,
  732. label: {
  733. normal: {
  734. show: true,
  735. position: 'top',
  736. textStyle: {
  737. color: '#fbe138',
  738. fontStyle: 'normal',
  739. textAlign: 'left',
  740. fontSize: 16,
  741. },
  742. formatter: function (data) {
  743. if (data.name == '云时代') {
  744. return data.value
  745. } else {
  746. return ''
  747. }
  748. }
  749. }
  750. },
  751. itemStyle: {
  752. //折线拐点标志的样式
  753. color: '#fbe138',
  754. borderColor: '#fbe138',
  755. width: 2,
  756. shadowColor: '#fbe138',
  757. shadowBlur: 4,
  758. },
  759. lineStyle: {
  760. color: '#fbe138',
  761. width: 2,
  762. },
  763. data: dataL4[2],
  764. },
  765. ],
  766. }
  767. option.title.text = '各省属企业总部中层管理人数'
  768. option.legend.data = ['六定改革前总部中层管理人数', '当前总部中层管理人数', '总部中层管理人数核定上限']
  769. option.legend.show = true
  770. option.yAxis.push({
  771. splitLine: {
  772. show: false,
  773. },
  774. axisLine: {
  775. show: false,
  776. },
  777. })
  778. myChart.setOption(option)
  779. },
  780. initChartL5 () {
  781. let myChart = echarts.init(this.$refs['echartL5'])
  782. let option = {
  783. ..._.cloneDeep(this.commonOption),
  784. series: [
  785. {
  786. name: '各省属企业总人数',
  787. type: 'bar',
  788. barWidth: 15,
  789. label: {
  790. normal: {
  791. show: true,
  792. position: 'top',
  793. lineHeight: '25',
  794. textStyle: {
  795. color: '#69c0ff',
  796. fontStyle: 'normal',
  797. textAlign: 'left',
  798. fontSize: 16,
  799. },
  800. formatter: function (data) {
  801. if (data.name == '华阳新材' || data.name == '华舰体育') {
  802. return data.value
  803. } else {
  804. return ''
  805. }
  806. }
  807. }
  808. },
  809. itemStyle: {
  810. normal: {
  811. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  812. {
  813. offset: 0,
  814. color: '#69c0ff',
  815. },
  816. {
  817. offset: 1,
  818. color: '#082550',
  819. },
  820. ]),
  821. },
  822. },
  823. data: dataL5[0],
  824. },
  825. {
  826. name: '去年同期人数变化率',
  827. type: 'line',
  828. yAxisIndex: 1, //使用的 y 轴的 index,在单个图表实例中存在多个 y轴的时候有用
  829. smooth: true, //平滑曲线显示
  830. showAllSymbol: true, //显示所有图形。
  831. symbol: 'circle', //标记的图形为实心圆
  832. symbolSize: 8, //标记的大小
  833. smooth: false,
  834. label: {
  835. normal: {
  836. show: true,
  837. position: 'bottom',
  838. lineHeight: '25',
  839. textStyle: {
  840. color: '#b889ea',
  841. fontStyle: 'normal',
  842. textAlign: 'left',
  843. fontSize: 16,
  844. },
  845. formatter: function (data) {
  846. if (data.name == '华阳新材' || data.name == '华舰体育') {
  847. return data.value
  848. } else {
  849. return ''
  850. }
  851. }
  852. }
  853. },
  854. itemStyle: {
  855. //折线拐点标志的样式
  856. color: '#b889ea',
  857. borderColor: '#b889ea',
  858. width: 2,
  859. shadowColor: '#b889ea',
  860. shadowBlur: 4,
  861. },
  862. lineStyle: {
  863. color: '#b889ea',
  864. width: 2,
  865. },
  866. data: dataL5[1],
  867. },
  868. ],
  869. }
  870. option.title.text = '各省属企业总人数'
  871. option.legend.data = ['各省属企业总人数', '去年同期人数变化率']
  872. option.legend.show = true
  873. option.yAxis[0] = {
  874. type: 'value',
  875. // type: 'log',
  876. min: 1,
  877. // logBase: 10,
  878. axisLine: {
  879. show: false,
  880. },
  881. splitLine: {
  882. show: true,
  883. lineStyle: {
  884. color: '#68b4dd66',
  885. type: 'dashed',
  886. },
  887. },
  888. axisLabel: {
  889. show: true,
  890. formatter: function (value) {
  891. return value === 1 ? 0 : value
  892. },
  893. textStyle: {
  894. color: 'rgba(250,250,250,0.6)',
  895. },
  896. },
  897. }
  898. option.yAxis.push({
  899. type: 'value',
  900. axisLine: {
  901. show: false,
  902. },
  903. splitLine: {
  904. show: false,
  905. },
  906. axisLabel: {
  907. show: true,
  908. formatter: '{value} %',
  909. textStyle: {
  910. color: 'rgba(250,250,250,0.6)',
  911. },
  912. },
  913. })
  914. option.tooltip.formatter = '{a0}:{c0}' + '<br/>' + '{a1}:{c1}' + '%'
  915. myChart.setOption(option)
  916. },
  917. initChartL6 () {
  918. let myChart = echarts.init(this.$refs['echartL6'])
  919. let option = {
  920. ..._.cloneDeep(this.commonOption),
  921. series: [
  922. {
  923. name: '总部员额数',
  924. type: 'bar',
  925. barWidth: 15,
  926. itemStyle: {
  927. normal: {
  928. barBorderRadius: [10, 10, 0, 0],
  929. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  930. {
  931. offset: 0,
  932. color: '#43ede3',
  933. },
  934. {
  935. offset: 1,
  936. color: '#082550',
  937. },
  938. ]),
  939. },
  940. },
  941. data: dataL6[0],
  942. },
  943. {
  944. name: '总部员额数核定上限',
  945. type: 'line',
  946. yAxisIndex: 1, //使用的 y 轴的 index,在单个图表实例中存在多个 y轴的时候有用
  947. smooth: true, //平滑曲线显示
  948. showAllSymbol: true, //显示所有图形。
  949. symbol: 'circle', //标记的图形为实心圆
  950. symbolSize: 8, //标记的大小
  951. smooth: false,
  952. itemStyle: {
  953. //折线拐点标志的样式
  954. color: '#fbe138',
  955. borderColor: '#fbe138',
  956. width: 2,
  957. shadowColor: '#fbe138',
  958. shadowBlur: 4,
  959. },
  960. lineStyle: {
  961. color: '#fbe138',
  962. width: 2,
  963. },
  964. data: dataL6[1],
  965. },
  966. ],
  967. }
  968. option.title.text = '各省属企业总部员额数'
  969. option.legend.data = ['总部员额数', '总部员额数核定上限']
  970. option.legend.show = true
  971. option.yAxis.push({
  972. splitLine: {
  973. show: false,
  974. },
  975. axisLine: {
  976. show: false,
  977. },
  978. })
  979. myChart.setOption(option)
  980. },
  981. initChartL7 () {
  982. let myChart = echarts.init(this.$refs['echartL7'])
  983. let that = this
  984. let option = {
  985. ..._.cloneDeep(this.commonOption),
  986. color: ['#43ede3'],
  987. series: [
  988. {
  989. name: '人数变化',
  990. type: 'line',
  991. smooth: true, //平滑曲线显示
  992. showAllSymbol: true, //显示所有图形。
  993. symbol: 'circle', //标记的图形为实心圆
  994. symbolSize: 15, //标记的大小
  995. smooth: false,
  996. label: {
  997. normal: {
  998. show: true,
  999. position: 'bottom',
  1000. lineHeight: '35',
  1001. textStyle: {
  1002. color: '#43ede3',
  1003. fontStyle: 'normal',
  1004. textAlign: 'left',
  1005. fontSize: 16,
  1006. },
  1007. formatter: function (data) {
  1008. if (data.name == '文旅集团' || data.name == "大地控股" || data.name == '华舰体育') {
  1009. return data.value
  1010. } else {
  1011. return ''
  1012. }
  1013. }
  1014. }
  1015. },
  1016. itemStyle: {
  1017. color: params => {
  1018. if (dataL7[1][params.dataIndex] < 0 && params.value > 0) {
  1019. return 'red'
  1020. } else {
  1021. return '#43ede3'
  1022. }
  1023. },
  1024. },
  1025. lineStyle: {
  1026. color: '#43ede3',
  1027. width: 2,
  1028. },
  1029. data: dataL7[0],
  1030. },
  1031. {
  1032. name: '劳动生产率同比变化',
  1033. type: 'line',
  1034. yAxisIndex: 1,
  1035. smooth: true, //平滑曲线显示
  1036. showAllSymbol: true, //显示所有图形。
  1037. symbol: 'circle', //标记的图形为实心圆
  1038. symbolSize: 8, //标记的大小
  1039. smooth: false,
  1040. label: {
  1041. normal: {
  1042. show: true,
  1043. position: 'top',
  1044. lineHeight: '25',
  1045. textStyle: {
  1046. color: '#b889ea',
  1047. fontStyle: 'normal',
  1048. textAlign: 'left',
  1049. fontSize: 16,
  1050. },
  1051. formatter: function (data) {
  1052. if (data.name == '文旅集团' || data.name == "大地控股" || data.name == '华舰体育') {
  1053. return data.value
  1054. } else {
  1055. return ''
  1056. }
  1057. }
  1058. }
  1059. },
  1060. itemStyle: {
  1061. //折线拐点标志的样式
  1062. color: '#b889ea',
  1063. borderColor: '#b889ea',
  1064. width: 2,
  1065. shadowColor: '#b889ea',
  1066. shadowBlur: 4,
  1067. },
  1068. data: dataL7[1],
  1069. },
  1070. {
  1071. type: 'effectScatter',
  1072. coordinateSystem: 'cartesian2d',
  1073. showEffectOn: 'render',
  1074. rippleEffect: {
  1075. period: 10,
  1076. scale: 4,
  1077. brushType: 'stroke'
  1078. },
  1079. hoverAnimation: true,
  1080. itemStyle: {
  1081. color: 'red'
  1082. },
  1083. lineStyle: {
  1084. color: '#43ede3',
  1085. width: 2,
  1086. },
  1087. data: that.twinkle7,
  1088. },
  1089. ],
  1090. }
  1091. option.title.text = '人数变化和全员劳动生产率变化分析'
  1092. option.legend.data = ['人数变化', '劳动生产率同比变化']
  1093. option.legend.show = true
  1094. option.yAxis[0].axisLabel.formatter = '{value} %'
  1095. option.tooltip.formatter = '{a0}:{c0}' + '%' + '<br/>' + '{a1}:{c1}' + '%'
  1096. option.yAxis.push({
  1097. type: 'value',
  1098. axisLine: {
  1099. show: false,
  1100. },
  1101. splitLine: {
  1102. show: false,
  1103. },
  1104. axisLabel: {
  1105. show: true,
  1106. formatter: '{value} %',
  1107. textStyle: {
  1108. color: 'rgba(250,250,250,0.6)',
  1109. },
  1110. splitLine: {
  1111. show: false,
  1112. },
  1113. axisLabel: {
  1114. show: true,
  1115. formatter: '{value} %',
  1116. textStyle: {
  1117. color: 'rgba(250,250,250,0.6)',
  1118. },
  1119. },
  1120. },
  1121. })
  1122. myChart.setOption(option)
  1123. },
  1124. initChartL8 () {
  1125. let myChart = echarts.init(this.$refs['echartL8'])
  1126. let option = {
  1127. ..._.cloneDeep(this.commonOption),
  1128. color: ['#43ede3'],
  1129. series: [
  1130. {
  1131. name: '人数变化',
  1132. type: 'line',
  1133. smooth: true, //平滑曲线显示
  1134. showAllSymbol: true, //显示所有图形。
  1135. symbol: 'circle', //标记的图形为实心圆
  1136. symbolSize: 15, //标记的大小
  1137. smooth: false,
  1138. label: {
  1139. normal: {
  1140. show: true,
  1141. position: 'bottom',
  1142. lineHeight: '20',
  1143. textStyle: {
  1144. color: '#43ede3',
  1145. fontStyle: 'normal',
  1146. textAlign: 'left',
  1147. fontSize: 16,
  1148. },
  1149. formatter: function (data) {
  1150. if (data.name == '文旅集团' || data.name == '大地控股') {
  1151. return data.value
  1152. } else {
  1153. return ''
  1154. }
  1155. }
  1156. }
  1157. },
  1158. itemStyle: {
  1159. color: params => {
  1160. if (dataL8[1][params.dataIndex] < 0 && params.value > 0) {
  1161. return 'red'
  1162. } else {
  1163. return '#43ede3'
  1164. }
  1165. },
  1166. },
  1167. lineStyle: {
  1168. color: '#43ede3',
  1169. width: 2,
  1170. },
  1171. data: dataL8[0],
  1172. },
  1173. {
  1174. name: '人工成本利润率同比变化',
  1175. type: 'line',
  1176. smooth: true, //平滑曲线显示
  1177. showAllSymbol: true, //显示所有图形。
  1178. symbol: 'circle', //标记的图形为实心圆
  1179. symbolSize: 15, //标记的大小
  1180. smooth: false,
  1181. label: {
  1182. normal: {
  1183. show: true,
  1184. position: 'top',
  1185. lineHeight: '30',
  1186. textStyle: {
  1187. color: '#b889ea',
  1188. fontStyle: 'normal',
  1189. textAlign: 'left',
  1190. fontSize: 16,
  1191. },
  1192. formatter: function (data) {
  1193. if (data.name == '文旅集团' || data.name == '大地控股') {
  1194. return data.value
  1195. } else {
  1196. return ''
  1197. }
  1198. }
  1199. }
  1200. },
  1201. itemStyle: {
  1202. //折线拐点标志的样式
  1203. color: '#b889ea',
  1204. borderColor: '#b889ea',
  1205. width: 2,
  1206. shadowColor: '#b889ea',
  1207. shadowBlur: 4,
  1208. },
  1209. lineStyle: {
  1210. color: '#b889ea',
  1211. width: 2,
  1212. },
  1213. data: dataL8[1],
  1214. },
  1215. {
  1216. type: 'effectScatter',
  1217. coordinateSystem: 'cartesian2d',
  1218. showEffectOn: 'render',
  1219. rippleEffect: {
  1220. period: 10,
  1221. scale: 4,
  1222. brushType: 'stroke'
  1223. },
  1224. hoverAnimation: true,
  1225. itemStyle: {
  1226. color: 'red'
  1227. },
  1228. lineStyle: {
  1229. color: '#43ede3',
  1230. width: 2,
  1231. },
  1232. data: this.twinkle8,
  1233. },
  1234. // {
  1235. // type: 'effectScatter',
  1236. // coordinateSystem: 'cartesian2d',
  1237. // showEffectOn: 'render',
  1238. // rippleEffect: {
  1239. // period: 10,
  1240. // scale: 4,
  1241. // brushType: 'stroke'
  1242. // },
  1243. // hoverAnimation: true,
  1244. // itemStyle: {
  1245. // color: 'red'
  1246. // },
  1247. // lineStyle: {
  1248. // color: '#43ede3',
  1249. // width: 2,
  1250. // },
  1251. // data: that.twinkle,
  1252. // },
  1253. ],
  1254. // tooltip: {
  1255. // trigger: 'axis',
  1256. // formatter(params){
  1257. // console.log(params)
  1258. // return params[0]
  1259. // }
  1260. // }
  1261. }
  1262. option.title.text = '人数变化和人工成本利润率变化分析'
  1263. option.legend.data = ['人数变化', '人工成本利润率同比变化']
  1264. option.legend.show = true
  1265. option.yAxis[0].axisLabel.formatter = '{value} %'
  1266. option.tooltip.formatter = '{a0}:{c0}' + '%' + '<br/>' + '{a1}:{c1}' + '%'
  1267. myChart.setOption(option)
  1268. },
  1269. // 中间图表---------------------------------------------开始
  1270. initChartC1 () {
  1271. let myChart = echarts.init(this.$refs['echartC1'])
  1272. let option = {
  1273. ..._.cloneDeep(this.commonOption),
  1274. color: ['#69c0ff'],
  1275. series: [
  1276. {
  1277. name: '全员劳动生产率(万/人)',
  1278. type: 'bar',
  1279. barWidth: 15,
  1280. label: {
  1281. normal: {
  1282. show: true,
  1283. position: 'top',
  1284. textStyle: {
  1285. color: '#69c0ff',
  1286. fontStyle: 'normal',
  1287. textAlign: 'left',
  1288. fontSize: 16,
  1289. },
  1290. formatter: function (data) {
  1291. if (data.name == '国际能源' || data.name == '汾酒集团') {
  1292. return data.value
  1293. } else {
  1294. return ''
  1295. }
  1296. }
  1297. }
  1298. },
  1299. itemStyle: {
  1300. color: params => {
  1301. if (params.value < 0 && c1[1][params.dataIndex] < 0) {
  1302. return 'red'
  1303. } else if (params.value < 0) {
  1304. return 'yellow'
  1305. } else {
  1306. return new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  1307. {
  1308. offset: 0,
  1309. color: '#69c0ff',
  1310. },
  1311. {
  1312. offset: 1,
  1313. color: '#082550',
  1314. },
  1315. ])
  1316. }
  1317. },
  1318. },
  1319. // markPoint:{
  1320. // symbolSize: 1,
  1321. // symbolOffset: [0, '50%'],
  1322. // label:{
  1323. // show: true,
  1324. // fontSize:18,
  1325. // color: '#fff',
  1326. // backgroundColor: 'rgba(38,48,59,0.6)',
  1327. // borderColor: '#aaa',
  1328. // borderWidth: 1,
  1329. // borderRadius: 4,
  1330. // padding: [4, 10],
  1331. // lineHeight: 26,
  1332. // position: 'top',
  1333. // distance: 20,
  1334. // // formatter: data =>{
  1335. // // console.log('11',data)
  1336. // // },
  1337. // formatter: [
  1338. // '{a|这段文本采用样式a}',
  1339. // '这段用默认样式{x|这段用样式x}'
  1340. // ].join('\n'),
  1341. // rich: {
  1342. // a: {
  1343. // color: 'yellow',
  1344. // lineHeight: 10
  1345. // },
  1346. // b: {
  1347. // // backgroundColor: {
  1348. // // image: './images/alert.png'
  1349. // // },
  1350. // height: 40
  1351. // },
  1352. // x: {
  1353. // fontSize: 18,
  1354. // borderColor: '#449933',
  1355. // borderRadius: 4
  1356. // },
  1357. // }
  1358. // },
  1359. // // itemStyle: {
  1360. // // color: 'rgba(38,48,59,0.6)'
  1361. // // },
  1362. // data:[{value:'117.48', xAxis: '国际能源', yAxis: 127 },{value:'138.83', xAxis: '汾酒集团', yAxis: 148 }]
  1363. // },
  1364. markLine: {
  1365. data: [
  1366. {
  1367. name: '省属企业平均水平',
  1368. yAxis: 50.13,
  1369. lineStyle: {
  1370. color: '#fff',
  1371. },
  1372. label: {
  1373. formatter: '{b}',
  1374. position: 'end',
  1375. padding: [20, 100, 10, 10],
  1376. fontSize: 16,
  1377. color: '#fff',
  1378. },
  1379. },
  1380. // {
  1381. // name: '',
  1382. // yAxis: 0,
  1383. // lineStyle: {
  1384. // color: '#fff',
  1385. // },
  1386. // label: {
  1387. // formatter: '{b}',
  1388. // position: 'end',
  1389. // fontSize: 16,
  1390. // color: '#fff',
  1391. // },
  1392. // },
  1393. {
  1394. name: '央企平均水平',
  1395. yAxis: 69.4,
  1396. lineStyle: {
  1397. color: '#fff',
  1398. },
  1399. label: {
  1400. formatter: '{b}',
  1401. position: 'end',
  1402. padding: [-4, 150, 10, 10],
  1403. color: '#fff',
  1404. fontSize: 16,
  1405. },
  1406. },
  1407. ],
  1408. label: {
  1409. distance: [50, 0],
  1410. },
  1411. },
  1412. data: c1[0],
  1413. },
  1414. {
  1415. name: '全员劳动生产率同比',
  1416. type: 'line',
  1417. yAxisIndex: 1,
  1418. smooth: true, //平滑曲线显示
  1419. showAllSymbol: true, //显示所有图形。
  1420. symbol: 'circle', //标记的图形为实心圆
  1421. symbolSize: 8, //标记的大小
  1422. smooth: false,
  1423. itemStyle: {
  1424. //折线拐点标志的样式
  1425. color: '#B889EA',
  1426. borderColor: '#B889EA',
  1427. width: 2,
  1428. shadowColor: '#B889EA',
  1429. shadowBlur: 4,
  1430. },
  1431. lineStyle: {
  1432. color: '#B889EA',
  1433. width: 2,
  1434. },
  1435. label: {
  1436. normal: {
  1437. show: true,
  1438. position: 'top',
  1439. textStyle: {
  1440. color: '#B889EA',
  1441. fontStyle: 'normal',
  1442. textAlign: 'left',
  1443. fontSize: 16,
  1444. },
  1445. formatter: function (data) {
  1446. if (data.name == '国际能源' || data.name == '汾酒集团') {
  1447. return data.value + '%'
  1448. } else {
  1449. return ''
  1450. }
  1451. }
  1452. }
  1453. },
  1454. // data: [50, 40, 60, 20, 45, 30, 60, 100, 45, 40, 50, 20, 60, 80, 45, 70, 50, 40],
  1455. data: c1[1],
  1456. },
  1457. ],
  1458. }
  1459. option.title.text = '各省属企业全员劳动生产率'
  1460. // option.legend.data = [ '全员劳动生产率(万/人)','全员劳动生产率同比']
  1461. option.legend.show = true
  1462. option.grid.right = '15%'
  1463. option.tooltip.formatter = '{a0}:{c0}' + '<br/>' + '{a1}:{c1}' + '%'
  1464. option.yAxis.push({
  1465. type: 'value',
  1466. axisLine: {
  1467. show: false,
  1468. },
  1469. splitLine: {
  1470. show: false,
  1471. },
  1472. axisLabel: {
  1473. show: true,
  1474. formatter: '{value} %',
  1475. textStyle: {
  1476. color: 'rgba(250,250,250,0.6)',
  1477. },
  1478. },
  1479. })
  1480. myChart.setOption(option)
  1481. // tools.loopShowTooltip(myChart, option, {
  1482. // nterval: 2000,
  1483. // loopSeries: true,
  1484. // })
  1485. },
  1486. initChartC2 () {
  1487. let myChart = echarts.init(this.$refs['echartC2'])
  1488. let option = {
  1489. ..._.cloneDeep(this.commonOption),
  1490. color: ['#69c0ff'],
  1491. series: [
  1492. {
  1493. name: '人工成本利润率',
  1494. type: 'bar',
  1495. barWidth: 15,
  1496. label: {
  1497. normal: {
  1498. show: true,
  1499. position: 'top',
  1500. textStyle: {
  1501. color: '#fff',
  1502. fontStyle: 'normal',
  1503. textAlign: 'left',
  1504. fontSize: 16,
  1505. },
  1506. formatter: function (data) {
  1507. if (data.name == '国际能源' || data.name == '文旅集团' || data.name == '航产集团' || data.name == '华舰体育') {
  1508. return data.value
  1509. } else {
  1510. return ''
  1511. }
  1512. }
  1513. }
  1514. },
  1515. markLine: {
  1516. data: [
  1517. {
  1518. name: '省属企业平均水平',
  1519. yAxis: 67.09,
  1520. lineStyle: {
  1521. color: '#fff',
  1522. },
  1523. label: {
  1524. formatter: '{b}',
  1525. position: 'end',
  1526. padding: [24, 100, 10, 10],
  1527. fontSize: 16,
  1528. color: '#fff',
  1529. },
  1530. },
  1531. {
  1532. name: '央企平均水平',
  1533. yAxis: 81,
  1534. lineStyle: {
  1535. color: '#fff',
  1536. },
  1537. label: {
  1538. formatter: '{b}',
  1539. position: 'end',
  1540. padding: [-24, 200, 10, 10],
  1541. color: '#fff',
  1542. fontSize: 16,
  1543. },
  1544. },
  1545. ],
  1546. label: {
  1547. distance: [50, 0],
  1548. },
  1549. },
  1550. itemStyle: {
  1551. color: params => {
  1552. if (params.value < 0 && c2[0][params.dataIndex] < 0) {
  1553. return 'red'
  1554. } else if (params.value < 0) {
  1555. return 'yellow'
  1556. } else {
  1557. return new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  1558. {
  1559. offset: 0,
  1560. color: '#69c0ff',
  1561. },
  1562. {
  1563. offset: 1,
  1564. color: '#082550',
  1565. },
  1566. ])
  1567. }
  1568. },
  1569. },
  1570. data: c2[1],
  1571. },
  1572. {
  1573. name: '人工成本利润率同比',
  1574. type: 'line',
  1575. yAxisIndex: 1, //使用的 y 轴的 index,在单个图表实例中存在多个 y轴的时候有用
  1576. smooth: true, //平滑曲线显示
  1577. showAllSymbol: true, //显示所有图形。
  1578. symbol: 'circle', //标记的图形为实心圆
  1579. symbolSize: 8, //标记的大小
  1580. smooth: false,
  1581. label: {
  1582. normal: {
  1583. show: true,
  1584. position: 'top',
  1585. lineHeight: '30',
  1586. textStyle: {
  1587. color: '#b889ea',
  1588. fontStyle: 'normal',
  1589. textAlign: 'left',
  1590. fontSize: 16,
  1591. },
  1592. formatter: function (data) {
  1593. if (data.name == '国际能源' || data.name == '文旅集团' || data.name == '航产集团' || data.name == '华舰体育') {
  1594. return data.value + '%'
  1595. } else {
  1596. return ''
  1597. }
  1598. }
  1599. }
  1600. },
  1601. itemStyle: {
  1602. //折线拐点标志的样式
  1603. color: '#B889EA',
  1604. borderColor: '#B889EA',
  1605. width: 2,
  1606. shadowColor: '#B889EA',
  1607. shadowBlur: 4,
  1608. },
  1609. lineStyle: {
  1610. color: '#B889EA',
  1611. width: 2,
  1612. },
  1613. data: c2[0],
  1614. },
  1615. ],
  1616. }
  1617. option.title.text = '各省属企业人工成本利润率'
  1618. option.legend.show = true
  1619. option.grid.right = '15%'
  1620. option.yAxis[0].axisLabel.formatter = '{value} %'
  1621. option.tooltip.formatter = '{a0}:{c0}' + '%' + '<br/>' + '{a1}:{c1}' + '%'
  1622. option.yAxis.push({
  1623. type: 'value',
  1624. axisLine: {
  1625. show: false,
  1626. },
  1627. splitLine: {
  1628. show: false,
  1629. },
  1630. axisLabel: {
  1631. show: true,
  1632. formatter: '{value} %',
  1633. textStyle: {
  1634. color: 'rgba(250,250,250,0.6)',
  1635. },
  1636. },
  1637. })
  1638. myChart.setOption(option)
  1639. // tools.loopShowTooltip(myChart, option, {
  1640. // nterval: 2000,
  1641. // loopSeries: true,
  1642. // })
  1643. },
  1644. // 右侧图表---------------------------------------------开始
  1645. initChartR1 () {
  1646. let myChart = echarts.init(this.$refs['echartR1'])
  1647. let commonOptions = this.commonOption
  1648. commonOptions.yAxis[0].splitNumber = 2
  1649. let dataTemp = []
  1650. let dataTemp2 = []
  1651. dataR1[0].forEach(item => {
  1652. dataTemp.push(item + 1)
  1653. })
  1654. dataR1[1].forEach(item => {
  1655. dataTemp2.push(item + 1)
  1656. })
  1657. let option = {
  1658. ..._.cloneDeep(commonOptions),
  1659. series: [
  1660. {
  1661. name: '招聘需求公告次数',
  1662. type: 'bar',
  1663. barWidth: 15,
  1664. itemStyle: {
  1665. normal: {
  1666. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  1667. {
  1668. offset: 0,
  1669. color: '#69c0ff',
  1670. },
  1671. {
  1672. offset: 1,
  1673. color: '#082550',
  1674. },
  1675. ]),
  1676. },
  1677. },
  1678. data: dataTemp,
  1679. },
  1680. {
  1681. name: '招聘需求公告累计招聘人次',
  1682. type: 'bar',
  1683. barWidth: 15,
  1684. itemStyle: {
  1685. normal: {
  1686. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  1687. {
  1688. offset: 0,
  1689. color: '#43ede3',
  1690. },
  1691. {
  1692. offset: 1,
  1693. color: '#082550',
  1694. },
  1695. ]),
  1696. },
  1697. },
  1698. data: dataTemp2,
  1699. },
  1700. ],
  1701. }
  1702. option.title.text = '各省属企业招聘需求公示人次'
  1703. option.legend.data = ['招聘需求公告次数', '招聘需求公告累计招聘人次']
  1704. option.legend.show = true
  1705. option.tooltip.formatter = function (value) {
  1706. return value[0].axisValue + ':' + (value[0].value - 1) + '<br>' + value[1].axisValue + ':' + (value[1].value - 1)
  1707. }
  1708. option.yAxis[0] = {
  1709. type: 'log',
  1710. min: 1,
  1711. logBase: 10,
  1712. axisLine: {
  1713. show: false,
  1714. },
  1715. splitLine: {
  1716. show: true,
  1717. lineStyle: {
  1718. color: '#68b4dd66',
  1719. type: 'dashed',
  1720. },
  1721. },
  1722. axisLabel: {
  1723. show: true,
  1724. formatter: function (value) {
  1725. return value === 1 ? 0 : value
  1726. },
  1727. textStyle: {
  1728. color: 'rgba(250,250,250,0.6)',
  1729. },
  1730. },
  1731. }
  1732. myChart.setOption(option)
  1733. },
  1734. initChartR2 () {
  1735. let myChart = echarts.init(this.$refs['echartR2'])
  1736. let commonOptions = this.commonOption
  1737. commonOptions.yAxis[0].splitNumber = 2
  1738. let dataTemp = []
  1739. let dataTemp2 = []
  1740. dataR2[0].forEach(item => {
  1741. dataTemp.push(item + 1)
  1742. })
  1743. dataR2[1].forEach(item => {
  1744. dataTemp2.push(item + 1)
  1745. })
  1746. let option = {
  1747. ..._.cloneDeep(commonOptions),
  1748. series: [
  1749. {
  1750. name: '录用结果公示次数',
  1751. type: 'bar',
  1752. barWidth: 15,
  1753. itemStyle: {
  1754. normal: {
  1755. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  1756. {
  1757. offset: 0,
  1758. color: '#69c0ff',
  1759. },
  1760. {
  1761. offset: 1,
  1762. color: '#082550',
  1763. },
  1764. ]),
  1765. },
  1766. },
  1767. data: dataTemp,
  1768. },
  1769. {
  1770. name: '录用结果公示累计公示人数',
  1771. type: 'bar',
  1772. barWidth: 15,
  1773. itemStyle: {
  1774. normal: {
  1775. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  1776. {
  1777. offset: 0,
  1778. color: '#45DAD1',
  1779. },
  1780. {
  1781. offset: 1,
  1782. color: '#082550',
  1783. },
  1784. ]),
  1785. },
  1786. },
  1787. data: dataTemp2,
  1788. },
  1789. ],
  1790. }
  1791. option.title.text = '各省属企业录用结果公示人次'
  1792. option.legend.data = ['录用结果公示次数', '录用结果公示累计公示人数']
  1793. option.legend.show = true
  1794. option.tooltip.formatter = function (value) {
  1795. return value[0].axisValue + ':' + (value[0].value - 1) + '<br>' + value[1].axisValue + ':' + (value[1].value - 1)
  1796. }
  1797. option.yAxis[0] = {
  1798. type: 'log',
  1799. min: 1,
  1800. logBase: 10,
  1801. axisLine: {
  1802. show: false,
  1803. },
  1804. splitLine: {
  1805. show: true,
  1806. lineStyle: {
  1807. color: '#68b4dd66',
  1808. type: 'dashed',
  1809. },
  1810. },
  1811. axisLabel: {
  1812. show: true,
  1813. formatter: function (value) {
  1814. return value === 1 ? 0 : value
  1815. },
  1816. textStyle: {
  1817. color: 'rgba(250,250,250,0.6)',
  1818. },
  1819. },
  1820. }
  1821. myChart.setOption(option)
  1822. },
  1823. initChartR3 () {
  1824. let myChart = echarts.init(this.$refs['echartR3'])
  1825. let commonOptions = this.commonOption
  1826. commonOptions.yAxis[0].splitNumber = 2
  1827. let option = {
  1828. ..._.cloneDeep(commonOptions),
  1829. color: ['#45DAD1'],
  1830. series: [
  1831. {
  1832. name: '2022年利润(万)',
  1833. type: 'bar',
  1834. barWidth: 15,
  1835. label: {
  1836. normal: {
  1837. show: true,
  1838. position: 'bottom',
  1839. textStyle: {
  1840. color: '#69c0ff',
  1841. fontStyle: 'normal',
  1842. textAlign: 'left',
  1843. fontSize: 14,
  1844. },
  1845. formatter: function (data) {
  1846. if (data.name == "国际能源" || data.name == '文旅集团' || data.name == '航产集团' || data.name == '华舰体育') {
  1847. return data.value
  1848. } else {
  1849. return ''
  1850. }
  1851. }
  1852. }
  1853. },
  1854. itemStyle: {
  1855. normal: {
  1856. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  1857. {
  1858. offset: 0,
  1859. color: '#69c0ff',
  1860. },
  1861. {
  1862. offset: 1,
  1863. color: '#082550',
  1864. },
  1865. ]),
  1866. },
  1867. },
  1868. data: dataR3[0],
  1869. },
  1870. {
  1871. name: '2022年累计招聘数',
  1872. type: 'bar',
  1873. barWidth: 15,
  1874. yAxisIndex: 1,
  1875. label: {
  1876. normal: {
  1877. show: true,
  1878. position: 'top',
  1879. textStyle: {
  1880. color: '#45DAD1',
  1881. fontStyle: 'normal',
  1882. textAlign: 'right',
  1883. fontSize: 14,
  1884. },
  1885. formatter: function (data) {
  1886. if (data.name == "国际能源" || data.name == '文旅集团' || data.name == '航产集团' || data.name == '华舰体育') {
  1887. return data.value
  1888. } else {
  1889. return ''
  1890. }
  1891. }
  1892. }
  1893. },
  1894. itemStyle: {
  1895. color: params => {
  1896. if (params.value > 0 && dataR3[0][params.dataIndex] < 0) {
  1897. return 'red'
  1898. } else {
  1899. return new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  1900. {
  1901. offset: 0,
  1902. color: '#45DAD1',
  1903. },
  1904. {
  1905. offset: 1,
  1906. color: '#082550',
  1907. },
  1908. ])
  1909. }
  1910. },
  1911. },
  1912. // itemStyle: {
  1913. // normal: {
  1914. // color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  1915. // {
  1916. // offset: 0,
  1917. // color: '#45DAD1',
  1918. // },
  1919. // {
  1920. // offset: 1,
  1921. // color: '#082550',
  1922. // },
  1923. // ]),
  1924. // },
  1925. // },
  1926. data: dataR3[1],
  1927. },
  1928. ],
  1929. }
  1930. option.title.text = '各省属企业年利润与当年累计招聘人数'
  1931. option.legend.data = ['2022年利润(万)', '2022年累计招聘数']
  1932. option.legend.show = true
  1933. option.yAxis[0] = {
  1934. max: function (value) {
  1935. if (Math.abs(value.max) > Math.abs(value.min)) {
  1936. return (Math.abs(value.max) * 1.2).toFixed(2)
  1937. } else {
  1938. return (Math.abs(value.min) * 1.2).toFixed(2)
  1939. }
  1940. },
  1941. min: function (value) {
  1942. if (Math.abs(value.max) > Math.abs(value.min)) {
  1943. return (-Math.abs(value.max) * 1.2).toFixed(2)
  1944. } else {
  1945. return (-Math.abs(value.min) * 1.2).toFixed(2)
  1946. }
  1947. },
  1948. type: 'value',
  1949. axisLine: {
  1950. show: false,
  1951. },
  1952. splitLine: {
  1953. show: true,
  1954. lineStyle: {
  1955. color: '#68b4dd66',
  1956. type: 'dashed',
  1957. },
  1958. },
  1959. axisLabel: {
  1960. show: true,
  1961. formatter: function (value) {
  1962. return value === 1 ? 0 : value
  1963. },
  1964. textStyle: {
  1965. color: 'rgba(250,250,250,0.6)',
  1966. },
  1967. },
  1968. }
  1969. option.yAxis.push({
  1970. splitLine: {
  1971. show: false,
  1972. },
  1973. axisLine: {
  1974. show: false,
  1975. },
  1976. axisLabel: {
  1977. show: true,
  1978. formatter: '{value}',
  1979. textStyle: {
  1980. color: 'rgba(250,250,250,0.6)',
  1981. },
  1982. },
  1983. max: function (value) {
  1984. if (Math.abs(value.max) > Math.abs(value.min)) {
  1985. return (Math.abs(value.max) * 1.2).toFixed(2)
  1986. } else {
  1987. return (Math.abs(value.min) * 1.2).toFixed(2)
  1988. }
  1989. },
  1990. min: function (value) {
  1991. if (Math.abs(value.max) > Math.abs(value.min)) {
  1992. return (-Math.abs(value.max) * 1.2).toFixed(2)
  1993. } else {
  1994. return (-Math.abs(value.min) * 1.2).toFixed(2)
  1995. }
  1996. },
  1997. })
  1998. myChart.setOption(option)
  1999. },
  2000. initChartR4 () {
  2001. let myChart = echarts.init(this.$refs['echartR4'])
  2002. let commonOptions = this.commonOption
  2003. commonOptions.yAxis[0].splitNumber = 2
  2004. let option = {
  2005. ..._.cloneDeep(commonOptions),
  2006. series: [
  2007. {
  2008. name: '2022年退出人数',
  2009. type: 'bar',
  2010. barWidth: 15,
  2011. itemStyle: {
  2012. normal: {
  2013. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  2014. {
  2015. offset: 0,
  2016. color: '#69c0ff',
  2017. },
  2018. {
  2019. offset: 1,
  2020. color: '#082550',
  2021. },
  2022. ]),
  2023. },
  2024. },
  2025. data: dataR4[0],
  2026. },
  2027. {
  2028. name: '2022年累计招聘人数',
  2029. type: 'bar',
  2030. barWidth: 15,
  2031. itemStyle: {
  2032. normal: {
  2033. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  2034. {
  2035. offset: 0,
  2036. color: '#45DAD1',
  2037. },
  2038. {
  2039. offset: 1,
  2040. color: '#082550',
  2041. },
  2042. ]),
  2043. },
  2044. },
  2045. data: dataR4[1],
  2046. },
  2047. ],
  2048. }
  2049. option.title.text = '各省属企业"退二进一"完成情况'
  2050. option.legend.data = ['2022年退出人数', '2022年累计招聘人数']
  2051. option.legend.show = true
  2052. option.yAxis[0] = {
  2053. //type: 'log',
  2054. //min: 1,
  2055. //logBase: 3,
  2056. axisLine: {
  2057. show: false,
  2058. },
  2059. splitLine: {
  2060. show: true,
  2061. lineStyle: {
  2062. color: '#68b4dd66',
  2063. type: 'dashed',
  2064. },
  2065. },
  2066. axisLabel: {
  2067. show: true,
  2068. formatter: function (value) {
  2069. return value === 1 ? 0 : value
  2070. },
  2071. textStyle: {
  2072. color: 'rgba(250,250,250,0.6)',
  2073. },
  2074. },
  2075. }
  2076. myChart.setOption(option)
  2077. },
  2078. initChartR5 () {
  2079. let myChart = echarts.init(this.$refs['echartR5'])
  2080. let option = {
  2081. ..._.cloneDeep(this.commonOption),
  2082. series: [
  2083. {
  2084. name: '去年同期在岗职工平均薪酬',
  2085. type: 'bar',
  2086. barWidth: 15,
  2087. markLine: {
  2088. data: [
  2089. {
  2090. name: '省属企业平均水平',
  2091. yAxis: 9333.33,
  2092. lineStyle: {
  2093. color: '#fff',
  2094. },
  2095. label: {
  2096. formatter: '{b}',
  2097. position: 'middle',
  2098. fontSize: 16,
  2099. color: '#fff',
  2100. },
  2101. }
  2102. ],
  2103. label: {
  2104. distance: [50, 0],
  2105. },
  2106. },
  2107. itemStyle: {
  2108. normal: {
  2109. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  2110. {
  2111. offset: 0,
  2112. color: '#6682F5',
  2113. },
  2114. {
  2115. offset: 1,
  2116. color: '#082550',
  2117. },
  2118. ]),
  2119. },
  2120. },
  2121. data: fjxdataL1[0],
  2122. },
  2123. {
  2124. name: '在岗职工平均薪酬',
  2125. type: 'bar',
  2126. barWidth: 15,
  2127. itemStyle: {
  2128. normal: {
  2129. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  2130. {
  2131. offset: 0,
  2132. color: '#69c0ff',
  2133. },
  2134. {
  2135. offset: 1,
  2136. color: '#082550',
  2137. },
  2138. ]),
  2139. },
  2140. },
  2141. data: fjxdataL1[1],
  2142. },
  2143. ],
  2144. }
  2145. option.title.text = '各省属企业在岗职工平均薪酬'
  2146. option.legend.data = ['去年同期在岗职工平均薪酬', '在岗职工平均薪酬']
  2147. option.legend.show = true
  2148. option.yAxis.push({
  2149. splitLine: {
  2150. show: false,
  2151. },
  2152. axisLine: {
  2153. show: false,
  2154. },
  2155. })
  2156. myChart.setOption(option)
  2157. },
  2158. initChartR6 () {
  2159. let myChart = echarts.init(this.$refs['echartR6'])
  2160. let option = {
  2161. ..._.cloneDeep(this.commonOption),
  2162. color: ['#69c0ff'],
  2163. series: [
  2164. {
  2165. name: '2022年利润累计涨幅率',
  2166. type: 'line',
  2167. smooth: true, //平滑曲线显示
  2168. showAllSymbol: true, //显示所有图形。
  2169. symbol: 'circle', //标记的图形为实心圆
  2170. symbolSize: 8, //标记的大小
  2171. smooth: false,
  2172. label: {
  2173. normal: {
  2174. show: true,
  2175. lineHeight: '20',
  2176. position: 'top',
  2177. textStyle: {
  2178. color: '#B889EA',
  2179. fontStyle: 'normal',
  2180. textAlign: 'left',
  2181. fontSize: 16,
  2182. },
  2183. formatter: function (data) {
  2184. if (data.name == '文旅集团') {
  2185. return data.value
  2186. } else {
  2187. return ''
  2188. }
  2189. }
  2190. }
  2191. },
  2192. itemStyle: {
  2193. //折线拐点标志的样式
  2194. color: '#B889EA',
  2195. borderColor: '#B889EA',
  2196. width: 2,
  2197. shadowColor: '#B889EA',
  2198. shadowBlur: 4,
  2199. },
  2200. lineStyle: {
  2201. color: '#B889EA',
  2202. width: 2,
  2203. },
  2204. data: fjxdataL2[0],
  2205. },
  2206. {
  2207. name: '2022年薪酬累计涨幅率',
  2208. type: 'line',
  2209. smooth: true, //平滑曲线显示
  2210. showAllSymbol: true, //显示所有图形。
  2211. symbol: 'circle', //标记的图形为实心圆
  2212. symbolSize: 12, //标记的大小
  2213. smooth: false,
  2214. label: {
  2215. normal: {
  2216. show: true,
  2217. position: 'top',
  2218. lineHeight: '35',
  2219. textStyle: {
  2220. color: '#69c0ff',
  2221. fontStyle: 'normal',
  2222. textAlign: 'left',
  2223. fontSize: 16,
  2224. },
  2225. formatter: function (data) {
  2226. if (data.name == '文旅集团') {
  2227. return data.value
  2228. } else {
  2229. return ''
  2230. }
  2231. }
  2232. }
  2233. },
  2234. itemStyle: {
  2235. color: params => {
  2236. if (params.value > 0 && fjxdataL2[0][params.dataIndex] < 0) {
  2237. return 'yellow'
  2238. } else {
  2239. return new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  2240. {
  2241. offset: 0,
  2242. color: '#69c0ff',
  2243. },
  2244. {
  2245. offset: 1,
  2246. color: '#082550',
  2247. },
  2248. ])
  2249. }
  2250. },
  2251. },
  2252. lineStyle: {
  2253. color: '#69C0FF',
  2254. width: 2,
  2255. },
  2256. data: fjxdataL2[1],
  2257. },
  2258. {
  2259. type: 'effectScatter',
  2260. coordinateSystem: 'cartesian2d',
  2261. showEffectOn: 'render',
  2262. rippleEffect: {
  2263. period: 10,
  2264. scale: 4,
  2265. brushType: 'stroke'
  2266. },
  2267. hoverAnimation: true,
  2268. itemStyle: {
  2269. color: 'yellow'
  2270. },
  2271. lineStyle: {
  2272. color: '#43ede3',
  2273. width: 2,
  2274. },
  2275. data: this.twinkleR6,
  2276. },
  2277. ],
  2278. }
  2279. option.title.text = '各省属企业利润与薪酬变动情况'
  2280. option.legend.data = ['2022年利润累计涨幅率', '2022年薪酬累计涨幅率']
  2281. option.tooltip.formatter = '{a0}:{c0}' + '%' + '<br/>' + '{a1}:{c1}' + '%'
  2282. option.yAxis[0].axisLabel.formatter = '{value} %'
  2283. myChart.setOption(option)
  2284. },
  2285. initChartR7 () {
  2286. let myChart = echarts.init(this.$refs['echartR7'])
  2287. let option = {
  2288. ..._.cloneDeep(this.commonOption),
  2289. series: [
  2290. {
  2291. name: '全员绩效考核完成率',
  2292. type: 'bar',
  2293. barWidth: 15,
  2294. itemStyle: {
  2295. normal: {
  2296. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  2297. {
  2298. offset: 0,
  2299. color: '#B889EA',
  2300. },
  2301. {
  2302. offset: 1,
  2303. color: '#082550',
  2304. },
  2305. ]),
  2306. },
  2307. },
  2308. data: fjxdataL3[0],
  2309. },
  2310. ],
  2311. }
  2312. option.title.text = '各省属企业全员绩效考核'
  2313. option.legend.show = true
  2314. option.tooltip = {
  2315. trigger: 'axis',
  2316. formatter: '{a0}:{c0}' + '%'
  2317. },
  2318. option.yAxis[0].axisLabel = {
  2319. show: true,
  2320. formatter: '{value} %',
  2321. textStyle: {
  2322. color: 'rgba(250,250,250,0.6)',
  2323. },
  2324. }
  2325. myChart.setOption(option)
  2326. },
  2327. initChartR8 () {
  2328. let myChart = echarts.init(this.$refs['echartR8'])
  2329. let option = {
  2330. ..._.cloneDeep(this.commonOption),
  2331. series: [
  2332. {
  2333. name: '任期制契约化完成率',
  2334. type: 'bar',
  2335. barWidth: 15,
  2336. itemStyle: {
  2337. normal: {
  2338. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  2339. {
  2340. offset: 0,
  2341. color: '#43ede3',
  2342. },
  2343. {
  2344. offset: 1,
  2345. color: '#082550',
  2346. },
  2347. ]),
  2348. },
  2349. },
  2350. data: fjxdataL4[0],
  2351. },
  2352. ],
  2353. }
  2354. option.title.text = '各省属企业任期制契约化管理'
  2355. option.legend.show = true
  2356. option.tooltip.formatter = '{a0}:{c0}' + '%'
  2357. option.yAxis[0].axisLabel.formatter = '{value} %'
  2358. myChart.setOption(option)
  2359. },
  2360. },
  2361. })