index.js 78 KB

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