zt 1 год назад
Родитель
Сommit
dd0369418e

+ 2 - 2
nngkxxdp/src/main/resources/static/natj/dataCenter/index.html

@@ -11,12 +11,12 @@
     <style>
         #whlyEchar {
             width: 1400px;
-            height: 710px;
+            height: 380px;
         }
 
         #gyykEchart {
             width: 1400px;
-            height: 710px;
+            height: 380px;
         }
 
         #zsrEchart {

+ 41 - 0
nngkxxdp/src/main/resources/static/natj/dataCenter/js/closeCase.js

@@ -9,6 +9,11 @@ function closeCase() {
       axisPointer: {
         type: "shadow",
       },
+      backgroundColor: "rgb(0 0 0 / 40%)",
+      borderColor: "transparent",
+      textStyle: {
+        color: "#fff",
+      },
       confine: true
     },
     legend: {},
@@ -51,18 +56,33 @@ function closeCase() {
         type: "bar",
         data: [1285, 2257, 3370, 5085, 1375, 3057, 4592],
         yAxisIndex: 0,
+        tooltip: {
+          valueFormatter: function (value) {
+            return value + " 件";
+          },
+        },
       },
       {
         name: "涉及人数",
         type: "bar",
         data: [1285, 2257, 3370, 5210, 1401, 3142, 4625],
         yAxisIndex: 1,
+        tooltip: {
+          valueFormatter: function (value) {
+            return value + " 人";
+          },
+        },
       },
       {
         name: "结案数量",
         type: "bar",
         data: [921, 1903, 2974, 4831, 972, 2262, 3922],
         yAxisIndex: 0,
+        tooltip: {
+          valueFormatter: function (value) {
+            return value + " 件";
+          },
+        },
       },
     ],
   };
@@ -79,6 +99,11 @@ function closeCase() {
       axisPointer: {
         type: "shadow",
       },
+      backgroundColor: "rgb(0 0 0 / 40%)",
+      borderColor: "transparent",
+      textStyle: {
+        color: "#fff",
+      },
       confine: true
     },
     legend: {
@@ -114,6 +139,11 @@ function closeCase() {
         name: "仲裁裁决数",
         type: "bar",
         data: [49, 161, 290, 386, 57, 177, 306],
+        tooltip: {
+          valueFormatter: function (value) {
+            return value + " 件";
+          },
+        },
       },
     ],
   };
@@ -130,6 +160,11 @@ function closeCase() {
       axisPointer: {
         type: "shadow",
       },
+      backgroundColor: "rgb(0 0 0 / 40%)",
+      borderColor: "transparent",
+      textStyle: {
+        color: "#fff",
+      },
       confine: true
     },
     grid: {
@@ -160,6 +195,7 @@ function closeCase() {
       {
         data: [71.67, 84.31, 88.24, 95, 71, 74, 85],
         type: "line",
+        name: "结案率",
         itemStyle: {
           color: "#FB693A",
         },
@@ -179,6 +215,11 @@ function closeCase() {
             },
           ]),
         },
+        tooltip: {
+          valueFormatter: function (value) {
+            return value + " %";
+          },
+        },
       },
     ],
   };

+ 21 - 1
nngkxxdp/src/main/resources/static/natj/dataCenter/js/culturalTourism.js

@@ -17,6 +17,11 @@ function culturalTourism() {
           color: "#999",
         },
       },
+      backgroundColor: "rgb(0 0 0 / 40%)",
+      borderColor: "transparent",
+      textStyle: {
+        color: "#fff",
+      },
     },
     legend: {
       data: ["海外游客", "国内游客", "国内游客同比增减", "海外游客同比增减"],
@@ -133,6 +138,11 @@ function culturalTourism() {
           color: "#999",
         },
       },
