Browse Source

Merge branch 'main' of https://git.sxidc.com/kingdee_large_screen/pc_kingdee_large_screen

zhbyyy 1 year ago
parent
commit
e5787e7474

+ 10 - 9
investment/investHome.html

@@ -114,11 +114,11 @@
               <div class="flex b">
                 <div>
                   <p>总投资额</p>
-                  <p><span>56.89</span>亿</p>
+                  <p><span>470.95</span>亿</p>
                 </div>
                 <div>
                   <p>项目数量</p>
-                  <p><span>24</span>个</p>
+                  <p><span>140</span>个</p>
                 </div>
               </div>
             </div>
@@ -130,11 +130,11 @@
               <div class="flex b">
                 <div>
                   <p>投资金额</p>
-                  <p><span>15.12</span>亿</p>
+                  <p><span>77.7</span>亿</p>
                 </div>
                 <div>
                   <p>项目数量</p>
-                  <p><span>65</span>个</p>
+                  <p><span>103</span>个</p>
                 </div>
               </div>
             </div>
@@ -146,11 +146,12 @@
             <div class="status">
               <p>项目状态</p>
               <ul style="padding-left: 30px; margin-bottom: 10px;">
-                <li>完成决策: <i>306</i></li>
-                <li>进行中: <i>336</i></li>
-                <li>退出: <i>26</i></li>
-                <li>中止: <i>16</i></li>
-                <li>终止: <i>3</i></li>
+                <li>通过: <i>112</i></li>
+                <li>研究中: <i>14</i></li>
+                <li>退回: <i>15</i></li>
+                <li>暂缓: <i>4</i></li>
+                <li>终止: <i>2</i></li>
+                <li>否决: <i>4</i></li>
               </ul>
             </div>
           </div>

+ 6 - 3
investment/investHome2.html

@@ -82,7 +82,7 @@
               <!-- <span class="tip-window">2023年</span> -->
             </div>
             <div class="content">
-              <div id="echartL1" style="width: 100%; height: 100%"></div>
+              <div id="echartL1" style="width: 100%; height: 100%; background-color: #05183c;"></div>
             </div>
           </dv-border-box-8>
           <dv-border-box-8 :dur="10" style="flex: 1;">
@@ -187,8 +187,11 @@
               <span class="text">投前项目阶段分析</span>
               <!-- <span class="tip-window">省重点项目</span> -->
             </div>
-            <div class="content" style="flex-direction: column;">
-              <div class="content-top" style="margin-bottom: 0;">
+            <div class="content">
+              <div class="content-top" style="margin-bottom: 0; margin-right: 10px;">
+                <div ref="echartR6" style="width: 100%; height: 100%;"></div>
+              </div>
+              <div class="content-right" style="margin-bottom: 0;">
                 <div ref="echartR3" style="width: 100%; height: 100%;"></div>
               </div>
             </div>

+ 5 - 5
investment/js/data.js

