Sfoglia il codice sorgente

投前二级下钻接口对接

zhbyyy 2 anni fa
parent
commit
080e1c8e0e
2 ha cambiato i file con 13 aggiunte e 13 eliminazioni
  1. 1 1
      investmentPort/investHomeGroup.html
  2. 12 12
      investmentPort/js/investHomeGroup.js

+ 1 - 1
investmentPort/investHomeGroup.html

@@ -130,7 +130,7 @@
               </div>
             </div>
             <div class="h-full w-full overflow-hidden relative commonBack"
-              @click="leftPenetrateTwo('企业额度分析','总额度','','',titleName)">
+              @click="leftPenetrateTwo('企业额度分析','总额度','','','')">
               <div class="total">总额度<span>{{numFormat(left2[1])}}<span style="font-size: 20px;">亿</span></span></div>
               <img src="./groupImg/light2.png" class="absolute ballLight" alt="">
               <div ref="echartL1" style="width: 90%; height: 90%;margin: auto;"></div>

+ 12 - 12
investmentPort/js/investHomeGroup.js

@@ -5,7 +5,7 @@ let app = new Vue({
       boardUrl: '', // 跳转路径
       boardTipShow: false, // 项目看板弹窗专用
       lineCommonCompany: [], //双柱状图弹窗上面的折线图x轴
-      commonCompanyAll:[], // 公司包括编码
+      commonCompanyAll: [], // 公司包括编码
       changeLine: true,
       versions: false,
       app_token: '',
@@ -710,11 +710,11 @@ let app = new Vue({
               common5.push(item.mdnb_amountfield12)
             })
             setTimeout(() => {
-              this.initChartLTip2('left')
-              this.initChartLTip3('left')
+              this.initChartLTip2('left',mdnb_textfield11, mdnb_textfield13, mdnb_textfield16, mdnb_textfield23)
+              this.initChartLTip3('left',mdnb_textfield11, mdnb_textfield13, mdnb_textfield16, mdnb_textfield23)
             })
           } else if (typeNum == 1) {
-
+            this.initChartLTip('left',mdnb_textfield11, mdnb_textfield13, mdnb_textfield16, mdnb_textfield23)
           }
           resolve(1);
         })
@@ -863,11 +863,11 @@ let app = new Vue({
     },
     // 找编码
     findCode (code) {
-      let a = this.commonCompanyAll.find((item,index)=>{
-        return  item.simplename ==code   
+      let a = this.commonCompanyAll.find((item, index) => {
+        return item.simplename == code
       })
       // return a.item.number.slice(0,4) == code
-      return a.number.slice(0,4)
+      return a.number.slice(0, 4)
     },
     // 去项目看板
     goLookBoard (e) {
@@ -941,7 +941,7 @@ let app = new Vue({
         })
       }
     },
-    initChartLTip (location) {
+    initChartLTip (location,mdnb_textfield11, mdnb_textfield13, mdnb_textfield16, mdnb_textfield23) {
       this.myChartTip1 = echarts.init(document.getElementById("echartSingleTip"));
       let option = {
         grid: {
@@ -1096,7 +1096,7 @@ let app = new Vue({
           if (location == 'right') {
             that.rightPenetrateTwo('', '', param.name)
           } else if (location == 'left') {
-            that.leftPenetrateTwo()
+            that.leftPenetrateTwo(mdnb_textfield11, mdnb_textfield13, mdnb_textfield16, mdnb_textfield23,param.name)
           }
         } else {
           that.projectListTipShow = true
@@ -1104,7 +1104,7 @@ let app = new Vue({
       })
       that.myChartTip1.setOption(option);
     },
-    initChartLTip2 (location) {
+    initChartLTip2 (location,mdnb_textfield11, mdnb_textfield13, mdnb_textfield16, mdnb_textfield23) {
       this.myChartTip2 = echarts.init(document.getElementById("echartSingleTip2"));
       let option = {
         grid: {
@@ -1237,7 +1237,7 @@ let app = new Vue({
           if (location == 'right') {
             that.rightPenetrateTwo('', '', that.findCode(param.name))
           } else if (location == 'left') {
-            that.leftPenetrateTwo()
+            that.leftPenetrateTwo(mdnb_textfield11, mdnb_textfield13, mdnb_textfield16, mdnb_textfield23,param.name)
           }
         } else {
           that.projectListTipShow = true
@@ -1375,7 +1375,7 @@ let app = new Vue({
           if (location == 'right') {
             that.rightPenetrateTwo('', '', that.findCode(param.name))
           } else if (location == 'left') {
-            that.leftPenetrateTwo()
+            that.leftPenetrateTwo(mdnb_textfield11, mdnb_textfield13, mdnb_textfield16, mdnb_textfield23,param.name)
           }
         } else {
           that.projectListTipShow = true