index.js 78 KB

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