index.js 78 KB

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