Ver Fonte

调整三四级

l1448442195@163.com há 1 ano atrás
pai
commit
939bce07e9
4 ficheiros alterados com 101 adições e 43 exclusões
  1. 4 4
      manpower/js/data3.js
  2. 30 13
      manpower/js/index2.js
  3. 33 16
      manpower/js/index3.js
  4. 34 10
      manpower/js/index4.js

+ 4 - 4
manpower/js/data3.js

@@ -87,16 +87,16 @@ const dataR4 = [
   [2, 4, 10, 2, 7, 6, 6, 7, 5, 2]
 ]
 const dataR5 = [
-  [11.98, 28.79, 25.07, 23.31, 23.80, 19.69, 15.56, 30.32, 18.67, 11.59],
-  [19.47, 26.54, 37.56, 28.23, 27.61, 25.48, 16.10, 41.23, 12.10, 11.89]
+  [34409.3, 22500.0, 15100.0, 27930.8, 19637.2, 16528.1, 26904.4, 35046.6, 22500.0, 4072.1],
+  [32620, 21120.75, 14255.91, 26785, 18356, 15658, 25738, 33585, 21078, 3683]
 ]
 const dataR6 = [
   [359, 141, -26, -8, -23, 90, 20, -68, 1769, -221],
   [-36, 11, 30, 11, 16, 45, 2, 23, -45, -10]
 ]
 const dataR7 = [
-  [100, 100, 100, 100, 100, 100, 100, 100, 100]
+  [100, 100, 100, 100, 100, 100, 100, 100, 100, 100]
 ]
 const dataR8 = [
-  [100, 100, 100, 100, 100, 100, 100, 100, 100]
+  [100, 100, 100, 100, 100, 100, 100, 100, 100, 100]
 ]

+ 30 - 13
manpower/js/index2.js

@@ -902,21 +902,38 @@ let app = new Vue({
         formatter: '{a0}:{c0}' + '%' +'<br/>'+ '{a1}:{c1}' + '%'
       }
       option.grid.right = '15%'
-      option.yAxis.push({
-        splitLine: {
-          show: false,
-        },
-        axisLine: {
-          show: false,
-        },
-        axisLabel: {
-          show: true,
-          formatter: '{value} %',
-          textStyle: {
-            color: 'rgba(250,250,250,0.6)',
+      option.yAxis = [
+        {
+          splitLine: {
+            show: false,
+          },
+          axisLine: {
+            show: false,
+          },
+          axisLabel: {
+            show: true,
+            formatter: '{value} %',
+            textStyle: {
+              color: 'rgba(250,250,250,0.6)',
+            },
           },
         },
-      })
+        {
+          splitLine: {
+            show: false,
+          },
+          axisLine: {
+            show: false,
+          },
+          axisLabel: {
+            show: true,
+            formatter: '{value} %',
+            textStyle: {
+              color: 'rgba(250,250,250,0.6)',
+            },
+          },
+        }
+      ]
       myChart.setOption(option)
     },
     // 右侧图表---------------------------------------------开始

+ 33 - 16
manpower/js/index3.js

@@ -902,21 +902,38 @@ let app = new Vue({
         formatter: '{a0}:{c0}' +'<br/>'+ '{a1}:{c1}' + '%'
       }
       option.grid.right = '15%'
-      option.yAxis.push({
-        splitLine: {
-          show: false,
-        },
-        axisLine: {
-          show: false,
-        },
-        axisLabel: {
-          show: true,
-          formatter: '{value} %',
-          textStyle: {
-            color: 'rgba(250,250,250,0.6)',
+      option.yAxis = [
+        {
+          splitLine: {
+            show: false,
+          },
+          axisLine: {
+            show: false,
+          },
+          axisLabel: {
+            show: true,
+            formatter: '{value} %',
+            textStyle: {
+              color: 'rgba(250,250,250,0.6)',
+            },
           },
         },
-      })
+        {
+          splitLine: {
+            show: false,
+          },
+          axisLine: {
+            show: false,
+          },
+          axisLabel: {
+            show: true,
+            formatter: '{value} %',
+            textStyle: {
+              color: 'rgba(250,250,250,0.6)',
+            },
+          },
+        }
+      ]
       myChart.setOption(option)
     },
     // 右侧图表---------------------------------------------开始
@@ -1379,7 +1396,7 @@ let app = new Vue({
           },
         ],
       }
-      option.title.text = '各三级企业任期制契约化完成率'
+      option.title.text = '各三级企业全员绩效考核 '
       // option.legend.data = ['劳动合同签约完成率', '目标值']
       option.yAxis.push({
         splitLine: {
@@ -1397,7 +1414,7 @@ let app = new Vue({
         ..._.cloneDeep(this.commonOption),
         series: [
           {
-            name: '任期制考核完成率',
+            name: '任期制契约化完成率',
             type: 'bar',
             barWidth: 15,
             itemStyle: {
@@ -1418,7 +1435,7 @@ let app = new Vue({
           },
         ],
       }
-      option.title.text = '各三级企业全员绩效考核'
+      option.title.text = '各三级企业任期制契约化完成率'
       option.yAxis.push({
         splitLine: {
           show: false,

+ 34 - 10
manpower/js/index4.js

@@ -903,14 +903,38 @@ let app = new Vue({
         formatter: '{a0}:{c0}' +'<br/>'+ '{a1}:{c1}' + '%'
       }
       option.grid.right = '15%'
-      option.yAxis.push({
-        splitLine: {
-          show: false,
-        },
-        axisLine: {
-          show: false,
+      option.yAxis = [
+        {
+          splitLine: {
+            show: false,
+          },
+          axisLine: {
+            show: false,
+          },
+          axisLabel: {
+            show: true,
+            formatter: '{value} %',
+            textStyle: {
+              color: 'rgba(250,250,250,0.6)',
+            },
+          },
         },
-      })
+        {
+          splitLine: {
+            show: false,
+          },
+          axisLine: {
+            show: false,
+          },
+          axisLabel: {
+            show: true,
+            formatter: '{value} %',
+            textStyle: {
+              color: 'rgba(250,250,250,0.6)',
+            },
+          },
+        }
+      ]
       myChart.setOption(option)
     },
     // 右侧图表---------------------------------------------开始
@@ -1380,7 +1404,7 @@ let app = new Vue({
           },
         ],
       }
-      option.title.text = '各四级企业任期制契约化完成率'
+      option.title.text = '各四级企业全员绩效考核'
       // option.legend.data = ['劳动合同签约完成率', '目标值']
       option.yAxis.push({
         splitLine: {
@@ -1398,7 +1422,7 @@ let app = new Vue({
         ..._.cloneDeep(this.commonOption),
         series: [
           {
-            name: '任期制考核完成率',
+            name: '任期制契约化完成率',
             type: 'bar',
             barWidth: 15,
             itemStyle: {
@@ -1419,7 +1443,7 @@ let app = new Vue({
           },
         ],
       }
-      option.title.text = '各四级企业全员绩效考核'
+      option.title.text = '各四级企业任期制契约化完成率'
       option.yAxis.push({
         splitLine: {
           show: false,