index.js 90 KB

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