浏览代码

投前弹窗核对完成

zhbyyy 2 年之前
父节点
当前提交
7d65d71476
共有 2 个文件被更改,包括 31 次插入31 次删除
  1. 5 5
      investmentPort/investHomeGroup.html
  2. 26 26
      investmentPort/js/investHomeGroup.js

+ 5 - 5
investmentPort/investHomeGroup.html

@@ -48,7 +48,7 @@
           <div class="content">
             <div>
               <div class="item3 commonBack pointer"
-                @click.stop="showChartLTipSingle('年度投资计划总额','left','','','投资计划分析','年度投资计划总额','','')">
+                @click.stop="showChartLTipSingle('年度投资计划总额','left','','','投资计划分析','年度投资计划总额','','','','','',2141)">
                 <div class="item3-title">
                   <div>{{numFormat(yuanChange(left4[0]))}}<span>亿</span></div>
                 </div>
@@ -65,14 +65,14 @@
                   <div class="item4-title">固定资产类项目</div>
                   <div class="item4-con">
                     <div class="item pointer"
-                      @click.stop="showChartLTipSingle('投资金额','left','','','投资计划分析','固定资产投资金额','','')">
+                      @click.stop="showChartLTipSingle('投资金额','left','','','投资计划分析','固定资产投资金额','','','','','',2141)">
                       <div class="text">投资金额</div>
                       <div class="title">
                         <div>{{numFormat(yuanChange(left4[1]))}}<span>亿</span></div>
                       </div>
                     </div>
                     <div class="item pointer"
-                      @click.stop="showChartLTipSingle('项目数量','left','','','投资计划分析','固定资产项目数量','','')">
+                      @click.stop="showChartLTipSingle('项目数量','left','','','投资计划分析','固定资产项目数量','','','','','',2141)">
                       <div class="text">项目数量</div>
                       <div class="title">
                         <div>{{numFormat(left4[2])}}<span>个</span></div>
@@ -86,14 +86,14 @@
                   <div class="item4-title">股权类项目</div>
                   <div class="item4-con">
                     <div class="item pointer"
-                      @click.stop="showChartLTipSingle('投资金额','left','','','投资计划分析','股权类投资金额','','')">
+                      @click.stop="showChartLTipSingle('投资金额','left','','','投资计划分析','股权类投资金额','','','','','',2141)">
                       <div class="text">投资金额</div>
                       <div class="title">
                         <div>{{numFormat(yuanChange(left4[3]))}}<span>亿</span></div>
                       </div>
                     </div>
                     <div class="item pointer"
-                      @click.stop="showChartLTipSingle('项目数量','left','','','投资计划分析','股权类项目数量','','')">
+                      @click.stop="showChartLTipSingle('项目数量','left','','','投资计划分析','股权类项目数量','','','','','',2141)">
                       <div class="text">项目数量</div>
                       <div class="title">
                         <div>{{numFormat(left4[4])}}<span>个</span></div>

+ 26 - 26
investmentPort/js/investHomeGroup.js

