zhbyyy 2 rokov pred
rodič
commit
2825a31559

BIN
investmentNew/img/shanxi/changzhi.png


BIN
investmentNew/img/shanxi/datong.png


BIN
investmentNew/img/shanxi/jincheng.png


BIN
investmentNew/img/shanxi/jinzhong.png


BIN
investmentNew/img/shanxi/linfen.png


BIN
investmentNew/img/shanxi/lvliang.png


BIN
investmentNew/img/shanxi/shuozhou.png


BIN
investmentNew/img/shanxi/taiyuan.png


BIN
investmentNew/img/shanxi/xinzhou.png


BIN
investmentNew/img/shanxi/yangquan.png


BIN
investmentNew/img/shanxi/yuncheng.png


BIN
investmentNew/img/shanxi/临汾市.png


BIN
investmentNew/img/shanxi/吕梁市.png


BIN
investmentNew/img/shanxi/大同市.png


BIN
investmentNew/img/shanxi/太原市.png


BIN
investmentNew/img/shanxi/忻州市.png


BIN
investmentNew/img/shanxi/晋中市.png


BIN
investmentNew/img/shanxi/晋城市.png


BIN
investmentNew/img/shanxi/朔州市.png


BIN
investmentNew/img/shanxi/运城市.png


BIN
investmentNew/img/shanxi/长治市.png


BIN
investmentNew/img/shanxi/阳泉市.png


+ 11 - 11
investmentNew/index.html

@@ -44,16 +44,16 @@
               <div class="child">
                 <div style="font-size: 28px">固定资产类项目</div>
                 <div></div>
-                <div style="font-size: 60px; color: #68bdff; font-weight: bold">
-                  251.63<span style="font-size: 28px">亿</span>
+                <div style="font-size: 50px; color: #68bdff; font-weight: bold">
+                  1,198.19<span style="font-size: 28px">亿</span>
                 </div>
                 <div style="
-                      font-size: 60px;
+                      font-size: 50px;
                       color: #68bdff;
                       font-weight: bold;
                       justify-self: center;
                     ">
-                  103<span style="font-size: 28px">个</span>
+                  372<span style="font-size: 28px">个</span>
                 </div>
                 <div style="font-size: 28px">投资金额</div>
                 <div style="font-size: 28px; justify-self: center">
@@ -63,16 +63,16 @@
               <div class="child">
                 <div style="font-size: 28px">股权类项目</div>
                 <div></div>
-                <div style="font-size: 60px; color: #68bdff; font-weight: bold">
-                  17.09<span style="font-size: 28px">亿</span>
+                <div style="font-size: 50px; color: #68bdff; font-weight: bold">
+                  165.69<span style="font-size: 28px">亿</span>
                 </div>
                 <div style="
-                      font-size: 60px;
+                      font-size: 50px;
                       color: #68bdff;
                       font-weight: bold;
                       justify-self: center;
                     ">
-                  58<span style="font-size: 28px">个</span>
+                  261<span style="font-size: 28px">个</span>
                 </div>
                 <div style="font-size: 28px">投资金额</div>
                 <div style="font-size: 28px; justify-self: center">
@@ -97,7 +97,7 @@
               </svg>
               <div class="flex items-center justify-center flex-col relative" style="padding-bottom: 10%;">
                 <div style="font-size: 72px; color: #ffe036; font-weight: bold">
-                  450.12<span style="font-size: 28px">亿</span>
+                  1,363.88<span style="font-size: 28px">亿</span>
                 </div>
                 <div style="font-size: 28px">年度投资计划总额</div>
               </div>
@@ -120,7 +120,7 @@
                     <div class="flex items-center font28">
                       <img src="./img/title-icon.png" style="width: 32px; height: 52px" alt="" />
                       <span style="margin: 0 10px">{{industryProportion==1?'主业':'特别监管类'}}</span>
-                      <span style="color: #68bdff">41个</span>
+                      <span style="color: #68bdff">{{industryProportion==1?713:168}}个</span>
                     </div>
                     <div ref="leftEcharts2" style="height: 50%; width: 100%"></div>
                   </div>
@@ -131,7 +131,7 @@
                     <div class="flex items-center font28">
                       <img src="./img/title-icon.png" style="width: 32px; height: 52px" alt="" />
                       <span style="margin: 0 10px">{{industryProportion==1?'辅业':'备案类'}}</span>
-                      <span style="color: #68bdff">62个</span>
+                      <span style="color: #68bdff">{{industryProportion==1?84:465}}个</span>
                     </div>
                     <div ref="leftEcharts4" style="height: 50%; width: 100%"></div>
                   </div>

