dataA.js 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311
  1. let echarts1 = [
  2. ["管理序列", "技术序列", "操作序列"],
  3. [1200, 680, 562]
  4. ]
  5. let echarts2 = [{
  6. name: "高级-正高级",
  7. value: 146,
  8. },
  9. {
  10. name: "高级-副高级",
  11. value: 4021,
  12. },
  13. {
  14. name: "中级",
  15. value: 17437,
  16. },
  17. {
  18. name: "初级-助理级",
  19. value: 12622,
  20. },
  21. {
  22. name: "初级-员级",
  23. value: 7350,
  24. },
  25. ]
  26. let levelList = {
  27. // x: ["高级技师", "技师", "高级工", "中级工", "初级工", "学徒工"],
  28. x: ["高级技师", "技师", "高级工", "中级工", "初级工"],
  29. y: [903, 5086, 34826, 50610, 14227],
  30. }
  31. // let salaryList = {
  32. // x: ["西山煤电", "汾西矿业", "霍州煤电", "山煤国际", "华晋焦煤", "山西焦化", "物资装备", "金土地", "销售公司", "国发公司", "投资公司", "人力公司", "金融资本", "民爆集团", "云数据", "焦煤置业", "新能源", "油品公司", "低碳公司", "交易中心", "招标公司"],
  33. // y: [94, 90, 93, 80, 85, 95, 98, 99, 93, 91, 95, 83, 98, 94, 99, 92, 90, 93, 87, 89, 97],
  34. // }
  35. let salaryList = {
  36. x: ["西山煤电", "汾西矿业", "霍州煤电", "山煤国际", "华晋焦煤", "山西焦化", "物资装备", "金土地", "销售公司", "国发公司", "投资公司", "人力资源", "金融资本", "民爆集团", "云数据", "焦煤置业", "新能源公司", "油品公司", "低碳公司", "交易中心", "招标公司"],
  37. y: [94, 90, 93, 90, 93, 95, 98, 100, 93, 91, 95, 90, 98, 94, 99, 92, 100, 93, 97, 89, 97]
  38. }
  39. // let leftEndList = {
  40. // x: ["集团公司", "山焦股份", "山焦西山", "山焦汾西", "山焦霍州", "山焦山煤", "山焦华晋", "山焦焦化", "山焦机电", "山焦金土地", "山焦销售", "山焦投资", "山焦人力", "山焦资本", "山西民爆", "山焦云数据", "山焦新能源", "山焦油品", "山焦低碳(重点实验室)", "山焦置业", "焦煤教育基地", "山焦交易中心", "山焦国发", "山焦盐化"],
  41. // y1: [11708, 23959.2, 7611.2, 9818.8, 8530.8, 9409.4, 9777.4, 4882.8, 12574.4, 17091.8, 23969.2, 10175, 18170.6, 14901.8, 7572.4, 15567, 11090.6, 11957.2, 4578.4, 11993.6, 17391.2, 7566, 7321, 3387.8],
  42. // y2: [10525, 19735.8, 6856.6, 7729.8, 7320.2, 8711, 8908.4, 4784.4, 11697.8, 14724.2, 15173.2, 8016.6, 0, 14323.8, 5423.8, 11432.8, 10882.2, 13060, 0, 13103.6, 15612, 0, 9911, 3106.2],
  43. // }
  44. // let leftEndList = {
  45. // x: ["集团公司", "西山煤电", "汾西矿业", "霍州煤电", "山煤国际", "华晋焦煤", "山西焦化", "物资装备公司", "金土地公司", "销售公司", "国发公司", "投资公司", "人力公司", "金融资本公司", "民爆集团", "云数据公司", "焦煤置业", "新能源公司", "油品公司", "低碳公司", "交易中心"],
  46. // y1: [11708, 7611.2, 9818.8, 8530.8, 9409.4, 9777.4, 4882.8, 12574.4, 17091.8, 23969.2, 7321, 10175, 18170.6, 14901.8, 7572.4, 15567, 11993.6, 11090.6, 11957.2, 4578.4, 7566, ],
  47. // y2: [10525, 6856.6, 7729.8, 7320.2, 8711, 8908.4, 4784.4, 11697.8, 14724.2, 9911, 15173.2, 8016.6, 0, 14323.8, 5423.8, 11432.8, 13103.6, 10882.2, 13060, 0, 0, ],
  48. // }
  49. let leftEndList = {
  50. x: ["集团公司", "西山煤电", "汾西矿业", "霍州煤电", "山煤国际", "华晋焦煤", "山西焦化", "物资装备公司", "金 土地公司", "销售公司", "国发公司", "投资公司", "人力资源", "金融资本", "民爆集团", "云 数据公司", "焦煤置业", "新 能源公司", "油品公司", "低碳公司", "交易中心", "招标公司"],
  51. y1: [9401, 9794, 9814, 8997, 9411, 10830, 5043, 12743, 16787, 20488, 7321, 8479, 18297, 14812, 7551, 16525, 12173, 11308, 13405, 7077, 7566, 5889],
  52. y2: [8146, 8812, 8043, 7634, 8231, 8928, 4752, 11693, 15066, 15402, 9911, 6681, 0, 14568, 5457, 13146, 13014, 10882, 12268, 0, 0, 0],
  53. }
  54. let worksList = {
  55. x: ["集团公司", "西山煤电", "汾西矿业", "霍州煤电", "山煤国际", "华晋焦煤", "山西焦化", "民爆集团"],
  56. y2: [43, 55, 34.29, 41.75, 129.66, 95.91, 55.4, 36.37],
  57. y1: [43.11, 77.03, 49.64, 54.38, 156.33, 111.72, 77.92, 40.09],
  58. }
  59. let efficiencyList = {
  60. x: ["集团公司", "西山煤电", "汾西矿业", "霍州煤电", "山煤国际", "华晋焦煤"],
  61. // x: ["集团公司", "西山煤电", "汾西矿业", "霍州煤电", "山煤国际", "华晋焦煤", "山西焦化", "民爆集团"],
  62. y2: [8.27, 8.83, 6.88, 7.03, 10.11, 13.07],
  63. y1: [8.63, 9.1, 7.13, 7.05, 13.54, 7.6],
  64. }
  65. let wholeList = {
  66. x: ["集团公司", "西山煤电", "汾西矿业", "霍州煤电", "山煤国际", "华晋焦煤"],
  67. y2: [1360, 1291, 1320, 1040, 1948, 2335],
  68. y1: [1400, 1348, 1194, 1094, 2376, 1591],
  69. }
  70. let schoolList = {
  71. x: ["太原理工", "山西大学", "河南理工", "中北大学", "中国矿业", "华北科技"],
  72. y: [481, 290, 243, 270, 230, 200],
  73. }
  74. let mobilizeList = {
  75. x: ["西山煤电", "汾西矿业", "霍州煤电", "山煤国际", "华晋焦煤", "山西焦化", "物资装备公司", "金土地公司", "销售公司", "国发公司", "投资公司", "人力资源公司", "金融资本公司", "民爆集团", "云数据公司", "焦煤置业", "新能源公司", "油品公司", "低碳公司", "交易中心", "招标公司"],
  76. y1: [1, 1, 3, 1, 2, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
  77. y2: [1736, 1658, 2365, 1321, 362, 389, 19, 7, 27, 6, 28, 8, 1, 18, 0, 29, 1, 2, 12, 3, 67],
  78. y3: [59, 13, 16, 20, 7, 12, 6, 2, 1, 10, 7, 1, 2, 0, 0, 16, 1, 0, 0, 0, 0],
  79. y4: [13, 25, 15, 4, 9, 6, 22, 2, 11, 0, 5, 18, 1, 3, 0, 11, 0, 9, 10, 0, 5],
  80. y5: [265, 132, 68, 27, 46, 35, 0, 0, 5, 0, 1, 1, 0, 5, 0, 0, 0, 0, 0, 0, 0],
  81. }
  82. let admissionList = {
  83. x: ["西山煤电", "汾西矿业", "霍州煤电", "山煤国际", "华晋焦煤", "山西焦化", "物资装备公司", "金土地公司", "销售公司", "国发公司", "投资公司", "人力资源公司", "金融资本公司", "民爆集团", "云数据公司", "焦煤置业", "新能源公司", "油品公司", "低碳公司", "交易中心", "招标公司"],
  84. y1: [80, 70, 65, 60, 40, 15, 14, 13, 12, 15, 10, 15, 8, 12, 5, 15, 18, 20, 8, 10, 5],
  85. y2: [110, 100, 90, 80, 70, 40, 50, 70, 20, 20, 20, 20, 15, 20, 12, 21, 23, 38, 16, 30, 10],
  86. y3: [78, 68, 64, 59, 38, 14, 13, 11, 10, 14, 10, 14, 7, 10, 4, 13, 16, 19, 7, 9, 4],
  87. }
  88. // let mobilizeList = {
  89. // x: ["山焦股份", "山焦西山", "山焦汾西", "山焦霍州", "山焦山煤", "山焦华晋", "山焦焦化", "山焦机电", "山焦金土地", "山焦销售", "山焦投资", "山焦人力", "山焦资本", "山西民爆", "山焦云数据", "山焦新能源", "山焦油品", "山焦低碳(重点实验室)", "山焦招标", "山焦置业", "焦煤教育基地", "山焦交易中心", "山焦国发", "山焦盐化"],
  90. // y1: [0, 0, 0, 4, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0],
  91. // y2: [2, 38, 35, 32, 21, 25, 20, 19, 7, 27, 28, 8, 1, 18, 0, 1, 2, 12, 67, 29, 0, 3, 6, 0],
  92. // y3: [2, 59, 13, 16, 20, 7, 12, 6, 2, 1, 7, 1, 2, 0, 0, 1, 0, 0, 0, 16, 0, 0, 10, 0],
  93. // y4: [6, 13, 25, 15, 4, 9, 6, 22, 2, 11, 5, 18, 1, 3, 0, 0, 9, 10, 5, 11, 0, 0, 0, 0],
  94. // }
  95. let userList = {
  96. x: ["西山煤电", "汾西矿业", "霍州煤电", "山煤国际", "华晋焦煤", "山西焦化", "销售公司", "投资公司", "油品公司"],
  97. y1: [712, 619, 615, 537, 519, 530, 92, 54, 55],
  98. y2: [2743, 981, 1808, 133, 23, 142, 9, 84, 0],
  99. y3: [242, 30, 28, 0, 0, 0, 0, 0, 0],
  100. }
  101. // let userList = {
  102. // x: ["西山煤电","汾西矿业","霍州煤电","山煤国际","华晋焦煤","山西焦化","销售公司","投资公司","油品公司"],
  103. // y1: [412,269,285,217,219,327,92,4,5],
  104. // y2: [242,0,0,0,0,0,0,0,0],
  105. // }
  106. function spArr(arr, num) { //arr是你要分割的数组,num是以几个为一组
  107. let newArr = [] //首先创建一个新的空数组。用来存放分割好的数组
  108. for (let i = 0; i < arr.length;) { //注意:这里与for循环不太一样的是,没有i++
  109. newArr.push(arr.slice(i, i += num));
  110. }
  111. return newArr
  112. }
  113. let left5 = [{
  114. y: 3103,
  115. name: '研究生及以上',
  116. sliced: false,
  117. selected: false,
  118. },
  119. {
  120. y: 42543,
  121. name: '大学',
  122. sliced: false,
  123. selected: false,
  124. },
  125. {
  126. y: 46669,
  127. name: '大专',
  128. sliced: false,
  129. selected: false,
  130. },
  131. {
  132. y: 69437,
  133. name: '中专、技校',
  134. sliced: false,
  135. selected: false,
  136. },
  137. {
  138. y: 25049,
  139. name: '初中及以下',
  140. sliced: false,
  141. selected: false,
  142. }
  143. ]
  144. // let downhole = {
  145. // x: ["西山煤电", "汾西矿业", "霍州煤电", "山煤国际", "华晋焦煤"],
  146. // y: [[46, 22, 19, 0, 8], [49, 18, 19, 1, 10], [20, 30, 35, 30, 20], [4981, 3195, 5016, 2117, 782], [9309, 5732, 4589, 2586, 1285]]
  147. // }
  148. let downhole = {
  149. x: ["西山煤电", "汾西矿业", "霍州煤电", "山煤国际", "华晋焦煤"],
  150. y: [
  151. [626, 318, 246, 46, 43],
  152. [309, 257, 244, 25, 34],
  153. [244, 112, 14, 19, 17],
  154. [146, 97, 6, 14, 10],
  155. [1565, 1569, 823, 433, 177],
  156. [5206, 2899, 1163, 1057, 416]
  157. ]
  158. }
  159. let skillList = [{
  160. name: "国家级",
  161. blue: 3,
  162. green: 33,
  163. flag: true,
  164. }, {
  165. name: "行业级",
  166. blue: 20,
  167. green: 200,
  168. flag: false,
  169. }, {
  170. name: "省级",
  171. blue: 19,
  172. green: 190,
  173. flag: false,
  174. }, {
  175. name: "地市级",
  176. blue: 21,
  177. green: 210,
  178. flag: false,
  179. }, {
  180. name: "集团级",
  181. blue: 38,
  182. green: 380,
  183. flag: false,
  184. }]
  185. let rightList = {
  186. x: ["西山煤电", "汾西矿业", "霍州煤电", "山煤国际", "华晋焦煤", "山西焦化"],
  187. y: [300, 200, 270, 140, 150, 120],
  188. }
  189. let studioInformation = {
  190. waitTime: 5000,
  191. header: ["工作室名称", "工作室所在单位", "颁发单位及时间", "成员数(人)", "平均年龄"],
  192. rowNum: 4,
  193. columnWidth: [450, 270, 450, 180],
  194. headerHeight: 90,
  195. data: [
  196. ["马义田焊接创新工作室", '设备修造厂', '全国总工会2014年', "7", '40'],
  197. ["王斌俊机电设备维护创新工作室", '高阳煤矿', '人力资源和社会保障部 2017年', "16", '35'],
  198. ["王强强技能大师工作室", '贺西煤矿', '人力资源和社会保障部 2020年', "10", '31'],
  199. ["马义田焊接创新工作室", '设备修造厂', '全国总工会2014年', "7", '40'],
  200. ["王斌俊机电设备维护创新工作室", '高阳煤矿', '人力资源和社会保障部 2017年', "16", '35'],
  201. ["王强强技能大师工作室", '贺西煤矿', '人力资源和社会保障部 2020年', "10", '31'],
  202. ],
  203. align: ["center", "center", "center", "center", "center"],
  204. headerBGC: "#153A62",
  205. oddRowBGC: "#061F42",
  206. evenRowBGC: "#0C284A",
  207. hoverPause: false,
  208. }
  209. let leaderInformation = {
  210. waitTime: 5000,
  211. header: ["出生年月", "从事职业(工种)", "职业技能等级", "担任职务"],
  212. rowNum: 4,
  213. columnWidth: [230, 250, 250, 280],
  214. headerHeight: 90,
  215. data: [
  216. ["1953年4月", '焊接', '高级技师', "返聘专家"],
  217. ["1978年6月", '综采维修电工', '高级技师', "机电副总工程师"],
  218. ["1981年8月", '电工', '高级技师', "机运区二级专员"],
  219. ["1953年4月", '焊接', '高级技师', "返聘专家"],
  220. ["1978年6月", '综采维修电工', '高级技师', "机电副总工程师"],
  221. ["1981年8月", '电工', '高级技师', "机运区二级专员"],
  222. ],
  223. align: ["center", "center", "center", "center", "center"],
  224. headerBGC: "#153A62",
  225. oddRowBGC: "#061F42",
  226. evenRowBGC: "#0C284A",
  227. hoverPause: false,
  228. }
  229. let achievementList = [
  230. "2012年至今,先后培训员工33期,223人次,带出了20多名高技能焊接人才。<br>组织工作室成员开展技术攻关40余次,申报“五小创新”25项,申请实用新型专利8项,创造经济效益1356.5万元。<br>熟练掌握各种焊接方法的焊接技巧和操作要领,能够针对不同的材料制订科学合理的焊接工艺。<br>工作室先后被命名为“山西省劳模创新工作室”、“全国示范性劳模创新工作室”。",
  231. "2012年至今,累计完成创新成果70余项,拥有实用新型专利8项,1项发明专利正在申请中,在全省“五小六化”竞赛活动中荣获一、二、三等奖各1项,1项科技项目被评为全国煤炭科技成果三级。<br>通过技术攻关解决各类井下采掘设备机电疑难故障500余次,攻克设备维修技术瓶颈30余项,自主修理设备及配件上千台(件)。<br>工作室累计为企业创造直接经济价值5000余万元,间接效益上亿元。<br>工作室先后被命名为“山西省职工创新工作室”、“省级技能大师工作室”、“全国煤炭行业技能大师工作室”、“国家级技能大师工作室”,并被中华全国总工会授予“全国工人先锋号”称号。",
  232. "2013年至今,开展培训240期,培训人次3000余人次,工作室培养选拔出大批优秀人才在集团公司技能大赛中崭露头角,在参加集团公司技能大赛中共有9名选手获奖,其中获得技术状元4人,技术标兵5人。<br>申报“五小创新”45项,申请实用型专利9项,创造经济效益近1000万元。<br>工作室先后,被命名为“山西省劳模创新工作室”、“山西省技能大师工作室”、“国家级技能大师工作室”。"
  233. ]
  234. let honorList = [
  235. "全国五一劳动奖章<br>山西省劳动模范",
  236. "全国劳动模范全国技术能手全国五一劳动奖章<br>享受“国务院特殊津贴”<br>感动中国矿工十大杰出人物<br>全国煤炭行业技能大师<br>全国能源化学地质系统“大国工匠”<br>三晋技术能手山西省职工优秀技术带头人",
  237. "全国技术能手"
  238. ]
  239. let employmentList = [
  240. ["01", "陈英", "男", "140152********0101", "斜沟煤矿"],
  241. ["02", "李小曼", "女", "140152********0101", "斜沟煤矿"],
  242. ["03", "王亮", "男", "140152********0101", "斜沟煤矿"],
  243. ["04", "李鑫", "女", "140152********0101", "斜沟煤矿"],
  244. ["05", "王伟", "男", "140152********0101", "斜沟煤矿"],
  245. ["06", "李梦", "女", "140152********0101", "斜沟煤矿"],
  246. ["07", "王小星", "男", "140152********0101", "斜沟煤矿"],
  247. ["08", "张爱琴", "女", "140152********0101", "斜沟煤矿"],
  248. ["09", "李丽丽", "女", "140152********0101", "斜沟煤矿"],
  249. ["10", "王强", "男", "140152********0101", "斜沟煤矿"],
  250. ["11", "王国兴", "男", "140152********0101", "斜沟煤矿"],
  251. ["12", "王伟杰", "男", "140152********0101", "斜沟煤矿"],
  252. ["13", "李亮亮", "女", "140152********0101", "斜沟煤矿"],
  253. ["14", "王洁", "男", "140152********0101", "斜沟煤矿"],
  254. ["15", "王小星", "男", "140152********0101", "斜沟煤矿"],
  255. ["16", "张爱琴", "女", "140152********0101", "斜沟煤矿"],
  256. ["17", "李丽丽", "女", "140152********0101", "斜沟煤矿"],
  257. ["18", "王强", "男", "140152********0101", "斜沟煤矿"],
  258. ["19", "王国兴", "男", "140152********0101", "斜沟煤矿"],
  259. ["20", "王伟杰", "男", "140152********0101", "斜沟煤矿"],
  260. ["21", "李亮亮", "女", "140152********0101", "斜沟煤矿"],
  261. ["22", "王洁", "男", "140152********0101", "斜沟煤矿"],
  262. ]
  263. let monthList = ['01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12']
  264. // let yearList = ['2021','2022','2023','2024']
  265. let year = new Date().getFullYear()
  266. let yearList = [year, year - 1, year - 2]
  267. function listToChange(list1, list2) {
  268. let list = []
  269. list1.forEach(i => {
  270. list2.forEach(k => {
  271. list.push(i + "-" + k)
  272. })
  273. });
  274. return list
  275. }