@@ -5,11 +5,11 @@ let info = [
   { name: '股权投资', value: 154.17 },
 ]
 let statusList = [
-  { name: '煤炭和煤电一体化', value: 350.11 },
-  { name: '煤炭和新能源一体化', value: 156.73 },
-  { name: '煤炭和化工一体化', value: 90.81 },
-  { name: '煤炭和数字一体化', value: 43.57 },
-  { name: '煤炭和降碳一体化', value: 19.12 },
+  { name: '煤炭和煤电一体化', value: 8.6 },
+  { name: '煤炭和新能源一体化', value: 10.6993 },
+  { name: '煤炭和化工一体化', value: 7.1763 },
+  { name: '煤炭和数字一体化', value: 14.9128 },
+  { name: '煤炭和降碳一体化', value: 6.079607 },
 ]
 let executeList = [
   { name: '山西焦煤', value: 189.07, value2: 121.59 },

+ 13 - 13
investment/js/investHome.js

@@ -107,17 +107,17 @@ let app = new Vue({
     },
     initChinaChart() {
       var data = [
-        { name: '大同市', value: 60.35 },
-        { name: '朔州市', value: 33.61 },
-        { name: '忻州市', value: 73.35 },
-        { name: '吕梁市', value: 109.04 },
-        { name: '太原市', value: 251.67 },
-        { name: '阳泉市', value: 25.12 },
-        { name: '晋中市', value: 148.57 },
-        { name: '临汾市', value: 130.55 },
-        { name: '长治市', value: 103.00 },
-        { name: '运城市', value: 41.06 },
-        { name: '晋城市', value: 45.43 }
+        { name: '大同市', value: 60.35, value2: 28 },
+        { name: '朔州市', value: 33.61, value2: 13 },
+        { name: '忻州市', value: 73.35, value2: 25 },
+        { name: '吕梁市', value: 109.04, value2: 45 },
+        { name: '太原市', value: 251.67, value2: 113 },
+        { name: '阳泉市', value: 25.12, value2: 28 },
+        { name: '晋中市', value: 148.57, value2: 52 },
+        { name: '临汾市', value: 130.55, value2: 30 },
+        { name: '长治市', value: 103.00, value2: 23 },
+        { name: '运城市', value: 41.06, value2: 23 },
+        { name: '晋城市', value: 45.43, value2: 31 }
       ]
 
       var moveLine = {
@@ -379,7 +379,7 @@ let app = new Vue({
             if (params.componentSubType == 'scatter') {
               let tipHtml = `
               <div class="tooltip-cont">
-                <p>新开工:<span>工程建设项目</span></p>
+                <p>项目数量:<span>${data[params.dataIndex].value2}个</span></p>
                 <p>总投资额:<span>${params.data.value[2]}亿</span></p>
             </div>`
               callback(ticket, tipHtml)
@@ -388,7 +388,7 @@ let app = new Vue({
             if (params.componentSubType == 'map') {
               let tipHtml = `
               <div class="tooltip-cont">
-                <p>新开工:<span>工程建设项目</span></p>
+              <p>项目数量:<span>${data[params.dataIndex].value2}个</span></p>
                 <p>总投资额:<span>${params.data.value}亿</span></p>
             </div>`
               callback(ticket, tipHtml)

+ 167 - 179
investment/js/investHome2.js

@@ -82,6 +82,7 @@ let app = new Vue({
       this.initChartR1()
       this.initChartR2()
       this.initChartR3()
+      this.initChartR6()
     },)
     setTimeout(() => {
       var swiper = new Swiper(".mySwiper", {
@@ -1482,161 +1483,13 @@ let app = new Vue({
     },
     initChartR3 () {
       let myChart = echarts.init(this.$refs['echartR3'])
-      // let option = {
-      //   title: {
-      //     text: '固定资产项目',
-      //     textStyle: {
-      //       color: '#69C0FF',
-      //     },
-      //     top: '10',
-      //     left: '10'
-      //   },
-      //   textStyle: {
-      //     color: '#fff',
-      //   },
-      //   tooltip: {
-      //     trigger: "axis",
-      //     axisPointer: {
-      //       lineStyle: {
-      //         type: 'dashed',
-      //         width: 2,
-      //         color: 'rgba(255,255,255,0.6)'
-      //       },
-      //       animation: true
-      //     }
-      //   },
-      //   grid: {
-      //     top: '25%',
-      //     right: '5%',
-      //     left: '10%',
-      //     bottom: '0',
-      //   },
-      //   visualMap: {
-      //     type: 'piecewise',
-      //     top: 'top',
-      //     min: 0,
-      //     right: 100,
-      //     textStyle: {
-      //       color: 'white',
-      //     },
-      //     // pieces: ['固定投资累类', '股权及其他类']
-      //     pieces: [{
-      //       label: '固定资产类',
-      //       color: 'orange'
-      //     }, {
-      //       label: '股权及其他类',
-      //       color: '#6b61a8'
-      //     }]
-      //   },
-      //   yAxis: {
-      //     data: ['批量备案', '特别监管'],
-      //     splitLine: {
-      //       show: true,
-      //       lineStyle: {
-      //         color: '#68b4dd66',
-      //         type: 'dashed',
-      //       },
-      //     },
-      //     axisLine: {
-      //       show: false
-      //     },
-      //     axisLabel: {
-      //       show: true,
-      //       formatter: '{value}',
-      //       textStyle: {
-      //         color: 'rgba(250,250,250,0.6)',
-      //       },
-      //     },
-      //     nameTextStyle: {
-      //       color: '#ebf8ac',
-      //       fontSize: 16,
-      //     },
-      //   },
-      //   xAxis: {
-      //     data: ['项目储备', '项目立项', '项目可研', '可研论证', '投资决策'],
-      //     axisLine: {
-      //       show: true, //隐藏X轴轴线
-      //       lineStyle: {
-      //         color: '#005094',
-      //         width: 1,
-      //       },
-      //     },
-      //     axisTick: {
-      //       show: false, //隐藏X轴刻度
-      //     },
-      //     axisLabel: {
-      //       show: true,
-      //       textStyle: {
-      //         color: 'rgba(255,255,255,0.6)', //X轴文字颜色
-      //         fontSize: 12,
-      //       },
-      //     },
-      //   },
-      //   series: [
-      //     {
-      //       name: '批量备案',
-      //       type: 'scatter',
-      //       symbol: 'circle',//'circle', 'rect', 'roundRect', 'triangle', 'diamond', 'pin', 'arrow'
-      //       symbolSize: function (data) {
-      //         return Math.sqrt(data[2]) * 0.5;
-      //       },
-      //       label: {
-      //         emphasis: {
-      //           show: true,
-      //           formatter: function (param) {
-      //             return param.data[2];
-      //           },
-      //           position: 'top'
-      //         }
-      //       },
-      //       itemStyle: {
-      //         normal: {
-      //           color: '#45DAD1'
-      //         }
-      //       },
-      //       data: [
-      //         ['项目储备', '批量备案', 200],
-      //         ['项目立项', '批量备案', 1500],
-      //         ['项目可研', '批量备案', 2000],
-      //         ['可研论证', '批量备案', 2500],
-      //         ['投资决策', '批量备案', 3000],
-      //       ]
-      //     },
-      //     {
-      //       name: '特别监管',
-      //       type: 'scatter',
-      //       symbol: 'circle',//'circle', 'rect', 'roundRect', 'triangle', 'diamond', 'pin', 'arrow'
-      //       symbolSize: function (data) {
-      //         return Math.sqrt(data[2]) * 0.5;
-      //       },
-      //       label: {
-      //         emphasis: {
-      //           show: true,
-      //           formatter: function (param) {
-      //             return param.data[2];
-      //           },
-      //           position: 'top'
-      //         }
-      //       },
-      //       itemStyle: {
-      //         normal: {
-      //           color: '#40A9FF'
-      //         }
-      //       },
-      //       data: [
-      //         ['项目储备', '特别监管', 1400],
-      //         ['项目立项', '特别监管', 1500],
-      //         ['项目可研', '特别监管', 5500],
-      //         ['可研论证', '特别监管', 500],
-      //       ]
-      //     }
-      //   ]
-      // }
       let option = {
         title: {
-          text: '',
+          text: '股权类',
           textStyle: {
             color: '#69C0FF',
+            fontSize: 16,
+            fontWeight: 500
           },
           top: '10',
           left: '10'
@@ -1646,6 +1499,10 @@ let app = new Vue({
         },
         tooltip: {
           trigger: "axis",
+          formatter: function(params) {
+            var tip = params[0].axisValue + '<br/>' + params[0].marker + params[0].data[1]+ ':'+ params[0].data[2]+ '个,'+ params[0].data[3] + '亿元' + '<br/>'+ params[1].marker +  params[1].data[1]+ ':'+ params[1].data[2]+ '个,'+ params[0].data[3] + '亿元';
+            return tip
+          },
           axisPointer: {
             lineStyle: {
               type: 'dashed',
@@ -1661,23 +1518,8 @@ let app = new Vue({
           left: '10%',
           bottom: '15%',
         },
-        visualMap: {
-          type: 'piecewise',
-          top: 'top',
-          min: 0,
-          right: 100,
-          textStyle: {
-            color: 'white',
-          },
-          pieces: [{
-            label: '股权及其他类',
-            color: 'red'
-          }, {
-            label: '固定资产类',
-          }]
-        },
         yAxis: {
-          data: ['批量备案', '特别监管'],
+          data: ['备案', '特别监管'],
           splitLine: {
             show: true,
             lineStyle: {
@@ -1701,7 +1543,7 @@ let app = new Vue({
           },
         },
         xAxis: {
-          data: ['项目储备', '项目立项', '项目可研', '可研论证', '投资决策'],
+          data: ['项目储备', '项目立项','可研论证', '投资决策'],
           axisLine: {
             show: true, //隐藏X轴轴线
             lineStyle: {
@@ -1722,9 +1564,37 @@ let app = new Vue({
         },
         series: [
           {
-            name: '批量备案',
+            name: '',
             type: 'scatter',
-            symbol: 'circle',//'circle', 'rect', 'roundRect', 'triangle', 'diamond', 'pin', 'arrow'
+            symbol: 'circle',
+            symbolSize: function (data) {
+              return Math.sqrt(data[2]) * 0.5;
+            },
+            label: {
+              emphasis: {
+                show: true,
+                formatter: function (param) {
+                  return param.data[2];
+                },
+                position: 'top'
+              }
+            },
+            itemStyle: {
+              normal: {
+                color: '#40A9FF'
+              }
+            },
+            data: [
+              ['项目储备', '特别监管', 1400, 100],
+              ['项目立项', '特别监管', 1500, 90],
+              ['可研论证', '特别监管', 500, 80],
+              ['投资决策', '特别监管', 3000, 70],
+            ]
+          },
+          {
+            name: '',
+            type: 'scatter',
+            symbol: 'circle',
             symbolSize: function (data) {
               return Math.sqrt(data[2]) * 0.5;
             },
@@ -1743,12 +1613,102 @@ let app = new Vue({
               }
             },
             data: [
-              [1400, 123],
-              [1500, 532],
-              [5500, 435],
-              [500, 534],
+              ['项目储备', '备案', 1400, 100],
+              ['项目立项', '备案', 1500, 90],
+              ['可研论证', '备案', 500, 80],
+              ['投资决策', '备案', 3000, 70],
             ]
           },
+        ]
+      }
+      myChart.setOption(option)
+      tools.loopShowTooltip(myChart, option, {
+        nterval: 2000,
+        loopSeries: true,
+      })
+    },
+    initChartR6 () {
+      let myChart = echarts.init(this.$refs['echartR6'])
+      let option = {
+        title: {
+          text: '固定资产',
+          textStyle: {
+            color: '#69C0FF',
+            fontSize: 16,
+            fontWeight: 500
+          },
+          top: '10',
+          left: '10'
+        },
+        textStyle: {
+          color: '#fff',
+        },
+        tooltip: {
+          trigger: "axis",
+          formatter: function(params) {
+            var tip = params[0].axisValue + '<br/>' + params[0].marker +  params[0].data[1]+ ':'+ params[0].data[2]+ '个,'+ params[0].data[3] + '亿元' + '<br/>'+ params[1].marker +  params[1].data[1]+ ':'+ params[1].data[2]+ '个,'+ params[0].data[3] + '亿元';
+            return tip
+          },
+          axisPointer: {
+            lineStyle: {
+              type: 'dashed',
+              width: 2,
+              color: 'rgba(255,255,255,0.6)'
+            },
+            animation: true
+          }
+        },
+        grid: {
+          top: '25%',
+          right: '5%',
+          left: '15%',
+          bottom: '15%',
+        },
+        yAxis: {
+          data: ['备案', '特别监管'],
+          splitLine: {
+            show: true,
+            lineStyle: {
+              color: '#68b4dd66',
+              type: 'dashed',
+            },
+          },
+          axisLine: {
+            show: false
+          },
+          axisLabel: {
+            show: true,
+            formatter: '{value}',
+            textStyle: {
+              color: 'rgba(250,250,250,0.6)',
+            },
+          },
+          nameTextStyle: {
+            color: '#ebf8ac',
+            fontSize: 16,
+          },
+        },
+        xAxis: {
+          data: ['项目储备', '项目立项', '可研论证', '投资决策'],
+          axisLine: {
+            show: true, //隐藏X轴轴线
+            lineStyle: {
+              color: '#005094',
+              width: 1,
+            },
+          },
+          axisTick: {
+            show: false, //隐藏X轴刻度
+          },
+          axisLabel: {
+            show: true,
+            textStyle: {
+              color: 'rgba(255,255,255,0.6)', //X轴文字颜色
+              fontSize: 12,
+            },
+          },
+        },
+        series: [
           {
             name: '特别监管',
             type: 'scatter',
@@ -1771,12 +1731,40 @@ let app = new Vue({
               }
             },
             data: [
-              [1400, 123],
-              [1500, 532],
-              [5500, 435],
-              [500, 534],
+              ['项目储备', '特别监管', 200, 100],
+              ['项目立项', '特别监管', 1500, 90],
+              ['可研论证', '特别监管', 2500, 80],
+              ['投资决策', '特别监管', 3000, 70],
             ]
-          }
+          },
+          {
+            name: '备案',
+            type: 'scatter',
+            symbol: 'circle',//'circle', 'rect', 'roundRect', 'triangle', 'diamond', 'pin', 'arrow'
+            symbolSize: function (data) {
+              return Math.sqrt(data[2]) * 0.5;
+            },
+            label: {
+              emphasis: {
+                show: true,
+                formatter: function (param) {
+                  return param.data[2];
+                },
+                position: 'top'
+              }
+            },
+            itemStyle: {
+              normal: {
+                color: '#45DAD1'
+              }
+            },
+            data: [
+              ['项目储备', '备案', 200, 100],
+              ['项目立项', '备案', 1500, 90],
+              ['可研论证', '备案', 2500, 80],
+              ['投资决策', '备案', 3000, 70],
+            ]
+          },
         ]
       }
       myChart.setOption(option)

+ 1 - 1
investment/styles/investHome2.css

@@ -380,7 +380,7 @@ a {
   margin-bottom: 10px;
 }
 .right .content .content-top,
-.right .content .content-bot {
+.right .content .content-bot, .right .content .content-right {
   /* background-color: rgb(18 81 128 / 22%); */
   background-color: #05183c;
   flex: 1;