index.js 61 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783
  1. let barImg =
  2. 'data:image/png;base64,iVBORw0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o1n0Lg/+kPvuVwF/I97d2s4eL011mqWquP8ce0j1jesow3iR2toq3PTMXvdz2THdvjVr7YzNibpsD9cc6NztB/6f4ffQsan0xs3AAAAAElFTkSuQmCC'
  3. let app = new Vue({
  4. el: '#app',
  5. data () {
  6. return {
  7. showTip: false,
  8. tipNum: '',
  9. tipData: tipData,
  10. time: '',
  11. year: '2022',
  12. config1: {
  13. number: [100],
  14. content: '{nt}个',
  15. },
  16. centerData: '',
  17. storageRecordConfig: {
  18. header: ['', '时间', '所属集团', '工作情况'],
  19. headerBGC: '#05507b33',
  20. oddRowBGC: '#69c0ff0f',
  21. evenRowBGC: '',
  22. headerHeight: '40',
  23. columnWidth: [150, 150],
  24. rowNum: 4,
  25. align: ['right', 'center', 'center', 'center'],
  26. data: [
  27. // ['<span class="lightOut"><span class="light red"></span></span>', '2022年1月', '山西焦煤', '已经开展高层次人才引进工作'],
  28. // ['<span class="lightOut"><span class="light yellow"></span></span>', '2022年2月', '山西文旅', '不能按期完成序时进度'],
  29. // ['<span class="lightOut"><span class="light green"></span></span>', '2022年3月', '大地控股', '已经实现中长期激励机制贯彻'],
  30. // ['<span class="lightOut"><span class="light red"></span></span>', '2022年4月', '国际能源', '薪酬结果没有做到公开'],
  31. // ['<span class="lightOut"><span class="light yellow"></span></span>', '2022年5月', '山西焦煤', '已经开展高层次人才引进工作'],
  32. // ['<span class="lightOut"><span class="light green"></span></span>', '2022年6月', '山西焦煤', '不能按期完成序时进度'],
  33. ['<span class="lightOut"><span class=" light green "></span></span>', ' 2022.12.07 ', ' 山西焦煤 ', ' “退二进一”完成情况表现优秀 '],
  34. ['<span class="lightOut"><span class=" light green "></span></span>', ' 2023.01.04 ', ' 山西焦煤 ', ' 总部机构压减成效明显 '],
  35. ['<span class="lightOut"><span class=" light green "></span></span>', ' 2023.01.05 ', ' 晋能控股 ', ' 总部人员压减成效突出 '],
  36. ['<span class="lightOut"><span class=" light green "></span></span>', ' 2023.01.06 ', ' 晋能控股 ', ' 中层管理人数改革成效显著 '],
  37. ['<span class="lightOut"><span class=" light green "></span></span>', ' 2022.12.07 ', ' 晋能控股 ', ' 管理级次压缩成效明显 '],
  38. ['<span class="lightOut"><span class=" light red "></span></span>', ' 2023.01.08 ', ' 华阳新材 ', ' 六定未按要求下穿到全级次企业 '],
  39. ['<span class="lightOut"><span class=" light green "></span></span>', ' 2022.11.07 ', ' 潞安化工 ', ' 全员劳动生产率提高明显 '],
  40. ['<span class="lightOut"><span class=" light green "></span></span>', ' 2023.01.10 ', ' 建投集团 ', ' 深入开展中层管理人员竞聘上岗 '],
  41. ['<span class="lightOut"><span class=" light green "></span></span>', ' 2023.01.11 ', ' 华舰体育 ', ' 集团人数增长速度较快 '],
  42. ['<span class="lightOut"><span class=" light green "></span></span>', ' 2023.01.12 ', ' 华舰体育 ', ' 人员增速显著高于全员劳动生产率增速 '],
  43. ['<span class="lightOut"><span class=" light green "></span></span>', ' 2022.09.07 ', ' 国际能源 ', ' 全员劳动生产率增速显著高于人员增速 '],
  44. ['<span class="lightOut"><span class=" light green "></span></span>', ' 2023.01.15 ', ' 山西焦煤 ', ' 人工成本利润率增长且总人数下降 '],
  45. ['<span class="lightOut"><span class=" light green "></span></span>', ' 2023.01.15 ', ' 晋能控股 ', ' 人工成本利润率增长且总人数下降 '],
  46. ['<span class="lightOut"><span class=" light green "></span></span>', ' 2023.01.15 ', ' 华阳新材 ', ' 人工成本利润率增长且总人数下降 '],
  47. ['<span class="lightOut"><span class=" light green "></span></span>', ' 2023.01.15 ', ' 太重集团 ', ' 人工成本利润率增长且总人数下降 '],
  48. ['<span class="lightOut"><span class=" light green "></span></span>', ' 2023.01.15 ', ' 国际能源 ', ' 人工成本利润率增长且总人数下降 '],
  49. ['<span class="lightOut"><span class=" light green "></span></span>', ' 2023.01.15 ', ' 华远陆港 ', ' 人工成本利润率增长且总人数下降 '],
  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 yellow "></span></span>', ' 2023.01.16 ', ' 文旅集团 ', ' 人工成本利润率显著降低 '],
  53. ['<span class="lightOut"><span class=" light yellow "></span></span>', ' 2023.01.17 ', ' 航产集团 ', ' 人工成本利润率显著降低 '],
  54. ['<span class="lightOut"><span class=" light red "></span></span>', ' 2023.01.18 ', ' 大地控股 ', ' 中层管理人员任命不符合六定要求 '],
  55. ['<span class="lightOut"><span class=" light green "></span></span>', ' 2022.11.07 ', ' 交控集团 ', ' “退二进一”完成情况表现优秀 '],
  56. ['<span class="lightOut"><span class=" light green "></span></span>', ' 2023.01.20 ', ' 太重集团 ', ' 开展管理人员末等调整和不胜任退出 '],
  57. ['<span class="lightOut"><span class=" light yellow "></span></span>', ' 2022.12.07 ', ' 华舰体育 ', ' 六定相关文件未按要求备案 '],
  58. ['<span class="lightOut"><span class=" light yellow "></span></span>', ' 2022.12.07 ', ' 文旅集团 ', ' 六定相关文件未按要求备案 '],
  59. ['<span class="lightOut"><span class=" light yellow "></span></span>', ' 2022.12.07 ', ' 水控集团 ', ' 六定相关文件未按要求备案 '],
  60. ],
  61. // data: [
  62. // ['<span style-"display:inline-block; width:15px;height:15px;border-radius:50%;background-color:green;"></span>', '2022年1月', '山西焦煤', '已经开展高层次人才引进工作'],
  63. // ['2022年2月', '山西文旅', '不能按期完成序时进度'],
  64. // ['2022年3月', '大地控股', '已经实现中长期激励机制贯彻'],
  65. // ['2022年4月', '国际能源', '薪酬结果没有做到公开'],
  66. // ['2022年5月', '山西焦煤', '已经开展高层次人才引进工作'],
  67. // ['2022年6月', '山西焦煤', '不能按期完成序时进度'],
  68. // ],
  69. },
  70. storageRecordConfig2: {
  71. header: ['', '企业名称', '预警内容', '数据抓取日期', '累计未获取数据日期'],
  72. headerBGC: '#05507b33',
  73. oddRowBGC: '#05507b33',
  74. evenRowBGC: '',
  75. headerHeight: '40',
  76. columnWidth: [150, 150],
  77. rowNum: 4,
  78. align: ['center', 'center', 'center', 'center', 'center'],
  79. data: [
  80. ['<span class="lightOut"><span class=" light green "></span></span>', ' 华新燃气 ', ' 本季度数据更新及时准确 ', ' 四季度 ', ' - '],
  81. ['<span class="lightOut"><span class=" light green "></span></span>', ' 云时代 ', ' 本季度数据更新及时准确 ', ' 四季度 ', ' '],
  82. ['<span class="lightOut"><span class=" light red "></span></span>', ' 大地控股 ', ' 六定长效机制情况未更新 ', ' 2022.12.01-12.31 ', ' 30 '],
  83. ['<span class="lightOut"><span class=" light yellow "></span></span>', ' 建设投资 ', ' 六定长效机制12月数据未获取 ', ' 2022.12.01-12.31 ', ' 15 '],
  84. ['<span class="lightOut"><span class=" light yellow "></span></span>', ' 交控集团 ', ' 经营业绩考核12月数据未获取 ', ' 2022.12.01-12.31 ', ' 15 '],
  85. ['<span class="lightOut"><span class=" light yellow "></span></span>', ' 太重集团 ', ' 经营业绩考核12月数据未获取 ', ' 2022.12.01-12.31 ', ' 15 '],
  86. ['<span class="lightOut"><span class=" light yellow "></span></span>', ' 文旅集团 ', ' 经营业绩考核12月数据未获取 ', ' 2022.12.01-12.31 ', ' 15 '],
  87. ['<span class="lightOut"><span class=" light yellow "></span></span>', ' 水务集团 ', ' 经营业绩考核12月数据未获取 ', ' 2022.12.01-12.31 ', ' 15 '],
  88. ['<span class="lightOut"><span class=" light yellow "></span></span>', ' 航产集团 ', ' 经营业绩考核12月数据未获取 ', ' 2022.12.01-12.31 ', ' 15 '],
  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>', ' 文旅集团 ', ' 六定长效机制情况数据更新错误 ', ' 2022.12.01-12.31 ', ' - '],
  91. ],
  92. },
  93. companyList: companyList,
  94. commonOption: {
  95. title: {
  96. text: 'xxx',
  97. x: 'center',
  98. y: '3%',
  99. textStyle: {
  100. color: '#69C0FF',
  101. fontSize: 24,
  102. },
  103. },
  104. tooltip: {
  105. trigger: 'axis',
  106. textStyle: { fontSize: 18 },
  107. axisPointer: {
  108. type: 'cross',
  109. label: {
  110. fontSize: 18,
  111. },
  112. },
  113. },
  114. grid: {
  115. top: '22%',
  116. right: '5%',
  117. left: '8%',
  118. bottom: '20%',
  119. },
  120. legend: {
  121. data: '',
  122. top: '12%',
  123. right: '5%',
  124. textStyle: {
  125. color: 'rgba(250,250,250,0.6)',
  126. fontSize: 16,
  127. },
  128. },
  129. xAxis: {
  130. data: companyList.map(item => item.name),
  131. axisLine: {
  132. show: false, //隐藏X轴轴线
  133. lineStyle: {
  134. color: '#005094',
  135. width: 1,
  136. },
  137. },
  138. axisTick: {
  139. show: false, //隐藏X轴刻度
  140. },
  141. axisLabel: {
  142. show: true,
  143. rotate: 50,
  144. textStyle: {
  145. color: 'rgba(255,255,255,0.6)', //X轴文字颜色
  146. fontSize: 16,
  147. },
  148. },
  149. },
  150. yAxis: [
  151. {
  152. type: 'value',
  153. nameTextStyle: {
  154. color: '#ebf8ac',
  155. fontSize: 16,
  156. },
  157. splitLine: {
  158. show: true,
  159. lineStyle: {
  160. color: '#68b4dd66',
  161. type: 'dashed',
  162. },
  163. },
  164. axisLine: {
  165. show: false,
  166. },
  167. axisLabel: {
  168. show: true,
  169. textStyle: {
  170. color: 'rgba(250,250,250,0.6)',
  171. fontSize: 16,
  172. },
  173. },
  174. },
  175. ],
  176. },
  177. }
  178. },
  179. mounted () {
  180. this.time = formatDate()
  181. this.timer = setInterval(() => {
  182. this.time = formatDate()
  183. }, 1000)
  184. this.centerData = data
  185. // 左侧图表
  186. this.initChartL1()
  187. this.initChartL2()
  188. this.initChartL3()
  189. this.initChartL4()
  190. this.initChartL5()
  191. this.initChartL6()
  192. this.initChartL7()
  193. this.initChartL8()
  194. // 中间图表
  195. this.initChartC1()
  196. this.initChartC2()
  197. // 右侧图表
  198. this.initChartR1()
  199. this.initChartR2()
  200. this.initChartR3()
  201. this.initChartR4()
  202. this.initChartR5()
  203. this.initChartR6()
  204. this.initChartR7()
  205. this.initChartR8()
  206. },
  207. beforeDestroy () {
  208. if (this.timer) {
  209. clearInterval(this.timer)
  210. }
  211. },
  212. methods: {
  213. handleShowTip (index) {
  214. this.showTip = true
  215. this.tipNum = index
  216. },
  217. handleGoPage (url) {
  218. if (url.length) {
  219. window.location.href = url
  220. }
  221. },
  222. numFormat (value) {
  223. if (!value) return '0'
  224. var intPart = Number(value).toFixed(0) // 获取整数部分
  225. var intPartFormat = intPart.toString().replace(/(\d)(?=(?:\d{3})+$)/g, '$1,') // 将整数部分逢三一断
  226. var floatPart = '.00' // 预定义小数部分
  227. var value2Array = value.toString().split('.')
  228. // =2表示数据有小数位
  229. if (value2Array.length === 2) {
  230. floatPart = value2Array[1].toString() // 拿到小数部分
  231. if (floatPart.length === 1) {
  232. // 补0
  233. return intPartFormat + '.' + floatPart + '0'
  234. } else {
  235. return intPartFormat + '.' + floatPart
  236. }
  237. } else {
  238. return intPartFormat
  239. }
  240. },
  241. initChartL1 () {
  242. let myChart = echarts.init(this.$refs['echartL1'])
  243. let option = {
  244. ..._.cloneDeep(this.commonOption),
  245. series: [
  246. {
  247. name: '总部机构数核定上限',
  248. type: 'line',
  249. // yAxisIndex: 1, //使用的 y 轴的 index,在单个图表实例中存在多个 y轴的时候有用
  250. smooth: true, //平滑曲线显示
  251. showAllSymbol: true, //显示所有图形。
  252. symbol: 'circle', //标记的图形为实心圆
  253. symbolSize: 8, //标记的大小
  254. smooth: false,
  255. itemStyle: {
  256. //折线拐点标志的样式
  257. color: '#fbe138',
  258. borderColor: '#fbe138',
  259. width: 2,
  260. shadowColor: '#fbe138',
  261. shadowBlur: 4,
  262. },
  263. lineStyle: {
  264. color: '#fbe138',
  265. width: 2,
  266. },
  267. data: dataL1[2],
  268. },
  269. {
  270. name: '六定改革前总部机构数',
  271. type: 'bar',
  272. barWidth: 15,
  273. itemStyle: {
  274. normal: {
  275. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  276. {
  277. offset: 0,
  278. color: '#43ede3',
  279. },
  280. {
  281. offset: 1,
  282. color: '#082550',
  283. },
  284. ]),
  285. },
  286. },
  287. data: dataL1[0],
  288. },
  289. {
  290. name: '当前各省属企业总部机构数',
  291. type: 'bar',
  292. barWidth: 15,
  293. itemStyle: {
  294. normal: {
  295. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  296. {
  297. offset: 0,
  298. color: '#69c0ff',
  299. },
  300. {
  301. offset: 1,
  302. color: '#082550',
  303. },
  304. ]),
  305. },
  306. },
  307. data: dataL1[1],
  308. },
  309. ],
  310. }
  311. option.title.text = '各省属企业总部机构数'
  312. option.legend.data = ['六定改革前总部机构数', '当前各省属企业总部机构数', '总部机构数核定上限']
  313. option.yAxis.push({
  314. splitLine: {
  315. show: false,
  316. },
  317. axisLine: {
  318. show: false,
  319. },
  320. })
  321. myChart.setOption(option)
  322. },
  323. initChartL2 () {
  324. let myChart = echarts.init(this.$refs['echartL2'])
  325. let option = {
  326. ..._.cloneDeep(this.commonOption),
  327. color: ['#69c0ff'],
  328. series: [
  329. {
  330. name: '当前共享服务中心/事业部数',
  331. type: 'bar',
  332. barWidth: 15,
  333. itemStyle: {
  334. color: params => {
  335. if (params.value > dataL2[1][params.dataIndex]) {
  336. return new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  337. {
  338. offset: 0,
  339. color: 'red',
  340. },
  341. {
  342. offset: 1,
  343. color: '#082550',
  344. },
  345. ])
  346. } else {
  347. return new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  348. {
  349. offset: 0,
  350. color: '#69c0ff',
  351. },
  352. {
  353. offset: 1,
  354. color: '#082550',
  355. },
  356. ])
  357. }
  358. },
  359. },
  360. data: dataL2[0],
  361. },
  362. {
  363. name: '共享服务中心/事业部核定上限',
  364. type: 'line',
  365. // yAxisIndex: 1, //使用的 y 轴的 index,在单个图表实例中存在多个 y轴的时候有用
  366. smooth: true, //平滑曲线显示
  367. showAllSymbol: true, //显示所有图形。
  368. symbol: 'circle', //标记的图形为实心圆
  369. symbolSize: 8, //标记的大小
  370. smooth: false,
  371. itemStyle: {
  372. //折线拐点标志的样式
  373. color: '#fbe138',
  374. borderColor: '#fbe138',
  375. width: 2,
  376. shadowColor: '#fbe138',
  377. shadowBlur: 4,
  378. },
  379. lineStyle: {
  380. color: '#fbe138',
  381. width: 2,
  382. },
  383. data: dataL2[1],
  384. },
  385. ],
  386. }
  387. option.title.text = '各省属企业共享服务中心/事业部数'
  388. option.legend.data = ['当前共享服务中心/事业部数', '共享服务中心/事业部核定上限']
  389. option.yAxis.push({
  390. splitLine: {
  391. show: false,
  392. },
  393. axisLine: {
  394. show: false,
  395. },
  396. })
  397. myChart.setOption(option)
  398. },
  399. initChartL3 () {
  400. let myChart = echarts.init(this.$refs['echartL3'])
  401. let option = {
  402. ..._.cloneDeep(this.commonOption),
  403. series: [
  404. {
  405. name: '当前管理人员数',
  406. type: 'bar',
  407. barWidth: 15,
  408. itemStyle: {
  409. normal: {
  410. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  411. {
  412. offset: 0,
  413. color: '#5e7ae9',
  414. },
  415. {
  416. offset: 1,
  417. color: '#082550',
  418. },
  419. ]),
  420. },
  421. },
  422. data: dataL3[0],
  423. },
  424. {
  425. name: '管理人员数占总人数比值',
  426. type: 'line',
  427. yAxisIndex: 1,
  428. smooth: true, //平滑曲线显示
  429. showAllSymbol: true, //显示所有图形。
  430. symbol: 'circle', //标记的图形为实心圆
  431. symbolSize: 8, //标记的大小
  432. smooth: false,
  433. itemStyle: {
  434. //折线拐点标志的样式
  435. color: '#fbe138',
  436. borderColor: '#fbe138',
  437. width: 2,
  438. shadowColor: '#fbe138',
  439. shadowBlur: 4,
  440. },
  441. lineStyle: {
  442. color: '#fbe138',
  443. width: 2,
  444. },
  445. markLine: {
  446. data: [
  447. {
  448. name: '管理人员数占总人数的合理比值线',
  449. yAxis: 15,
  450. lineStyle: {
  451. color: '#fff',
  452. },
  453. label: {
  454. formatter: '{b}',
  455. position: 'middle',
  456. color: '#fff',
  457. fontSize: 16,
  458. },
  459. },
  460. ],
  461. label: {
  462. distance: [20, 8],
  463. },
  464. },
  465. data: dataL3[1],
  466. },
  467. ],
  468. }
  469. option.title.text = '各省属企业管理人员数'
  470. option.legend.data = ['当前管理人员数', '管理人员数占总人数比值']
  471. option.yAxis[0] = {
  472. type: 'log',
  473. min: 1,
  474. logBase: 10,
  475. axisLine: {
  476. show: false,
  477. },
  478. splitLine: {
  479. show: true,
  480. lineStyle: {
  481. color: '#68b4dd66',
  482. type: 'dashed',
  483. },
  484. },
  485. axisLabel: {
  486. show: true,
  487. formatter: function (value) {
  488. return value === 1 ? 0 : value
  489. },
  490. textStyle: {
  491. color: 'rgba(250,250,250,0.6)',
  492. },
  493. },
  494. }
  495. option.yAxis.push({
  496. type: 'value',
  497. max: 15,
  498. axisLine: {
  499. show: false,
  500. },
  501. splitLine: {
  502. show: false,
  503. },
  504. axisLabel: {
  505. show: true,
  506. formatter: '{value} %',
  507. textStyle: {
  508. color: 'rgba(250,250,250,0.6)',
  509. },
  510. },
  511. })
  512. option.tooltip.formatter = '{a0}:{c0}' + '<br/>' + '{a1}:{c1}' + '%'
  513. myChart.setOption(option)
  514. },
  515. initChartL4 () {
  516. let myChart = echarts.init(this.$refs['echartL4'])
  517. let option = {
  518. ..._.cloneDeep(this.commonOption),
  519. series: [
  520. {
  521. name: '六定改革前总部中层管理人数',
  522. type: 'bar',
  523. barWidth: 15,
  524. itemStyle: {
  525. normal: {
  526. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  527. {
  528. offset: 0,
  529. color: '#69c0ff',
  530. },
  531. {
  532. offset: 1,
  533. color: '#082550',
  534. },
  535. ]),
  536. },
  537. },
  538. data: dataL4[0],
  539. },
  540. {
  541. name: '当前总部中层管理人数',
  542. type: 'bar',
  543. barWidth: 15,
  544. itemStyle: {
  545. normal: {
  546. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  547. {
  548. offset: 0,
  549. color: '#6480f3',
  550. },
  551. {
  552. offset: 1,
  553. color: '#082550',
  554. },
  555. ]),
  556. },
  557. },
  558. data: dataL4[1],
  559. },
  560. ],
  561. }
  562. option.title.text = '各省属企业总部中层管理人数'
  563. option.legend.data = ['六定改革前总部中层管理人数', '当前总部中层管理人数']
  564. option.legend.show = true
  565. option.yAxis.push({
  566. splitLine: {
  567. show: false,
  568. },
  569. axisLine: {
  570. show: false,
  571. },
  572. })
  573. myChart.setOption(option)
  574. },
  575. initChartL5 () {
  576. let myChart = echarts.init(this.$refs['echartL5'])
  577. let option = {
  578. ..._.cloneDeep(this.commonOption),
  579. series: [
  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: '#69c0ff',
  590. },
  591. {
  592. offset: 1,
  593. color: '#082550',
  594. },
  595. ]),
  596. },
  597. },
  598. data: dataL5[0],
  599. },
  600. {
  601. name: '去年同期人数变化率',
  602. type: 'line',
  603. yAxisIndex: 1, //使用的 y 轴的 index,在单个图表实例中存在多个 y轴的时候有用
  604. smooth: true, //平滑曲线显示
  605. showAllSymbol: true, //显示所有图形。
  606. symbol: 'circle', //标记的图形为实心圆
  607. symbolSize: 8, //标记的大小
  608. smooth: false,
  609. itemStyle: {
  610. //折线拐点标志的样式
  611. color: '#b889ea',
  612. borderColor: '#b889ea',
  613. width: 2,
  614. shadowColor: '#b889ea',
  615. shadowBlur: 4,
  616. },
  617. lineStyle: {
  618. color: '#b889ea',
  619. width: 2,
  620. },
  621. data: dataL5[1],
  622. },
  623. ],
  624. }
  625. option.title.text = '各省属企业总人数'
  626. option.legend.data = ['各省属企业总人数', '去年同期人数变化率']
  627. option.legend.show = true
  628. option.yAxis[0] = {
  629. type: 'value',
  630. // type: 'log',
  631. min: 1,
  632. // logBase: 10,
  633. axisLine: {
  634. show: false,
  635. },
  636. splitLine: {
  637. show: true,
  638. lineStyle: {
  639. color: '#68b4dd66',
  640. type: 'dashed',
  641. },
  642. },
  643. axisLabel: {
  644. show: true,
  645. formatter: function (value) {
  646. return value === 1 ? 0 : value
  647. },
  648. textStyle: {
  649. color: 'rgba(250,250,250,0.6)',
  650. },
  651. },
  652. }
  653. option.yAxis.push({
  654. type: 'value',
  655. axisLine: {
  656. show: false,
  657. },
  658. splitLine: {
  659. show: false,
  660. },
  661. axisLabel: {
  662. show: true,
  663. formatter: '{value} %',
  664. textStyle: {
  665. color: 'rgba(250,250,250,0.6)',
  666. },
  667. },
  668. })
  669. option.tooltip.formatter = '{a0}:{c0}' + '<br/>' + '{a1}:{c1}' + '%'
  670. myChart.setOption(option)
  671. },
  672. initChartL6 () {
  673. let myChart = echarts.init(this.$refs['echartL6'])
  674. let option = {
  675. ..._.cloneDeep(this.commonOption),
  676. series: [
  677. {
  678. name: '总部员额数',
  679. type: 'bar',
  680. barWidth: 15,
  681. itemStyle: {
  682. normal: {
  683. barBorderRadius: [10, 10, 0, 0],
  684. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  685. {
  686. offset: 0,
  687. color: '#43ede3',
  688. },
  689. {
  690. offset: 1,
  691. color: '#082550',
  692. },
  693. ]),
  694. },
  695. },
  696. data: dataL6[0],
  697. },
  698. {
  699. name: '总部员额数核定上限',
  700. type: 'line',
  701. yAxisIndex: 1, //使用的 y 轴的 index,在单个图表实例中存在多个 y轴的时候有用
  702. smooth: true, //平滑曲线显示
  703. showAllSymbol: true, //显示所有图形。
  704. symbol: 'circle', //标记的图形为实心圆
  705. symbolSize: 8, //标记的大小
  706. smooth: false,
  707. itemStyle: {
  708. //折线拐点标志的样式
  709. color: '#fbe138',
  710. borderColor: '#fbe138',
  711. width: 2,
  712. shadowColor: '#fbe138',
  713. shadowBlur: 4,
  714. },
  715. lineStyle: {
  716. color: '#fbe138',
  717. width: 2,
  718. },
  719. data: dataL6[1],
  720. },
  721. ],
  722. }
  723. option.title.text = '各省属企业总部员额数'
  724. option.legend.data = ['总部员额数', '总部员额数核定上限']
  725. option.legend.show = true
  726. option.yAxis.push({
  727. splitLine: {
  728. show: false,
  729. },
  730. axisLine: {
  731. show: false,
  732. },
  733. })
  734. myChart.setOption(option)
  735. },
  736. initChartL7 () {
  737. let myChart = echarts.init(this.$refs['echartL7'])
  738. let option = {
  739. ..._.cloneDeep(this.commonOption),
  740. color: ['#43ede3'],
  741. series: [
  742. {
  743. name: '人数变化',
  744. type: 'line',
  745. smooth: true, //平滑曲线显示
  746. showAllSymbol: true, //显示所有图形。
  747. symbol: 'circle', //标记的图形为实心圆
  748. symbolSize: 15, //标记的大小
  749. smooth: false,
  750. itemStyle: {
  751. color: params => {
  752. if (dataL7[1][params.dataIndex] < 0 && params.value > 0) {
  753. return 'red'
  754. } else {
  755. return '#43ede3'
  756. }
  757. },
  758. },
  759. lineStyle: {
  760. color: '#43ede3',
  761. width: 2,
  762. },
  763. data: dataL7[0],
  764. },
  765. {
  766. name: '劳动生产率同比变化',
  767. type: 'line',
  768. yAxisIndex: 1,
  769. smooth: true, //平滑曲线显示
  770. showAllSymbol: true, //显示所有图形。
  771. symbol: 'circle', //标记的图形为实心圆
  772. symbolSize: 15, //标记的大小
  773. smooth: false,
  774. itemStyle: {
  775. //折线拐点标志的样式
  776. color: '#b889ea',
  777. borderColor: '#b889ea',
  778. width: 2,
  779. shadowColor: '#b889ea',
  780. shadowBlur: 4,
  781. },
  782. data: dataL7[1],
  783. },
  784. ],
  785. }
  786. option.title.text = '人数变化和全员劳动生产率变化分析'
  787. option.legend.data = ['人数变化', '劳动生产率同比变化']
  788. option.legend.show = true
  789. option.yAxis[0].axisLabel.formatter = '{value} %'
  790. option.tooltip.formatter = '{a0}:{c0}' + '%' + '<br/>' + '{a1}:{c1}' + '%'
  791. option.yAxis.push({
  792. type: 'value',
  793. axisLine: {
  794. show: false,
  795. },
  796. splitLine: {
  797. show: false,
  798. },
  799. axisLabel: {
  800. show: true,
  801. formatter: '{value} %',
  802. textStyle: {
  803. color: 'rgba(250,250,250,0.6)',
  804. },
  805. splitLine: {
  806. show: false,
  807. },
  808. axisLabel: {
  809. show: true,
  810. formatter: '{value} %',
  811. textStyle: {
  812. color: 'rgba(250,250,250,0.6)',
  813. },
  814. },
  815. },
  816. })
  817. myChart.setOption(option)
  818. },
  819. initChartL8 () {
  820. let myChart = echarts.init(this.$refs['echartL8'])
  821. let option = {
  822. ..._.cloneDeep(this.commonOption),
  823. color: ['#43ede3'],
  824. series: [
  825. {
  826. name: '人数变化',
  827. type: 'line',
  828. smooth: true, //平滑曲线显示
  829. showAllSymbol: true, //显示所有图形。
  830. symbol: 'circle', //标记的图形为实心圆
  831. symbolSize: 15, //标记的大小
  832. smooth: false,
  833. itemStyle: {
  834. color: params => {
  835. if (dataL8[1][params.dataIndex] < 0 && params.value > 0) {
  836. return 'red'
  837. } else {
  838. return '#43ede3'
  839. }
  840. },
  841. },
  842. lineStyle: {
  843. color: '#43ede3',
  844. width: 2,
  845. },
  846. data: dataL8[0],
  847. },
  848. {
  849. name: '人工成本利润率同比变化',
  850. type: 'line',
  851. smooth: true, //平滑曲线显示
  852. showAllSymbol: true, //显示所有图形。
  853. symbol: 'circle', //标记的图形为实心圆
  854. symbolSize: 15, //标记的大小
  855. smooth: false,
  856. itemStyle: {
  857. //折线拐点标志的样式
  858. color: '#b889ea',
  859. borderColor: '#b889ea',
  860. width: 2,
  861. shadowColor: '#b889ea',
  862. shadowBlur: 4,
  863. },
  864. lineStyle: {
  865. color: '#b889ea',
  866. width: 2,
  867. },
  868. data: dataL8[1],
  869. },
  870. ],
  871. }
  872. option.title.text = '人数变化和人工成本利润率变化分析'
  873. option.legend.data = ['人数变化', '人工成本利润率同比变化']
  874. option.legend.show = true
  875. option.yAxis[0].axisLabel.formatter = '{value} %'
  876. option.tooltip.formatter = '{a0}:{c0}' + '%' + '<br/>' + '{a1}:{c1}' + '%'
  877. myChart.setOption(option)
  878. },
  879. // 中间图表---------------------------------------------开始
  880. initChartC1 () {
  881. let myChart = echarts.init(this.$refs['echartC1'])
  882. let option = {
  883. ..._.cloneDeep(this.commonOption),
  884. color: ['#69c0ff'],
  885. series: [
  886. {
  887. name: '全员劳动生产率(万/人)',
  888. type: 'bar',
  889. barWidth: 15,
  890. itemStyle: {
  891. color: params => {
  892. if (params.value < 0 && c1[1][params.dataIndex] < 0) {
  893. return 'red'
  894. } else if (params.value < 0) {
  895. return 'yellow'
  896. } else {
  897. return new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  898. {
  899. offset: 0,
  900. color: '#69c0ff',
  901. },
  902. {
  903. offset: 1,
  904. color: '#082550',
  905. },
  906. ])
  907. }
  908. },
  909. },
  910. markLine: {
  911. data: [
  912. {
  913. name: '省属企业平均水平',
  914. yAxis: 50.13,
  915. lineStyle: {
  916. color: '#fff',
  917. },
  918. label: {
  919. formatter: '{b}',
  920. position: 'middle',
  921. fontSize: 16,
  922. color: '#fff',
  923. },
  924. },
  925. // {
  926. // name: '',
  927. // yAxis: 0,
  928. // lineStyle: {
  929. // color: '#fff',
  930. // },
  931. // label: {
  932. // formatter: '{b}',
  933. // position: 'end',
  934. // fontSize: 16,
  935. // color: '#fff',
  936. // },
  937. // },
  938. {
  939. name: '央企平均水平',
  940. yAxis: 69.4,
  941. lineStyle: {
  942. color: '#fff',
  943. },
  944. label: {
  945. formatter: '{b}',
  946. position: 'end',
  947. color: '#fff',
  948. fontSize: 16,
  949. },
  950. },
  951. ],
  952. label: {
  953. distance: [50, 0],
  954. },
  955. },
  956. data: c1[0],
  957. },
  958. {
  959. name: '全员劳动生产率同比',
  960. type: 'line',
  961. yAxisIndex: 1,
  962. smooth: true, //平滑曲线显示
  963. showAllSymbol: true, //显示所有图形。
  964. symbol: 'circle', //标记的图形为实心圆
  965. symbolSize: 8, //标记的大小
  966. smooth: false,
  967. itemStyle: {
  968. //折线拐点标志的样式
  969. color: '#B889EA',
  970. borderColor: '#B889EA',
  971. width: 2,
  972. shadowColor: '#B889EA',
  973. shadowBlur: 4,
  974. },
  975. lineStyle: {
  976. color: '#B889EA',
  977. width: 2,
  978. },
  979. // data: [50, 40, 60, 20, 45, 30, 60, 100, 45, 40, 50, 20, 60, 80, 45, 70, 50, 40],
  980. data: c1[1],
  981. },
  982. ],
  983. }
  984. option.title.text = '各省属企业全员劳动生产率'
  985. // option.legend.data = [ '全员劳动生产率(万/人)','全员劳动生产率同比']
  986. option.legend.show = true
  987. option.grid.right = '15%'
  988. option.tooltip.formatter = '{a0}:{c0}' + '<br/>' + '{a1}:{c1}' + '%'
  989. option.yAxis.push({
  990. type: 'value',
  991. axisLine: {
  992. show: false,
  993. },
  994. splitLine: {
  995. show: false,
  996. },
  997. axisLabel: {
  998. show: true,
  999. formatter: '{value} %',
  1000. textStyle: {
  1001. color: 'rgba(250,250,250,0.6)',
  1002. },
  1003. },
  1004. })
  1005. // option.yAxis.push({
  1006. // type: 'log',
  1007. // min: -1,
  1008. // logBase: 10,
  1009. // axisLine: {
  1010. // show: false,
  1011. // },
  1012. // splitLine: {
  1013. // show: false,
  1014. // },
  1015. // axisLabel: {
  1016. // show: true,
  1017. // formatter: function(value) {
  1018. // console.log(value,"value")
  1019. // // return value === 1 ? 0 : value
  1020. // },
  1021. // textStyle: {
  1022. // color: 'rgba(250,250,250,0.6)',
  1023. // },
  1024. // },
  1025. // })
  1026. myChart.setOption(option)
  1027. tools.loopShowTooltip(myChart, option, {
  1028. nterval: 2000,
  1029. loopSeries: true,
  1030. })
  1031. },
  1032. initChartC2 () {
  1033. let myChart = echarts.init(this.$refs['echartC2'])
  1034. let option = {
  1035. ..._.cloneDeep(this.commonOption),
  1036. color: ['#69c0ff'],
  1037. series: [
  1038. {
  1039. name: '人工成本利润率',
  1040. type: 'bar',
  1041. barWidth: 15,
  1042. markLine: {
  1043. data: [
  1044. {
  1045. name: '省属企业平均水平',
  1046. yAxis: 67.09,
  1047. lineStyle: {
  1048. color: '#fff',
  1049. },
  1050. label: {
  1051. formatter: '{b}',
  1052. position: 'end',
  1053. fontSize: 16,
  1054. color: '#fff',
  1055. },
  1056. },
  1057. {
  1058. name: '央企平均水平',
  1059. yAxis: 81,
  1060. lineStyle: {
  1061. color: '#fff',
  1062. },
  1063. label: {
  1064. formatter: '{b}',
  1065. position: 'middle',
  1066. color: '#fff',
  1067. fontSize: 16,
  1068. },
  1069. },
  1070. ],
  1071. label: {
  1072. distance: [50, 0],
  1073. },
  1074. },
  1075. itemStyle: {
  1076. color: params => {
  1077. if (params.value < 0 && c2[0][params.dataIndex] < 0) {
  1078. return 'red'
  1079. } else if (params.value < 0) {
  1080. return 'yellow'
  1081. } else {
  1082. return new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  1083. {
  1084. offset: 0,
  1085. color: '#69c0ff',
  1086. },
  1087. {
  1088. offset: 1,
  1089. color: '#082550',
  1090. },
  1091. ])
  1092. }
  1093. },
  1094. },
  1095. data: c2[1],
  1096. },
  1097. {
  1098. name: '人工成本利润率同比',
  1099. type: 'line',
  1100. yAxisIndex: 1, //使用的 y 轴的 index,在单个图表实例中存在多个 y轴的时候有用
  1101. smooth: true, //平滑曲线显示
  1102. showAllSymbol: true, //显示所有图形。
  1103. symbol: 'circle', //标记的图形为实心圆
  1104. symbolSize: 8, //标记的大小
  1105. smooth: false,
  1106. itemStyle: {
  1107. //折线拐点标志的样式
  1108. color: '#B889EA',
  1109. borderColor: '#B889EA',
  1110. width: 2,
  1111. shadowColor: '#B889EA',
  1112. shadowBlur: 4,
  1113. },
  1114. lineStyle: {
  1115. color: '#B889EA',
  1116. width: 2,
  1117. },
  1118. data: c2[0],
  1119. },
  1120. ],
  1121. }
  1122. option.title.text = '各省属企业人工成本利润率'
  1123. option.legend.show = true
  1124. option.grid.right = '15%'
  1125. option.yAxis[0].axisLabel.formatter = '{value} %'
  1126. option.tooltip.formatter = '{a0}:{c0}' + '%' + '<br/>' + '{a1}:{c1}' + '%'
  1127. option.yAxis.push({
  1128. type: 'value',
  1129. axisLine: {
  1130. show: false,
  1131. },
  1132. splitLine: {
  1133. show: false,
  1134. },
  1135. axisLabel: {
  1136. show: true,
  1137. formatter: '{value} %',
  1138. textStyle: {
  1139. color: 'rgba(250,250,250,0.6)',
  1140. },
  1141. },
  1142. })
  1143. myChart.setOption(option)
  1144. tools.loopShowTooltip(myChart, option, {
  1145. nterval: 2000,
  1146. loopSeries: true,
  1147. })
  1148. },
  1149. // 右侧图表---------------------------------------------开始
  1150. initChartR1 () {
  1151. let myChart = echarts.init(this.$refs['echartR1'])
  1152. let commonOptions = this.commonOption
  1153. commonOptions.yAxis[0].splitNumber = 2
  1154. let dataTemp = []
  1155. let dataTemp2 = []
  1156. dataR1[0].forEach(item => {
  1157. dataTemp.push(item + 1)
  1158. })
  1159. dataR1[1].forEach(item => {
  1160. dataTemp2.push(item + 1)
  1161. })
  1162. let option = {
  1163. ..._.cloneDeep(commonOptions),
  1164. series: [
  1165. {
  1166. name: '招聘需求公告次数',
  1167. type: 'bar',
  1168. barWidth: 15,
  1169. itemStyle: {
  1170. normal: {
  1171. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  1172. {
  1173. offset: 0,
  1174. color: '#69c0ff',
  1175. },
  1176. {
  1177. offset: 1,
  1178. color: '#082550',
  1179. },
  1180. ]),
  1181. },
  1182. },
  1183. data: dataTemp,
  1184. },
  1185. {
  1186. name: '招聘需求公告累计招聘人次',
  1187. type: 'bar',
  1188. barWidth: 15,
  1189. itemStyle: {
  1190. normal: {
  1191. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  1192. {
  1193. offset: 0,
  1194. color: '#43ede3',
  1195. },
  1196. {
  1197. offset: 1,
  1198. color: '#082550',
  1199. },
  1200. ]),
  1201. },
  1202. },
  1203. data: dataTemp2,
  1204. },
  1205. ],
  1206. }
  1207. option.title.text = '各省属企业招聘需求公示人次'
  1208. option.legend.data = ['招聘需求公告次数', '招聘需求公告累计招聘人次']
  1209. option.legend.show = true
  1210. option.tooltip.formatter = function (value) {
  1211. return value[0].axisValue + ':' + (value[0].value - 1) + '<br>' + value[1].axisValue + ':' + (value[1].value - 1)
  1212. }
  1213. option.yAxis[0] = {
  1214. type: 'log',
  1215. min: 1,
  1216. logBase: 10,
  1217. axisLine: {
  1218. show: false,
  1219. },
  1220. splitLine: {
  1221. show: true,
  1222. lineStyle: {
  1223. color: '#68b4dd66',
  1224. type: 'dashed',
  1225. },
  1226. },
  1227. axisLabel: {
  1228. show: true,
  1229. formatter: function (value) {
  1230. return value === 1 ? 0 : value
  1231. },
  1232. textStyle: {
  1233. color: 'rgba(250,250,250,0.6)',
  1234. },
  1235. },
  1236. }
  1237. myChart.setOption(option)
  1238. },
  1239. initChartR2 () {
  1240. let myChart = echarts.init(this.$refs['echartR2'])
  1241. let commonOptions = this.commonOption
  1242. commonOptions.yAxis[0].splitNumber = 2
  1243. let dataTemp = []
  1244. let dataTemp2 = []
  1245. dataR2[0].forEach(item => {
  1246. dataTemp.push(item + 1)
  1247. })
  1248. dataR2[1].forEach(item => {
  1249. dataTemp2.push(item + 1)
  1250. })
  1251. let option = {
  1252. ..._.cloneDeep(commonOptions),
  1253. series: [
  1254. {
  1255. name: '录用结果公示次数',
  1256. type: 'bar',
  1257. barWidth: 15,
  1258. itemStyle: {
  1259. normal: {
  1260. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  1261. {
  1262. offset: 0,
  1263. color: '#69c0ff',
  1264. },
  1265. {
  1266. offset: 1,
  1267. color: '#082550',
  1268. },
  1269. ]),
  1270. },
  1271. },
  1272. data: dataTemp,
  1273. },
  1274. {
  1275. name: '录用结果公示累计公示人数',
  1276. type: 'bar',
  1277. barWidth: 15,
  1278. itemStyle: {
  1279. normal: {
  1280. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  1281. {
  1282. offset: 0,
  1283. color: '#45DAD1',
  1284. },
  1285. {
  1286. offset: 1,
  1287. color: '#082550',
  1288. },
  1289. ]),
  1290. },
  1291. },
  1292. data: dataTemp2,
  1293. },
  1294. ],
  1295. }
  1296. option.title.text = '各省属企业录用结果公示人次'
  1297. option.legend.data = ['录用结果公示次数', '录用结果公示累计公示人数']
  1298. option.legend.show = true
  1299. option.tooltip.formatter = function (value) {
  1300. return value[0].axisValue + ':' + (value[0].value - 1) + '<br>' + value[1].axisValue + ':' + (value[1].value - 1)
  1301. }
  1302. option.yAxis[0] = {
  1303. type: 'log',
  1304. min: 1,
  1305. logBase: 10,
  1306. axisLine: {
  1307. show: false,
  1308. },
  1309. splitLine: {
  1310. show: true,
  1311. lineStyle: {
  1312. color: '#68b4dd66',
  1313. type: 'dashed',
  1314. },
  1315. },
  1316. axisLabel: {
  1317. show: true,
  1318. formatter: function (value) {
  1319. return value === 1 ? 0 : value
  1320. },
  1321. textStyle: {
  1322. color: 'rgba(250,250,250,0.6)',
  1323. },
  1324. },
  1325. }
  1326. myChart.setOption(option)
  1327. },
  1328. initChartR3 () {
  1329. let myChart = echarts.init(this.$refs['echartR3'])
  1330. let commonOptions = this.commonOption
  1331. commonOptions.yAxis[0].splitNumber = 2
  1332. let option = {
  1333. ..._.cloneDeep(commonOptions),
  1334. color: ['#45DAD1'],
  1335. series: [
  1336. {
  1337. name: '2022年利润(万)',
  1338. type: 'bar',
  1339. barWidth: 15,
  1340. itemStyle: {
  1341. normal: {
  1342. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  1343. {
  1344. offset: 0,
  1345. color: '#69c0ff',
  1346. },
  1347. {
  1348. offset: 1,
  1349. color: '#082550',
  1350. },
  1351. ]),
  1352. },
  1353. },
  1354. data: dataR3[0],
  1355. },
  1356. {
  1357. name: '2022年累计招聘数',
  1358. type: 'bar',
  1359. barWidth: 15,
  1360. yAxisIndex: 1,
  1361. itemStyle: {
  1362. color: params => {
  1363. if (params.value > 0 && dataR3[0][params.dataIndex] < 0) {
  1364. return 'red'
  1365. } else {
  1366. return new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  1367. {
  1368. offset: 0,
  1369. color: '#45DAD1',
  1370. },
  1371. {
  1372. offset: 1,
  1373. color: '#082550',
  1374. },
  1375. ])
  1376. }
  1377. },
  1378. },
  1379. // itemStyle: {
  1380. // normal: {
  1381. // color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  1382. // {
  1383. // offset: 0,
  1384. // color: '#45DAD1',
  1385. // },
  1386. // {
  1387. // offset: 1,
  1388. // color: '#082550',
  1389. // },
  1390. // ]),
  1391. // },
  1392. // },
  1393. data: dataR3[1],
  1394. },
  1395. ],
  1396. }
  1397. option.title.text = '各省属企业年利润与当年累计招聘人数'
  1398. option.legend.data = ['2022年利润(万)', '2022年累计招聘数']
  1399. option.legend.show = true
  1400. option.yAxis[0].max =
  1401. option.yAxis[0].min =
  1402. option.yAxis[0] = {
  1403. max: function (value) {
  1404. if (Math.abs(value.max) > Math.abs(value.min)) {
  1405. return (Math.abs(value.max) * 1.2).toFixed(2);
  1406. } else {
  1407. return (Math.abs(value.min) * 1.2).toFixed(2);
  1408. }
  1409. },
  1410. min: function (value) {
  1411. if (Math.abs(value.max) > Math.abs(value.min)) {
  1412. return (-Math.abs(value.max) * 1.2).toFixed(2);
  1413. } else {
  1414. return (-Math.abs(value.min) * 1.2).toFixed(2);
  1415. }
  1416. },
  1417. type: 'value',
  1418. axisLine: {
  1419. show: false,
  1420. },
  1421. splitLine: {
  1422. show: true,
  1423. lineStyle: {
  1424. color: '#68b4dd66',
  1425. type: 'dashed',
  1426. },
  1427. },
  1428. axisLabel: {
  1429. show: true,
  1430. formatter: function (value) {
  1431. return value === 1 ? 0 : value
  1432. },
  1433. textStyle: {
  1434. color: 'rgba(250,250,250,0.6)',
  1435. },
  1436. },
  1437. }
  1438. option.yAxis.push({
  1439. splitLine: {
  1440. show: false,
  1441. },
  1442. axisLine: {
  1443. show: false,
  1444. },
  1445. axisLabel: {
  1446. show: true,
  1447. formatter: '{value}',
  1448. textStyle: {
  1449. color: 'rgba(250,250,250,0.6)',
  1450. },
  1451. },
  1452. max: function (value) {
  1453. if (Math.abs(value.max) > Math.abs(value.min)) {
  1454. return (Math.abs(value.max) * 1.2).toFixed(2);
  1455. } else {
  1456. return (Math.abs(value.min) * 1.2).toFixed(2);
  1457. }
  1458. },
  1459. min: function (value) {
  1460. if (Math.abs(value.max) > Math.abs(value.min)) {
  1461. return (-Math.abs(value.max) * 1.2).toFixed(2);
  1462. } else {
  1463. return (-Math.abs(value.min) * 1.2).toFixed(2);
  1464. }
  1465. }
  1466. })
  1467. myChart.setOption(option)
  1468. },
  1469. initChartR4 () {
  1470. let myChart = echarts.init(this.$refs['echartR4'])
  1471. let commonOptions = this.commonOption
  1472. commonOptions.yAxis[0].splitNumber = 2
  1473. let option = {
  1474. ..._.cloneDeep(commonOptions),
  1475. series: [
  1476. {
  1477. name: '2022年退出人数',
  1478. type: 'bar',
  1479. barWidth: 15,
  1480. itemStyle: {
  1481. normal: {
  1482. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  1483. {
  1484. offset: 0,
  1485. color: '#69c0ff',
  1486. },
  1487. {
  1488. offset: 1,
  1489. color: '#082550',
  1490. },
  1491. ]),
  1492. },
  1493. },
  1494. data: dataR4[0],
  1495. },
  1496. {
  1497. name: '2022年累计招聘人数',
  1498. type: 'bar',
  1499. barWidth: 15,
  1500. itemStyle: {
  1501. normal: {
  1502. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  1503. {
  1504. offset: 0,
  1505. color: '#45DAD1',
  1506. },
  1507. {
  1508. offset: 1,
  1509. color: '#082550',
  1510. },
  1511. ]),
  1512. },
  1513. },
  1514. data: dataR4[1],
  1515. },
  1516. ],
  1517. }
  1518. option.title.text = '各省属企业"退二进一"完成情况'
  1519. option.legend.data = ['2022年退出人数', '2022年累计招聘人数']
  1520. option.legend.show = true
  1521. option.yAxis[0] = {
  1522. type: 'log',
  1523. min: 1,
  1524. logBase: 10,
  1525. axisLine: {
  1526. show: false,
  1527. },
  1528. splitLine: {
  1529. show: true,
  1530. lineStyle: {
  1531. color: '#68b4dd66',
  1532. type: 'dashed',
  1533. },
  1534. },
  1535. axisLabel: {
  1536. show: true,
  1537. formatter: function (value) {
  1538. return value === 1 ? 0 : value
  1539. },
  1540. textStyle: {
  1541. color: 'rgba(250,250,250,0.6)',
  1542. },
  1543. },
  1544. }
  1545. myChart.setOption(option)
  1546. },
  1547. initChartR5 () {
  1548. let myChart = echarts.init(this.$refs['echartR5'])
  1549. let option = {
  1550. ..._.cloneDeep(this.commonOption),
  1551. series: [
  1552. {
  1553. name: '去年同期在岗职工平均薪酬',
  1554. type: 'bar',
  1555. barWidth: 15,
  1556. markLine: {
  1557. data: [
  1558. {
  1559. name: '省属企业平均水平',
  1560. yAxis: 9333.33,
  1561. lineStyle: {
  1562. color: '#fff',
  1563. },
  1564. label: {
  1565. formatter: '{b}',
  1566. position: 'middle',
  1567. fontSize: 16,
  1568. color: '#fff',
  1569. },
  1570. }
  1571. ],
  1572. label: {
  1573. distance: [50, 0],
  1574. },
  1575. },
  1576. itemStyle: {
  1577. normal: {
  1578. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  1579. {
  1580. offset: 0,
  1581. color: '#6682F5',
  1582. },
  1583. {
  1584. offset: 1,
  1585. color: '#082550',
  1586. },
  1587. ]),
  1588. },
  1589. },
  1590. data: fjxdataL1[0],
  1591. },
  1592. {
  1593. name: '在岗职工平均薪酬',
  1594. type: 'bar',
  1595. barWidth: 15,
  1596. itemStyle: {
  1597. normal: {
  1598. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  1599. {
  1600. offset: 0,
  1601. color: '#69c0ff',
  1602. },
  1603. {
  1604. offset: 1,
  1605. color: '#082550',
  1606. },
  1607. ]),
  1608. },
  1609. },
  1610. data: fjxdataL1[1],
  1611. },
  1612. ],
  1613. }
  1614. option.title.text = '各省属企业在岗职工平均薪酬'
  1615. option.legend.data = ['去年同期在岗职工平均薪酬', '在岗职工平均薪酬']
  1616. option.legend.show = true
  1617. option.yAxis.push({
  1618. splitLine: {
  1619. show: false,
  1620. },
  1621. axisLine: {
  1622. show: false,
  1623. },
  1624. })
  1625. myChart.setOption(option)
  1626. },
  1627. initChartR6 () {
  1628. let myChart = echarts.init(this.$refs['echartR6'])
  1629. let option = {
  1630. ..._.cloneDeep(this.commonOption),
  1631. color: ['#69c0ff'],
  1632. series: [
  1633. {
  1634. name: '2022年利润累计涨幅率',
  1635. type: 'line',
  1636. smooth: true, //平滑曲线显示
  1637. showAllSymbol: true, //显示所有图形。
  1638. symbol: 'circle', //标记的图形为实心圆
  1639. symbolSize: 8, //标记的大小
  1640. smooth: false,
  1641. itemStyle: {
  1642. //折线拐点标志的样式
  1643. color: '#B889EA',
  1644. borderColor: '#B889EA',
  1645. width: 2,
  1646. shadowColor: '#B889EA',
  1647. shadowBlur: 4,
  1648. },
  1649. lineStyle: {
  1650. color: '#B889EA',
  1651. width: 2,
  1652. },
  1653. data: fjxdataL2[0],
  1654. },
  1655. {
  1656. name: '2022年薪酬累计涨幅率',
  1657. type: 'line',
  1658. smooth: true, //平滑曲线显示
  1659. showAllSymbol: true, //显示所有图形。
  1660. symbol: 'circle', //标记的图形为实心圆
  1661. symbolSize: 12, //标记的大小
  1662. smooth: false,
  1663. itemStyle: {
  1664. color: params => {
  1665. if (params.value > 0 && fjxdataL2[0][params.dataIndex] < 0) {
  1666. return 'yellow'
  1667. } else {
  1668. return new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  1669. {
  1670. offset: 0,
  1671. color: '#69c0ff',
  1672. },
  1673. {
  1674. offset: 1,
  1675. color: '#082550',
  1676. },
  1677. ])
  1678. }
  1679. },
  1680. },
  1681. lineStyle: {
  1682. color: '#69C0FF',
  1683. width: 2,
  1684. },
  1685. data: fjxdataL2[1],
  1686. },
  1687. ],
  1688. }
  1689. option.title.text = '各省属企业利润与薪酬变动情况'
  1690. option.legend.data = ['2022年利润累计涨幅率', '2022年薪酬累计涨幅率']
  1691. option.tooltip.formatter = '{a0}:{c0}' + '%' + '<br/>' + '{a1}:{c1}' + '%'
  1692. option.yAxis[0].axisLabel.formatter = '{value} %'
  1693. myChart.setOption(option)
  1694. },
  1695. initChartR7 () {
  1696. let myChart = echarts.init(this.$refs['echartR7'])
  1697. let option = {
  1698. ..._.cloneDeep(this.commonOption),
  1699. series: [
  1700. {
  1701. name: '全员绩效考核完成率',
  1702. type: 'bar',
  1703. barWidth: 15,
  1704. itemStyle: {
  1705. normal: {
  1706. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  1707. {
  1708. offset: 0,
  1709. color: '#B889EA',
  1710. },
  1711. {
  1712. offset: 1,
  1713. color: '#082550',
  1714. },
  1715. ]),
  1716. },
  1717. },
  1718. data: fjxdataL3[0],
  1719. },
  1720. ],
  1721. }
  1722. option.title.text = '各省属企业全员绩效考核'
  1723. option.legend.show = true
  1724. option.tooltip = {
  1725. trigger: 'axis',
  1726. formatter: '{a0}:{c0}' + '%'
  1727. },
  1728. option.yAxis[0].axisLabel = {
  1729. show: true,
  1730. formatter: '{value} %',
  1731. textStyle: {
  1732. color: 'rgba(250,250,250,0.6)',
  1733. },
  1734. }
  1735. myChart.setOption(option)
  1736. },
  1737. initChartR8 () {
  1738. let myChart = echarts.init(this.$refs['echartR8'])
  1739. let option = {
  1740. ..._.cloneDeep(this.commonOption),
  1741. series: [
  1742. {
  1743. name: '任期制契约化完成率',
  1744. type: 'bar',
  1745. barWidth: 15,
  1746. itemStyle: {
  1747. normal: {
  1748. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  1749. {
  1750. offset: 0,
  1751. color: '#43ede3',
  1752. },
  1753. {
  1754. offset: 1,
  1755. color: '#082550',
  1756. },
  1757. ]),
  1758. },
  1759. },
  1760. data: fjxdataL4[0],
  1761. },
  1762. ],
  1763. }
  1764. option.title.text = '各省属企业任期制契约化管理'
  1765. option.legend.show = true
  1766. option.tooltip.formatter = '{a0}:{c0}' + '%'
  1767. option.yAxis[0].axisLabel.formatter = '{value} %'
  1768. myChart.setOption(option)
  1769. },
  1770. },
  1771. })