index.js 44 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334
  1. let barImg =
  2. 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC0AAAAtCAYAAAA6GuKaAAAAAXNSR0IArs4c6QAADNRJREFUaEPNmXmQFNd9x9/Zr3u6Z2ZndzkiLeYwYhctJUtgC8GGQ46MBLYsjAURQnKSckWKkz+SkuWUnarElqtSsV2W/Kccq+Kq6EIFGAwpEEFSWIRYgQKSIrFiF3EsBskcuztX3+/oVPfMLMMesKxklbtq6tXMTk9/+rff/v6OB8HEDzjxU4fOjCbyGxO5cP05Ezm/xlkPfF3w13PRsWAhAMurfytX1nb/8ne79SpQurp2xutYwOOCHy907Xt1awxahkOAQQCBEJXX8IOQCMQvxipQyY3EN3HFDdSArwk+HuhRgBcgMLuIEgDXxcnKc5X3Mqis9QdmKnlL85U1lZLJeiKrADgSfzYc+Krg14IeBrwcgdnnKpAxbAwqPAyyCgJhonRKR5HkCXSkFIQIJReHmKqy6ytAHAWKKALEkMkNDMG3SAA6Kzc08gZGxOBq0MOAF+Akur6PAG9EILQJSJsIaISYIsRKEAyURJFGMIg0CKIIAggjAMMIhkIChBUiQjpEkyAUApQdBTRLADqogK6ratQr/4FrgI8FPTpwLbqmQyyc0ZTgWOEUBRLjyACUSoQj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Z/+OLSJwyp+0R6yPNgBgjG48HtJEyBjZjd+3LpWbvPzEkb1P+3bBH9GNWznz8wvufMTJX+js2bd906fVjY/SmV/f3OMLX1n/52Zu6p/1du18slw4X6rNPazcDdm2xSsft/O/3/Penpc2RZx7inP305p7XBv8GhOm21f/zYZU4+R7jnZu/WH+/Kn+xj+ZNbl92Zof2QPndx3e/qsX/xATplqBM2ysUPdgjjLLIxFm8dCxNstb8uD3vmU1T763790D/zbj1o5/Kg9c2P7GCz9/DgEVCiDDeBgpPuVZ3tXBxzs1fej7q3JTp6/Lnz+zaf/zP9n1WUxNRwO/nHhqk6d4mD58Ps20eKg+cj6NqQRBOHI+HQ/XhyZJya7AJ5pPjwF+9Z0AS48LJpnIq34nAEAc2X4oP4udgDHA60Zn8TdiychmmMyu6/dbIgUBrGxfJEc8xo1n0Lg/+kPvuVwF/I97d2s4eL011mqWquP8ce0j1jesow3iR2toq3PTMXvdz2THdvjVr7YzNibpsD9cc6NztB/6f4ffQsan0xs3AAAAAElFTkSuQmCC'
  3. let app = new Vue({
  4. el: '#app',
  5. data() {
  6. return {
  7. year: '2022',
  8. config1: {
  9. number: [100],
  10. content: '{nt}个',
  11. },
  12. centerData: '',
  13. storageRecordConfig: {
  14. header: ['时间', '所属集团', '工作情况'],
  15. headerBGC: '#05507b33',
  16. oddRowBGC: '#69c0ff0f',
  17. evenRowBGC: '',
  18. headerHeight: '40',
  19. rowNum: 4,
  20. align: ['center'],
  21. data: [
  22. ['2022年1月', '山西焦煤', '已经开展高层次人才引进工作'],
  23. ['2022年2月', '山西文旅', '不能按期完成序时进度'],
  24. ['2022年3月', '大地控股', '已经实现中长期激励机制贯彻'],
  25. ['2022年4月', '国际能源', '薪酬结果没有做到公开'],
  26. ['2022年5月', '山西焦煤', '已经开展高层次人才引进工作'],
  27. ['2022年6月', '山西焦煤', '不能按期完成序时进度'],
  28. ],
  29. },
  30. storageRecordConfig2: {
  31. header: ['企业名称', '预警内容', '数据抓取日期', '累计未获取数据日期'],
  32. headerBGC: '#05507b33',
  33. oddRowBGC: '#05507b33',
  34. evenRowBGC: '',
  35. headerHeight: '40',
  36. rowNum: 4,
  37. align: ['center','center','center','center'],
  38. data: [
  39. ['山西焦煤', '经营业绩考核延迟更新','2022.12.01-12.31','3天'],
  40. ['山西文旅', '六定长效机制情况未更新','2022.12.01-12.31','7天'],
  41. ['大地控股', '经营业绩考核延迟更新','2022.12.01-12.31','3天'],
  42. ['国际能源', '六定长效机制情况未更新','2022.12.01-12.31','1天'],
  43. ['山西焦煤', '经营业绩考核延迟更新','2022.12.01-12.31','3天'],
  44. ['山西焦煤', '六定长效机制情况未更新','2022.12.01-12.31','3天'],
  45. ],
  46. },
  47. companyList: companyList,
  48. commonOption: {
  49. title: {
  50. text: 'xxx',
  51. x: 'center',
  52. y: '3%',
  53. textStyle: {
  54. color: '#69C0FF',
  55. fontSize: 24,
  56. },
  57. },
  58. tooltip: {
  59. trigger: 'axis',
  60. axisPointer: {
  61. type: 'shadow',
  62. },
  63. },
  64. grid: {
  65. top: '22%',
  66. right: '5%',
  67. left: '8%',
  68. bottom: '20%',
  69. },
  70. legend: {
  71. data: '',
  72. top: '12%',
  73. right: '5%',
  74. textStyle: {
  75. color: 'rgba(250,250,250,0.6)',
  76. fontSize: 16,
  77. },
  78. },
  79. xAxis: {
  80. data: companyList.map(item => item.name),
  81. axisLine: {
  82. show: true, //隐藏X轴轴线
  83. lineStyle: {
  84. color: '#005094',
  85. width: 1,
  86. },
  87. },
  88. axisTick: {
  89. show: false, //隐藏X轴刻度
  90. },
  91. axisLabel: {
  92. show: true,
  93. rotate: 50,
  94. textStyle: {
  95. color: 'rgba(255,255,255,0.6)', //X轴文字颜色
  96. fontSize: 16,
  97. },
  98. },
  99. },
  100. yAxis: [
  101. {
  102. type: 'value',
  103. nameTextStyle: {
  104. color: '#ebf8ac',
  105. fontSize: 16,
  106. },
  107. splitLine: {
  108. show: true,
  109. lineStyle: {
  110. color: '#68b4dd66',
  111. type: 'dashed',
  112. },
  113. },
  114. axisLine: {
  115. show: false,
  116. },
  117. axisLabel: {
  118. show: true,
  119. textStyle: {
  120. color: 'rgba(250,250,250,0.6)',
  121. fontSize: 16,
  122. },
  123. },
  124. },
  125. ],
  126. },
  127. }
  128. },
  129. mounted() {
  130. this.centerData = data
  131. // 左侧图表
  132. this.initChartL1()
  133. this.initChartL2()
  134. this.initChartL3()
  135. this.initChartL4()
  136. this.initChartL5()
  137. this.initChartL6()
  138. this.initChartL7()
  139. this.initChartL8()
  140. // 中间图表
  141. this.initChartC1()
  142. this.initChartC2()
  143. // 右侧图表
  144. this.initChartR1()
  145. this.initChartR2()
  146. this.initChartR3()
  147. this.initChartR4()
  148. this.initChartR5()
  149. this.initChartR6()
  150. this.initChartR7()
  151. this.initChartR8()
  152. },
  153. methods: {
  154. numFormat(value) {
  155. if (!value) return '0'
  156. var intPart = Number(value).toFixed(0) // 获取整数部分
  157. var intPartFormat = intPart.toString()
  158. .replace(/(\d)(?=(?:\d{3})+$)/g, '$1,') // 将整数部分逢三一断
  159. var floatPart = '.00' // 预定义小数部分
  160. var value2Array = value.toString().split('.')
  161. // =2表示数据有小数位
  162. if (value2Array.length === 2) {
  163. floatPart = value2Array[1].toString() // 拿到小数部分
  164. if (floatPart.length === 1) {
  165. // 补0
  166. return intPartFormat + '.' + floatPart + '0'
  167. } else {
  168. return intPartFormat + '.' + floatPart
  169. }
  170. } else {
  171. return intPartFormat
  172. }
  173. },
  174. initChartL1() {
  175. let myChart = echarts.init(this.$refs['echartL1'])
  176. let option = {
  177. ..._.cloneDeep(this.commonOption),
  178. series: [
  179. {
  180. name: '总部机构数核定上限',
  181. type: 'line',
  182. yAxisIndex: 1, //使用的 y 轴的 index,在单个图表实例中存在多个 y轴的时候有用
  183. smooth: true, //平滑曲线显示
  184. showAllSymbol: true, //显示所有图形。
  185. symbol: 'circle', //标记的图形为实心圆
  186. symbolSize: 8, //标记的大小
  187. smooth: false,
  188. itemStyle: {
  189. //折线拐点标志的样式
  190. color: '#fbe138',
  191. borderColor: '#fbe138',
  192. width: 2,
  193. shadowColor: '#fbe138',
  194. shadowBlur: 4,
  195. },
  196. lineStyle: {
  197. color: '#fbe138',
  198. width: 2,
  199. },
  200. data: dataL1[2],
  201. },
  202. {
  203. name: '六定改革前总部机构数',
  204. type: 'bar',
  205. barWidth: 15,
  206. itemStyle: {
  207. normal: {
  208. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  209. {
  210. offset: 0,
  211. color: '#43ede3',
  212. },
  213. {
  214. offset: 1,
  215. color: '#082550',
  216. },
  217. ]),
  218. },
  219. },
  220. data: dataL1[0],
  221. },
  222. {
  223. name: '当前各省属企业总部机构数',
  224. type: 'bar',
  225. barWidth: 15,
  226. itemStyle: {
  227. normal: {
  228. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  229. {
  230. offset: 0,
  231. color: '#69c0ff',
  232. },
  233. {
  234. offset: 1,
  235. color: '#082550',
  236. },
  237. ]),
  238. },
  239. },
  240. data: dataL1[1],
  241. },
  242. ],
  243. }
  244. option.title.text = '当前各省属企业总部机构数'
  245. option.legend.data = ['六定改革前总部机构数', '当前各省属企业总部机构数', '总部机构数核定上限']
  246. option.yAxis.push({
  247. splitLine: {
  248. show: false,
  249. },
  250. axisLine: {
  251. show: false,
  252. },
  253. })
  254. myChart.setOption(option)
  255. },
  256. initChartL2() {
  257. let myChart = echarts.init(this.$refs['echartL2'])
  258. let option = {
  259. ..._.cloneDeep(this.commonOption),
  260. series: [
  261. {
  262. name: '当前共享服务中心/事业部数',
  263. type: 'bar',
  264. barWidth: 15,
  265. itemStyle: {
  266. normal: {
  267. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  268. {
  269. offset: 0,
  270. color: '#69c0ff',
  271. },
  272. {
  273. offset: 1,
  274. color: '#082550',
  275. },
  276. ]),
  277. },
  278. },
  279. data:dataL2[0]
  280. },
  281. {
  282. name: '共享服务中心/事业部核定上限',
  283. type: 'line',
  284. yAxisIndex: 1, //使用的 y 轴的 index,在单个图表实例中存在多个 y轴的时候有用
  285. smooth: true, //平滑曲线显示
  286. showAllSymbol: true, //显示所有图形。
  287. symbol: 'circle', //标记的图形为实心圆
  288. symbolSize: 8, //标记的大小
  289. smooth: false,
  290. itemStyle: {
  291. //折线拐点标志的样式
  292. color: '#fbe138',
  293. borderColor: '#fbe138',
  294. width: 2,
  295. shadowColor: '#fbe138',
  296. shadowBlur: 4,
  297. },
  298. lineStyle: {
  299. color: '#fbe138',
  300. width: 2,
  301. },
  302. data: dataL2[1],
  303. },
  304. ],
  305. }
  306. option.title.text = '各省属企业共享服务中心/事业部数'
  307. option.legend.data = ['当前共享服务中心/事业部数', '共享服务中心/事业部核定上限']
  308. option.yAxis.push({
  309. splitLine: {
  310. show: false,
  311. },
  312. axisLine: {
  313. show: false,
  314. },
  315. })
  316. myChart.setOption(option)
  317. },
  318. initChartL3() {
  319. let myChart = echarts.init(this.$refs['echartL3'])
  320. console.log(this.commonOption,"this.commonOption")
  321. let option = {
  322. ..._.cloneDeep(this.commonOption),
  323. series: [
  324. {
  325. name: '当前管理人员数',
  326. type: 'bar',
  327. barWidth: 15,
  328. itemStyle: {
  329. normal: {
  330. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  331. {
  332. offset: 0,
  333. color: '#5e7ae9',
  334. },
  335. {
  336. offset: 1,
  337. color: '#082550',
  338. },
  339. ]),
  340. },
  341. },
  342. data: dataL3[0],
  343. },
  344. {
  345. name: '管理人员数占总人数比值',
  346. type: 'line',
  347. yAxisIndex: 1, //使用的 y 轴的 index,在单个图表实例中存在多个 y轴的时候有用
  348. smooth: true, //平滑曲线显示
  349. showAllSymbol: true, //显示所有图形。
  350. symbol: 'circle', //标记的图形为实心圆
  351. symbolSize: 8, //标记的大小
  352. smooth: false,
  353. yAxisIndex: 1,
  354. itemStyle: {
  355. //折线拐点标志的样式
  356. color: '#fbe138',
  357. borderColor: '#fbe138',
  358. width: 2,
  359. shadowColor: '#fbe138',
  360. shadowBlur: 4,
  361. },
  362. lineStyle: {
  363. color: '#fbe138',
  364. width: 2,
  365. },
  366. data: dataL3[1],
  367. },
  368. ],
  369. }
  370. option.title.text = '各省属企业管理人员数'
  371. option.legend.data = ['当前管理人员数', '管理人员数占总人数比值']
  372. option.yAxis.push({
  373. type: 'value',
  374. axisLine: {
  375. show: false,
  376. },
  377. splitLine: {
  378. show: false,
  379. },
  380. axisLabel: {
  381. show: true,
  382. formatter: '{value} %',
  383. textStyle: {
  384. color: 'rgba(250,250,250,0.6)',
  385. },
  386. },
  387. })
  388. myChart.setOption(option)
  389. },
  390. initChartL4() {
  391. let myChart = echarts.init(this.$refs['echartL4'])
  392. let option = {
  393. ..._.cloneDeep(this.commonOption),
  394. series: [
  395. {
  396. name: '六定改革前总部中层管理人数',
  397. type: 'bar',
  398. barWidth: 15,
  399. itemStyle: {
  400. normal: {
  401. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  402. {
  403. offset: 0,
  404. color: '#69c0ff',
  405. },
  406. {
  407. offset: 1,
  408. color: '#082550',
  409. },
  410. ]),
  411. },
  412. },
  413. data: dataL4[0]
  414. },
  415. {
  416. name: '当前总部中层管理人数',
  417. type: 'bar',
  418. barWidth: 15,
  419. itemStyle: {
  420. normal: {
  421. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  422. {
  423. offset: 0,
  424. color: '#6480f3',
  425. },
  426. {
  427. offset: 1,
  428. color: '#082550',
  429. },
  430. ]),
  431. },
  432. },
  433. data: dataL4[1]
  434. },
  435. ],
  436. }
  437. option.title.text = '各省属企业总部中层管理人数'
  438. option.legend.data = ['六定改革前总部中层管理人数', '当前总部中层管理人数']
  439. option.legend.show = true
  440. option.yAxis.push({
  441. splitLine: {
  442. show: false,
  443. },
  444. axisLine: {
  445. show: false,
  446. },
  447. })
  448. myChart.setOption(option)
  449. },
  450. initChartL5() {
  451. let myChart = echarts.init(this.$refs['echartL5'])
  452. let option = {
  453. ..._.cloneDeep(this.commonOption),
  454. series: [
  455. {
  456. name: '各省属企业总人数',
  457. type: 'bar',
  458. barWidth: 15,
  459. itemStyle: {
  460. normal: {
  461. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  462. {
  463. offset: 0,
  464. color: '#69c0ff',
  465. },
  466. {
  467. offset: 1,
  468. color: '#082550',
  469. },
  470. ]),
  471. },
  472. },
  473. data: dataL5[0],
  474. },
  475. {
  476. name: '去年同期人数变化率',
  477. type: 'line',
  478. yAxisIndex: 1, //使用的 y 轴的 index,在单个图表实例中存在多个 y轴的时候有用
  479. smooth: true, //平滑曲线显示
  480. showAllSymbol: true, //显示所有图形。
  481. symbol: 'circle', //标记的图形为实心圆
  482. symbolSize: 8, //标记的大小
  483. smooth: false,
  484. itemStyle: {
  485. //折线拐点标志的样式
  486. color: '#b889ea',
  487. borderColor: '#b889ea',
  488. width: 2,
  489. shadowColor: '#b889ea',
  490. shadowBlur: 4,
  491. },
  492. lineStyle: {
  493. color: '#b889ea',
  494. width: 2,
  495. },
  496. data: dataL5[1],
  497. },
  498. ],
  499. }
  500. option.title.text = '各省属企业总人数'
  501. option.legend.data = ['各省属企业总人数', '去年同期人数变化率']
  502. option.legend.show = true
  503. option.yAxis.push({
  504. type: 'value',
  505. axisLine: {
  506. show: false,
  507. },
  508. splitLine: {
  509. show: false,
  510. },
  511. axisLabel: {
  512. show: true,
  513. formatter: '{value} %',
  514. textStyle: {
  515. color: 'rgba(250,250,250,0.6)',
  516. },
  517. },
  518. })
  519. myChart.setOption(option)
  520. },
  521. initChartL6() {
  522. let myChart = echarts.init(this.$refs['echartL6'])
  523. let option = {
  524. ..._.cloneDeep(this.commonOption),
  525. series: [
  526. {
  527. name: '',
  528. type: 'bar',
  529. barWidth: 15,
  530. itemStyle: {
  531. normal: {
  532. barBorderRadius: [10, 10, 0, 0],
  533. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  534. {
  535. offset: 0,
  536. color: '#43ede3',
  537. },
  538. {
  539. offset: 1,
  540. color: '#082550',
  541. },
  542. ]),
  543. },
  544. },
  545. data: [500, 900, 600, 800, 450, 700, 600, 800, 850, 700, 500, 900, 600, 500, 450, 600, 500, 900],
  546. },
  547. ],
  548. }
  549. option.title.text = '当前各省属企业人工成本利润率'
  550. myChart.setOption(option)
  551. },
  552. initChartL7() {
  553. let myChart = echarts.init(this.$refs['echartL7'])
  554. let option = {
  555. ..._.cloneDeep(this.commonOption),
  556. series: [
  557. {
  558. name: '总部员额数目标值',
  559. type: 'line',
  560. yAxisIndex: 1, //使用的 y 轴的 index,在单个图表实例中存在多个 y轴的时候有用
  561. smooth: true, //平滑曲线显示
  562. showAllSymbol: true, //显示所有图形。
  563. symbol: 'circle', //标记的图形为实心圆
  564. symbolSize: 8, //标记的大小
  565. smooth: false,
  566. itemStyle: {
  567. //折线拐点标志的样式
  568. color: '#fbe138',
  569. borderColor: '#fbe138',
  570. width: 2,
  571. shadowColor: '#fbe138',
  572. shadowBlur: 4,
  573. },
  574. lineStyle: {
  575. color: '#fbe138',
  576. width: 2,
  577. },
  578. data: [60, 50, 80, 80, 90, 55, 40, 60, 50, 80, 90, 55, 40, 60, 50, 90, 55, 40],
  579. },
  580. {
  581. name: '六定前总部员额数',
  582. type: 'bar',
  583. barWidth: 15,
  584. itemStyle: {
  585. normal: {
  586. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  587. {
  588. offset: 0,
  589. color: '#43ede3',
  590. },
  591. {
  592. offset: 1,
  593. color: '#082550',
  594. },
  595. ]),
  596. },
  597. },
  598. data: [50, 90, 60, 80, 45, 70, 60, 80, 45, 70, 50, 90, 60, 50, 45, 10, 50, 90],
  599. },
  600. {
  601. name: '六定后总部员额数',
  602. type: 'bar',
  603. barWidth: 15,
  604. itemStyle: {
  605. normal: {
  606. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  607. {
  608. offset: 0,
  609. color: '#69c0ff',
  610. },
  611. {
  612. offset: 1,
  613. color: '#082550',
  614. },
  615. ]),
  616. },
  617. },
  618. data: [50, 40, 60, 20, 45, 30, 60, 100, 45, 40, 50, 20, 60, 80, 45, 70, 50, 40],
  619. },
  620. ],
  621. }
  622. option.title.text = '当前各省属企业总部员额数'
  623. option.legend.data = ['六定前总部员额数', '六定后总部员额数', '总部员额数目标值']
  624. option.legend.show = true
  625. option.yAxis.push({
  626. splitLine: {
  627. show: false,
  628. },
  629. axisLine: {
  630. show: false,
  631. },
  632. })
  633. myChart.setOption(option)
  634. },
  635. initChartL8() {
  636. let myChart = echarts.init(this.$refs['echartL8'])
  637. let option = {
  638. ..._.cloneDeep(this.commonOption),
  639. series: [
  640. {
  641. name: '各省属企业主业员额数',
  642. type: 'bar',
  643. barWidth: 15,
  644. itemStyle: {
  645. normal: {
  646. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  647. {
  648. offset: 0,
  649. color: '#5e7ae9',
  650. },
  651. {
  652. offset: 1,
  653. color: '#082550',
  654. },
  655. ]),
  656. },
  657. },
  658. data: [60, 50, 80, 80, 90, 55, 40, 60, 50, 80, 90, 55, 40, 60, 50, 90, 55, 40],
  659. },
  660. {
  661. name: '各省属企业辅业员额数',
  662. type: 'bar',
  663. barWidth: 15,
  664. itemStyle: {
  665. normal: {
  666. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  667. {
  668. offset: 0,
  669. color: '#69c0ff',
  670. },
  671. {
  672. offset: 1,
  673. color: '#082550',
  674. },
  675. ]),
  676. },
  677. },
  678. data: [50, 40, 60, 20, 45, 30, 60, 100, 45, 40, 50, 20, 60, 80, 45, 70, 50, 40],
  679. },
  680. ],
  681. }
  682. option.title.text = '当前各省属企业主副业员额数情况对比'
  683. option.legend.data = ['各省属企业主业员额数', '各省属企业辅业员额数']
  684. option.legend.show = true
  685. option.yAxis.push({
  686. splitLine: {
  687. show: false,
  688. },
  689. axisLine: {
  690. show: false,
  691. },
  692. })
  693. myChart.setOption(option)
  694. },
  695. // 中间图表---------------------------------------------开始
  696. initChartC1() {
  697. let myChart = echarts.init(this.$refs['echartC1'])
  698. let option = {
  699. ..._.cloneDeep(this.commonOption),
  700. series: [
  701. {
  702. name: '全员劳动生产率',
  703. type: 'line',
  704. yAxisIndex: 1, //使用的 y 轴的 index,在单个图表实例中存在多个 y轴的时候有用
  705. smooth: true, //平滑曲线显示
  706. showAllSymbol: true, //显示所有图形。
  707. symbol: 'circle', //标记的图形为实心圆
  708. symbolSize: 8, //标记的大小
  709. smooth: false,
  710. itemStyle: {
  711. //折线拐点标志的样式
  712. color: '#B889EA',
  713. borderColor: '#B889EA',
  714. width: 2,
  715. shadowColor: '#B889EA',
  716. shadowBlur: 4,
  717. },
  718. lineStyle: {
  719. color: '#B889EA',
  720. width: 2,
  721. },
  722. data: [60, 50, 80, 80, 90, 55, 40, 60, 50, 80, 90, 55, 40, 60, 50, 90, 55, 40],
  723. },
  724. {
  725. name: '全员劳动生产率同比',
  726. type: 'bar',
  727. barWidth: 15,
  728. itemStyle: {
  729. normal: {
  730. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  731. {
  732. offset: 0,
  733. color: '#69c0ff',
  734. },
  735. {
  736. offset: 1,
  737. color: '#082550',
  738. },
  739. ]),
  740. },
  741. },
  742. data: [50, 40, 60, 20, 45, 30, 60, 100, 45, 40, 50, 20, 60, 80, 45, 70, 50, 40],
  743. },
  744. ],
  745. }
  746. option.title.text = '各集团全员劳动生产率情况'
  747. option.legend.data = ['全员劳动生产率同比', '全员劳动生产率']
  748. option.legend.show = true
  749. option.yAxis.push({
  750. splitLine: {
  751. show: false,
  752. },
  753. axisLine: {
  754. show: false,
  755. },
  756. })
  757. myChart.setOption(option)
  758. },
  759. initChartC2() {
  760. let myChart = echarts.init(this.$refs['echartC2'])
  761. let option = {
  762. ..._.cloneDeep(this.commonOption),
  763. series: [
  764. {
  765. name: '计划招聘数',
  766. type: 'line',
  767. yAxisIndex: 1, //使用的 y 轴的 index,在单个图表实例中存在多个 y轴的时候有用
  768. smooth: true, //平滑曲线显示
  769. showAllSymbol: true, //显示所有图形。
  770. symbol: 'circle', //标记的图形为实心圆
  771. symbolSize: 8, //标记的大小
  772. smooth: false,
  773. itemStyle: {
  774. //折线拐点标志的样式
  775. color: '#B889EA',
  776. borderColor: '#B889EA',
  777. width: 2,
  778. shadowColor: '#B889EA',
  779. shadowBlur: 4,
  780. },
  781. lineStyle: {
  782. color: '#B889EA',
  783. width: 2,
  784. },
  785. data: [60, 50, 80, 80, 90, 55, 40, 60, 50, 80, 90, 55, 40, 60, 50, 90, 55, 40],
  786. },
  787. {
  788. name: '年利润亿元',
  789. type: 'bar',
  790. barWidth: 15,
  791. itemStyle: {
  792. normal: {
  793. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  794. {
  795. offset: 0,
  796. color: '#69c0ff',
  797. },
  798. {
  799. offset: 1,
  800. color: '#082550',
  801. },
  802. ]),
  803. },
  804. },
  805. data: [50, 40, 60, 20, 45, 30, 60, 100, 45, 40, 50, 20, 60, 80, 45, 70, 50, 40],
  806. },
  807. ],
  808. }
  809. option.title.text = '各省属企业年利润与当前计划招聘人数'
  810. option.legend.data = ['年利润亿元', '计划招聘数']
  811. option.legend.show = true
  812. option.yAxis.push({
  813. splitLine: {
  814. show: false,
  815. },
  816. axisLine: {
  817. show: false,
  818. },
  819. })
  820. myChart.setOption(option)
  821. },
  822. // 右侧图表---------------------------------------------开始
  823. initChartR1() {
  824. let myChart = echarts.init(this.$refs['echartR1'])
  825. let option = {
  826. ..._.cloneDeep(this.commonOption),
  827. series: [
  828. {
  829. name: '全员劳动生产率',
  830. type: 'line',
  831. yAxisIndex: 1, //使用的 y 轴的 index,在单个图表实例中存在多个 y轴的时候有用
  832. smooth: true, //平滑曲线显示
  833. showAllSymbol: true, //显示所有图形。
  834. symbol: 'circle', //标记的图形为实心圆
  835. symbolSize: 8, //标记的大小
  836. smooth: false,
  837. itemStyle: {
  838. //折线拐点标志的样式
  839. color: '#B889EA',
  840. borderColor: '#B889EA',
  841. width: 2,
  842. shadowColor: '#B889EA',
  843. shadowBlur: 4,
  844. },
  845. lineStyle: {
  846. color: '#B889EA',
  847. width: 2,
  848. },
  849. data: [60, 50, 80, 80, 90, 55, 40, 60, 50, 80, 90, 55, 40, 60, 50, 90, 55, 40],
  850. },
  851. {
  852. name: '人工成本利润率同比',
  853. type: 'bar',
  854. barWidth: 15,
  855. itemStyle: {
  856. normal: {
  857. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  858. {
  859. offset: 0,
  860. color: '#69c0ff',
  861. },
  862. {
  863. offset: 1,
  864. color: '#082550',
  865. },
  866. ]),
  867. },
  868. },
  869. data: [50, 40, 60, 20, 45, 30, 60, 100, 45, 40, 50, 20, 60, 80, 45, 70, 50, 40],
  870. },
  871. ],
  872. }
  873. option.title.text = '各集团人工成本利润率情况'
  874. option.legend.data = ['人工成本利润率同比', '全员劳动生产率']
  875. option.legend.show = true
  876. option.yAxis.push({
  877. splitLine: {
  878. show: false,
  879. },
  880. axisLine: {
  881. show: false,
  882. },
  883. })
  884. myChart.setOption(option)
  885. },
  886. initChartR2() {
  887. let myChart = echarts.init(this.$refs['echartR2'])
  888. let option = {
  889. ..._.cloneDeep(this.commonOption),
  890. series: [
  891. {
  892. name: '2023年公开招聘数',
  893. type: 'bar',
  894. barWidth: 15,
  895. itemStyle: {
  896. normal: {
  897. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  898. {
  899. offset: 0,
  900. color: '#45DAD1',
  901. },
  902. {
  903. offset: 1,
  904. color: '#082550',
  905. },
  906. ]),
  907. },
  908. },
  909. data: [50, 40, 60, 20, 45, 30, 60, 100, 45, 40, 50, 20, 60, 80, 45, 70, 50, 40],
  910. },
  911. {
  912. name: '2022年退出人数',
  913. type: 'bar',
  914. barWidth: 15,
  915. itemStyle: {
  916. normal: {
  917. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  918. {
  919. offset: 0,
  920. color: '#69c0ff',
  921. },
  922. {
  923. offset: 1,
  924. color: '#082550',
  925. },
  926. ]),
  927. },
  928. },
  929. data: [60, 50, 80, 80, 90, 55, 40, 60, 50, 80, 90, 55, 40, 60, 50, 90, 55, 40],
  930. },
  931. ],
  932. }
  933. option.title.text = '当前各省属企业公开招聘数/退出人数对比'
  934. option.legend.data = ['2023年公开招聘数', '2022年退出人数']
  935. option.legend.show = true
  936. option.yAxis.push({
  937. splitLine: {
  938. show: false,
  939. },
  940. axisLine: {
  941. show: false,
  942. },
  943. })
  944. myChart.setOption(option)
  945. },
  946. initChartR3() {
  947. let myChart = echarts.init(this.$refs['echartR3'])
  948. let option = {
  949. ..._.cloneDeep(this.commonOption),
  950. series: [
  951. {
  952. name: '招聘需求公开次数',
  953. type: 'bar',
  954. barWidth: 15,
  955. itemStyle: {
  956. normal: {
  957. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  958. {
  959. offset: 0,
  960. color: '#45DAD1',
  961. },
  962. {
  963. offset: 1,
  964. color: '#082550',
  965. },
  966. ]),
  967. },
  968. },
  969. data: [50, 40, 60, 20, 45, 30, 60, 100, 45, 40, 50, 20, 60, 80, 45, 70, 50, 40],
  970. },
  971. {
  972. name: '招聘需求公告需要招聘数',
  973. type: 'bar',
  974. barWidth: 15,
  975. itemStyle: {
  976. normal: {
  977. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  978. {
  979. offset: 0,
  980. color: '#69c0ff',
  981. },
  982. {
  983. offset: 1,
  984. color: '#082550',
  985. },
  986. ]),
  987. },
  988. },
  989. data: [60, 50, 80, 80, 90, 55, 40, 60, 50, 80, 90, 55, 40, 60, 50, 90, 55, 40],
  990. },
  991. ],
  992. }
  993. option.title.text = '当前各省属企业招聘需求公示人次'
  994. option.legend.data = ['招聘需求公开次数', '招聘需求公告需要招聘数']
  995. option.legend.show = true
  996. option.yAxis.push({
  997. splitLine: {
  998. show: false,
  999. },
  1000. axisLine: {
  1001. show: false,
  1002. },
  1003. })
  1004. myChart.setOption(option)
  1005. },
  1006. initChartR4() {
  1007. let myChart = echarts.init(this.$refs['echartR4'])
  1008. let option = {
  1009. ..._.cloneDeep(this.commonOption),
  1010. series: [
  1011. {
  1012. name: '录用结果公告次数',
  1013. type: 'bar',
  1014. barWidth: 15,
  1015. itemStyle: {
  1016. normal: {
  1017. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  1018. {
  1019. offset: 0,
  1020. color: '#6682F5',
  1021. },
  1022. {
  1023. offset: 1,
  1024. color: '#082550',
  1025. },
  1026. ]),
  1027. },
  1028. },
  1029. data: [50, 40, 60, 20, 45, 30, 60, 100, 45, 40, 50, 20, 60, 80, 45, 70, 50, 40],
  1030. },
  1031. {
  1032. name: '录用结果公告总人数',
  1033. type: 'bar',
  1034. barWidth: 15,
  1035. itemStyle: {
  1036. normal: {
  1037. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  1038. {
  1039. offset: 0,
  1040. color: '#69c0ff',
  1041. },
  1042. {
  1043. offset: 1,
  1044. color: '#082550',
  1045. },
  1046. ]),
  1047. },
  1048. },
  1049. data: [60, 50, 80, 80, 90, 55, 40, 60, 50, 80, 90, 55, 40, 60, 50, 90, 55, 40],
  1050. },
  1051. ],
  1052. }
  1053. option.title.text = '当前各省属企业录用结果公示人次'
  1054. option.legend.data = ['录用结果公告次数', '录用结果公告总人数']
  1055. option.legend.show = true
  1056. option.yAxis.push({
  1057. splitLine: {
  1058. show: false,
  1059. },
  1060. axisLine: {
  1061. show: false,
  1062. },
  1063. })
  1064. myChart.setOption(option)
  1065. },
  1066. initChartR5() {
  1067. let myChart = echarts.init(this.$refs['echartR5'])
  1068. let option = {
  1069. ..._.cloneDeep(this.commonOption),
  1070. series: [
  1071. {
  1072. name: '省属企业年利润增长率',
  1073. type: 'line',
  1074. yAxisIndex: 1, //使用的 y 轴的 index,在单个图表实例中存在多个 y轴的时候有用
  1075. smooth: true, //平滑曲线显示
  1076. showAllSymbol: true, //显示所有图形。
  1077. symbol: 'circle', //标记的图形为实心圆
  1078. symbolSize: 8, //标记的大小
  1079. smooth: false,
  1080. itemStyle: {
  1081. //折线拐点标志的样式
  1082. color: '#fbe138',
  1083. borderColor: '#fbe138',
  1084. width: 2,
  1085. shadowColor: '#fbe138',
  1086. shadowBlur: 4,
  1087. },
  1088. lineStyle: {
  1089. color: '#fbe138',
  1090. width: 2,
  1091. },
  1092. areaStyle: {
  1093. //区域填充样式
  1094. normal: {
  1095. color: new echarts.graphic.LinearGradient(
  1096. 0,
  1097. 0,
  1098. 0,
  1099. 1,
  1100. [
  1101. {
  1102. offset: 0,
  1103. color: '#fbe138',
  1104. },
  1105. {
  1106. offset: 1,
  1107. color: 'rgba(0,0,0,0)',
  1108. },
  1109. ],
  1110. false
  1111. ),
  1112. },
  1113. },
  1114. data: [60, 50, 40, 90, 30, 55, 40, 20, 50, 40, 40, 55, 40, 30, 50, 40, 35, 40],
  1115. },
  1116. {
  1117. name: '省属企业年薪酬增长率',
  1118. type: 'line',
  1119. smooth: true, //平滑曲线显示
  1120. showAllSymbol: true, //显示所有图形。
  1121. symbol: 'circle', //标记的图形为实心圆
  1122. symbolSize: 8, //标记的大小
  1123. smooth: false,
  1124. itemStyle: {
  1125. //折线拐点标志的样式
  1126. color: '#69C0FF',
  1127. borderColor: '#69C0FF',
  1128. width: 2,
  1129. shadowColor: '#69C0FF',
  1130. shadowBlur: 4,
  1131. },
  1132. lineStyle: {
  1133. color: '#69C0FF',
  1134. width: 2,
  1135. },
  1136. areaStyle: {
  1137. //区域填充样式
  1138. normal: {
  1139. color: new echarts.graphic.LinearGradient(
  1140. 0,
  1141. 0,
  1142. 0,
  1143. 1,
  1144. [
  1145. {
  1146. offset: 0,
  1147. color: '#1DADFF',
  1148. },
  1149. {
  1150. offset: 1,
  1151. color: 'rgba(0,0,0,0)',
  1152. },
  1153. ],
  1154. false
  1155. ),
  1156. },
  1157. },
  1158. data: [70, 60, 60, 80, 95, 70, 60, 90, 85, 70, 80, 90, 60, 80, 85, 70, 75, 90],
  1159. },
  1160. ],
  1161. }
  1162. option.title.text = '省属企业年利润涨幅率与年薪酬涨幅率对比'
  1163. option.legend.data = ['省属企业年利润增长率', '省属企业年薪酬增长率']
  1164. option.legend.show = true
  1165. myChart.setOption(option)
  1166. },
  1167. initChartR6() {
  1168. let myChart = echarts.init(this.$refs['echartR6'])
  1169. let option = {
  1170. ..._.cloneDeep(this.commonOption),
  1171. series: [
  1172. {
  1173. name: '当前各省属下属企业数',
  1174. type: 'bar',
  1175. barWidth: 15,
  1176. itemStyle: {
  1177. normal: {
  1178. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  1179. {
  1180. offset: 0,
  1181. color: '#69c0ff',
  1182. },
  1183. {
  1184. offset: 1,
  1185. color: '#082550',
  1186. },
  1187. ]),
  1188. },
  1189. },
  1190. data: [500, 900, 600, 800, 450, 700, 600, 800, 350, 700, 500, 900, 600, 500, 450, 100, 500, 900],
  1191. },
  1192. {
  1193. data: [500, 900, 600, 800, 450, 700, 600, 800, 350, 700, 500, 900, 600, 500, 450, 100, 500, 900],
  1194. type: 'pictorialBar',
  1195. barMaxWidth: '20',
  1196. symbolPosition: 'end',
  1197. symbol: 'image://' + barImg,
  1198. symbolOffset: ['0', '-25'],
  1199. symbolSize: [35, 35],
  1200. zlevel: 2,
  1201. },
  1202. ],
  1203. }
  1204. option.title.text = '当前各省属企业在岗职工平均薪酬'
  1205. myChart.setOption(option)
  1206. },
  1207. initChartR7() {
  1208. let myChart = echarts.init(this.$refs['echartR7'])
  1209. let option = {
  1210. ..._.cloneDeep(this.commonOption),
  1211. series: [
  1212. {
  1213. name: '目标值',
  1214. type: 'line',
  1215. yAxisIndex: 1, //使用的 y 轴的 index,在单个图表实例中存在多个 y轴的时候有用
  1216. smooth: true, //平滑曲线显示
  1217. showAllSymbol: true, //显示所有图形。
  1218. symbol: 'circle', //标记的图形为实心圆
  1219. symbolSize: 8, //标记的大小
  1220. smooth: false,
  1221. itemStyle: {
  1222. //折线拐点标志的样式
  1223. color: '#B889EA',
  1224. borderColor: '#B889EA',
  1225. width: 2,
  1226. shadowColor: '#B889EA',
  1227. shadowBlur: 4,
  1228. },
  1229. lineStyle: {
  1230. color: '#B889EA',
  1231. width: 2,
  1232. },
  1233. data: [60, 50, 80, 80, 90, 55, 40, 60, 50, 80, 90, 55, 40, 60, 50, 90, 55, 40],
  1234. },
  1235. {
  1236. name: '劳动合同签约完成率',
  1237. type: 'bar',
  1238. barWidth: 15,
  1239. itemStyle: {
  1240. normal: {
  1241. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  1242. {
  1243. offset: 0,
  1244. color: '#69C0FF',
  1245. },
  1246. {
  1247. offset: 1,
  1248. color: '#082550',
  1249. },
  1250. ]),
  1251. },
  1252. },
  1253. data: [50, 40, 60, 20, 45, 30, 60, 100, 45, 40, 50, 20, 60, 80, 45, 70, 50, 40],
  1254. },
  1255. ],
  1256. }
  1257. option.title.text = '当前省属企业劳动合同签约完成率'
  1258. option.legend.data = ['劳动合同签约完成率', '目标值']
  1259. option.yAxis.push({
  1260. splitLine: {
  1261. show: false,
  1262. },
  1263. axisLine: {
  1264. show: false,
  1265. },
  1266. })
  1267. myChart.setOption(option)
  1268. },
  1269. initChartR8() {
  1270. let myChart = echarts.init(this.$refs['echartR8'])
  1271. let option = {
  1272. ..._.cloneDeep(this.commonOption),
  1273. series: [
  1274. {
  1275. name: '目标值',
  1276. type: 'line',
  1277. yAxisIndex: 1, //使用的 y 轴的 index,在单个图表实例中存在多个 y轴的时候有用
  1278. smooth: true, //平滑曲线显示
  1279. showAllSymbol: true, //显示所有图形。
  1280. symbol: 'circle', //标记的图形为实心圆
  1281. symbolSize: 8, //标记的大小
  1282. smooth: false,
  1283. itemStyle: {
  1284. //折线拐点标志的样式
  1285. color: '#fbe138',
  1286. borderColor: '#fbe138',
  1287. width: 2,
  1288. shadowColor: '#fbe138',
  1289. shadowBlur: 4,
  1290. },
  1291. lineStyle: {
  1292. color: '#fbe138',
  1293. width: 2,
  1294. },
  1295. data: [60, 50, 80, 80, 90, 55, 40, 60, 50, 80, 90, 55, 40, 60, 50, 90, 55, 40],
  1296. },
  1297. {
  1298. name: '全员绩效考核',
  1299. type: 'bar',
  1300. barWidth: 15,
  1301. itemStyle: {
  1302. normal: {
  1303. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  1304. {
  1305. offset: 0,
  1306. color: '#43ede3',
  1307. },
  1308. {
  1309. offset: 1,
  1310. color: '#082550',
  1311. },
  1312. ]),
  1313. },
  1314. },
  1315. data: [50, 40, 60, 20, 45, 30, 60, 100, 45, 40, 50, 20, 60, 80, 45, 70, 50, 40],
  1316. },
  1317. ],
  1318. }
  1319. option.title.text = '当前各省属企业全员绩效考核情况'
  1320. option.legend.data = ['全员绩效考核', '目标值']
  1321. option.yAxis.push({
  1322. splitLine: {
  1323. show: false,
  1324. },
  1325. axisLine: {
  1326. show: false,
  1327. },
  1328. })
  1329. myChart.setOption(option)
  1330. },
  1331. },
  1332. })