index.js 78 KB

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