zhbyyy 2 лет назад
Родитель
Сommit
e38fed0dbc

+ 0 - 3
manpower/.vscode/settings.json

@@ -1,3 +0,0 @@
-{
-  "liveServer.settings.port": 5502
-}

+ 164 - 29
manpowerPort/js/index.js

@@ -182,26 +182,6 @@ let app = new Vue({
     }
   },
   beforeMount () {
-    // dataL7[0].forEach((item, index) => {
-    //   if (dataL7[1][index] < 0 && dataL7[0][index] > 0) {
-    //     let obj = { value: [companyList[index].name, dataL7[0][index]], symbolSize: 15 }
-    //     this.twinkle7.push(obj)
-    //   }
-    // })
-    // //  if (dataL8[1][params.dataIndex] < 0 && params.value > 0) {
-    // dataL8[0].forEach((item, index) => {
-    //   if (dataL8[1][index] < 0 && dataL8[0][index] > 0) {
-    //     let obj = { value: [companyList[index].name, dataL8[0][index]], symbolSize: 15 }
-    //     this.twinkle8.push(obj)
-    //   }
-    // })
-    // // params.value > 0 && fjxdataL2[0][params.dataIndex] < 0
-    // fjxdataL2[0].forEach((item, index) => {
-    //   if (fjxdataL2[1][index] > 0 && fjxdataL2[0][index] < 0) {
-    //     let obj = { value: [companyList[index].name, fjxdataL2[1][index]], symbolSize: 15 }
-    //     this.twinkleR6.push(obj)
-    //   }
-    // })
   },
   mounted () {
     if (!sessionStorage.getItem('accounts', this.accounts)) {
@@ -214,7 +194,7 @@ let app = new Vue({
       this.time = formatDate()
     }, 1000)
     this.centerData = data
-    // this.generateEcharts()
+    this.generateEcharts()
   },
   beforeDestroy () {
     if (this.timer) {
@@ -540,21 +520,21 @@ let app = new Vue({
           // 数据整理
           dataL7[0].forEach((item, index) => {
             if (dataL7[1][index] < 0 && dataL7[0][index] > 0) {
-              let obj = { value: [companyList[index].name, dataL7[0][index]], symbolSize: 15 }
+              let obj = { value: [this.companyList[index].name, dataL7[0][index]], symbolSize: 15 }
               this.twinkle7.push(obj)
             }
           })
           //  if (dataL8[1][params.dataIndex] < 0 && params.value > 0) {
           dataL8[0].forEach((item, index) => {
             if (dataL8[1][index] < 0 && dataL8[0][index] > 0) {
-              let obj = { value: [companyList[index].name, dataL8[0][index]], symbolSize: 15 }
+              let obj = { value: [this.companyList[index].name, dataL8[0][index]], symbolSize: 15 }
               this.twinkle8.push(obj)
             }
           })
           // params.value > 0 && fjxdataL2[0][params.dataIndex] < 0
           fjxdataL2[0].forEach((item, index) => {
             if (fjxdataL2[1][index] > 0 && fjxdataL2[0][index] < 0) {
-              let obj = { value: [companyList[index].name, fjxdataL2[1][index]], symbolSize: 15 }
+              let obj = { value: [this.companyList[index].name, fjxdataL2[1][index]], symbolSize: 15 }
               this.twinkleR6.push(obj)
             }
           })
@@ -640,6 +620,22 @@ let app = new Vue({
       let myChart = echarts.init(this.$refs['echartL1'])
       let option = {
         ..._.cloneDeep(this.commonOption),
+        color: [
+          {
+            x: 0,
+            y: 0,
+            x2: 0,
+            y2: 1,
+            colorStops: [{
+              offset: 0,
+              color: '#5e7ae9',
+            },
+            {
+              offset: 1,
+              color: '#082550',
+            },],
+          }
+        ],
         series: [
           {
             name: '本部机构数核定上限',
@@ -688,7 +684,6 @@ let app = new Vue({
             name: '当前各省属企业本部机构数',
             type: 'bar',
             barWidth: 15,
-
             itemStyle: {
               normal: {
                 color: params => {
@@ -734,7 +729,22 @@ let app = new Vue({
       let myChart = echarts.init(this.$refs['echartL2'])
       let option = {
         ..._.cloneDeep(this.commonOption),
-        color: ['#69c0ff'],
+        color: [
+          {
+            x: 0,
+            y: 0,
+            x2: 0,
+            y2: 1,
+            colorStops: [{
+              offset: 0,
+              color: '#69c0ff',
+            },
+            {
+              offset: 1,
+              color: '#082550',
+            },],
+          }
+        ],
         series: [
           {
             name: '当前本部共享服务中心/事业部数',
@@ -994,6 +1004,22 @@ let app = new Vue({
       let myChart = echarts.init(this.$refs['echartL4'])
       let option = {
         ..._.cloneDeep(this.commonOption),
+        color: [
+          {
+            x: 0,
+            y: 0,
+            x2: 0,
+            y2: 1,
+            colorStops: [{
+              offset: 0,
+              color: '#6480f3',
+            },
+            {
+              offset: 1,
+              color: '#082550',
+            },],
+          }
+        ],
         series: [
           {
             name: '六定改革前本部中层管理人数',
@@ -1140,6 +1166,22 @@ let app = new Vue({
       let myChart = echarts.init(this.$refs['echartL5'])
       let option = {
         ..._.cloneDeep(this.commonOption),
+        color: [
+          {
+            x: 0,
+            y: 0,
+            x2: 0,
+            y2: 1,
+            colorStops: [{
+              offset: 0,
+              color: '#69c0ff',
+            },
+            {
+              offset: 1,
+              color: '#082550',
+            },],
+          }
+        ],
         series: [
           {
             name: '各省属企业总人数',
@@ -1668,7 +1710,22 @@ let app = new Vue({
       let myChart = echarts.init(this.$refs['echartC1'])
       let option = {
         ..._.cloneDeep(this.commonOption),
-        color: ['#69c0ff'],
+        color: [
+          {
+            x: 0,
+            y: 0,
+            x2: 0,
+            y2: 1,
+            colorStops: [{
+              offset: 0,
+              color: '#69c0ff',
+            },
+            {
+              offset: 1,
+              color: '#082550',
+            },],
+          }
+        ],
         series: [
           {
             name: '全员劳动生产率(万/人)',
@@ -1826,7 +1883,22 @@ let app = new Vue({
       let myChart = echarts.init(this.$refs['echartC2'])
       let option = {
         ..._.cloneDeep(this.commonOption),
-        color: ['#69c0ff'],
+        color: [
+          {
+            x: 0,
+            y: 0,
+            x2: 0,
+            y2: 1,
+            colorStops: [{
+              offset: 0,
+              color: '#69c0ff',
+            },
+            {
+              offset: 1,
+              color: '#082550',
+            },],
+          }
+        ],
         series: [
           {
             name: '人工成本利润率',
@@ -2166,7 +2238,22 @@ let app = new Vue({
       commonOptions.yAxis[0].splitNumber = 2
       let option = {
         ..._.cloneDeep(commonOptions),
-        color: ['#45DAD1'],
+        color: [
+          {
+            x: 0,
+            y: 0,
+            x2: 0,
+            y2: 1,
+            colorStops: [{
+              offset: 0,
+              color: '#45DAD1',
+            },
+            {
+              offset: 1,
+              color: '#082550',
+            },],
+          }
+        ],
         series: [
           {
             name: '2022年利润(万)',
@@ -2343,6 +2430,22 @@ let app = new Vue({
       commonOptions.yAxis[0].splitNumber = 2
       let option = {
         ..._.cloneDeep(commonOptions),
+        color: [
+          {
+            x: 0,
+            y: 0,
+            x2: 0,
+            y2: 1,
+            colorStops: [{
+              offset: 0,
+              color: '#6480f3',
+            },
+            {
+              offset: 1,
+              color: '#082550',
+            },],
+          }
+        ],
         series: [
           {
             name: '2022年退出人数和2023年当前累计退出人数之和',
@@ -2640,6 +2743,22 @@ let app = new Vue({
       let myChart = echarts.init(this.$refs['echartR7'])
       let option = {
         ..._.cloneDeep(this.commonOption),
+        color: [
+          {
+            x: 0,
+            y: 0,
+            x2: 0,
+            y2: 1,
+            colorStops: [{
+              offset: 0,
+              color: '#B889EA',
+            },
+            {
+              offset: 1,
+              color: '#082550',
+            },],
+          }
+        ],
         series: [
           {
             name: '全员绩效考核完成率',
@@ -2689,6 +2808,22 @@ let app = new Vue({
       let myChart = echarts.init(this.$refs['echartR8'])
       let option = {
         ..._.cloneDeep(this.commonOption),
+        color: [
+          {
+            x: 0,
+            y: 0,
+            x2: 0,
+            y2: 1,
+            colorStops: [{
+              offset: 0,
+              color: '#43ede3',
+            },
+            {
+              offset: 1,
+              color: '#082550',
+            },],
+          }
+        ],
         series: [
           {
             name: '任期制契约化完成率',

+ 163 - 49
manpowerPort/js/index2.js

@@ -167,28 +167,6 @@ let app = new Vue({
     }
   },
   beforeMount () {
-    // dataL7[0].forEach((item, index) => {
-    //   if (dataL7[1][index] < 0 && dataL7[0][index] > 0) {
-    //     let obj = { value: [companyList[index].name, dataL7[0][index]], symbolSize: 15 }
-    //     this.twinkle7.push(obj)
-    //   }
-    // })
-    // //  if (dataL8[1][params.dataIndex] < 0 && params.value > 0) {
-    // dataL8[0].forEach((item, index) => {
-    //   if (dataL8[1][index] < 0 && dataL8[0][index] > 0) {
-    //     let obj = { value: [companyList[index].name, dataL8[0][index]], symbolSize: 15 }
-    //     this.twinkle8.push(obj)
-    //   }
-    // })
-    // // params.value > 0 && fjxdataL2[0][params.dataIndex] < 0
-    // dataR6[0].forEach((item, index) => {
-    //   if (dataR6[1][index] > 0 && dataR6[0][index] < 0) {
-    //     let obj = { value: [companyList[index].name, dataR6[1][index]], symbolSize: 15 }
-    //     this.twinkleR6.push(obj)
-    //   }
-    // })
-
-    // console.log(this.twinkleR6)
   },
   mounted () {
     this.getUrlParams()
@@ -197,27 +175,6 @@ let app = new Vue({
       this.time = formatDate()
     }, 1000)
     this.centerData = data
-    // 左侧图表
-    // this.initChartL1()
-    // this.initChartL2()
-    // this.initChartL3()
-    // this.initChartL4()
-    // this.initChartL5()
-    // this.initChartL6()
-    // this.initChartL7()
-    // this.initChartL8()
-    // // 中间图表
-    // this.initChartC1()
-    // this.initChartC2()
-    // // 右侧图表
-    // this.initChartR1()
-    // this.initChartR2()
-    // this.initChartR3()
-    // this.initChartR4()
-    // this.initChartR5()
-    // this.initChartR6()
-    // this.initChartR7()
-    // this.initChartR8()
   },
   beforeDestroy () {
     if (this.timer) {
@@ -438,21 +395,21 @@ let app = new Vue({
              // 数据整理
           dataL7[0].forEach((item, index) => {
             if (dataL7[1][index] < 0 && dataL7[0][index] > 0) {
-              let obj = { value: [companyList[index].name, dataL7[0][index]], symbolSize: 15 }
+              let obj = { value: [this.companyList[index].name, dataL7[0][index]], symbolSize: 15 }
               this.twinkle7.push(obj)
             }
           })
           //  if (dataL8[1][params.dataIndex] < 0 && params.value > 0) {
           dataL8[0].forEach((item, index) => {
             if (dataL8[1][index] < 0 && dataL8[0][index] > 0) {
-              let obj = { value: [companyList[index].name, dataL8[0][index]], symbolSize: 15 }
+              let obj = { value: [this.companyList[index].name, dataL8[0][index]], symbolSize: 15 }
               this.twinkle8.push(obj)
             }
           })
           // params.value > 0 && fjxdataL2[0][params.dataIndex] < 0
           dataR6[0].forEach((item, index) => {
             if (dataR6[1][index] > 0 && dataR6[0][index] < 0) {
-              let obj = { value: [companyList[index].name, dataR6[1][index]], symbolSize: 15 }
+              let obj = { value: [this.companyList[index].name, dataR6[1][index]], symbolSize: 15 }
               this.twinkleR6.push(obj)
             }
           })
@@ -544,6 +501,22 @@ let app = new Vue({
       let myChart = echarts.init(this.$refs['echartL1'])
       let option = {
         ..._.cloneDeep(this.commonOption),
+        color: [
+          {
+            x: 0,
+            y: 0,
+            x2: 0,
+            y2: 1,
+            colorStops: [{
+              offset: 0,
+              color: '#5e7ae9',
+            },
+            {
+              offset: 1,
+              color: '#082550',
+            },],
+          }
+        ],
         series: [
           {
             name: '六个二级企业本部机构数核定上限',
@@ -637,6 +610,22 @@ let app = new Vue({
       let myChart = echarts.init(this.$refs['echartL2'])
       let option = {
         ..._.cloneDeep(this.commonOption),
+        color: [
+          {
+            x: 0,
+            y: 0,
+            x2: 0,
+            y2: 1,
+            colorStops: [{
+              offset: 0,
+              color: '#69c0ff',
+            },
+            {
+              offset: 1,
+              color: '#082550',
+            },],
+          }
+        ],
         series: [
           {
             name: '当前各二级企业所属架构数',
@@ -716,6 +705,22 @@ let app = new Vue({
       let myChart = echarts.init(this.$refs['echartL4'])
       let option = {
         ..._.cloneDeep(this.commonOption),
+        color: [
+          {
+            x: 0,
+            y: 0,
+            x2: 0,
+            y2: 1,
+            colorStops: [{
+              offset: 0,
+              color: '#6480f3',
+            },
+            {
+              offset: 1,
+              color: '#082550',
+            },],
+          }
+        ],
         series: [
           {
             name: '六定改革前各二级企业本部中层管理人数',
@@ -862,6 +867,22 @@ let app = new Vue({
       let myChart = echarts.init(this.$refs['echartL5'])
       let option = {
         ..._.cloneDeep(this.commonOption),
+        color: [
+          {
+            x: 0,
+            y: 0,
+            x2: 0,
+            y2: 1,
+            colorStops: [{
+              offset: 0,
+              color: '#69c0ff',
+            },
+            {
+              offset: 1,
+              color: '#082550',
+            },],
+          }
+        ],
         series: [
           {
             name: '各二级企业总人数',
@@ -1277,7 +1298,22 @@ let app = new Vue({
       let myChart = echarts.init(this.$refs['echartC1'])
       let option = {
         ..._.cloneDeep(this.commonOption),
-        color: ['#69c0ff'],
+        color: [
+          {
+            x: 0,
+            y: 0,
+            x2: 0,
+            y2: 1,
+            colorStops: [{
+              offset: 0,
+              color: '#69c0ff',
+            },
+            {
+              offset: 1,
+              color: '#082550',
+            },],
+          }
+        ],
         series: [
           {
             name: '全员劳动生产率(万/人)',
@@ -1404,7 +1440,22 @@ let app = new Vue({
       let myChart = echarts.init(this.$refs['echartC2'])
       let option = {
         ..._.cloneDeep(this.commonOption),
-        color: ['#69c0ff'],
+        color: [
+          {
+            x: 0,
+            y: 0,
+            x2: 0,
+            y2: 1,
+            colorStops: [{
+              offset: 0,
+              color: '#69c0ff',
+            },
+            {
+              offset: 1,
+              color: '#082550',
+            },],
+          }
+        ],
         series: [
           {
             name: '人工成本利润率同比变化',
@@ -1674,7 +1725,22 @@ let app = new Vue({
       commonOptions.yAxis[0].splitNumber = 2
       let option = {
         ..._.cloneDeep(commonOptions),
-        color: ['#45DAD1'],
+        color: [
+          {
+            x: 0,
+            y: 0,
+            x2: 0,
+            y2: 1,
+            colorStops: [         {
+                      offset: 0,
+                      color: '#45DAD1',
+                    },
+                    {
+                      offset: 1,
+                      color: '#082550',
+                    },],
+          }
+        ],
         series: [
           {
             name: '2022年利润(万)',
@@ -1750,6 +1816,22 @@ let app = new Vue({
       commonOptions.yAxis[0].splitNumber = 2
       let option = {
         ..._.cloneDeep(commonOptions),
+        color: [
+          {
+            x: 0,
+            y: 0,
+            x2: 0,
+            y2: 1,
+            colorStops: [{
+              offset: 0,
+              color: '#6480f3',
+            },
+            {
+              offset: 1,
+              color: '#082550',
+            },],
+          }
+        ],
         series: [
           {
             name: '2022年退出人数和2023年当前累计退出人数之和',
@@ -2045,6 +2127,22 @@ let app = new Vue({
       let myChart = echarts.init(this.$refs['echartR7'])
       let option = {
         ..._.cloneDeep(this.commonOption),
+        color: [
+          {
+            x: 0,
+            y: 0,
+            x2: 0,
+            y2: 1,
+            colorStops: [{
+              offset: 0,
+              color: '#B889EA',
+            },
+            {
+              offset: 1,
+              color: '#082550',
+            },],
+          }
+        ],
         series: [
           {
             name: '全员绩效考核完成率',
@@ -2094,6 +2192,22 @@ let app = new Vue({
       let myChart = echarts.init(this.$refs['echartR8'])
       let option = {
         ..._.cloneDeep(this.commonOption),
+        color: [
+          {
+            x: 0,
+            y: 0,
+            x2: 0,
+            y2: 1,
+            colorStops: [{
+              offset: 0,
+              color: '#43ede3',
+            },
+            {
+              offset: 1,
+              color: '#082550',
+            },],
+          }
+        ],
         series: [
           {
             name: '任期制考核完成率',

+ 163 - 28
manpowerPort/js/index2JNKG.js

@@ -167,28 +167,6 @@ let app = new Vue({
     }
   },
   beforeMount () {
-    // dataL7[0].forEach((item, index) => {
-    //   if (dataL7[1][index] < 0 && dataL7[0][index] > 0) {
-    //     let obj = { value: [companyList[index].name, dataL7[0][index]], symbolSize: 15 }
-    //     this.twinkle7.push(obj)
-    //   }
-    // })
-    // //  if (dataL8[1][params.dataIndex] < 0 && params.value > 0) {
-    // dataL8[0].forEach((item, index) => {
-    //   if (dataL8[1][index] < 0 && dataL8[0][index] > 0) {
-    //     let obj = { value: [companyList[index].name, dataL8[0][index]], symbolSize: 15 }
-    //     this.twinkle8.push(obj)
-    //   }
-    // })
-    // // params.value > 0 && fjxdataL2[0][params.dataIndex] < 0
-    // dataR6[0].forEach((item, index) => {
-    //   if (dataR6[1][index] > 0 && dataR6[0][index] < 0) {
-    //     let obj = { value: [companyList[index].name, dataR6[1][index]], symbolSize: 15 }
-    //     this.twinkleR6.push(obj)
-    //   }
-    // })
-
-    // console.log(this.twinkleR6)
   },
   mounted () {
     this.getUrlParams()
@@ -413,21 +391,21 @@ let app = new Vue({
           // 数据整理
           dataL7[0].forEach((item, index) => {
             if (dataL7[1][index] < 0 && dataL7[0][index] > 0) {
-              let obj = { value: [companyList[index].name, dataL7[0][index]], symbolSize: 15 }
+              let obj = { value: [this.companyList[index].name, dataL7[0][index]], symbolSize: 15 }
               this.twinkle7.push(obj)
             }
           })
           //  if (dataL8[1][params.dataIndex] < 0 && params.value > 0) {
           dataL8[0].forEach((item, index) => {
             if (dataL8[1][index] < 0 && dataL8[0][index] > 0) {
-              let obj = { value: [companyList[index].name, dataL8[0][index]], symbolSize: 15 }
+              let obj = { value: [this.companyList[index].name, dataL8[0][index]], symbolSize: 15 }
               this.twinkle8.push(obj)
             }
           })
           // params.value > 0 && fjxdataL2[0][params.dataIndex] < 0
           // fjxdataL2[0].forEach((item, index) => {
           //   if (fjxdataL2[1][index] > 0 && fjxdataL2[0][index] < 0) {
-          //     let obj = { value: [companyList[index].name, fjxdataL2[1][index]], symbolSize: 15 }
+          //     let obj = { value: [this.companyList[index].name, fjxdataL2[1][index]], symbolSize: 15 }
           //     this.twinkleR6.push(obj)
           //   }
           // })
@@ -519,6 +497,22 @@ let app = new Vue({
       let myChart = echarts.init(this.$refs['echartL1'])
       let option = {
         ..._.cloneDeep(this.commonOption),
+        color: [
+          {
+            x: 0,
+            y: 0,
+            x2: 0,
+            y2: 1,
+            colorStops: [{
+              offset: 0,
+              color: '#5e7ae9',
+            },
+            {
+              offset: 1,
+              color: '#082550',
+            },],
+          }
+        ],
         series: [
           {
             name: '六个二级企业本部机构数核定上限',
@@ -612,6 +606,22 @@ let app = new Vue({
       let myChart = echarts.init(this.$refs['echartL2'])
       let option = {
         ..._.cloneDeep(this.commonOption),
+        color: [
+          {
+            x: 0,
+            y: 0,
+            x2: 0,
+            y2: 1,
+            colorStops: [{
+              offset: 0,
+              color: '#69c0ff',
+            },
+            {
+              offset: 1,
+              color: '#082550',
+            },],
+          }
+        ],
         series: [
           {
             name: '当前各二级企业所属架构数',
@@ -767,6 +777,22 @@ let app = new Vue({
       let myChart = echarts.init(this.$refs['echartL4'])
       let option = {
         ..._.cloneDeep(this.commonOption),
+        color: [
+          {
+            x: 0,
+            y: 0,
+            x2: 0,
+            y2: 1,
+            colorStops: [{
+              offset: 0,
+              color: '#6480f3',
+            },
+            {
+              offset: 1,
+              color: '#082550',
+            },],
+          }
+        ],
         series: [
           {
             name: '六定改革前各二级中层管理人数',
@@ -914,6 +940,22 @@ let app = new Vue({
       let myChart = echarts.init(this.$refs['echartL5'])
       let option = {
         ..._.cloneDeep(this.commonOption),
+        color: [
+          {
+            x: 0,
+            y: 0,
+            x2: 0,
+            y2: 1,
+            colorStops: [{
+              offset: 0,
+              color: '#69c0ff',
+            },
+            {
+              offset: 1,
+              color: '#082550',
+            },],
+          }
+        ],
         series: [
           {
             name: '各二级企业总人数',
@@ -1341,7 +1383,22 @@ let app = new Vue({
       let myChart = echarts.init(this.$refs['echartC1'])
       let option = {
         ..._.cloneDeep(this.commonOption),
-        color: ['#69c0ff'],
+        color: [
+          {
+            x: 0,
+            y: 0,
+            x2: 0,
+            y2: 1,
+            colorStops: [{
+              offset: 0,
+              color: '#69c0ff',
+            },
+            {
+              offset: 1,
+              color: '#082550',
+            },],
+          }
+        ],
         series: [
           {
             name: '全员劳动生产率(万/人)',
@@ -1468,7 +1525,22 @@ let app = new Vue({
       let myChart = echarts.init(this.$refs['echartC2'])
       let option = {
         ..._.cloneDeep(this.commonOption),
-        color: ['#69c0ff'],
+        color: [
+          {
+            x: 0,
+            y: 0,
+            x2: 0,
+            y2: 1,
+            colorStops: [{
+              offset: 0,
+              color: '#69c0ff',
+            },
+            {
+              offset: 1,
+              color: '#082550',
+            },],
+          }
+        ],
         series: [
           {
             name: '人工成本利润率同比变化',
@@ -1738,7 +1810,22 @@ let app = new Vue({
       commonOptions.yAxis[0].splitNumber = 2
       let option = {
         ..._.cloneDeep(commonOptions),
-        color: ['#45DAD1'],
+        color: [
+          {
+            x: 0,
+            y: 0,
+            x2: 0,
+            y2: 1,
+            colorStops: [         {
+                      offset: 0,
+                      color: '#45DAD1',
+                    },
+                    {
+                      offset: 1,
+                      color: '#082550',
+                    },],
+          }
+        ],
         series: [
           {
             name: '2022年利润(万)',
@@ -1814,6 +1901,22 @@ let app = new Vue({
       commonOptions.yAxis[0].splitNumber = 2
       let option = {
         ..._.cloneDeep(commonOptions),
+        color: [
+          {
+            x: 0,
+            y: 0,
+            x2: 0,
+            y2: 1,
+            colorStops: [{
+              offset: 0,
+              color: '#6480f3',
+            },
+            {
+              offset: 1,
+              color: '#082550',
+            },],
+          }
+        ],
         series: [
           {
             name: '2022年退出人数和2023年当前累计退出人数之和',
@@ -2077,6 +2180,22 @@ let app = new Vue({
       let myChart = echarts.init(this.$refs['echartR7'])
       let option = {
         ..._.cloneDeep(this.commonOption),
+        color: [
+          {
+            x: 0,
+            y: 0,
+            x2: 0,
+            y2: 1,
+            colorStops: [{
+              offset: 0,
+              color: '#B889EA',
+            },
+            {
+              offset: 1,
+              color: '#082550',
+            },],
+          }
+        ],
         series: [
           {
             name: '全员绩效考核完成率',
@@ -2126,6 +2245,22 @@ let app = new Vue({
       let myChart = echarts.init(this.$refs['echartR8'])
       let option = {
         ..._.cloneDeep(this.commonOption),
+        color: [
+          {
+            x: 0,
+            y: 0,
+            x2: 0,
+            y2: 1,
+            colorStops: [{
+              offset: 0,
+              color: '#43ede3',
+            },
+            {
+              offset: 1,
+              color: '#082550',
+            },],
+          }
+        ],
         series: [
           {
             name: '任期制考核管理',

+ 163 - 28
manpowerPort/js/index3.js

@@ -165,29 +165,7 @@ let app = new Vue({
     }
   },
   beforeMount () {
-    dataL7[0].forEach((item, index) => {
-      if (dataL7[1][index] < 0 && dataL7[0][index] > 0) {
-        let obj = { value: [companyList[index].name, dataL7[0][index]], symbolSize: 15 }
-        this.twinkle7.push(obj)
-      }
-    })
-    //  if (dataL8[1][params.dataIndex] < 0 && params.value > 0) {
-    dataL8[0].forEach((item, index) => {
-      if (dataL8[1][index] < 0 && dataL8[0][index] > 0) {
-        let obj = { value: [companyList[index].name, dataL8[0][index]], symbolSize: 15 }
-        this.twinkle8.push(obj)
-      }
-    })
-    //params.value > 0 && dataR6[0][params.dataIndex] < 0
-    // params.value > 0 && fjxdataL2[0][params.dataIndex] < 0
-    dataR6[0].forEach((item, index) => {
-      if (dataR6[1][index] > 0 && dataR6[0][index] < 0) {
-        let obj = { value: [companyList[index].name, dataR6[1][index]], symbolSize: 15 }
-        this.twinkleR6.push(obj)
-      }
-    })
 
-    console.log(this.twinkleR6)
   },
   mounted () {
     this.getUrlParams()
@@ -460,21 +438,21 @@ let app = new Vue({
           // 数据整理
           dataL7[0].forEach((item, index) => {
             if (dataL7[1][index] < 0 && dataL7[0][index] > 0) {
-              let obj = { value: [companyList[index].name, dataL7[0][index]], symbolSize: 15 }
+              let obj = { value: [this.companyList[index].name, dataL7[0][index]], symbolSize: 15 }
               this.twinkle7.push(obj)
             }
           })
           //  if (dataL8[1][params.dataIndex] < 0 && params.value > 0) {
           dataL8[0].forEach((item, index) => {
             if (dataL8[1][index] < 0 && dataL8[0][index] > 0) {
-              let obj = { value: [companyList[index].name, dataL8[0][index]], symbolSize: 15 }
+              let obj = { value: [this.companyList[index].name, dataL8[0][index]], symbolSize: 15 }
               this.twinkle8.push(obj)
             }
           })
           // params.value > 0 && fjxdataL2[0][params.dataIndex] < 0
           // fjxdataL2[0].forEach((item, index) => {
           //   if (fjxdataL2[1][index] > 0 && fjxdataL2[0][index] < 0) {
-          //     let obj = { value: [companyList[index].name, fjxdataL2[1][index]], symbolSize: 15 }
+          //     let obj = { value: [this.companyList[index].name, fjxdataL2[1][index]], symbolSize: 15 }
           //     this.twinkleR6.push(obj)
           //   }
           // })
@@ -521,6 +499,22 @@ let app = new Vue({
       let myChart = echarts.init(this.$refs['echartL1'])
       let option = {
         ..._.cloneDeep(this.commonOption),
+                color: [
+          {
+            x: 0,
+            y: 0,
+            x2: 0,
+            y2: 1,
+            colorStops: [{
+              offset: 0,
+              color: '#5e7ae9',
+            },
+            {
+              offset: 1,
+              color: '#082550',
+            },],
+          }
+        ],
         series: [
           {
             name: '六个三级企业本部机构数核定上限',
@@ -614,6 +608,22 @@ let app = new Vue({
       let myChart = echarts.init(this.$refs['echartL2'])
       let option = {
         ..._.cloneDeep(this.commonOption),
+        color: [
+          {
+            x: 0,
+            y: 0,
+            x2: 0,
+            y2: 1,
+            colorStops: [{
+              offset: 0,
+              color: '#69c0ff',
+            },
+            {
+              offset: 1,
+              color: '#082550',
+            },],
+          }
+        ],
         series: [
           {
             name: '当前各三级企业所属架构数',
@@ -694,6 +704,22 @@ let app = new Vue({
       let myChart = echarts.init(this.$refs['echartL4'])
       let option = {
         ..._.cloneDeep(this.commonOption),
+        color: [
+          {
+            x: 0,
+            y: 0,
+            x2: 0,
+            y2: 1,
+            colorStops: [{
+              offset: 0,
+              color: '#6480f3',
+            },
+            {
+              offset: 1,
+              color: '#082550',
+            },],
+          }
+        ],
         series: [
           {
             name: '六定改革前各三级企业本部中层管理人数',
@@ -841,6 +867,22 @@ let app = new Vue({
       let myChart = echarts.init(this.$refs['echartL5'])
       let option = {
         ..._.cloneDeep(this.commonOption),
+        color: [
+          {
+            x: 0,
+            y: 0,
+            x2: 0,
+            y2: 1,
+            colorStops: [{
+              offset: 0,
+              color: '#69c0ff',
+            },
+            {
+              offset: 1,
+              color: '#082550',
+            },],
+          }
+        ],
         series: [
           {
             name: '各三级企业总人数',
@@ -1238,7 +1280,22 @@ let app = new Vue({
       let myChart = echarts.init(this.$refs['echartC1'])
       let option = {
         ..._.cloneDeep(this.commonOption),
-        color: ['#69c0ff'],
+        color: [
+          {
+            x: 0,
+            y: 0,
+            x2: 0,
+            y2: 1,
+            colorStops: [{
+              offset: 0,
+              color: '#69c0ff',
+            },
+            {
+              offset: 1,
+              color: '#082550',
+            },],
+          }
+        ],
         series: [
           {
             name: '全员劳动生产率(万/人)',
@@ -1364,7 +1421,22 @@ let app = new Vue({
       let myChart = echarts.init(this.$refs['echartC2'])
       let option = {
         ..._.cloneDeep(this.commonOption),
-        color: ['#69c0ff'],
+        color: [
+          {
+            x: 0,
+            y: 0,
+            x2: 0,
+            y2: 1,
+            colorStops: [{
+              offset: 0,
+              color: '#69c0ff',
+            },
+            {
+              offset: 1,
+              color: '#082550',
+            },],
+          }
+        ],
         series: [
           {
             name: '人工成本利润率同比变化',
@@ -1634,7 +1706,22 @@ let app = new Vue({
       commonOptions.yAxis[0].splitNumber = 2
       let option = {
         ..._.cloneDeep(commonOptions),
-        color: ['#45DAD1'],
+        color: [
+          {
+            x: 0,
+            y: 0,
+            x2: 0,
+            y2: 1,
+            colorStops: [         {
+                      offset: 0,
+                      color: '#45DAD1',
+                    },
+                    {
+                      offset: 1,
+                      color: '#082550',
+                    },],
+          }
+        ],
         series: [
           {
             name: '2022年利润(万)',
@@ -1770,6 +1857,22 @@ let app = new Vue({
       commonOptions.yAxis[0].splitNumber = 2
       let option = {
         ..._.cloneDeep(commonOptions),
+        color: [
+          {
+            x: 0,
+            y: 0,
+            x2: 0,
+            y2: 1,
+            colorStops: [{
+              offset: 0,
+              color: '#6480f3',
+            },
+            {
+              offset: 1,
+              color: '#082550',
+            },],
+          }
+        ],
         series: [
           {
             name: '2022年退出人数和2023年当前累计退出人数之和',
@@ -2067,6 +2170,22 @@ let app = new Vue({
       let myChart = echarts.init(this.$refs['echartR7'])
       let option = {
         ..._.cloneDeep(this.commonOption),
+        color: [
+          {
+            x: 0,
+            y: 0,
+            x2: 0,
+            y2: 1,
+            colorStops: [{
+              offset: 0,
+              color: '#B889EA',
+            },
+            {
+              offset: 1,
+              color: '#082550',
+            },],
+          }
+        ],
         series: [
           {
             name: '全员绩效考核完成率',
@@ -2116,6 +2235,22 @@ let app = new Vue({
       let myChart = echarts.init(this.$refs['echartR8'])
       let option = {
         ..._.cloneDeep(this.commonOption),
+        color: [
+          {
+            x: 0,
+            y: 0,
+            x2: 0,
+            y2: 1,
+            colorStops: [{
+              offset: 0,
+              color: '#43ede3',
+            },
+            {
+              offset: 1,
+              color: '#082550',
+            },],
+          }
+        ],
         series: [
           {
             name: '任期制契约化完成率',

+ 163 - 29
manpowerPort/js/index3MT.js

@@ -165,29 +165,6 @@ let app = new Vue({
     }
   },
   beforeMount () {
-    dataL7[0].forEach((item, index) => {
-      if (dataL7[1][index] < 0 && dataL7[0][index] > 0) {
-        let obj = { value: [companyList[index].name, dataL7[0][index]], symbolSize: 15 }
-        this.twinkle7.push(obj)
-      }
-    })
-    //  if (dataL8[1][params.dataIndex] < 0 && params.value > 0) {
-    dataL8[0].forEach((item, index) => {
-      if (dataL8[1][index] < 0 && dataL8[0][index] > 0) {
-        let obj = { value: [companyList[index].name, dataL8[0][index]], symbolSize: 15 }
-        this.twinkle8.push(obj)
-      }
-    })
-    //params.value > 0 && dataR6[0][params.dataIndex] < 0
-    // params.value > 0 && fjxdataL2[0][params.dataIndex] < 0
-    dataR6[0].forEach((item, index) => {
-      if (dataR6[1][index] > 0 && dataR6[0][index] < 0) {
-        let obj = { value: [companyList[index].name, dataR6[1][index]], symbolSize: 15 }
-        this.twinkleR6.push(obj)
-      }
-    })
-
-    console.log(this.twinkleR6)
   },
   mounted () {
     this.getUrlParams()
@@ -455,21 +432,21 @@ let app = new Vue({
           // 数据整理
           dataL7[0].forEach((item, index) => {
             if (dataL7[1][index] < 0 && dataL7[0][index] > 0) {
-              let obj = { value: [companyList[index].name, dataL7[0][index]], symbolSize: 15 }
+              let obj = { value: [this.companyList[index].name, dataL7[0][index]], symbolSize: 15 }
               this.twinkle7.push(obj)
             }
           })
           //  if (dataL8[1][params.dataIndex] < 0 && params.value > 0) {
           dataL8[0].forEach((item, index) => {
             if (dataL8[1][index] < 0 && dataL8[0][index] > 0) {
-              let obj = { value: [companyList[index].name, dataL8[0][index]], symbolSize: 15 }
+              let obj = { value: [this.companyList[index].name, dataL8[0][index]], symbolSize: 15 }
               this.twinkle8.push(obj)
             }
           })
           // params.value > 0 && fjxdataL2[0][params.dataIndex] < 0
           // fjxdataL2[0].forEach((item, index) => {
           //   if (fjxdataL2[1][index] > 0 && fjxdataL2[0][index] < 0) {
-          //     let obj = { value: [companyList[index].name, fjxdataL2[1][index]], symbolSize: 15 }
+          //     let obj = { value: [this.companyList[index].name, fjxdataL2[1][index]], symbolSize: 15 }
           //     this.twinkleR6.push(obj)
           //   }
           // })
@@ -512,6 +489,22 @@ let app = new Vue({
       let myChart = echarts.init(this.$refs['echartL1'])
       let option = {
         ..._.cloneDeep(this.commonOption),
+                color: [
+          {
+            x: 0,
+            y: 0,
+            x2: 0,
+            y2: 1,
+            colorStops: [{
+              offset: 0,
+              color: '#5e7ae9',
+            },
+            {
+              offset: 1,
+              color: '#082550',
+            },],
+          }
+        ],
         series: [
           {
             name: '六个二级企业本部机构数核定上限',
@@ -609,6 +602,22 @@ let app = new Vue({
       let myChart = echarts.init(this.$refs['echartL2'])
       let option = {
         ..._.cloneDeep(this.commonOption),
+        color: [
+          {
+            x: 0,
+            y: 0,
+            x2: 0,
+            y2: 1,
+            colorStops: [{
+              offset: 0,
+              color: '#69c0ff',
+            },
+            {
+              offset: 1,
+              color: '#082550',
+            },],
+          }
+        ],
         series: [
           {
             name: '当前各三级企业所属架构数',
@@ -764,6 +773,22 @@ let app = new Vue({
       let myChart = echarts.init(this.$refs['echartL4'])
       let option = {
         ..._.cloneDeep(this.commonOption),
+        color: [
+          {
+            x: 0,
+            y: 0,
+            x2: 0,
+            y2: 1,
+            colorStops: [{
+              offset: 0,
+              color: '#6480f3',
+            },
+            {
+              offset: 1,
+              color: '#082550',
+            },],
+          }
+        ],
         series: [
           {
             name: '六定改革前各三级中层管理人数',
@@ -911,6 +936,22 @@ let app = new Vue({
       let myChart = echarts.init(this.$refs['echartL5'])
       let option = {
         ..._.cloneDeep(this.commonOption),
+        color: [
+          {
+            x: 0,
+            y: 0,
+            x2: 0,
+            y2: 1,
+            colorStops: [{
+              offset: 0,
+              color: '#69c0ff',
+            },
+            {
+              offset: 1,
+              color: '#082550',
+            },],
+          }
+        ],
         series: [
           {
             name: '各三级企业总人数',
@@ -1320,7 +1361,22 @@ let app = new Vue({
       let myChart = echarts.init(this.$refs['echartC1'])
       let option = {
         ..._.cloneDeep(this.commonOption),
-        color: ['#69c0ff'],
+        color: [
+          {
+            x: 0,
+            y: 0,
+            x2: 0,
+            y2: 1,
+            colorStops: [{
+              offset: 0,
+              color: '#69c0ff',
+            },
+            {
+              offset: 1,
+              color: '#082550',
+            },],
+          }
+        ],
         series: [
           {
             name: '全员劳动生产率(万/人)',
@@ -1446,7 +1502,22 @@ let app = new Vue({
       let myChart = echarts.init(this.$refs['echartC2'])
       let option = {
         ..._.cloneDeep(this.commonOption),
-        color: ['#69c0ff'],
+        color: [
+          {
+            x: 0,
+            y: 0,
+            x2: 0,
+            y2: 1,
+            colorStops: [{
+              offset: 0,
+              color: '#69c0ff',
+            },
+            {
+              offset: 1,
+              color: '#082550',
+            },],
+          }
+        ],
         series: [
           {
             name: '人工成本利润率同比变化',
@@ -1716,7 +1787,22 @@ let app = new Vue({
       commonOptions.yAxis[0].splitNumber = 2
       let option = {
         ..._.cloneDeep(commonOptions),
-        color: ['#45DAD1'],
+        color: [
+          {
+            x: 0,
+            y: 0,
+            x2: 0,
+            y2: 1,
+            colorStops: [         {
+                      offset: 0,
+                      color: '#45DAD1',
+                    },
+                    {
+                      offset: 1,
+                      color: '#082550',
+                    },],
+          }
+        ],
         series: [
           {
             name: '2022年利润(万)',
@@ -1852,6 +1938,22 @@ let app = new Vue({
       commonOptions.yAxis[0].splitNumber = 2
       let option = {
         ..._.cloneDeep(commonOptions),
+        color: [
+          {
+            x: 0,
+            y: 0,
+            x2: 0,
+            y2: 1,
+            colorStops: [{
+              offset: 0,
+              color: '#6480f3',
+            },
+            {
+              offset: 1,
+              color: '#082550',
+            },],
+          }
+        ],
         series: [
           {
             name: '2022年退出人数和2023年当前累计退出人数之和',
@@ -2113,6 +2215,22 @@ let app = new Vue({
       let myChart = echarts.init(this.$refs['echartR7'])
       let option = {
         ..._.cloneDeep(this.commonOption),
+        color: [
+          {
+            x: 0,
+            y: 0,
+            x2: 0,
+            y2: 1,
+            colorStops: [{
+              offset: 0,
+              color: '#B889EA',
+            },
+            {
+              offset: 1,
+              color: '#082550',
+            },],
+          }
+        ],
         series: [
           {
             name: '全员绩效考核完成率',
@@ -2162,6 +2280,22 @@ let app = new Vue({
       let myChart = echarts.init(this.$refs['echartR8'])
       let option = {
         ..._.cloneDeep(this.commonOption),
+        color: [
+          {
+            x: 0,
+            y: 0,
+            x2: 0,
+            y2: 1,
+            colorStops: [{
+              offset: 0,
+              color: '#43ede3',
+            },
+            {
+              offset: 1,
+              color: '#082550',
+            },],
+          }
+        ],
         series: [
           {
             name: '任期制契约化管理',

+ 163 - 6
manpowerPort/js/index4.js

@@ -409,14 +409,14 @@ let app = new Vue({
 
           dataL7[0].forEach((item, index) => {
             if (dataL7[1][index] < 0 && dataL7[0][index] > 0) {
-              let obj = { value: [companyList[index].name, dataL7[0][index]], symbolSize: 15 }
+              let obj = { value: [this.companyList[index].name, dataL7[0][index]], symbolSize: 15 }
               this.twinkle7.push(obj)
             }
           })
           //  if (dataL8[1][params.dataIndex] < 0 && params.value > 0) {
           dataL8[0].forEach((item, index) => {
             if (dataL8[1][index] < 0 && dataL8[0][index] > 0) {
-              let obj = { value: [companyList[index].name, dataL8[0][index]], symbolSize: 15 }
+              let obj = { value: [this.companyList[index].name, dataL8[0][index]], symbolSize: 15 }
               this.twinkle8.push(obj)
             }
           })
@@ -424,7 +424,7 @@ let app = new Vue({
           // params.value > 0 && fjxdataL2[0][params.dataIndex] < 0
           dataR6[0].forEach((item, index) => {
             if (dataR6[1][index] > 0 && dataR6[0][index] < 0) {
-              let obj = { value: [companyList[index].name, dataR6[1][index]], symbolSize: 15 }
+              let obj = { value: [this.companyList[index].name, dataR6[1][index]], symbolSize: 15 }
               this.twinkleR6.push(obj)
             }
           })
@@ -470,6 +470,22 @@ let app = new Vue({
       let myChart = echarts.init(this.$refs['echartL1'])
       let option = {
         ..._.cloneDeep(this.commonOption),
+        color: [
+          {
+            x: 0,
+            y: 0,
+            x2: 0,
+            y2: 1,
+            colorStops: [{
+              offset: 0,
+              color: '#5e7ae9',
+            },
+            {
+              offset: 1,
+              color: '#082550',
+            },],
+          }
+        ],
         series: [
           {
             name: '六个四级企业本部机构数核定上限',
@@ -563,6 +579,22 @@ let app = new Vue({
       let myChart = echarts.init(this.$refs['echartL2'])
       let option = {
         ..._.cloneDeep(this.commonOption),
+        color: [
+          {
+            x: 0,
+            y: 0,
+            x2: 0,
+            y2: 1,
+            colorStops: [{
+              offset: 0,
+              color: '#69c0ff',
+            },
+            {
+              offset: 1,
+              color: '#082550',
+            },],
+          }
+        ],
         series: [
           {
             name: '当前各四级企业所属架构数',
@@ -643,6 +675,22 @@ let app = new Vue({
       let myChart = echarts.init(this.$refs['echartL4'])
       let option = {
         ..._.cloneDeep(this.commonOption),
+        color: [
+          {
+            x: 0,
+            y: 0,
+            x2: 0,
+            y2: 1,
+            colorStops: [{
+              offset: 0,
+              color: '#6480f3',
+            },
+            {
+              offset: 1,
+              color: '#082550',
+            },],
+          }
+        ],
         series: [
           {
             name: '六定改革前各四级企业本部中层管理人数',
@@ -790,6 +838,22 @@ let app = new Vue({
       let myChart = echarts.init(this.$refs['echartL5'])
       let option = {
         ..._.cloneDeep(this.commonOption),
+        color: [
+          {
+            x: 0,
+            y: 0,
+            x2: 0,
+            y2: 1,
+            colorStops: [{
+              offset: 0,
+              color: '#69c0ff',
+            },
+            {
+              offset: 1,
+              color: '#082550',
+            },],
+          }
+        ],
         series: [
           {
             name: '各四级企业总人数',
@@ -1187,7 +1251,22 @@ let app = new Vue({
       let myChart = echarts.init(this.$refs['echartC1'])
       let option = {
         ..._.cloneDeep(this.commonOption),
-        color: ['#69c0ff'],
+        color: [
+          {
+            x: 0,
+            y: 0,
+            x2: 0,
+            y2: 1,
+            colorStops: [{
+              offset: 0,
+              color: '#69c0ff',
+            },
+            {
+              offset: 1,
+              color: '#082550',
+            },],
+          }
+        ],
         series: [
           {
             name: '全员劳动生产率(万/人)',
@@ -1314,7 +1393,22 @@ let app = new Vue({
       let myChart = echarts.init(this.$refs['echartC2'])
       let option = {
         ..._.cloneDeep(this.commonOption),
-        color: ['#69c0ff'],
+        color: [
+          {
+            x: 0,
+            y: 0,
+            x2: 0,
+            y2: 1,
+            colorStops: [{
+              offset: 0,
+              color: '#69c0ff',
+            },
+            {
+              offset: 1,
+              color: '#082550',
+            },],
+          }
+        ],
         series: [
           {
             name: '人工成本利润率同比变化',
@@ -1583,7 +1677,22 @@ let app = new Vue({
       commonOptions.yAxis[0].splitNumber = 2
       let option = {
         ..._.cloneDeep(commonOptions),
-        color: ['#45DAD1'],
+        color: [
+          {
+            x: 0,
+            y: 0,
+            x2: 0,
+            y2: 1,
+            colorStops: [         {
+                      offset: 0,
+                      color: '#45DAD1',
+                    },
+                    {
+                      offset: 1,
+                      color: '#082550',
+                    },],
+          }
+        ],
         series: [
           {
             name: '2022年利润(万)',
@@ -1687,6 +1796,22 @@ let app = new Vue({
       commonOptions.yAxis[0].splitNumber = 2
       let option = {
         ..._.cloneDeep(commonOptions),
+        color: [
+          {
+            x: 0,
+            y: 0,
+            x2: 0,
+            y2: 1,
+            colorStops: [{
+              offset: 0,
+              color: '#6480f3',
+            },
+            {
+              offset: 1,
+              color: '#082550',
+            },],
+          }
+        ],
         series: [
           {
             name: '2022年退出人数和2023年当前累计退出人数之和',
@@ -1989,6 +2114,22 @@ let app = new Vue({
       let myChart = echarts.init(this.$refs['echartR7'])
       let option = {
         ..._.cloneDeep(this.commonOption),
+        color: [
+          {
+            x: 0,
+            y: 0,
+            x2: 0,
+            y2: 1,
+            colorStops: [{
+              offset: 0,
+              color: '#B889EA',
+            },
+            {
+              offset: 1,
+              color: '#082550',
+            },],
+          }
+        ],
         series: [
           {
             name: '全员绩效考核完成率',
@@ -2038,6 +2179,22 @@ let app = new Vue({
       let myChart = echarts.init(this.$refs['echartR8'])
       let option = {
         ..._.cloneDeep(this.commonOption),
+        color: [
+          {
+            x: 0,
+            y: 0,
+            x2: 0,
+            y2: 1,
+            colorStops: [{
+              offset: 0,
+              color: '#43ede3',
+            },
+            {
+              offset: 1,
+              color: '#082550',
+            },],
+          }
+        ],
         series: [
           {
             name: '任期制契约化完成率',

+ 163 - 29
manpowerPort/js/index4SY.js

@@ -164,29 +164,6 @@ let app = new Vue({
     }
   },
   beforeMount () {
-    dataL7[0].forEach((item, index) => {
-      if (dataL7[1][index] < 0 && dataL7[0][index] > 0) {
-        let obj = { value: [companyList[index].name, dataL7[0][index]], symbolSize: 15 }
-        this.twinkle7.push(obj)
-      }
-    })
-    //  if (dataL8[1][params.dataIndex] < 0 && params.value > 0) {
-    dataL8[0].forEach((item, index) => {
-      if (dataL8[1][index] < 0 && dataL8[0][index] > 0) {
-        let obj = { value: [companyList[index].name, dataL8[0][index]], symbolSize: 15 }
-        this.twinkle8.push(obj)
-      }
-    })
-    //params.value > 0 && dataR6[0][params.dataIndex] < 0
-    // params.value > 0 && fjxdataL2[0][params.dataIndex] < 0
-    dataR6[0].forEach((item, index) => {
-      if (dataR6[1][index] > 0 && dataR6[0][index] < 0) {
-        let obj = { value: [companyList[index].name, dataR6[1][index]], symbolSize: 15 }
-        this.twinkleR6.push(obj)
-      }
-    })
-
-    console.log(this.twinkleR6)
   },
   mounted () {
     this.getUrlParams()
@@ -427,14 +404,14 @@ let app = new Vue({
           })
           dataL7[0].forEach((item, index) => {
             if (dataL7[1][index] < 0 && dataL7[0][index] > 0) {
-              let obj = { value: [companyList[index].name, dataL7[0][index]], symbolSize: 15 }
+              let obj = { value: [this.companyList[index].name, dataL7[0][index]], symbolSize: 15 }
               this.twinkle7.push(obj)
             }
           })
           //  if (dataL8[1][params.dataIndex] < 0 && params.value > 0) {
           dataL8[0].forEach((item, index) => {
             if (dataL8[1][index] < 0 && dataL8[0][index] > 0) {
-              let obj = { value: [companyList[index].name, dataL8[0][index]], symbolSize: 15 }
+              let obj = { value: [this.companyList[index].name, dataL8[0][index]], symbolSize: 15 }
               this.twinkle8.push(obj)
             }
           })
@@ -442,7 +419,7 @@ let app = new Vue({
           // params.value > 0 && fjxdataL2[0][params.dataIndex] < 0
           dataR6[0].forEach((item, index) => {
             if (dataR6[1][index] > 0 && dataR6[0][index] < 0) {
-              let obj = { value: [companyList[index].name, dataR6[1][index]], symbolSize: 15 }
+              let obj = { value: [this.companyList[index].name, dataR6[1][index]], symbolSize: 15 }
               this.twinkleR6.push(obj)
             }
           })
@@ -488,6 +465,22 @@ let app = new Vue({
       let myChart = echarts.init(this.$refs['echartL1'])
       let option = {
         ..._.cloneDeep(this.commonOption),
+        color: [
+          {
+            x: 0,
+            y: 0,
+            x2: 0,
+            y2: 1,
+            colorStops: [{
+              offset: 0,
+              color: '#5e7ae9',
+            },
+            {
+              offset: 1,
+              color: '#082550',
+            },],
+          }
+        ],
         series: [
           {
             name: '六个二级企业本部机构数核定上限',
@@ -581,6 +574,22 @@ let app = new Vue({
       let myChart = echarts.init(this.$refs['echartL2'])
       let option = {
         ..._.cloneDeep(this.commonOption),
+        color: [
+          {
+            x: 0,
+            y: 0,
+            x2: 0,
+            y2: 1,
+            colorStops: [{
+              offset: 0,
+              color: '#69c0ff',
+            },
+            {
+              offset: 1,
+              color: '#082550',
+            },],
+          }
+        ],
         series: [
           {
             name: '当前各四级企业所属架构数',
@@ -736,6 +745,22 @@ let app = new Vue({
       let myChart = echarts.init(this.$refs['echartL4'])
       let option = {
         ..._.cloneDeep(this.commonOption),
+        color: [
+          {
+            x: 0,
+            y: 0,
+            x2: 0,
+            y2: 1,
+            colorStops: [{
+              offset: 0,
+              color: '#6480f3',
+            },
+            {
+              offset: 1,
+              color: '#082550',
+            },],
+          }
+        ],
         series: [
           {
             name: '六定改革前各四级中层管理人数',
@@ -883,6 +908,22 @@ let app = new Vue({
       let myChart = echarts.init(this.$refs['echartL5'])
       let option = {
         ..._.cloneDeep(this.commonOption),
+        color: [
+          {
+            x: 0,
+            y: 0,
+            x2: 0,
+            y2: 1,
+            colorStops: [{
+              offset: 0,
+              color: '#69c0ff',
+            },
+            {
+              offset: 1,
+              color: '#082550',
+            },],
+          }
+        ],
         series: [
           {
             name: '各四级企业总人数',
@@ -1293,7 +1334,22 @@ let app = new Vue({
       let myChart = echarts.init(this.$refs['echartC1'])
       let option = {
         ..._.cloneDeep(this.commonOption),
-        color: ['#69c0ff'],
+        color: [
+          {
+            x: 0,
+            y: 0,
+            x2: 0,
+            y2: 1,
+            colorStops: [{
+              offset: 0,
+              color: '#69c0ff',
+            },
+            {
+              offset: 1,
+              color: '#082550',
+            },],
+          }
+        ],
         series: [
           {
             name: '全员劳动生产率(万/人)',
@@ -1420,7 +1476,22 @@ let app = new Vue({
       let myChart = echarts.init(this.$refs['echartC2'])
       let option = {
         ..._.cloneDeep(this.commonOption),
-        color: ['#69c0ff'],
+        color: [
+          {
+            x: 0,
+            y: 0,
+            x2: 0,
+            y2: 1,
+            colorStops: [{
+              offset: 0,
+              color: '#69c0ff',
+            },
+            {
+              offset: 1,
+              color: '#082550',
+            },],
+          }
+        ],
         series: [
           {
             name: '人工成本利润率同比变化',
@@ -1689,7 +1760,22 @@ let app = new Vue({
       commonOptions.yAxis[0].splitNumber = 2
       let option = {
         ..._.cloneDeep(commonOptions),
-        color: ['#45DAD1'],
+        color: [
+          {
+            x: 0,
+            y: 0,
+            x2: 0,
+            y2: 1,
+            colorStops: [         {
+                      offset: 0,
+                      color: '#45DAD1',
+                    },
+                    {
+                      offset: 1,
+                      color: '#082550',
+                    },],
+          }
+        ],
         series: [
           {
             name: '2022年利润(万)',
@@ -1793,6 +1879,22 @@ let app = new Vue({
       commonOptions.yAxis[0].splitNumber = 2
       let option = {
         ..._.cloneDeep(commonOptions),
+        color: [
+          {
+            x: 0,
+            y: 0,
+            x2: 0,
+            y2: 1,
+            colorStops: [{
+              offset: 0,
+              color: '#6480f3',
+            },
+            {
+              offset: 1,
+              color: '#082550',
+            },],
+          }
+        ],
         series: [
           {
             name: '2022年退出人数和2023年当前累计退出人数之和',
@@ -2054,6 +2156,22 @@ let app = new Vue({
       let myChart = echarts.init(this.$refs['echartR7'])
       let option = {
         ..._.cloneDeep(this.commonOption),
+        color: [
+          {
+            x: 0,
+            y: 0,
+            x2: 0,
+            y2: 1,
+            colorStops: [{
+              offset: 0,
+              color: '#B889EA',
+            },
+            {
+              offset: 1,
+              color: '#082550',
+            },],
+          }
+        ],
         series: [
           {
             name: '全员绩效考核完成率',
@@ -2103,6 +2221,22 @@ let app = new Vue({
       let myChart = echarts.init(this.$refs['echartR8'])
       let option = {
         ..._.cloneDeep(this.commonOption),
+        color: [
+          {
+            x: 0,
+            y: 0,
+            x2: 0,
+            y2: 1,
+            colorStops: [{
+              offset: 0,
+              color: '#43ede3',
+            },
+            {
+              offset: 1,
+              color: '#082550',
+            },],
+          }
+        ],
         series: [
           {
             name: '任期制契约化管理',