index.js 80 KB

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