index.js 80 KB

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