index.js 90 KB

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