fengxu преди 2 години
родител
ревизия
625603a8c0
променени са 4 файла, в които са добавени 100 реда и са изтрити 28 реда
  1. 0 0
      cokingCoal/hr.html
  2. 3 3
      cokingCoal/index.html
  3. 6 4
      cokingCoal/js/dataA.js
  4. 91 21
      cokingCoal/js/newIndex.js

+ 0 - 0
cokingCoal/humanResources.html → cokingCoal/hr.html


+ 3 - 3
cokingCoal/index.html

@@ -27,9 +27,9 @@
 
 <body>
     <div class="app_box" id="app">
-        <div class="box_item_title" @click="fullScreen()">
-        <!-- <div class="box_item_title"> -->
-            <span>集团管控 数智赋能</span>
+        <!-- <div class="box_item_title" @click="fullScreen()"> -->
+        <div class="box_item_title">
+            <span>集   &nbsp;&nbsp;&nbsp;     能</span>
         </div>
         <div class="box_item_main" v-if="isShowPage">
             <div class="box_left">

+ 6 - 4
cokingCoal/js/dataA.js

@@ -35,7 +35,7 @@ let levelList = {
 // }
 
 let salaryList = {
-    x: ["西山煤电", "汾西矿业", "霍州煤电", "山煤国际", "华晋焦煤", "山西焦化", "物资装备公司", "金土地公司", "销售公司", "国发公司", "投资公司", "人力资源公司", "金融资本公司", "民爆集团", "云数据公司", "焦煤置业", "新能源公司", "油品公司", "低碳公司", "交易中心", "招标公司"],
+    x: ["西山煤电", "汾西矿业", "霍州煤电", "山煤国际", "华晋焦煤", "山西焦化", "物资装备", "金土地", "销售公司", "国发公司", "投资公司", "人力资源", "金融资本", "民爆集团", "云数据", "焦煤置业", "新能源公司", "油品公司", "低碳公司", "交易中心", "招标公司"],
     y: [94, 90, 93, 90, 93, 95, 98, 100, 93, 91, 95, 90, 98, 94, 99, 92, 100, 93, 97, 89, 97]
 }
 
@@ -52,7 +52,7 @@ let salaryList = {
 // }
 
 let leftEndList = {
-    x: ["集团公司", "西山煤电", "汾西矿业", "霍州煤电", "山煤国际", "华晋焦煤", "山西焦化", "物资装备公司", "金土地公司", "销售公司", "国发公司", "投资公司", "人力资源公司", "金融资本公司", "民爆集团", "云数据公司", "焦煤置业", "新能源公司", "油品公司", "低碳公司", "交易中心", "招标公司"],
+    x: ["集团公司", "西山煤电", "汾西矿业", "霍州煤电", "山煤国际", "华晋焦煤", "山西焦化", "物资装备", "金土地", "销售公司", "国发公司", "投资公司", "人力资源", "金融资本", "民爆集团", "云数据公司", "焦煤置业", "新能源公司", "油品公司", "低碳公司", "交易中心", "招标公司"],
     y1: [9401, 9794, 9814, 8997, 9411, 10830, 5043, 12743, 16787, 20488, 7321, 8479, 18297, 14812, 7551, 16525, 12173, 11308, 13405, 7077, 7566, 5889],
     y2: [8146, 8812, 8043, 7634, 8231, 8928, 4752, 11693, 15066, 15402, 9911, 6681, 0, 14568, 5457, 13146, 13014, 10882, 12268, 0, 0, 0],
 }
@@ -172,8 +172,10 @@ let left5 = [{
 let downhole = {
     x: ["西山煤电", "汾西矿业", "霍州煤电", "山煤国际", "华晋焦煤"],
     y: [
-        [11, 2, 1, 7, 0],
-        [26, 16, 3, 20, 2],
+        [626, 318, 246, 46, 43],
+        [309, 257, 244, 25, 34],
+        [244, 112, 14, 19, 17],
+        [146, 97, 6, 14, 10],
         [1565, 1569, 823, 433, 177],
         [5206, 2899, 1163, 1057, 416]
     ]

+ 91 - 21
cokingCoal/js/newIndex.js

@@ -115,14 +115,17 @@ let app = new Vue({
                 waitTime: 2000,
                 rowNum: 2,
                 data: [
-                    // ["金融资本公司", '山焦担保', '组织合并', '2023-06-01'],
-                    ["集团本部", '洗选管理中心', '组织更名', '2023-07-29'],
-                    ["集团本部", '财税共享服务中心', '组织更名', '2023-07-13'],
                     ["西山煤电", '西山建筑', '组织更名', '2023-07-13'],
-                    ["山西焦煤", '焦炭交易中心', '组织新设', '2022-12-29'],
-                    ["集团本部", '综治信访中心', '组织新设', '2022-12-1'],
-                    ["山西焦煤", '实验室', '组织新设', '2022-07-20'],
-                    ["山西焦煤", '招标公司', '组织新设', '2022-05-19'],
+                    ["集团本部", '财税共享服务中心', '组织更名', '2023-07-13'],
+                    ["焦煤置业", '海南科思实业有限公司', '组织停用', '2023-04-04'],
+                    ["焦煤置业", '呼和浩特市城发供热有限责任公司', '组织更名', '2023-04-04'],
+                    ["西山煤电", '房城建安有限公司', '组织停用', '2023-04-01'],
+                    ["霍州煤电", '建筑建材公司', '组织停用', '2023-03-25'],
+                    // ["金融资本公司", '山焦担保', '组织合并', '2023-06-01'],
+                    // ["山西焦煤", '焦炭交易中心', '组织新设', '2022-12-29'],
+                    // ["集团本部", '综治信访中心', '组织新设', '2022-12-1'],
+                    // ["山西焦煤", '实验室', '组织新设', '2022-07-20'],
+                    // ["山西焦煤", '招标公司', '组织新设', '2022-05-19'],
 
 
                 ],
@@ -152,7 +155,7 @@ let app = new Vue({
             },
             configMark: {
                 waitTime: 2000,
-                header: ["单位名称",  "人员数量","月份", "预警项"],
+                header: ["单位名称", "人员数量", "月份", "预警项"],
                 rowNum: 6,
                 data: [
                     ["<span class='red'>西山煤电</span>", "<span class='red'>71</span>", "<span class='red'>7月</span>", "<span class='red'>薪资低于4000元</span>"],
@@ -371,7 +374,7 @@ let app = new Vue({
                 image: "./images/top-1.png",
             }, {
                 key: "缓冲池",
-                value: 1830,
+                value: 3733,
                 image: "./images/top-3.png",
             }, {
                 key: "待岗池",
@@ -419,7 +422,7 @@ let app = new Vue({
             },],
             orgChange: true,
             SalaryCalProgDetail: true,
-            imageList: ["./images/newImage/ppt1.png","./images/newImage/ppt2.png","./images/newImage/ppt3.png"],
+            imageList: ["./images/newImage/ppt1.png", "./images/newImage/ppt2.png", "./images/newImage/ppt3.png"],
             imageIndex: 0,
             imageFlag: false,
             pageFlag: true,
@@ -449,8 +452,8 @@ let app = new Vue({
                 src: "./images/newImage/woman.png"
             }],
             downholeObj: {
-                key: "集团公司",
-                value: 15396
+                key: "选拔培养",
+                value: 2807
             },
             staffList: {
                 coal: 97395,
@@ -686,7 +689,7 @@ let app = new Vue({
             this.initChartR1(initChartR1)
 
             let efficiency = this.$refs.efficiency
-            this.initDownholeEcharts(efficiency, { x: downhole.x, y: [downhole.y[0], downhole.y[1]] }, 1)
+            this.initDownholeEcharts(efficiency, { x: downhole.x, y: [downhole.y[0], downhole.y[1], downhole.y[2], downhole.y[3]] }, 1)
             this.downholeTimes()
 
             let sequence = this.$refs.sequence
@@ -807,7 +810,7 @@ let app = new Vue({
                 this.initChartR1(initChartR1)
 
                 let efficiency = this.$refs.efficiency
-                this.initDownholeEcharts(efficiency, { x: downhole.x, y: [downhole.y[0], downhole.y[1]] }, 1)
+                this.initDownholeEcharts(efficiency, { x: downhole.x, y: [downhole.y[0], downhole.y[1], downhole.y[2], downhole.y[3]] }, 1)
                 this.downholeTimes()
 
                 let sequence = this.$refs.sequence
@@ -925,10 +928,19 @@ let app = new Vue({
                 let efficiency = this.$refs.efficiency
                 this.downhole.dispose()
                 if (that.downholeIndex == 1) {
-                    this.initDownholeEcharts(efficiency, { x: downhole.x, y: [downhole.y[2], downhole.y[3]] }, 2)
+
+                    this.downholeObj = {
+                        key: "集团公司",
+                        value: 15396
+                    }
+                    this.initDownholeEcharts(efficiency, { x: downhole.x, y: [downhole.y[4], downhole.y[5]] }, 2)
                     that.downholeIndex = 2
                 } else if (that.downholeIndex == 2) {
-                    this.initDownholeEcharts(efficiency, { x: downhole.x, y: [downhole.y[0], downhole.y[1]] }, 1)
+                    this.downholeObj = {
+                        key: "选拔培养",
+                        value: 2807
+                    }
+                    this.initDownholeEcharts(efficiency, { x: downhole.x, y: [downhole.y[0], downhole.y[1], downhole.y[2], downhole.y[3]] }, 1)
                     that.downholeIndex = 1
                 }
             }, 10000)
@@ -2089,6 +2101,15 @@ let app = new Vue({
                                 },
                             },
                         },
+                        select: {
+                            itemStyle: {
+                                areaColor: '#1C4FBB',
+                                borderColor: 'rgba(5,216,252,0.7)',
+                                borderWidth: 6, //隐藏省界线
+                                shadowColor: 'rgba(5,216,252,0.7)',
+                                shadowBlur: 90,
+                            }
+                        },
                         itemStyle: {
                             areaColor: '#1C4FBB',
                             borderColor: 'rgba(5,216,252,0.7)',
@@ -2447,6 +2468,9 @@ let app = new Vue({
                             show: false
                         }
                     },
+                    selectedMode: 'single',
+                    selectedOffset: 90,
+                    clockwise: true,
                     label: {
                         show: false,
                         formatter: "{b}",
@@ -2459,16 +2483,26 @@ let app = new Vue({
                         }
                     },
                     data: echarts2,
+                    emphasis: {
+                        scaleSize: 15, // 设置放大倍数
+                      },
                     itemStyle: {
                         color: function (colors) {
                             var colorList = [
                                 "#DDEBF7", "#BDD7EE", "#9BC2E6", "#2F75B5", "#1F4E78"
                             ];
                             return colorList[colors.dataIndex];
-                        }
+                        },
+                        // emphasis: {
+                        //     // shadowBlur: 50,  
+                        //     shadowOffsetX: 15,
+                        //     shadowOffsetY: 15,
+                        //     shadowColor: 'red'
+                        // },
                     }
                 },],
             }
+            
             myChart.setOption(option)
             tools.loopShowTooltip(myChart, option, {
                 nterval: 2000,
@@ -3481,6 +3515,7 @@ let app = new Vue({
                     axisLabel: {
                         // inside: true,
                         // rotate: 30,
+                        interval: 0,
                         padding: [15, 0, 0, 0],
                         textStyle: {
                             color: "#fff",
@@ -4964,10 +4999,11 @@ let app = new Vue({
             this.downhole = echarts.init(el);
             let series = []
             let grid = {}
+            console.log(data);
             if (type == 1) {
                 series.push({
                     type: 'bar',
-                    name: "基层正职",
+                    name: "一级专员",
                     barWidth: 26,
                     itemStyle: {
                         color: new echarts.graphic.LinearGradient(0, 1, 0, 0, [{
@@ -4985,7 +5021,7 @@ let app = new Vue({
 
                 series.push({
                     type: 'bar',
-                    name: "基层副职",
+                    name: "二级专员",
                     barWidth: 26,
                     itemStyle: {
                         color: new echarts.graphic.LinearGradient(0, 1, 0, 0, [{
@@ -5000,6 +5036,40 @@ let app = new Vue({
                     },
                     data: data.y[1],
                 })
+                series.push({
+                    type: 'bar',
+                    name: "一级技工",
+                    barWidth: 26,
+                    itemStyle: {
+                        color: new echarts.graphic.LinearGradient(0, 1, 0, 0, [{
+                            offset: 0,
+                            color: '#80D0C7 ',
+                        },
+                        {
+                            offset: 1,
+                            color: '#0093E9',
+                        },
+                        ]),
+                    },
+                    data: data.y[2],
+                })
+                series.push({
+                    type: 'bar',
+                    name: "二级技工",
+                    barWidth: 26,
+                    itemStyle: {
+                        color: new echarts.graphic.LinearGradient(0, 1, 0, 0, [{
+                            offset: 0,
+                            color: '#52ACFF',
+                        },
+                        {
+                            offset: 1,
+                            color: '#FFE32C',
+                        },
+                        ]),
+                    },
+                    data: data.y[3],
+                })
 
                 // series.push({
                 //   type: 'bar',
@@ -5069,7 +5139,7 @@ let app = new Vue({
                     right: "1%"
                 }
             }
-
+            console.log(series);
             option = {
                 tooltip: {
                     show: true,
@@ -5086,7 +5156,7 @@ let app = new Vue({
                 },
                 grid,
                 legend: {
-                    data: ["基层正职", "基层副职", "井下一线", "井下辅助",],
+                    data: ["一级专员", "二级专员", "一级技工", "二级技工", "井下一线", "井下辅助",],
                     align: 'left',
                     itemGap: 50,
                     right: '1%',