+      backgroundColor: "rgb(0 0 0 / 40%)",
+      borderColor: "transparent",
+      textStyle: {
+        color: "#fff",
+      },
     },
     legend: {
       data: [
@@ -205,7 +215,7 @@ function culturalTourism() {
         },
         data: [0, 788, 1026, 1740, 1967, 2200, 2720, 2748, 3231, 5539],
         itemStyle: {
-          color: "red",
+          color: "#ed9121",
         },
       },
       {
@@ -261,6 +271,11 @@ function culturalTourism() {
           color: "#999",
         },
       },
+      backgroundColor: "rgb(0 0 0 / 40%)",
+      borderColor: "transparent",
+      textStyle: {
+        color: "#fff",
+      },
     },
     legend: {
       data: ["旅游总收入"],
@@ -359,6 +374,11 @@ function culturalTourism() {
           color: "#999",
         },
       },
+      backgroundColor: "rgb(0 0 0 / 40%)",
+      borderColor: "transparent",
+      textStyle: {
+        color: "#fff",
+      },
     },
     legend: {
       data: ["旅游从业人数"],

+ 20 - 0
nngkxxdp/src/main/resources/static/natj/dataCenter/js/employment.js

@@ -9,6 +9,11 @@ function employment() {
       axisPointer: {
         type: "shadow",
       },
+      backgroundColor: "rgb(0 0 0 / 40%)",
+      borderColor: "transparent",
+      textStyle: {
+        color: "#fff",
+      },
       confine: true
     },
     legend: {
@@ -58,18 +63,33 @@ function employment() {
         itemStyle: {
           color: "#509EF3",
         },
+        tooltip: {
+          valueFormatter: function (value) {
+            return value + " 万人";
+          },
+        },
       },
       {
         name: "城镇登记失业人员就业人数",
         type: "bar",
         yAxisIndex: 0,
         data: [0.21, 0.38, 0.93, 1.08, 0.69, 1.07, 1.15],
+        tooltip: {
+          valueFormatter: function (value) {
+            return value + " 万人";
+          },
+        },
       },
       {
         name: "城镇调查失业率",
         type: "line",
         yAxisIndex: 1,
         data: [5.4, 5.4, 5.4, 5.3, 5.5, 5.4, 5.4],
+        tooltip: {
+          valueFormatter: function (value) {
+            return value + " %";
+          },
+        },
       },
       // {
       //   name: "城镇新增就业人数同比增减",

+ 32 - 2
nngkxxdp/src/main/resources/static/natj/dataCenter/js/skills.js

@@ -9,7 +9,12 @@ function skills() {
       axisPointer: {
         type: "shadow",
       },
-      confine: true
+      confine: true,
+      backgroundColor: "rgb(0 0 0 / 40%)",
+      borderColor: "transparent",
+      textStyle: {
+        color: "#fff",
+      }
     },
     legend: {
       show: false,
@@ -43,6 +48,11 @@ function skills() {
         name: "城镇新增就业人数",
         type: "bar",
         data: [786, 1726, 2466, 3216, 622, 1701, 2342],
+        tooltip: {
+          valueFormatter: function (value) {
+            return value + " 万元";
+          },
+        },
       },
     ],
   };
@@ -59,7 +69,12 @@ function skills() {
       axisPointer: {
         type: "shadow",
       },
-      confine: true
+      backgroundColor: "rgb(0 0 0 / 40%)",
+      borderColor: "transparent",
+      textStyle: {
+        color: "#fff",
+      },
+      confine: true,
     },
     legend: {
       show: false,
@@ -93,6 +108,11 @@ function skills() {
         name: "城镇新增就业人数",
         type: "bar",
         data: [1109, 2392, 3349, 6745, 1367, 6345, 8723],
+        tooltip: {
+          valueFormatter: function (value) {
+            return value + " 人";
+          },
+        },
       },
     ],
   };
@@ -109,6 +129,11 @@ function skills() {
       axisPointer: {
         type: "shadow",
       },
+      backgroundColor: "rgb(0 0 0 / 40%)",
+      borderColor: "transparent",
+      textStyle: {
+        color: "#fff",
+      },
       confine: true
     },
     legend: {
@@ -143,6 +168,11 @@ function skills() {
         name: "城镇新增就业人数",
         type: "bar",
         data: [0.18, 0.58, 0.74, 1.11, 0.26, 0.62, 0.79],
+        tooltip: {
+          valueFormatter: function (value) {
+            return value + " 万人";
+          },
+        },
       },
     ],
   };