index2.js 40 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273
  1. let barImg =
  2. 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC0AAAAtCAYAAAA6GuKaAAAAAXNSR0IArs4c6QAADNRJREFUaEPNmXmQFNd9x9/Zr3u6Z2ZndzkiLeYwYhctJUtgC8GGQ46MBLYsjAURQnKSckWKkz+SkuWUnarElqtSsV2W/Kccq+Kq6EIFGAwpEEFSWIRYgQKSIrFiF3EsBskcuztX3+/oVPfMLMMesKxklbtq6tXMTk9/+rff/v6OB8HEDzjxU4fOjCbyGxO5cP05Ezm/xlkPfF3w13PRsWAhAMurfytX1nb/8ne79SpQurp2xutYwOOCHy907Xt1awxahkOAQQCBEJXX8IOQCMQvxipQyY3EN3HFDdSArwk+HuhRgBcgMLuIEgDXxcnKc5X3Mqis9QdmKnlL85U1lZLJeiKrADgSfzYc+Krg14IeBrwcgdnnKpAxbAwqPAyyCgJhonRKR5HkCXSkFIQIJReHmKqy6ytAHAWKKALEkMkNDMG3SAA6Kzc08gZGxOBq0MOAF+Akur6PAG9EILQJSJsIaISYIsRKEAyURJFGMIg0CKIIAggjAMMIhkIChBUiQjpEkyAUApQdBTRLADqogK6ratQr/4FrgI8FPTpwLbqmQyyc0ZTgWOEUBRLjyACUSoQjRumS9f94d+7G6evyH53ZtH/jz/4bBpxzrCT0AAdYSiRdjgiVtiyFwDHFUNSvlMuYGh8NenTgcooAJSEwEDVxp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V/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.time = formatDate()
  131. this.timer = setInterval(() => {
  132. this.time = formatDate()
  133. }, 1000)
  134. this.centerData = data
  135. // 左侧图表
  136. this.initChartL1()
  137. this.initChartL2()
  138. this.initChartL3()
  139. this.initChartL4()
  140. this.initChartL5()
  141. this.initChartL6()
  142. this.initChartL7()
  143. this.initChartL8()
  144. // 中间图表
  145. this.initChartC1()
  146. this.initChartC2()
  147. // 右侧图表
  148. this.initChartR1()
  149. this.initChartR2()
  150. this.initChartR3()
  151. this.initChartR4()
  152. this.initChartR5()
  153. this.initChartR6()
  154. this.initChartR7()
  155. this.initChartR8()
  156. },
  157. beforeDestroy () {
  158. if (this.timer) {
  159. clearInterval(this.timer);
  160. }
  161. },
  162. methods: {
  163. numFormat (value) {
  164. if (!value) return '0'
  165. var intPart = Number(value).toFixed(0) // 获取整数部分
  166. var intPartFormat = intPart.toString().replace(/(\d)(?=(?:\d{3})+$)/g, '$1,') // 将整数部分逢三一断
  167. var floatPart = '.00' // 预定义小数部分
  168. var value2Array = value.toString().split('.')
  169. // =2表示数据有小数位
  170. if (value2Array.length === 2) {
  171. floatPart = value2Array[1].toString() // 拿到小数部分
  172. if (floatPart.length === 1) {
  173. // 补0
  174. return intPartFormat + '.' + floatPart + '0'
  175. } else {
  176. return intPartFormat + '.' + floatPart
  177. }
  178. } else {
  179. return intPartFormat
  180. }
  181. },
  182. initChartL1 () {
  183. let myChart = echarts.init(this.$refs['echartL1'])
  184. let option = {
  185. ..._.cloneDeep(this.commonOption),
  186. series: [
  187. {
  188. name: '当前各二级企业本部机构数',
  189. type: 'bar',
  190. barWidth: 15,
  191. itemStyle: {
  192. normal: {
  193. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  194. {
  195. offset: 0,
  196. color: '#69c0ff',
  197. },
  198. {
  199. offset: 1,
  200. color: '#082550',
  201. },
  202. ]),
  203. },
  204. },
  205. data: dataL1[1],
  206. },
  207. ],
  208. }
  209. option.title.text = '各二级企业本部机构数'
  210. option.legend.data = ['当前各二级企业本部机构数']
  211. option.yAxis.push({
  212. splitLine: {
  213. show: false,
  214. },
  215. axisLine: {
  216. show: false,
  217. },
  218. })
  219. myChart.setOption(option)
  220. },
  221. initChartL2 () {
  222. let myChart = echarts.init(this.$refs['echartL2'])
  223. let option = {
  224. ..._.cloneDeep(this.commonOption),
  225. series: [
  226. {
  227. name: '当前各二级企业所属架构数',
  228. type: 'bar',
  229. barWidth: 15,
  230. itemStyle: {
  231. normal: {
  232. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  233. {
  234. offset: 0,
  235. color: '#69c0ff',
  236. },
  237. {
  238. offset: 1,
  239. color: '#082550',
  240. },
  241. ]),
  242. },
  243. },
  244. data: dataL2[0]
  245. }
  246. ],
  247. }
  248. option.title.text = '各二级企业所属架构数'
  249. option.legend.data = ['当前各二级企业所属架构数']
  250. option.yAxis.push({
  251. splitLine: {
  252. show: false,
  253. },
  254. axisLine: {
  255. show: false,
  256. },
  257. })
  258. myChart.setOption(option)
  259. },
  260. initChartL3 () {
  261. let myChart = echarts.init(this.$refs['echartL3'])
  262. console.log(this.commonOption, "this.commonOption")
  263. let option = {
  264. ..._.cloneDeep(this.commonOption),
  265. series: [
  266. {
  267. name: '当前本部中层管理人数',
  268. type: 'bar',
  269. barWidth: 15,
  270. itemStyle: {
  271. normal: {
  272. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  273. {
  274. offset: 0,
  275. color: '#5e7ae9',
  276. },
  277. {
  278. offset: 1,
  279. color: '#082550',
  280. },
  281. ]),
  282. },
  283. },
  284. data: dataL3[0],
  285. }
  286. ],
  287. }
  288. option.title.text = '各二级企业本部中层管理人数'
  289. option.legend.data = ['当前本部中层管理人数']
  290. option.yAxis.push({
  291. splitLine: {
  292. show: false,
  293. },
  294. axisLine: {
  295. show: false,
  296. },
  297. })
  298. myChart.setOption(option)
  299. },
  300. initChartL4 () {
  301. let myChart = echarts.init(this.$refs['echartL4'])
  302. let option = {
  303. ..._.cloneDeep(this.commonOption),
  304. series: [
  305. {
  306. name: '当前管理人员数',
  307. type: 'bar',
  308. barWidth: 12,
  309. smooth: true, //平滑曲线显示
  310. showAllSymbol: true, //显示所有图形。
  311. symbol: 'circle', //标记的图形为实心圆
  312. symbolSize: 8, //标记的大小
  313. smooth: false,
  314. itemStyle: {
  315. //折线拐点标志的样式
  316. color: '#B889EA',
  317. borderColor: '#B889EA',
  318. width: 2,
  319. shadowColor: '#B889EA',
  320. shadowBlur: 4,
  321. },
  322. lineStyle: {
  323. color: '#B889EA',
  324. width: 2,
  325. },
  326. data: c1[0],
  327. markLine: {
  328. data: [
  329. {
  330. name: '管理人员比值核定上限',
  331. yAxis: 15,
  332. lineStyle: {
  333. color: '#fff',
  334. },
  335. label: {
  336. formatter: '{b}',
  337. position: 'middle',
  338. color: '#fff',
  339. },
  340. }
  341. ],
  342. label: {
  343. distance: [20, 8],
  344. },
  345. },
  346. },
  347. {
  348. name: '管理人员数占总人数比值',
  349. yAxisIndex: 1, //使用的 y 轴的 index,在单个图表实例中存在多个 y轴的时候有用
  350. type: 'line',
  351. itemStyle: {
  352. normal: {
  353. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  354. {
  355. offset: 0,
  356. color: '#69c0ff',
  357. },
  358. {
  359. offset: 1,
  360. color: '#082550',
  361. },
  362. ]),
  363. },
  364. },
  365. data: c1[1],
  366. },
  367. ],
  368. }
  369. option.title.text = '各二级企业管理人员数'
  370. option.legend.data = ['管理人员数占总人数比值', '当前管理人员数']
  371. option.legend.show = true
  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. initChartL5 () {
  391. let myChart = echarts.init(this.$refs['echartL5'])
  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: dataL5[0],
  414. },
  415. {
  416. name: '去年同期人数变化率',
  417. type: 'line',
  418. yAxisIndex: 1, //使用的 y 轴的 index,在单个图表实例中存在多个 y轴的时候有用
  419. smooth: true, //平滑曲线显示
  420. showAllSymbol: true, //显示所有图形。
  421. symbol: 'circle', //标记的图形为实心圆
  422. symbolSize: 8, //标记的大小
  423. smooth: false,
  424. itemStyle: {
  425. //折线拐点标志的样式
  426. color: '#b889ea',
  427. borderColor: '#b889ea',
  428. width: 2,
  429. shadowColor: '#b889ea',
  430. shadowBlur: 4,
  431. },
  432. lineStyle: {
  433. color: '#b889ea',
  434. width: 2,
  435. },
  436. data: dataL5[1],
  437. },
  438. ],
  439. }
  440. option.title.text = '各二级企业总人数'
  441. option.legend.data = ['各二级企业总人数', '去年同期人数变化率']
  442. option.legend.show = true
  443. option.yAxis.push({
  444. splitLine: {
  445. show: false,
  446. },
  447. axisLine: {
  448. show: false,
  449. },
  450. })
  451. myChart.setOption(option)
  452. },
  453. initChartL6 () {
  454. let myChart = echarts.init(this.$refs['echartL6'])
  455. let option = {
  456. ..._.cloneDeep(this.commonOption),
  457. series: [
  458. {
  459. name: '本部员额数',
  460. type: 'bar',
  461. barWidth: 15,
  462. itemStyle: {
  463. normal: {
  464. barBorderRadius: [10, 10, 0, 0],
  465. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  466. {
  467. offset: 0,
  468. color: '#43ede3',
  469. },
  470. {
  471. offset: 1,
  472. color: '#082550',
  473. },
  474. ]),
  475. },
  476. },
  477. data: dataL6[0],
  478. },
  479. ],
  480. }
  481. option.title.text = '各二级企业本部员额数'
  482. option.legend.data = ['本部员额数']
  483. option.legend.show = true
  484. option.yAxis.push({
  485. splitLine: {
  486. show: false,
  487. },
  488. axisLine: {
  489. show: false,
  490. },
  491. })
  492. myChart.setOption(option)
  493. },
  494. initChartL7 () {
  495. let myChart = echarts.init(this.$refs['echartL7'])
  496. let option = {
  497. ..._.cloneDeep(this.commonOption),
  498. series: [
  499. {
  500. name: '2022年利润(万)',
  501. type: 'bar',
  502. barWidth: 15,
  503. itemStyle: {
  504. normal: {
  505. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  506. {
  507. offset: 0,
  508. color: '#43ede3',
  509. },
  510. {
  511. offset: 1,
  512. color: '#082550',
  513. },
  514. ]),
  515. },
  516. },
  517. markLine: {
  518. data: [{ type: 'average', name: 'Avg' }],
  519. },
  520. data: dataL7[0],
  521. },
  522. {
  523. name: '2022年累计招聘数',
  524. type: 'line',
  525. barWidth: 15,
  526. yAxisIndex: 1, //使用的 y 轴的 index,在单个图表实例中存在多个 y轴的时候有用
  527. itemStyle: {
  528. normal: {
  529. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  530. {
  531. offset: 0,
  532. color: '#b889ea',
  533. },
  534. {
  535. offset: 1,
  536. color: '#082550',
  537. },
  538. ]),
  539. },
  540. },
  541. data: dataL7[1],
  542. },
  543. ],
  544. }
  545. option.title.text = '各二级企业年利润与招聘情况分析'
  546. option.legend.data = ['2022年利润(万)', '2022年累计招聘数']
  547. option.legend.show = true
  548. option.yAxis.push({
  549. splitLine: {
  550. show: false,
  551. },
  552. axisLine: {
  553. show: false,
  554. },
  555. })
  556. myChart.setOption(option)
  557. },
  558. initChartL8 () {
  559. let myChart = echarts.init(this.$refs['echartL8'])
  560. let option = {
  561. ..._.cloneDeep(this.commonOption),
  562. series: [
  563. {
  564. name: '2022年退出人数',
  565. type: 'bar',
  566. barWidth: 15,
  567. itemStyle: {
  568. normal: {
  569. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  570. {
  571. offset: 0,
  572. color: '#5e7ae9',
  573. },
  574. {
  575. offset: 1,
  576. color: '#082550',
  577. },
  578. ]),
  579. },
  580. },
  581. data: dataL8[0],
  582. },
  583. {
  584. name: '2022年累计招聘人数',
  585. type: 'bar',
  586. barWidth: 15,
  587. itemStyle: {
  588. normal: {
  589. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  590. {
  591. offset: 0,
  592. color: '#43ede3',
  593. },
  594. {
  595. offset: 1,
  596. color: '#082550',
  597. },
  598. ]),
  599. },
  600. },
  601. data: dataL8[1],
  602. },
  603. ],
  604. }
  605. option.title.text = '各二级企业退二进一完成情况'
  606. option.legend.data = ['2022年退出人数', '2022年累计招聘人数']
  607. option.legend.show = true
  608. option.yAxis.push({
  609. splitLine: {
  610. show: false,
  611. },
  612. axisLine: {
  613. show: false,
  614. },
  615. })
  616. myChart.setOption(option)
  617. },
  618. // 中间图表---------------------------------------------开始
  619. initChartC1 () {
  620. let myChart = echarts.init(this.$refs['echartC1'])
  621. let option = {
  622. ..._.cloneDeep(this.commonOption),
  623. series: [
  624. {
  625. name: '全员劳动生产率',
  626. type: 'bar',
  627. barWidth: 12,
  628. smooth: true, //平滑曲线显示
  629. showAllSymbol: true, //显示所有图形。
  630. symbol: 'circle', //标记的图形为实心圆
  631. symbolSize: 8, //标记的大小
  632. smooth: false,
  633. itemStyle: {
  634. //折线拐点标志的样式
  635. color: '#B889EA',
  636. borderColor: '#B889EA',
  637. width: 2,
  638. shadowColor: '#B889EA',
  639. shadowBlur: 4,
  640. },
  641. lineStyle: {
  642. color: '#B889EA',
  643. width: 2,
  644. },
  645. // data: [60, 50, 80, 80, 90, 55, 40, 60, 50, 80, 90, 55, 40, 60, 50, 90, 55, 40],
  646. data: c1[0],
  647. markLine: {
  648. data: [
  649. {
  650. name: '省属企业平均水平(万/人)',
  651. yAxis: 50.13,
  652. lineStyle: {
  653. color: '#fff',
  654. },
  655. label: {
  656. formatter: '{b}',
  657. position: 'middle',
  658. color: '#fff',
  659. },
  660. },
  661. {
  662. name: '央企平均水平(万/人)',
  663. yAxis: 69.4,
  664. lineStyle: {
  665. color: '#fff',
  666. },
  667. label: {
  668. formatter: '{b}',
  669. position: 'middle',
  670. color: '#fff',
  671. },
  672. },
  673. ],
  674. label: {
  675. distance: [20, 8],
  676. },
  677. },
  678. },
  679. {
  680. name: '全员劳动生产率同比',
  681. yAxisIndex: 1, //使用的 y 轴的 index,在单个图表实例中存在多个 y轴的时候有用
  682. type: 'line',
  683. itemStyle: {
  684. normal: {
  685. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  686. {
  687. offset: 0,
  688. color: '#69c0ff',
  689. },
  690. {
  691. offset: 1,
  692. color: '#082550',
  693. },
  694. ]),
  695. },
  696. },
  697. // data: [50, 40, 60, 20, 45, 30, 60, 100, 45, 40, 50, 20, 60, 80, 45, 70, 50, 40],
  698. data: c1[1],
  699. },
  700. ],
  701. }
  702. option.title.text = '全员劳动生产率'
  703. option.legend.data = ['全员劳动生产率同比', '全员劳动生产率']
  704. option.legend.show = true
  705. option.yAxis.push({
  706. type: 'value',
  707. axisLine: {
  708. show: false,
  709. },
  710. splitLine: {
  711. show: false,
  712. },
  713. axisLabel: {
  714. show: true,
  715. formatter: '{value} %',
  716. textStyle: {
  717. color: 'rgba(250,250,250,0.6)',
  718. },
  719. },
  720. })
  721. myChart.setOption(option)
  722. },
  723. initChartC2 () {
  724. let myChart = echarts.init(this.$refs['echartC2'])
  725. let option = {
  726. ..._.cloneDeep(this.commonOption),
  727. series: [
  728. {
  729. name: '人工成本利润同比',
  730. type: 'line',
  731. yAxisIndex: 1, //使用的 y 轴的 index,在单个图表实例中存在多个 y轴的时候有用
  732. smooth: true, //平滑曲线显示
  733. showAllSymbol: true, //显示所有图形。
  734. symbol: 'circle', //标记的图形为实心圆
  735. symbolSize: 8, //标记的大小
  736. smooth: false,
  737. itemStyle: {
  738. //折线拐点标志的样式
  739. color: '#B889EA',
  740. borderColor: '#B889EA',
  741. width: 2,
  742. shadowColor: '#B889EA',
  743. shadowBlur: 4,
  744. },
  745. lineStyle: {
  746. color: '#B889EA',
  747. width: 2,
  748. },
  749. // data: [60, 50, 80, 80, 90, 55, 40, 60, 50, 80, 90, 55, 40, 60, 50, 90, 55, 40],
  750. data: c2[0],
  751. markLine: {
  752. data: [
  753. {
  754. name: '省属企业平均水平(万/人)',
  755. yAxis: 67.09,
  756. lineStyle: {
  757. color: '#fff',
  758. },
  759. label: {
  760. formatter: '{b}',
  761. position: 'end',
  762. color: '#fff',
  763. },
  764. },
  765. {
  766. name: '央企平均水平(万/人)',
  767. yAxis: 81,
  768. lineStyle: {
  769. color: '#fff',
  770. },
  771. label: {
  772. formatter: '{b}',
  773. position: 'middle',
  774. color: '#fff',
  775. },
  776. },
  777. ],
  778. label: {
  779. distance: [20, 8],
  780. },
  781. },
  782. },
  783. {
  784. name: '人工成本利润率',
  785. type: 'bar',
  786. barWidth: 15,
  787. itemStyle: {
  788. normal: {
  789. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  790. {
  791. offset: 0,
  792. color: '#69c0ff',
  793. },
  794. {
  795. offset: 1,
  796. color: '#082550',
  797. },
  798. ]),
  799. },
  800. },
  801. // data: [50, 40, 60, 20, 45, 30, 60, 100, 45, 40, 50, 20, 60, 80, 45, 70, 50, 40],
  802. data: c2[1]
  803. },
  804. ],
  805. }
  806. option.title.text = '人工成本利润率'
  807. option.legend.data = ['人工成本利润同比', '人工成本利润率']
  808. option.legend.show = true
  809. option.grid.right = '15%'
  810. option.yAxis.push({
  811. splitLine: {
  812. show: false,
  813. },
  814. axisLine: {
  815. show: false,
  816. },
  817. })
  818. myChart.setOption(option)
  819. },
  820. // 右侧图表---------------------------------------------开始
  821. initChartR1 () {
  822. let myChart = echarts.init(this.$refs['echartR1'])
  823. let commonOptions = this.commonOption
  824. commonOptions.yAxis[0].splitNumber = 2
  825. let option = {
  826. ..._.cloneDeep(commonOptions),
  827. series: [
  828. {
  829. name: '招聘需求公告次数',
  830. type: 'bar',
  831. barWidth: 15,
  832. itemStyle: {
  833. normal: {
  834. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  835. {
  836. offset: 0,
  837. color: '#69c0ff',
  838. },
  839. {
  840. offset: 1,
  841. color: '#082550',
  842. },
  843. ]),
  844. },
  845. },
  846. data: dataR1[0],
  847. },
  848. {
  849. name: '招聘需求公告累计招聘人次',
  850. type: 'bar',
  851. barWidth: 15,
  852. itemStyle: {
  853. normal: {
  854. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  855. {
  856. offset: 0,
  857. color: '#43ede3',
  858. },
  859. {
  860. offset: 1,
  861. color: '#082550',
  862. },
  863. ]),
  864. },
  865. },
  866. data: dataR1[1],
  867. },
  868. ],
  869. }
  870. option.title.text = '各二级企业招聘需求公告人次情况'
  871. option.legend.data = ['招聘需求公告次数', '招聘需求公告累计招聘人次']
  872. option.legend.show = true
  873. option.yAxis.push({
  874. splitLine: {
  875. show: false,
  876. },
  877. axisLine: {
  878. show: false,
  879. },
  880. })
  881. myChart.setOption(option)
  882. },
  883. initChartR2 () {
  884. let myChart = echarts.init(this.$refs['echartR2'])
  885. let commonOptions = this.commonOption
  886. commonOptions.yAxis[0].splitNumber = 2
  887. let option = {
  888. ..._.cloneDeep(commonOptions),
  889. series: [
  890. {
  891. name: '录用结果公示次数',
  892. type: 'bar',
  893. barWidth: 15,
  894. itemStyle: {
  895. normal: {
  896. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  897. {
  898. offset: 0,
  899. color: '#69c0ff',
  900. },
  901. {
  902. offset: 1,
  903. color: '#082550',
  904. },
  905. ]),
  906. },
  907. },
  908. data: dataR2[0],
  909. },
  910. {
  911. name: '录用结果公示累计公示人数',
  912. type: 'bar',
  913. barWidth: 15,
  914. itemStyle: {
  915. normal: {
  916. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  917. {
  918. offset: 0,
  919. color: '#45DAD1',
  920. },
  921. {
  922. offset: 1,
  923. color: '#082550',
  924. },
  925. ]),
  926. },
  927. },
  928. data: dataR2[1],
  929. },
  930. ],
  931. }
  932. option.title.text = '各二级企业录用结果公示人次'
  933. option.legend.data = ['录用结果公示次数', '录用结果公示累计公示人数']
  934. option.legend.show = true
  935. option.yAxis.push({
  936. splitLine: {
  937. show: false,
  938. },
  939. axisLine: {
  940. show: false,
  941. },
  942. })
  943. myChart.setOption(option)
  944. },
  945. initChartR3 () {
  946. let myChart = echarts.init(this.$refs['echartR3'])
  947. let commonOptions = this.commonOption
  948. commonOptions.yAxis[0].splitNumber = 2
  949. let option = {
  950. ..._.cloneDeep(commonOptions),
  951. series: [
  952. {
  953. name: '在岗职工平均薪酬',
  954. type: 'bar',
  955. barWidth: 15,
  956. itemStyle: {
  957. normal: {
  958. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  959. {
  960. offset: 0,
  961. color: '#69c0ff',
  962. },
  963. {
  964. offset: 1,
  965. color: '#082550',
  966. },
  967. ]),
  968. },
  969. },
  970. data: dataR3[0],
  971. },
  972. {
  973. name: '去年同期在岗职工平均薪酬',
  974. type: 'bar',
  975. barWidth: 15,
  976. itemStyle: {
  977. normal: {
  978. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  979. {
  980. offset: 0,
  981. color: '#45DAD1',
  982. },
  983. {
  984. offset: 1,
  985. color: '#082550',
  986. },
  987. ]),
  988. },
  989. },
  990. data: dataR3[1],
  991. },
  992. ],
  993. }
  994. option.title.text = '各二级企业在岗职工平均薪酬'
  995. option.legend.data = ['在岗职工平均薪酬', '去年同期在岗职工平均薪酬']
  996. option.legend.show = true
  997. option.yAxis.push({
  998. splitLine: {
  999. show: false,
  1000. },
  1001. axisLine: {
  1002. show: false,
  1003. },
  1004. })
  1005. myChart.setOption(option)
  1006. },
  1007. initChartR4 () {
  1008. let myChart = echarts.init(this.$refs['echartR4'])
  1009. let commonOptions = this.commonOption
  1010. commonOptions.yAxis[0].splitNumber = 2
  1011. let option = {
  1012. ..._.cloneDeep(commonOptions),
  1013. series: [
  1014. {
  1015. name: '2022年退出人数',
  1016. type: 'bar',
  1017. barWidth: 15,
  1018. itemStyle: {
  1019. normal: {
  1020. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  1021. {
  1022. offset: 0,
  1023. color: '#69c0ff',
  1024. },
  1025. {
  1026. offset: 1,
  1027. color: '#082550',
  1028. },
  1029. ]),
  1030. },
  1031. },
  1032. data: dataR4[0],
  1033. },
  1034. {
  1035. name: '2022年累计招聘人数',
  1036. type: 'bar',
  1037. barWidth: 15,
  1038. itemStyle: {
  1039. normal: {
  1040. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  1041. {
  1042. offset: 0,
  1043. color: '#45DAD1',
  1044. },
  1045. {
  1046. offset: 1,
  1047. color: '#082550',
  1048. },
  1049. ]),
  1050. },
  1051. },
  1052. data: dataR4[1],
  1053. },
  1054. ],
  1055. }
  1056. option.title.text = '各二级企业月利润与月薪酬变动情况'
  1057. option.legend.data = ['2022年利润累计涨幅率', '2022年薪酬累计涨幅率']
  1058. option.legend.show = true
  1059. option.yAxis.push({
  1060. splitLine: {
  1061. show: false,
  1062. },
  1063. axisLine: {
  1064. show: false,
  1065. },
  1066. })
  1067. myChart.setOption(option)
  1068. },
  1069. initChartR5 () {
  1070. let myChart = echarts.init(this.$refs['echartR5'])
  1071. let option = {
  1072. ..._.cloneDeep(this.commonOption),
  1073. series: [
  1074. {
  1075. name: '去年同期在岗职工平均薪酬',
  1076. type: 'bar',
  1077. barWidth: 15,
  1078. itemStyle: {
  1079. normal: {
  1080. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  1081. {
  1082. offset: 0,
  1083. color: '#6682F5',
  1084. },
  1085. {
  1086. offset: 1,
  1087. color: '#082550',
  1088. },
  1089. ]),
  1090. },
  1091. },
  1092. data: fjxdataL1[0],
  1093. },
  1094. {
  1095. name: '在岗职工平均薪酬',
  1096. type: 'bar',
  1097. barWidth: 15,
  1098. itemStyle: {
  1099. normal: {
  1100. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  1101. {
  1102. offset: 0,
  1103. color: '#69c0ff',
  1104. },
  1105. {
  1106. offset: 1,
  1107. color: '#082550',
  1108. },
  1109. ]),
  1110. },
  1111. },
  1112. data: fjxdataL1[1],
  1113. },
  1114. ],
  1115. }
  1116. option.title.text = '各省属企业在岗职工平均薪酬'
  1117. option.legend.data = ['去年同期在岗职工平均薪酬', '在岗职工平均薪酬']
  1118. option.legend.show = true
  1119. option.yAxis.push({
  1120. splitLine: {
  1121. show: false,
  1122. },
  1123. axisLine: {
  1124. show: false,
  1125. },
  1126. })
  1127. myChart.setOption(option)
  1128. },
  1129. initChartR6 () {
  1130. let myChart = echarts.init(this.$refs['echartR6'])
  1131. let option = {
  1132. ..._.cloneDeep(this.commonOption),
  1133. series: [
  1134. {
  1135. name: '2022年利润累计涨幅率',
  1136. type: 'line',
  1137. smooth: true, //平滑曲线显示
  1138. showAllSymbol: true, //显示所有图形。
  1139. symbol: 'circle', //标记的图形为实心圆
  1140. symbolSize: 8, //标记的大小
  1141. smooth: false,
  1142. itemStyle: {
  1143. //折线拐点标志的样式
  1144. color: '#B889EA',
  1145. borderColor: '#B889EA',
  1146. width: 2,
  1147. shadowColor: '#B889EA',
  1148. shadowBlur: 4,
  1149. },
  1150. lineStyle: {
  1151. color: '#B889EA',
  1152. width: 2,
  1153. },
  1154. data: fjxdataL2[0],
  1155. },
  1156. {
  1157. name: '2022年薪酬累计涨幅率',
  1158. type: 'line',
  1159. barWidth: 15,
  1160. itemStyle: {
  1161. normal: {
  1162. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  1163. {
  1164. offset: 0,
  1165. color: '#69C0FF',
  1166. },
  1167. {
  1168. offset: 1,
  1169. color: '#082550',
  1170. },
  1171. ]),
  1172. },
  1173. },
  1174. data: fjxdataL2[1],
  1175. },
  1176. ],
  1177. }
  1178. option.title.text = '各省属企业月利润与月薪酬变动情况'
  1179. option.legend.data = ['2022年利润累计涨幅率', '2022年薪酬累计涨幅率']
  1180. option.yAxis.push({
  1181. splitLine: {
  1182. show: false,
  1183. },
  1184. axisLine: {
  1185. show: false,
  1186. },
  1187. })
  1188. myChart.setOption(option)
  1189. },
  1190. initChartR7 () {
  1191. let myChart = echarts.init(this.$refs['echartR7'])
  1192. let option = {
  1193. ..._.cloneDeep(this.commonOption),
  1194. series: [
  1195. {
  1196. name: '全员绩效考核完成率',
  1197. type: 'bar',
  1198. barWidth: 15,
  1199. itemStyle: {
  1200. normal: {
  1201. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  1202. {
  1203. offset: 0,
  1204. color: '#B889EA',
  1205. },
  1206. {
  1207. offset: 1,
  1208. color: '#082550',
  1209. },
  1210. ]),
  1211. },
  1212. },
  1213. data: fjxdataL3[0],
  1214. },
  1215. ],
  1216. }
  1217. option.title.text = '各省属企业全员绩效考核'
  1218. // option.legend.data = ['劳动合同签约完成率', '目标值']
  1219. option.yAxis.push({
  1220. splitLine: {
  1221. show: false,
  1222. },
  1223. axisLine: {
  1224. show: false,
  1225. },
  1226. })
  1227. myChart.setOption(option)
  1228. },
  1229. initChartR8 () {
  1230. let myChart = echarts.init(this.$refs['echartR8'])
  1231. let option = {
  1232. ..._.cloneDeep(this.commonOption),
  1233. series: [
  1234. {
  1235. name: '任期制考核完成率',
  1236. type: 'bar',
  1237. barWidth: 15,
  1238. itemStyle: {
  1239. normal: {
  1240. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  1241. {
  1242. offset: 0,
  1243. color: '#43ede3',
  1244. },
  1245. {
  1246. offset: 1,
  1247. color: '#082550',
  1248. },
  1249. ]),
  1250. },
  1251. },
  1252. data: fjxdataL4[0],
  1253. },
  1254. ],
  1255. }
  1256. option.title.text = '各省属企业任期制考核'
  1257. option.yAxis.push({
  1258. splitLine: {
  1259. show: false,
  1260. },
  1261. axisLine: {
  1262. show: false,
  1263. },
  1264. })
  1265. myChart.setOption(option)
  1266. },
  1267. },
  1268. })