+ 130 - 106
investmentNew/js/Data.js

@@ -5,66 +5,90 @@ left1 = [
   [
     {
       name: '煤炭',
-      y: 94.61,
-      num: 95,
+      y: 504.41,
+      num: 51,
+      sliced: false,
+      selected: false,
     },
     {
       name: '火电',
-      y: 39.24,
-      num: 1,
+      y: 37.7,
+      num: 3,
+      sliced: false,
+      selected: false,
     },
     {
       name: '冶金',
-      y: 38.85,
-      num: 6,
+      y: 38.64,
+      num: 8,
+      sliced: false,
+      selected: false,
     },
     {
       name: '焦化',
-      y: 16.49,
-      num: 4,
+      y: 16.11,
+      num: 1,
+      sliced: false,
+      selected: false,
     },
     {
       name: '其他',
-      y: 14.19,
+      y: 18.6,
       num: 5,
+      sliced: false,
+      selected: false,
     }
   ],
   [
     {
       name: '新一代信息技术',
-      y: 29.26,
-      num: 75,
+      y: 39.96,
+      num: 101,
       //x: 75,
+      sliced: false,
+      selected: false,
     },
     {
       name: '高端装备制造',
-      y: 100.41,
-      num: 28,
+      y: 62.08,
+      num: 24,
+      sliced: false,
+      selected: false,
     },
     {
       name: '新材料',
-      y: 6.72,
-      num: 4,
+      y: 10.02,
+      num: 3,
+      sliced: false,
+      selected: false,
     },
     {
       name: '生物',
-      y: 3.60,
-      num: 58,
+      y: 2.17,
+      num: 4,
+      sliced: false,
+      selected: false,
     },
     {
       name: '新能源',
-      y: 70.03,
-      num: 58,
+      y: 105.20,
+      num: 81,
+      sliced: false,
+      selected: false,
     },
     {
       name: '节能环保',
-      y: 26.30,
-      num: 24,
+      y: 31.42,
+      num: 23,
+      sliced: false,
+      selected: false,
     },
     {
-      name: '现代服务业',
-      y: 5.10,
-      num: 2,
+      name: '相关服务业',
+      y: 0.08,
+      num: 3,
+      sliced: false,
+      selected: false,
     }
   ],
   [
@@ -137,68 +161,68 @@ let right5 = [
   [
     [
       "山西焦煤",
-      74,
-      49.49
+      32,
+      98.98
     ],
     [
       "晋能控股",
-      77,
-      135.68
+      32,
+      32.25
     ],
     [
       "华阳新材",
-      79,
-      174.48
+      37,
+      347.16
     ],
     [
       "潞安化工",
-      142,
-      0.3
+      100,
+      0.6
     ],
     [
       "华新燃气",
-      84,
-      5.53
+      0,
+      0
     ],
     [
       "太重集团",
-      52,
-      99.3
+      10,
+      198.6
     ],
     [
       "国际能源",
-      86,
-      11.12
+      62,
+      19.79
     ],
     [
       "华远陆港",
-      106,
-      46.86
+      50,
+      19.76
     ],
     [
       "水控集团",
-      96,
-      269.35
+      54,
+      538.7
     ],
     [
       "文旅集团",
-      72,
-      143.74
+      30,
+      287.48
     ],
     [
       "交控集团",
-      83,
-      9.44
+      41,
+      18.89
     ],
     [
       "航产集团",
-      49,
-      226.21
+      7,
+      452.42
     ],
     [
       "山西建投",
-      0,
-      0
+      55,
+      7.71
     ],
     [
       "汾酒集团",
@@ -207,13 +231,13 @@ let right5 = [
     ],
     [
       "大地控股",
-      52,
-      4.11
+      10,
+      8.22
     ],
     [
       "云时代",
-      59,
-      0.55
+      17,
+      1.1
     ],
     [
       "华舰体育",
@@ -222,117 +246,117 @@ let right5 = [
     ],
     [
       "神农科技",
-      87,
-      5.5
+      45,
+      11
     ]
   ],
   [
     [
       "山西焦煤",
       0,
-      143.28
+      286.81
     ],
     [
       "晋能控股",
       0,
-      447.52
+      962.76
     ],
     [
       "华阳新材",
       0,
-      65.55
+      131.1
     ],
     [
       "潞安化工",
       0,
-      2.01
+      4.01
     ],
     [
       "华新燃气",
       0,
-      19.07
+      109.79
     ],
     [
       "太重集团",
       0,
-      17.02
+      32.78
     ],
     [
       "国际能源",
-      43,
-      40.04
+      0,
+      82.53
     ],
     [
       "华远陆港",
       0,
-      860.74
+      1795.02
     ],
     [
       "水控集团",
-      -43,
-      90.67
+      -1,
+      181.35
     ],
     [
       "文旅集团",
       0,
-      33.46
+      66.93
     ],
     [
       "交控集团",
       0,
-      13.19
+      26.48
     ],
     [
       "航产集团",
       0,
-      9.81
+      19.62
     ],
     [
       "山西建投",
       0,
-      170.07
+      365.12
     ],
     [
       "汾酒集团",
       0,
-      110.78
+      221.56
     ],
     [
       "大地控股",
       0,
-      16.21
+      32.42
     ],
     [
       "云时代",
       0,
-      96.93
+      193.86
     ],
     [
       "华舰体育",
       0,
-      0.18
+      0.37
     ],
     [
       "神农科技",
       0,
-      7.11
+      14.22
     ]
   ],
   [
     [
       "山西焦煤",
-      -91,
-      499.2
+      -49,
+      998.39
     ],
     [
       "晋能控股",
-      -87,
-      219.76
+      0,
+      0
     ],
     [
       "华阳新材",
-      -85,
-      40.85
+      -43,
+      81.69
     ],
     [
       "潞安化工",
@@ -341,23 +365,23 @@ let right5 = [
     ],
     [
       "华新燃气",
-      -96,
-      38.91
+      -34,
+      17.35
     ],
     [
       "太重集团",
-      -104,
-      6.87
+      -62,
+      13.74
     ],
     [
       "国际能源",
-      -66,
-      7.51
+      -24,
+      15.03
     ],
     [
       "华远陆港",
-      -121,
-      2.55
+      -79,
+      5.1
     ],
     [
       "水控集团",
@@ -366,13 +390,13 @@ let right5 = [
     ],
     [
       "文旅集团",
-      -71,
-      73.69
+      -29,
+      147.39
     ],
     [
       "交控集团",
-      -112,
-      50.38
+      -70,
+      100.76
     ],
     [
       "航产集团",
@@ -381,33 +405,33 @@ let right5 = [
     ],
     [
       "山西建投",
-      -117,
-      164.24
+      -77,
+      319.86
     ],
     [
       "汾酒集团",
-      -51,
-      4.98
+      -9,
+      9.97
     ],
     [
       "大地控股",
-      -101,
-      18.35
+      -59,
+      36.71
     ],
     [
       "云时代",
-      0,
-      0
+      -104,
+      9.67
     ],
     [
       "华舰体育",
-      0,
-      0
+      -149,
+      23.1
     ],
     [
       "神农科技",
-      -122,
-      7.64
+      -80,
+      15.28
     ]
   ]
 ]

+ 128 - 25
investmentNew/js/index.js

@@ -5,7 +5,7 @@ let app = new Vue({
       count: 0, //重点项目两线指标轮到哪个
       list: [], //重点项目两线指标数组
       countType: 0, //重点项目两线指标数组
-      mapShow: false, // false为中国地图 true为山西地图
+      mapShow: true, // false为中国地图 true为山西地图
       leftEcharts1: "",
       leftEcharts2: "",
       leftEcharts3: "",
@@ -408,6 +408,7 @@ let app = new Vue({
       topIndex: 0,
       echartR1Fd1: true,
       echartR2Fd2: true,
+      echartC1Fd1:true,
       r3Index: 0,
       riskData1: {
         x: [
@@ -544,7 +545,6 @@ let app = new Vue({
           }
         })
       })
-
       const itemStyle = {
         // opacity: 0.8,
         shadowBlur: 10,
@@ -581,7 +581,39 @@ let app = new Vue({
         }
       })
       let option = {
-        color: ['#04635E', '#697143', '#4A3042'],
+        color: [{
+          type: 'radial', // linear 线性渐变  radial径向渐变
+          x: 0.5,
+          y: 0.5,
+          r: 0.5,
+          colorStops: [{
+            offset: 0, color: '#58F7DF' // 0% 处的颜色
+          }, {
+            offset: 1, color: '#4ECFBB' // 100% 处的颜色
+          }]
+        },
+        {
+          type: 'radial', // linear 线性渐变  radial径向渐变
+          x: 0.5,
+          y: 0.5,
+          r: 0.5,
+          colorStops: [{
+            offset: 0, color: '#7FD9FF' // 0% 处的颜色
+          }, {
+            offset: 1, color: '#40A9FF' // 100% 处的颜色
+          }]
+        }, {
+          type: 'radial', // linear 线性渐变  radial径向渐变
+          x: 0.5,
+          y: 0.5,
+          r: 0.5,
+          colorStops: [{
+            offset: 0, color: '#FF9592' // 0% 处的颜色
+          }, {
+            offset: 1, color: '#D2706D' // 100% 处的颜色
+          }]
+        }
+        ],
         dataZoom: [
           {
             // start: 9,//默认为@
@@ -888,11 +920,11 @@ let app = new Vue({
             colorStops: [
               {
                 offset: 0,
-                color: "#91231F", // 0% 处的颜色
+                color: "#07806E", // 0% 处的颜色
               },
               {
                 offset: 1,
-                color: "#F98784", // 100% 处的颜色
+                color: "#79FFEB", // 100% 处的颜色
               },
             ],
             global: false, // 缺省为 false
@@ -924,15 +956,15 @@ let app = new Vue({
             colorStops: [
               {
                 offset: 0,
-                color: "#07806E", // 0% 处的颜色
+                color: "#91231F", // 0% 处的颜色
               },
               {
                 offset: 1,
-                color: "#79FFEB", // 100% 处的颜色
+                color: "#F98784", // 100% 处的颜色
               },
             ],
             global: false, // 缺省为 false
-          },
+          }
         ],
         dataZoom: [
           {
@@ -992,7 +1024,10 @@ let app = new Vue({
             fontSize: "28", // 文字字体大小
           },
           formatter: function (p) {
-            return p.name + "<br/>" + p.marker + p.seriesName + ": " + p.value;
+            return `${p.name}<br>低风险:${that.riskData.y1[p.dataIndex]}个<br>
+              中风险:${that.riskData.y2[p.dataIndex]}个<br>
+              高风险:${that.riskData.y3[p.dataIndex]}个<br>
+              `
           },
         },
         grid: {
@@ -1228,6 +1263,7 @@ let app = new Vue({
           position: "top",
           backgroundColor: "rgba(50,50,50,0.7)", // 提示框浮层的背景颜色
           borderColor: "rgba(50,50,50,0.7)",
+          confine: true,
           textStyle: {
             color: "#fff",
             fontStyle: "normal", // 文字字体的风格('normal',无样式;'italic',斜体;'oblique',倾斜字体)
@@ -1236,7 +1272,12 @@ let app = new Vue({
           },
 
           formatter: function (p) {
-            return p.name + "<br/>" + p.marker + p.seriesName + ": " + p.value;
+            return `${p.name}<br>应首评项目数:${that.riskData1.y1[p.dataIndex]}个<br>
+            已完成首评项目数:${that.riskData1.y2[p.dataIndex]}个<br>
+            应再评项目数:${that.riskData1.y3[p.dataIndex]}个<br>
+            已完成再评项目数:${that.riskData1.y4[p.dataIndex]}个<br>
+            再评达标项目数:${that.riskData1.y5[p.dataIndex]}个
+            `
           },
         },
         legend: {
@@ -1633,7 +1674,7 @@ let app = new Vue({
       this.leftEcharts1 = echarts.init(this.$refs["leftEcharts1"]);
       option = {
         title: {
-          text: that.industryProportion == 1 ? "30%" : "70%",
+          text: that.industryProportion == 1 ? "94.4%" : "46.62%",
           x: "center",
           y: "center",
           textStyle: {
@@ -1695,8 +1736,8 @@ let app = new Vue({
       let that = this;
       this.leftEcharts2 = echarts.init(this.$refs["leftEcharts2"]);
       let nameList = ["a"];
-      let valueList = that.industryProportion == 1 ? [30] : [70];
-      let total = 100; // 数据总数
+      let valueList = that.industryProportion == 1 ? [1287.5] : [635.84];
+      let total = 1363.88; // 数据总数
       var category = nameList.map((item, index) => {
         return {
           value: valueList[index],
@@ -1910,7 +1951,7 @@ let app = new Vue({
       this.leftEcharts3 = echarts.init(this.$refs["leftEcharts3"]);
       option = {
         title: {
-          text: that.industryProportion == 1 ? "70%" : "30%",
+          text: that.industryProportion == 1 ? "5.6%" : "53.38%",
           x: "center",
           y: "center",
           textStyle: {
@@ -1972,8 +2013,8 @@ let app = new Vue({
       let that = this;
       this.leftEcharts4 = echarts.init(this.$refs["leftEcharts4"]);
       let nameList = ["a"];
-      let valueList = that.industryProportion == 1 ? [70] : [30];
-      let total = 100; // 数据总数
+      let valueList = that.industryProportion == 1 ? [76.38] : [728.04];
+      let total = 1363.88; // 数据总数
       var category = nameList.map((item, index) => {
         return {
           value: valueList[index],
@@ -4472,10 +4513,10 @@ let app = new Vue({
         color: commonColor,
         title: {
           show: true,
-          text: '25%',
-          top: '48%',
+          text: '35%',
+          top: '40%',
           textAlign: "center",
-          left: "49%",
+          left: "50%",
           textStyle: {
             fontWeight: '600',
             fontFamily: 'Microsoft YaHei',
@@ -4558,7 +4599,69 @@ let app = new Vue({
     leftEcharts14Fun () {
       let that = this;
       this.leftEcharts14 = echarts.init(this.$refs["leftEcharts14"]);
-      option = {
+      that.leftEcharts14.on("showTip", (params) => {
+        // 如果是7或者15并且满足防抖则切换
+        if (
+          (params.dataIndex == 5 || params.dataIndex == 11) &&
+          that.echartC1Fd1
+        ) {
+          that.echartC1Fd1 = false;
+          setTimeout(() => {
+            option.dataZoom[0].endValue = option.dataZoom[0].endValue + 6;
+            option.dataZoom[0].startValue = option.dataZoom[0].startValue + 6;
+            that.leftEcharts14.setOption(option);
+            // 防止勿刷新做的防抖
+            setTimeout(() => {
+              that.echartC1Fd1 = true;
+            }, 2000);
+          }, 1900);
+          // 如果是17表示到了最后一个,那么重新来一遍
+        } else if (params.dataIndex == 17 && that.echartC1Fd1) {
+          that.echartC1Fd1 = false;
+          setTimeout(() => {
+            option.dataZoom[0].endValue = 0;
+            option.dataZoom[0].startValue = 5;
+            that.leftEcharts14.setOption(option);
+            // 防止勿刷新做的防抖
+            setTimeout(() => {
+              that.echartC1Fd1 = true;
+            }, 2000);
+          }, 1900);
+        }
+      });
+      let option = {
+        dataZoom: [
+          {
+            // start: 9,//默认为@
+            // end: 100,//黑认认为1@0
+            type: "slider",
+            show: false,
+            yAxisIndex: 0,
+            handlesize: 0, //滑动条的 左右2个滑动条的大小
+            startValue: 5, // 初始显示值
+            endValue: 0, // 结束显示值
+            height: 10, //组件高度
+            left: "5%",
+            right: "4%", //右边的距离
+            bottom: "25%", //底边的距离
+            borderColor: "#939",
+            fillerColor: "#269cdb",
+            borderRadius: 5,
+            backgroundColor: "#33384b", //两边未选中的滑动条区域的额色
+            showDataShadow: false, //是否显示数据阴影
+            showDetail: false, //即拖拽时候是否显示详细数值信息
+            truerealtime: true, //是否实时更新
+            filterMode: "filter",
+          },
+          {
+            type: "inside",
+            show: true,
+            start: 1,
+            end: 100,
+            zoomOnMouseWheel: false, //滚轮是否触发缩放
+            moveOnMouseMove: false, //鼠标滚轮触发滚动
+          },
+        ],
         tooltip: {
           show: true,
           trigger: "axis",
@@ -4662,13 +4765,13 @@ let app = new Vue({
             fontSize: 20,
             fontFamily: 'Microsoft YaHei'
           },
-          data: ["山西焦煤", "晋能控股", "华阳新材", "潞安化工", "华新燃气", "太重集团"]
+          data: that.riskData1.x
         },
         series: [
           {
             name: '实际投资',
             type: 'bar',
-            data: [18203, 23489, 29034, 104970, 131744, 630230],
+            data: that.riskData1.y1,
             barGap: '-145%',
             barWidth: "15",
             zlevel: 10,
@@ -4690,7 +4793,7 @@ let app = new Vue({
           {
             name: '计划投资',
             type: 'bar',
-            data: [19325, 23438, 31000, 121594, 134141, 681807],
+            data: that.riskData1.y1,
             barWidth: "30",
             itemStyle: {
               barBorderRadius: [0, 50, 50, 0],
@@ -4698,11 +4801,11 @@ let app = new Vue({
               color: new echarts.graphic.LinearGradient(0, 0, 1, 0, [
                 {
                   offset: 0,
-                  color: '#0F357C00',
+                  color: '#0F357C80',
                 },
                 {
                   offset: 1,
-                  color: '#10417F00',
+                  color: '#10417F80',
 
                 },
               ]),

BIN
investmentNew/山西省市_slices.zip