index.js 90 KB

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