@@ -821,9 +821,7 @@ let app = new Vue({
     },
     // 左边穿透二级
     leftPenetrateTwo (mdnb_textfield12, mdnb_textfield19, mdnb_textfield15, mdnb_textfield17, mdnb_textfield20, num) {
-      console.log(num,'????????')
-      // num && (this.projectNum = num)
-      // console.log(this.projectNum)
+      num && (this.projectNum = num)
       this.boardType = 'left'
       let that = this
       if (that.versions) {
@@ -1267,7 +1265,8 @@ let app = new Vue({
       return myArr
     },
     // 两个柱状图的弹窗
-    showChartLTipDouble (e, location, mdnb_textfield11, mdnb_textfield13, mdnb_textfield16, mdnb_textfield23, type, param, typeCTwo, paramCTwo, portType) {
+    showChartLTipDouble (e, location, mdnb_textfield11, mdnb_textfield13, mdnb_textfield16, mdnb_textfield23, type, param, typeCTwo, paramCTwo, portType, num) {
+      num && (this.projectNum = num)
       this.titleName = e
       this.closeTap()
       this.echartDoubleTipShow = true
@@ -1289,7 +1288,8 @@ let app = new Vue({
       }
     },
     // 单个柱状图的弹窗
-    showChartLTipSingle (e, location, type, param, mdnb_textfield11, mdnb_textfield13, mdnb_textfield16, mdnb_textfield23, typeCTwo, paramCTwo, portType) {
+    showChartLTipSingle (e, location, type, param, mdnb_textfield11, mdnb_textfield13, mdnb_textfield16, mdnb_textfield23, typeCTwo, paramCTwo, portType, num) {
+      this.projectNum = num
       this.closeTap()
       this.titleName = e
       this.echartSingleTipShow = true
@@ -1461,7 +1461,7 @@ let app = new Vue({
           if (location == 'right') {
             that.rightPenetrateTwo('', '', that.findCode(param.name))
           } else if (location == 'left') {
-            that.leftPenetrateTwo(mdnb_textfield11, mdnb_textfield13, mdnb_textfield16, mdnb_textfield23, param.name,that.projectNum)
+            that.leftPenetrateTwo(mdnb_textfield11, mdnb_textfield13, mdnb_textfield16, mdnb_textfield23, param.name, that.projectNum)
           } else if (location == 'center') {
             that.centerPenetrateTwo(typeCTwo, paramCTwo, that.findCode(param.name), portType)
           }
@@ -1604,7 +1604,7 @@ let app = new Vue({
           if (location == 'right') {
             that.rightPenetrateTwo('', '', that.findCode(param.name))
           } else if (location == 'left') {
-            that.leftPenetrateTwo(mdnb_textfield11, mdnb_textfield13, mdnb_textfield16, mdnb_textfield23, param.name,that.projectNum)
+            that.leftPenetrateTwo(mdnb_textfield11, mdnb_textfield13, mdnb_textfield16, mdnb_textfield23, param.name, that.projectNum)
           } else if (location == 'center') {
             that.centerPenetrateTwo(typeCTwo, paramCTwo, that.findCode(param.name), portType)
           }
@@ -1744,7 +1744,7 @@ let app = new Vue({
           if (location == 'right') {
             that.rightPenetrateTwo('', '', that.findCode(param.name))
           } else if (location == 'left') {
-            that.leftPenetrateTwo(mdnb_textfield11, mdnb_textfield13, mdnb_textfield16, mdnb_textfield23, param.name,that.projectNum)
+            that.leftPenetrateTwo(mdnb_textfield11, mdnb_textfield13, mdnb_textfield16, mdnb_textfield23, param.name, that.projectNum)
           } else if (location == 'center') {
             that.centerPenetrateTwo(typeCTwo, paramCTwo, that.findCode(param.name), portType)
           }
@@ -2814,7 +2814,7 @@ let app = new Vue({
                     point: {
                       events: {
                         click: function (e) {
-                          that.showChartLTipDouble(e.point.name, 'left', '产业布局分析', '传统产业分析', e.point.name, '')
+                          that.showChartLTipDouble(e.point.name, 'left', '产业布局分析', '传统产业分析', e.point.name, '', '', '', '', '', '', 215)
                           // that.showChartLTipDouble(e.point.name, 'left', '产业布局分析', '优势特色产业', '体育产业', '')
                         }
                       }
@@ -2909,7 +2909,7 @@ let app = new Vue({
           point: {
             events: {
               click: function (e) { //点击事件
-                that.showChartLTipDouble(e.point.name, 'left', '产业布局分析', '传统产业分析', e.point.name, '')
+                that.showChartLTipDouble(e.point.name, 'left', '产业布局分析', '传统产业分析', e.point.name, '', '', '', '', '', '', 215)
                 // that.showChartLTipDouble(e.point.name, 'left', '产业布局分析', '优势特色产业', '体育产业', '')
               },
               mouseOver: function (e) { //鼠标移入停止轮播并且找到移入的当前数据设为选中
@@ -2927,7 +2927,7 @@ let app = new Vue({
                     point: {
                       events: {
                         click: function (e) {
-                          that.showChartLTipDouble(e.point.name, 'left', '产业布局分析', '传统产业分析', e.point.name, '')
+                          that.showChartLTipDouble(e.point.name, 'left', '产业布局分析', '传统产业分析', e.point.name, '', '', '', '', '', '', 215)
                           // that.showChartLTipDouble(e.point.name, 'left', '产业布局分析', '优势特色产业', '体育产业', '')
                         }
                       }
@@ -2959,7 +2959,7 @@ let app = new Vue({
                       point: {
                         events: {
                           click: function (e) {
-                            that.showChartLTipDouble(e.point.name, 'left', '产业布局分析', '传统产业分析', e.point.name, '')
+                            that.showChartLTipDouble(e.point.name, 'left', '产业布局分析', '传统产业分析', e.point.name, '', '', '', '', '', '', 215)
                             // that.showChartLTipDouble(e.point.name, 'left', '产业布局分析', '优势特色产业', '体育产业', '')
                           }
                         }
@@ -3028,7 +3028,7 @@ let app = new Vue({
                     point: {
                       events: {
                         click: function (e) {
-                          that.showChartLTipDouble(e.point.name, 'left', '产业布局分析', '战略性新兴产业', e.point.name, '')
+                          that.showChartLTipDouble(e.point.name, 'left', '产业布局分析', '战略性新兴产业', e.point.name, '', '', '', '', '', '', 215)
                         }
                       }
                     },
@@ -3122,7 +3122,7 @@ let app = new Vue({
           point: {
             events: {
               click: function (e) { //点击事件
-                that.showChartLTipDouble(e.point.name, 'left', '产业布局分析', '战略性新兴产业', e.point.name, '')
+                that.showChartLTipDouble(e.point.name, 'left', '产业布局分析', '战略性新兴产业', e.point.name, '', '', '', '', '', '', 215)
               },
               mouseOver: function (e) { //鼠标移入停止轮播并且找到移入的当前数据设为选中
                 //console.log(e) 
@@ -3139,7 +3139,7 @@ let app = new Vue({
                     point: {
                       events: {
                         click: function (e) {
-                          that.showChartLTipDouble(e.point.name, 'left', '产业布局分析', '战略性新兴产业', e.point.name, '')
+                          that.showChartLTipDouble(e.point.name, 'left', '产业布局分析', '战略性新兴产业', e.point.name, '', '', '', '', '', '', 215)
                         }
                       }
                     },
@@ -3170,7 +3170,7 @@ let app = new Vue({
                       point: {
                         events: {
                           click: function (e) {
-                            that.showChartLTipDouble(e.point.name, 'left', '产业布局分析', '战略性新兴产业', e.point.name, '')
+                            that.showChartLTipDouble(e.point.name, 'left', '产业布局分析', '战略性新兴产业', e.point.name, '', '', '', '', '', '', 215)
                           }
                         }
                       },
@@ -3238,7 +3238,7 @@ let app = new Vue({
                     point: {
                       events: {
                         click: function (e) {
-                          that.showChartLTipDouble(e.point.name, 'left', '产业布局分析', '特色优势产业', e.point.name, '')
+                          that.showChartLTipDouble(e.point.name, 'left', '产业布局分析', '特色优势产业', e.point.name, '', '', '', '', '', '', 215)
                         }
                       }
                     },
@@ -3332,7 +3332,7 @@ let app = new Vue({
           point: {
             events: {
               click: function (e) { //点击事件
-                that.showChartLTipDouble(e.point.name, 'left', '产业布局分析', '特色优势产业', e.point.name, '')
+                that.showChartLTipDouble(e.point.name, 'left', '产业布局分析', '特色优势产业', e.point.name, '', '', '', '', '', '', 215)
               },
               mouseOver: function (e) { //鼠标移入停止轮播并且找到移入的当前数据设为选中
                 //console.log(e) 
@@ -3349,7 +3349,7 @@ let app = new Vue({
                     point: {
                       events: {
                         click: function (e) {
-                          that.showChartLTipDouble(e.point.name, 'left', '产业布局分析', '特色优势产业', e.point.name, '')
+                          that.showChartLTipDouble(e.point.name, 'left', '产业布局分析', '特色优势产业', e.point.name, '', '', '', '', '', '', 215)
                         }
                       }
                     },
@@ -3380,7 +3380,7 @@ let app = new Vue({
                       point: {
                         events: {
                           click: function (e) {
-                            that.showChartLTipDouble(e.point.name, 'left', '产业布局分析', '特色优势产业', e.point.name, '')
+                            that.showChartLTipDouble(e.point.name, 'left', '产业布局分析', '特色优势产业', e.point.name, '', '', '', '', '', '', 215)
                           }
                         }
                       },
@@ -3449,7 +3449,7 @@ let app = new Vue({
                     point: {
                       events: {
                         click: function (e) {
-                          that.showChartLTipDouble(e.point.name, 'left', '产业布局分析', '公共基础等产业', e.point.name, '')
+                          that.showChartLTipDouble(e.point.name, 'left', '产业布局分析', '公共基础等产业', e.point.name, '', '', '', '', '', '', 215)
                         }
                       }
                     },
@@ -3543,7 +3543,7 @@ let app = new Vue({
           point: {
             events: {
               click: function (e) { //点击事件
-                that.showChartLTipDouble(e.point.name, 'left', '产业布局分析', '公共基础等产业', e.point.name, '')
+                that.showChartLTipDouble(e.point.name, 'left', '产业布局分析', '公共基础等产业', e.point.name, '', '', '', '', '', '', 215)
               },
               mouseOver: function (e) { //鼠标移入停止轮播并且找到移入的当前数据设为选中
                 //console.log(e) 
@@ -3560,7 +3560,7 @@ let app = new Vue({
                     point: {
                       events: {
                         click: function (e) {
-                          that.showChartLTipDouble(e.point.name, 'left', '产业布局分析', '公共基础等产业', e.point.name, '')
+                          that.showChartLTipDouble(e.point.name, 'left', '产业布局分析', '公共基础等产业', e.point.name, '', '', '', '', '', '', 215)
                         }
                       }
                     },
@@ -3591,7 +3591,7 @@ let app = new Vue({
                       point: {
                         events: {
                           click: function (e) {
-                            that.showChartLTipDouble(e.point.name, 'left', '产业布局分析', '公共基础等产业', e.point.name, '')
+                            that.showChartLTipDouble(e.point.name, 'left', '产业布局分析', '公共基础等产业', e.point.name, '', '', '', '', '', '', 215)
                           }
                         }
                       },
@@ -3914,7 +3914,7 @@ let app = new Vue({
       }
       let that = this
       that.left7Chart.on('click', function (param) {
-        that.showChartLTipDouble(param.name, 'left', '项目阶段分析', '固定资产', param.name, param.seriesName)
+        that.showChartLTipDouble(param.name, 'left', '项目阶段分析', '固定资产', param.name, param.seriesName, '', '', '', '', '', 216)
       })
       that.left7Chart.setOption(option)
       tools.loopShowTooltip(that.left7Chart, option, {
@@ -4065,7 +4065,7 @@ let app = new Vue({
       }
       let that = this
       that.left8Chart.on('click', function (param) {
-        that.showChartLTipDouble(param.name, 'left', '项目阶段分析', '股权类进度分布', param.name, param.seriesName)
+        that.showChartLTipDouble(param.name, 'left', '项目阶段分析', '股权类进度分布', param.name, param.seriesName,'', '', '', '', '', 216)
       })
       that.left8Chart.setOption(option)
       tools.loopShowTooltip(that.left8Chart, option, {