zhbyyy il y a 1 an
Parent
commit
106242a706
2 fichiers modifiés avec 26 ajouts et 2 suppressions
  1. 12 0
      investment/js/data2.js
  2. 14 2
      investment/js/investHome2.js

+ 12 - 0
investment/js/data2.js

@@ -12,4 +12,16 @@ let dataList = [
   [[5.07, 19.76, 11.03, 32.29, 7.42], [6.80, 22.28, 18.71, 27.63, 8.50], [7.56, 21.02, 13.45, 34.98, 8.25]],
   [[15.40, 24.98, 9.76, 2.57, 25.15], [20.68, 28.16, 23.65, 2.20, 28.82], [22.98, 26.57, 11.90, 2.78, 27.98]],
   [[6.46, 17.88, 35.68, 27.07, 14.77], [8.68, 20.16, 16.93, 23.17, 16.92], [9.64, 19.02, 43.51, 29.33, 16.43]],
+
+  [[5.29, 1.78, 45.90, 33.34, 16.16], [7.11, 2.00, 1.68, 28.53, 18.52], [7.90, 1.89, 55.98, 36.12, 17.98]],
+  [[13.85, 4.29, 19.60, 11.39, 21.19], [18.60, 4.83, 4.06, 9.75, 24.28], [20.67, 4.56, 23.90, 12.34, 23.57]],
+  [[17.13, 5.01, 23.56, 7.90, 24.37], [23.01, 5.65, 4.74, 6.76, 27.92], [25.57, 5.33, 28.73, 8.56, 27.11]],
+  [[22.60, 14.56, 18.02, 7.69, 5.90], [30.36, 16.42, 13.79, 6.58, 6.76], [33.73, 15.49, 21.98, 8.33, 6.56]],
+  [[17.76, 23.11, 18.88, 22.68, 29.42], [23.85, 26.05, 21.88, 19.41, 33.71], [26.50, 24.58, 23.02, 24.57, 32.73]]
+
+]
+
+let dataType = [
+  ['总投资收益率', '销售利润率', '成本费用利润率', '总资产周转率', '财务内部收益率'],
+  ['净投资收益率', '销售利润率', '成本费用利润率', '总资产周转率', '经济增加值率']
 ]

+ 14 - 2
investment/js/investHome2.js

@@ -3,6 +3,7 @@ let app = new Vue({
   data () {
     return {
       count: 1,
+      countType: 0,
       type: true, // 切换柱状图状态
       showTip2: false,
       showTip3: false,
@@ -44,7 +45,12 @@ let app = new Vue({
           ['华阳新材', '5GW高效光伏组件制造项目', "4.82亿元 "],
           ['华新燃气', '吉县—延长输气管道项目(一期工程)', "3.54亿元 "],
           ['太重集团', '建设液压挖掘机配套油缸项目', "2.60亿元 "],
-          ['华远陆港', '物产集团参股设立项目公司投资建设山西物产万科(太原)综合物流产业园项目', "6.60亿元 "]
+          ['华远陆港', '物产集团参股设立项目公司投资建设山西物产万科(太原)综合物流产业园项目', "6.60亿元 "],
+          ['太重集团', '设立昔阳县晶能新能源有限公司', "0.50亿元 "],
+          ['山西建投', '设立山西低碳环保产业集团有限公司', "30.00亿元 "],
+          ['山西建投', '设立山西省太忻经济一体化发展投资集团有限公司', "30.00亿元 "],
+          ['华新燃气', '设立山西华新液化天然气集团有限公司', "3.00亿元 "],
+          ['交控集团', '设立山西交控新能源发展有限公司', "3.00亿元 "],
         ],
       },
       companyList: [
@@ -80,6 +86,11 @@ let app = new Vue({
       } else {
         this.count = 1
       }
+      if (this.count > 14) {
+        this.countType = 1
+      } else {
+        this.countType = 0
+      }
       this.initChartL3()
     }, 2000)
   },
@@ -885,7 +896,8 @@ let app = new Vue({
           bottom: '15%',
         },
         xAxis: {
-          data: ['总投资收益率', '销售利润率', '成本费用利润率', '总资产周转率', '财务内部收益率'],
+          // data: ['总投资收益率', '销售利润率', '成本费用利润率', '总资产周转率', '财务内部收益率'],
+          data: dataType[this.countType],
           axisLine: {
             show: true, //隐藏X轴轴线
             lineStyle: {