Ver Fonte

修改数据

unknown há 2 anos atrás
pai
commit
8c81bcda30

+ 1 - 1
manpower/js/data2.js

@@ -102,7 +102,7 @@ const dataR5 = [
 ]
 const dataR6 = [
   [183, 372, 221, 268, 51, -25, 676, -31, 62],
-  [-34, 0, 9, 0, 39, 0, 12, -4, -35]
+  [-25, 0, 10, 0, 63, 0, 13, -4, -26]
 ]
 const dataR7 = [
   [100, 100, 100, 100, 100, 100, 100, 100, 100]

+ 2 - 2
manpower/js/data3.js

@@ -99,12 +99,12 @@ const dataR4 = [
   [2, 4, 10, 2, 7, 6, 6, 7, 5, 2]
 ]
 const dataR5 = [
-  [34409.3, 22500.0, 15100.0, 27930.8, 19637.2, 16528.1, 26904.4, 35046.6, 22500.0, 4072.1],
+  [43240, 8019.8, 15874.4, 29026.3, 19815.07, 8486.45, 7865.4, 14039.6, 8894.4, 7326.7],
   [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]
+  [-25, -6, -6, -8, -7, 85, 227, 139, -6, -50]
 ]
 const dataR7 = [
   [100, 100, 100, 100, 100, 100, 100, 100, 100, 100]

+ 2 - 2
manpower/js/data4.js

@@ -88,12 +88,12 @@ const dataR4 = [
   [0, 0, 0, 1, 2, 0, 0, 0]
 ]
 const dataR5 = [
-  [16000.00, 0.00, 9589.04, 11260.80, 13360.00, 10853.00, 4680.80, 0.00],
+  [11000, 0.00, 6666.66, 9492.75, 41783.7, 0, 3387.97, 8333.33],
   [15323.20, 0.00, 9084.66, 10674.11, 12694.67, 10281.05, 4433.65, 0.00]
 ]
 const dataR6 = [
   [0, -100, -920, -239, 38, 27, 30, -2727],
-  [4, 5, 5.26, 5.21, 4.98, 5.27, 5.28, 5.26]
+  [45.45, 0, 43.84, 18.63, -68.03, 0, 38.16, 0]
 ]
 const dataR7 = [
   [100, 100, 100, 100, 100, 100, 100, 100, 100]

+ 1 - 1
manpower/js/fjx.js

@@ -5,7 +5,7 @@ const fjxdataL1 = [
   
   const fjxdataL2 = [
     [172, 89, 80, 117, 23, 38, 99, 30, 34, -524, 64, -160,31, 53, 2, 27, -20, 109],
-    [3.40, 28.21, -7.98, 10.95, -19.06, 5.76, 21.61, -0.84, -2.03, 6.63, 13.41, -0.89, -0.55, 4.02, -73.56, -1.61, -6.72, -31.83],
+    [3.52, 39.29, -7.39, 12.30, -16.01, 6.12, 27.57, -0.84, -1.99, 7.10, 15.48, -0.88, -0.54, 4.18, -42.38, -1.58, -6.30, -24.14],
   ]
   
   const fjxdataL3 = [

+ 28 - 0
manpower/js/index2.js

@@ -1398,6 +1398,20 @@ let app = new Vue({
       }
       option.yAxis = [
         {
+          max: function (value) {
+            if (Math.abs(value.max) > Math.abs(value.min)) {
+              return (Math.abs(value.max) * 1.2).toFixed(2);
+            } else {
+              return (Math.abs(value.min) * 1.2).toFixed(2);
+            }
+          },
+          min: function (value) {
+            if (Math.abs(value.max) > Math.abs(value.min)) {
+              return (-Math.abs(value.max) * 1.2).toFixed(2);
+            } else {
+              return (-Math.abs(value.min) * 1.2).toFixed(2);
+            }
+          },
           type: 'value',
           axisLine: {
             show: false,
@@ -1418,6 +1432,20 @@ let app = new Vue({
           },
         },
         {
+          max: function (value) {
+            if (Math.abs(value.max) > Math.abs(value.min)) {
+              return (Math.abs(value.max) * 1.2).toFixed(2);
+            } else {
+              return (Math.abs(value.min) * 1.2).toFixed(2);
+            }
+          },
+          min: function (value) {
+            if (Math.abs(value.max) > Math.abs(value.min)) {
+              return (-Math.abs(value.max) * 1.2).toFixed(2);
+            } else {
+              return (-Math.abs(value.min) * 1.2).toFixed(2);
+            }
+          },
           type: 'value',
           splitLine: {
             show: false,

+ 28 - 0
manpower/js/index3.js

@@ -1443,6 +1443,20 @@ let app = new Vue({
       }
       option.yAxis = [
         {
+          max: function (value) {
+            if (Math.abs(value.max) > Math.abs(value.min)) {
+              return (Math.abs(value.max) * 1.2).toFixed(2);
+            } else {
+              return (Math.abs(value.min) * 1.2).toFixed(2);
+            }
+          },
+          min: function (value) {
+            if (Math.abs(value.max) > Math.abs(value.min)) {
+              return (-Math.abs(value.max) * 1.2).toFixed(2);
+            } else {
+              return (-Math.abs(value.min) * 1.2).toFixed(2);
+            }
+          },
           splitLine: {
             show: true,
             lineStyle: {
@@ -1462,6 +1476,20 @@ let app = new Vue({
           },
         },
         {
+          max: function (value) {
+            if (Math.abs(value.max) > Math.abs(value.min)) {
+              return (Math.abs(value.max) * 1.2).toFixed(2);
+            } else {
+              return (Math.abs(value.min) * 1.2).toFixed(2);
+            }
+          },
+          min: function (value) {
+            if (Math.abs(value.max) > Math.abs(value.min)) {
+              return (-Math.abs(value.max) * 1.2).toFixed(2);
+            } else {
+              return (-Math.abs(value.min) * 1.2).toFixed(2);
+            }
+          },
           splitLine: {
             show: false,
           },

+ 29 - 0
manpower/js/index4.js

@@ -1412,6 +1412,7 @@ let app = new Vue({
           },
         ],
       }
+      
       option.title.text = '各四级企业利润与薪酬变动情况'
       option.legend.data = ['2022年利润累计涨幅率', '2022年薪酬累计涨幅率']
       option.tooltip = {
@@ -1420,6 +1421,20 @@ let app = new Vue({
       }
       option.yAxis = [
         {
+          max: function (value) {
+            if (Math.abs(value.max) > Math.abs(value.min)) {
+              return (Math.abs(value.max) * 1.2).toFixed(2);
+            } else {
+              return (Math.abs(value.min) * 1.2).toFixed(2);
+            }
+          },
+          min: function (value) {
+            if (Math.abs(value.max) > Math.abs(value.min)) {
+              return (-Math.abs(value.max) * 1.2).toFixed(2);
+            } else {
+              return (-Math.abs(value.min) * 1.2).toFixed(2);
+            }
+          },
           splitLine: {
             show: true,
             lineStyle: {
@@ -1439,6 +1454,20 @@ let app = new Vue({
           },
         },
         {
+          max: function (value) {
+            if (Math.abs(value.max) > Math.abs(value.min)) {
+              return (Math.abs(value.max) * 1.2).toFixed(2);
+            } else {
+              return (Math.abs(value.min) * 1.2).toFixed(2);
+            }
+          },
+          min: function (value) {
+            if (Math.abs(value.max) > Math.abs(value.min)) {
+              return (-Math.abs(value.max) * 1.2).toFixed(2);
+            } else {
+              return (-Math.abs(value.min) * 1.2).toFixed(2);
+            }
+          },
           splitLine: {
             show: false,
           },