Quellcode durchsuchen

投资接口对接

zhbyyy vor 2 Jahren
Ursprung
Commit
a9ff9b5da4
3 geänderte Dateien mit 167 neuen und 125 gelöschten Zeilen
  1. 53 26
      investmentPort/investHomeGroup.html
  2. 112 97
      investmentPort/js/investHomeGroup.js
  3. 2 2
      investmentPort/js/request.js

+ 53 - 26
investmentPort/investHomeGroup.html

@@ -28,7 +28,7 @@
 
 <body>
   <!-- <dv-full-screen-container> -->
-  <div id="app" class="w-full h-full" >
+  <div id="app" class="w-full h-full">
     <div class="LeftBox">
       <header class="my-header">
         <span class="pointer" @click.stop="showTitlePop('2.png','投前管理')">投前管理</span>
@@ -40,8 +40,10 @@
           </div>
           <div class="content">
             <div>
-              <div class="item3 commonBack pointer" @click.stop="showChartLTipSingle('年度投资计划总额','left')">
-                <div class="item3-title"><div>{{numFormat(left4[0])}}<span>亿</span></div></div>
+              <div class="item3 commonBack pointer" @click.stop="showChartLTipSingle('年度投资计划总额','left','','','投资计划分析','年度投资计划总额','','')">
+                <div class="item3-title">
+                  <div>{{numFormat(left4[0])}}<span>亿</span></div>
+                </div>
                 <div class="item3-img">
                   <img style="width: 100%; height: 100%;" src="./groupImg/icon-8-home2.png" alt="">
                 </div>
@@ -54,13 +56,17 @@
                 <div class="item4">
                   <div class="item4-title">固定资产类项目</div>
                   <div class="item4-con">
-                    <div class="item pointer" @click.stop="showChartLTipSingle('投资金额','left')">
-                      <div class="text" >投资金额</div>
-                      <div class="title"><div>{{numFormat(left4[1])}}<span>亿</span></div></div>
+                    <div class="item pointer" @click.stop="showChartLTipSingle('投资金额','left','','','投资计划分析','固定资产投资金额','','')">
+                      <div class="text">投资金额</div>
+                      <div class="title">
+                        <div>{{numFormat(left4[1])}}<span>亿</span></div>
+                      </div>
                     </div>
-                    <div class="item pointer" @click.stop="showChartLTipSingle('项目数量','left')">
-                      <div class="text" >项目数量</div>
-                      <div class="title"><div>{{numFormat(left4[2])}}<span>个</span></div></div>
+                    <div class="item pointer" @click.stop="showChartLTipSingle('项目数量','left','','','投资计划分析','固定资产项目数量','','')">
+                      <div class="text">项目数量</div>
+                      <div class="title">
+                        <div>{{numFormat(left4[2])}}<span>个</span></div>
+                      </div>
                     </div>
                   </div>
                 </div>
@@ -69,13 +75,17 @@
                 <div class="item4">
                   <div class="item4-title">股权类项目</div>
                   <div class="item4-con">
-                    <div class="item pointer" @click.stop="showChartLTipSingle('投资金额','left')">
-                      <div class="text" >投资金额</div>
-                      <div class="title"><div>{{numFormat(left4[3])}}<span>亿</span></div></div>
+                    <div class="item pointer" @click.stop="showChartLTipSingle('投资金额','left','','','投资计划分析','股权类投资金额','','')">
+                      <div class="text">投资金额</div>
+                      <div class="title">
+                        <div>{{numFormat(left4[3])}}<span>亿</span></div>
+                      </div>
                     </div>
-                    <div class="item pointer" @click.stop="showChartLTipSingle('项目数量','left')">
-                      <div class="text" >项目数量</div>
-                      <div class="title"><div>{{numFormat(left4[4])}}<span>个</span></div></div>
+                    <div class="item pointer" @click.stop="showChartLTipSingle('项目数量','left','','','投资计划分析','股权类项目数量','','')">
+                      <div class="text">项目数量</div>
+                      <div class="title">
+                        <div>{{numFormat(left4[4])}}<span>个</span></div>
+                      </div>
                     </div>
                   </div>
                 </div>
@@ -119,7 +129,8 @@
                 </div>
               </div>
             </div>
-            <div class="h-full w-full overflow-hidden relative commonBack" @click="leftPenetrateTwo('企业额度分析','总额度','','',titleName)">
+            <div class="h-full w-full overflow-hidden relative commonBack"
+              @click="leftPenetrateTwo('企业额度分析','总额度','','',titleName)">
               <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>
@@ -190,7 +201,8 @@
             <div class="content">
               <div class="boxs">
                 <div class="numberTitle">产业转型</div>
-                <div class="pointer numberContent" @click.stop="showChartLTipSingle('投资金额','center','keyIndicators','cyplanamount')">
+                <div class="pointer numberContent"
+                  @click.stop="showChartLTipSingle('投资金额','center','keyIndicators','cyplanamount')">
                   <p>
                     <span class="name">投资金额</span>
                   </p>
@@ -199,7 +211,8 @@
                         style="font-size: 26px;">亿</span></i>
                   </p>
                 </div>
-                <div class="pointer numberContent"  @click.stop="showChartLTipSingle('项目数量','center','keyIndicators','cyplancount')">
+                <div class="pointer numberContent"
+                  @click.stop="showChartLTipSingle('项目数量','center','keyIndicators','cyplancount')">
                   <p>
                     <span class="name">项目数量</span>
                   </p>
@@ -209,7 +222,8 @@
                   </p>
                 </div>
                 <div class="numberTitle">数字转型</div>
-                <div class="pointer numberContent" @click.stop="showChartLTipSingle('投资金额','center','keyIndicators','szplanamount')">
+                <div class="pointer numberContent"
+                  @click.stop="showChartLTipSingle('投资金额','center','keyIndicators','szplanamount')">
                   <p>
                     <span class="name">投资金额</span>
                   </p>
@@ -218,7 +232,8 @@
                         style="font-size: 26px;">亿</span></i>
                   </p>
                 </div>
-                <div class="pointer numberContent" @click.stop="showChartLTipSingle('项目数量','center','keyIndicators','szplancount')">
+                <div class="pointer numberContent"
+                  @click.stop="showChartLTipSingle('项目数量','center','keyIndicators','szplancount')">
                   <p>
                     <span class="name">项目数量</span>
                   </p>
@@ -329,8 +344,9 @@
           </div>
         </div>
       </div>
-      <div  class="h-full w-full  relative" v-show="!centerShow">
-        <div class="top animate__animated animate__fadeInDown" style="position: absolute;width: 1000px;left: calc( 50% - 500px );z-index: 999;">
+      <div class="h-full w-full  relative" v-show="!centerShow">
+        <div class="top animate__animated animate__fadeInDown"
+          style="position: absolute;width: 1000px;left: calc( 50% - 500px );z-index: 999;">
           <div class="box">
             <!-- <div class="t">
               <img src="./groupImg/center1.png" />
@@ -368,7 +384,7 @@
         </div>
         <div ref="chinaMap" id="chinaMap" class="h-full w-full animate__animated animate__zoomIn"></div>
         <!-- 项目状态 -->
-        <div class="status2 animate__animated animate__fadeInUp" style="">
+        <div class="status2 animate__animated animate__fadeInUp">
           <p>项目状态</p>
           <ul style="padding-left: 30px; margin-bottom: 10px;">
             <li>通过: <i>{{proState.projectStatus1}}</i></li>
@@ -435,7 +451,8 @@
               </div>
             </div>
           </div>
-          <div class="" style="position:relative;width: 100%;height: 100%;background-color: #092853;border-radius: 15px;"
+          <div class=""
+            style="position:relative;width: 100%;height: 100%;background-color: #092853;border-radius: 15px;"
             @click="leftPenetrateTwo('企业额度分析','总额度','','',titleName)">
             <div class="total3 total">总额度:<span style="font-size: 40px;">{{numFormat(common1[5])}}<span
                   style="font-size: 30px;">亿</span></span></div>
@@ -493,7 +510,8 @@
                 <div class="flex items-center justify-center shrink-0">
                 </div>
               </div>
-              <div class="topCard flex items-center justify-center flex-col pointer" @mouseenter="yellowMouse(14)" @click="showChartLTipDouble(titleList[14].name,'right')">
+              <div class="topCard flex items-center justify-center flex-col pointer" @mouseenter="yellowMouse(14)"
+                @click="showChartLTipDouble(titleList[14].name,'right')">
                 <div class="flex items-center justify-center shrink-0"
                   :class="(titleList[14].type==1)?'titleBackBlue':'titleBackYellow'"><span
                     class="flex items-center justify-center"
@@ -520,7 +538,8 @@
                 <div class="center-l-title flex items-center justify-center"><span
                     style="margin-right: 10px;color: #0FA9E2;">·</span>{{item.name}}<span
                     style="margin-left: 10px;color: #0FA9E2;">·</span></div>
-                <div class="text-center" style="font-size: 20px;color: #ffffff9e;margin-bottom: 10px;">{{item.explain}}</div>
+                <div class="text-center" style="font-size: 20px;color: #ffffff9e;margin-bottom: 10px;">{{item.explain}}
+                </div>
                 <div class="center-l-list flex items-center justify-center flex-col" style="padding-left: 30%;">
                   <span style="color:#69c0ff;"><span
                       style="font-size:30px;font-weight: bold;">{{item.value}}</span><span
@@ -578,6 +597,14 @@
       <div class="tip-down" @click="projectListTipShow = false">×</div>
       <dv-scroll-board :config='config6' @click="goLookBoard" style="width:100%;height:100%;" />
     </div>
+    <!-- 项目看板专属弹窗 -->
+    <div class="tip-box productTip" v-if="boardTipShow">
+      <div class="absolute poptitle productPoptitle">项目看板</div>
+      <div class="tip-down" @click="boardTipShow = false">×</div>
+      <!-- <iframe align="center" width="100%" height="100%" :src='boardUrl' frameborder="no" border="0" -->
+      <iframe align="center" width="100%" height="100%" src='http://192.168.2.111:8080/ierp/accessTokenLogin.do?access_token=1543750439638401024_p9fls4y8uCH33knYe2jGAA8MoPgoDC5R0O5EJMzkR1J2Sm5nUJbuhibh7EvkTMkaSKUOfVMFcQYI1PIi60574F5YOge4hfBLeO4C&redirect=http://192.168.2.111:8080/ierp/index.html?formId=mdnb_threetoproject&prj=PL_ZZGY_0_2023_000036' frameborder="no" border="0"
+        marginwidth="0" marginheight="0" scrolling="no"></iframe>
+    </div>
   </div>
   <!-- </dv-full-screen-container> -->
   <script src="./js/investHomeGroup.js"></script>

+ 112 - 97
investmentPort/js/investHomeGroup.js

@@ -2,6 +2,8 @@ let app = new Vue({
   el: '#app',
   data () {
     return {
+      boardUrl: '', // 跳转路径
+      boardTipShow: false, // 项目看板弹窗专用
       lineCommonCompany: [], //双柱状图弹窗上面的折线图x轴
       changeLine: true,
       versions: true,
@@ -200,12 +202,12 @@ let app = new Vue({
         get('/ierp/kapi/v2/mdnb/mdnb_xmkb/mdnb_manager_middle/getOrgName', value).then(res => {
           commonCompany = res.data.map(item => item.simplename)
           // 左边
-          // this.getDate1()
-          // this.getDate2()
-          // this.getDate3()
-          // this.getDate4()
-          // this.getDate5()
-          // this.getDate6()
+          this.getDate1()
+          this.getDate2()
+          this.getDate3()
+          this.getDate4()
+          this.getDate5()
+          this.getDate6()
 
           // 右边
           // this.getDate7()
@@ -216,7 +218,7 @@ let app = new Vue({
           // this.getDate12()  // 右下B
 
           // 中间
-          this.getDate14()
+          // this.getDate14()
           resolve(1);
         })
       });
@@ -652,36 +654,38 @@ let app = new Vue({
       });
     },
     // 右边穿透二级
-    rightPenetrateTwo (modelName, substraction, name) {
+    rightPenetrateTwo (modelName, substraction, orgName,location) {
       let that = this
-      return new Promise((resolve, err) => {
-        let value = {
-          access_token: this.access_token,
-          "request": {
-            isInsert: '0',
-            modelName,
-            substraction,
-            orgName: name
-          },
-          pageSize: 1000
-        }
-        post('/ierp/kapi/v2/mdnb/mdnb_xmkb/mdnb_manager_middle/getTwoLevelData', value).then(res => {
-          that.config6.data = []
-          res.data.forEach((item, index) => {
-            that.config6.data[index] = []
-            that.config6.data[index][0] = item.mdnb_project_name
-            that.config6.data[index][2] = item.mdnb_implement_org
-            that.config6.data[index][3] = item.mdnb_insdrutytype1
-            that.config6.data[index][4] = item.mdnb_insdrutytype2
+      if(location == 'right'){
+        return new Promise((resolve, err) => {
+          let value = {
+            access_token: this.access_token,
+            "request": {
+              isInsert: '0',
+              modelName,
+              substraction,
+              orgName
+            },
+            pageSize: 1000
+          }
+          post('/ierp/kapi/v2/mdnb/mdnb_xmkb/mdnb_manager_middle/getTwoLevelData', value).then(res => {
+            that.config6.data = []
+            res.data.forEach((item, index) => {
+              that.config6.data[index] = []
+              that.config6.data[index][0] = item.mdnb_project_name
+              that.config6.data[index][2] = item.mdnb_implement_org
+              that.config6.data[index][3] = item.mdnb_insdrutytype1
+              that.config6.data[index][4] = item.mdnb_insdrutytype2
+            })
+            that.config6 = { ...that.config6 }
+            that.projectListTipShow = true
+            resolve(1);
           })
-          that.config6 = { ...that.config6 }
-          that.projectListTipShow = true
-          resolve(1);
-        })
-      });
+        });
+      }
     },
     // 左边穿透一级
-    leftPenetrateOne (mdnb_textfield11, mdnb_textfield13, mdnb_textfield16, mdnb_textfield23, mdnb_textfield5) {
+    leftPenetrateOne (mdnb_textfield11, mdnb_textfield13, mdnb_textfield16, mdnb_textfield23,typeNum) {
       return new Promise((resolve, err) => {
         let value = {
           access_token: this.access_token,
@@ -691,20 +695,25 @@ let app = new Vue({
             mdnb_textfield13,
             mdnb_textfield16,
             mdnb_textfield23,
-            mdnb_textfield5,
             mdnb_datefield: '2022-01-01'
           },
           pageSize: 1000
         }
         post('/ierp/kapi/v2/mdnb/mdnb_xmkb/mdnb_manager_preinvest/yjct', value).then(res => {
-          res.data.forEach((item, index) => {
-            common4[index] = item.mdnb_projects
-            common5[index] = item.mdnb_amount_sl
-          })
-          setTimeout(() => {
-            this.initChartLTip2()
-            this.initChartLTip3()
-          })
+          if(typeNum == 2){
+            common4 = []
+            common5 = []
+            res.data.rows[0].mdnb_entryentity12.forEach((item, index) => {
+              common4.push(item.mdnb_integerfield18)
+              common5.push(item.mdnb_amountfield12)
+            })
+            setTimeout(() => {
+              this.initChartLTip2()
+              this.initChartLTip3()
+            })
+          }else if(typeNum == 1){
+
+          }
           resolve(1);
         })
       });
@@ -805,9 +814,9 @@ let app = new Vue({
             common5 = []
             if (type == 'distribution') {
               that.changeLine = false
-              that.lineCommonCompany = res.data.topData.map(item=>item.type)
-              common4 = res.data.topData.map(item=>item.amount)
-              common5 = res.data.bottomData.map(item=>item.amount)
+              that.lineCommonCompany = res.data.topData.map(item => item.type)
+              common4 = res.data.topData.map(item => item.amount)
+              common5 = res.data.bottomData.map(item => item.amount)
             } else {
               if (param == '新建') {
                 res.data.keyIndicators.forEach((item, index) => {
@@ -849,8 +858,11 @@ let app = new Vue({
     // 去项目看板
     goLookBoard (e) {
       console.log(e, '?????')
-      window.location.href = `http://192.168.2.111:8080/ierp/accessTokenLogin.do?access_token=${this.access_token}&redirect=http://192.168.2.111:8080/ierp/index.html?formId=mdnb_threetoproject&prj=PL_ZZGY_0_2023_000036`
-
+      // window.location.href = `http://192.168.2.111:8080/ierp/accessTokenLogin.do?access_token=${this.access_token}&redirect=http://192.168.2.111:8080/ierp/index.html?formId=mdnb_threetoproject&prj=PL_ZZGY_0_2023_000036`
+      // window.open('http://192.168.2.111:8080/ierp/accessTokenLogin.do?access_token=${this.access_token}&redirect=http://192.168.2.111:8080/ierp/index.html?formId=mdnb_threetoproject&prj=PL_ZZGY_0_2023_000036')
+      this.boardUrl = `http://192.168.2.111:8080/ierp/accessTokenLogin.do?access_token=${this.access_token}&redirect=http://192.168.2.111:8080/ierp/index.html?formId=mdnb_threetoproject&prj=PL_ZZGY_0_2023_000036`
+      this.boardTipShow = true
+      console.log(this.boardUrl, '??????')
     },
     // 根据key分组
     classify (arr, k) {
@@ -875,7 +887,7 @@ let app = new Vue({
       return myArr
     },
     // 两个柱状图的弹窗
-    showChartLTipDouble (e, location, mdnb_textfield11, mdnb_textfield13, mdnb_textfield16, mdnb_textfield23, mdnb_textfield5, type, param) {
+    showChartLTipDouble (e, location, mdnb_textfield11, mdnb_textfield13, mdnb_textfield16, mdnb_textfield23, type, param) {
       this.titleName = e
       this.closeTap()
       this.echartDoubleTipShow = true
@@ -883,7 +895,7 @@ let app = new Vue({
         this.rightPenetrateOne()
       }
       if (location == 'left') {
-        this.leftPenetrateOne(mdnb_textfield11, mdnb_textfield13, mdnb_textfield16, mdnb_textfield23, mdnb_textfield5)
+        this.leftPenetrateOne(mdnb_textfield11, mdnb_textfield13, mdnb_textfield16, mdnb_textfield23,2)
       }
       if (location == 'center') {
         this.centerPenetrateOne(type, param, 2)
@@ -894,13 +906,16 @@ let app = new Vue({
       })
     },
     // 单个柱状图的弹窗
-    showChartLTipSingle (e, location, type, param) {
+    showChartLTipSingle (e, location, type, param,mdnb_textfield11, mdnb_textfield13, mdnb_textfield16, mdnb_textfield23) {
       this.closeTap()
       this.titleName = e
       this.echartSingleTipShow = true
       if (location == 'center') {
         this.centerPenetrateOne(type, param, 1)
       }
+      if (location == 'left') {
+        this.leftPenetrateOne(mdnb_textfield11, mdnb_textfield13, mdnb_textfield16, mdnb_textfield23,1)
+      }
       setTimeout(() => {
         this.initChartLTip()
       })
@@ -1084,7 +1099,7 @@ let app = new Vue({
           },
         },
         xAxis: {
-          data: this.changeLine?commonCompany:this.lineCommonCompany,
+          data: this.changeLine ? commonCompany : this.lineCommonCompany,
           axisTick: {
             show: false,
           },
@@ -1147,7 +1162,7 @@ let app = new Vue({
         series: [
           {
             name: "2023年额度",
-            type: this.changeLine?"bar":'line',
+            type: this.changeLine ? "bar" : 'line',
             data: common4,
             showBackground: false,
             backgroundStyle: {
@@ -1190,7 +1205,7 @@ let app = new Vue({
       })
       let that = this
       that.myChartTip2.on('click', function (param) {
-        that.rightPenetrateTwo('', '', param.name)
+        that.rightPenetrateTwo('', '', param.name,'right')
       })
       that.myChartTip2.setOption(option);
     },
@@ -1344,7 +1359,7 @@ let app = new Vue({
       })
       let that = this
       that.myChartTip3.on('click', function (param) {
-        that.rightPenetrateTwo('', '', param.name)
+        that.rightPenetrateTwo('', '', param.name,'right')
       })
       that.myChartTip3.setOption(option);
     },
@@ -1736,7 +1751,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, '', '')
                         }
                       }
                     },
@@ -1757,7 +1772,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, '', '')
                           }
                         }
                       },
@@ -1847,7 +1862,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, '', '')
               },
               mouseOver: function (e) { //鼠标移入停止轮播并且找到移入的当前数据设为选中
                 //console.log(e) 
@@ -1864,7 +1879,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, '', '')
                         }
                       }
                     },
@@ -1895,7 +1910,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, '', '')
                           }
                         }
                       },
@@ -1916,7 +1931,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, '', '')
                             }
                           }
                         },
@@ -1979,7 +1994,7 @@ let app = new Vue({
                     point: {
                       events: {
                         click: function (e) {
-                          that.showChartLTipDouble(e.point.name, 'left')
+                          that.showChartLTipDouble(e.point.name, 'left', '投资计划分析', e.point.name, '', '')
                         }
                       }
                     },
@@ -2000,7 +2015,7 @@ let app = new Vue({
                       point: {
                         events: {
                           click: function (e) {
-                            that.showChartLTipDouble(e.point.name, 'left')
+                            that.showChartLTipDouble(e.point.name, 'left', '投资计划分析', e.point.name, '', '')
                           }
                         }
                       },
@@ -2011,7 +2026,7 @@ let app = new Vue({
               }, 2000);
             },
             legendItemClick: function (event) {
-              that.showChartLTipDouble(e.point.name, 'left')
+              that.showChartLTipDouble(e.point.name, 'left', '投资计划分析', e.point.name, '', '')
               return true;
             }
           }
@@ -2090,7 +2105,7 @@ let app = new Vue({
           point: {
             events: {
               click: function (e) { //点击事件
-                that.showChartLTipDouble(e.point.name, 'left')
+                that.showChartLTipDouble(e.point.name, 'left', '投资计划分析', e.point.name, '', '')
               },
               mouseOver: function (e) { //鼠标移入停止轮播并且找到移入的当前数据设为选中
                 //console.log(e) 
@@ -2107,7 +2122,7 @@ let app = new Vue({
                     point: {
                       events: {
                         click: function (e) {
-                          that.showChartLTipDouble(e.point.name, 'left')
+                          that.showChartLTipDouble(e.point.name, 'left', '投资计划分析', e.point.name, '', '')
                         }
                       }
                     },
@@ -2138,7 +2153,7 @@ let app = new Vue({
                       point: {
                         events: {
                           click: function (e) {
-                            that.showChartLTipDouble(e.point.name, 'left')
+                            that.showChartLTipDouble(e.point.name, 'left', '投资计划分析', e.point.name, '', '')
                           }
                         }
                       },
@@ -2402,7 +2417,7 @@ let app = new Vue({
                     point: {
                       events: {
                         click: function (e) {
-                          that.showChartLTipDouble(e.point.name, 'left')
+                          that.showChartLTipDouble(e.point.name, 'left', '产业布局分析', '传统产业分析', e.point.name, '')
                         }
                       }
                     },
@@ -2496,7 +2511,7 @@ let app = new Vue({
           point: {
             events: {
               click: function (e) { //点击事件
-                that.showChartLTipDouble(e.point.name, 'left')
+                that.showChartLTipDouble(e.point.name, 'left', '产业布局分析', '传统产业分析', e.point.name, '')
               },
               mouseOver: function (e) { //鼠标移入停止轮播并且找到移入的当前数据设为选中
                 //console.log(e) 
@@ -2513,7 +2528,7 @@ let app = new Vue({
                     point: {
                       events: {
                         click: function (e) {
-                          that.showChartLTipDouble(e.point.name, 'left')
+                          that.showChartLTipDouble(e.point.name, 'left', '产业布局分析', '传统产业分析', e.point.name, '')
                         }
                       }
                     },
@@ -2544,7 +2559,7 @@ let app = new Vue({
                       point: {
                         events: {
                           click: function (e) {
-                            that.showChartLTipDouble(e.point.name, 'left')
+                            that.showChartLTipDouble(e.point.name, 'left', '产业布局分析', '传统产业分析', e.point.name, '')
                           }
                         }
                       },
@@ -2612,7 +2627,7 @@ let app = new Vue({
                     point: {
                       events: {
                         click: function (e) {
-                          that.showChartLTipDouble(e.point.name, 'left')
+                          that.showChartLTipDouble(e.point.name, 'left', '产业布局分析', '战略性新兴产业', e.point.name, '')
                         }
                       }
                     },
@@ -2706,7 +2721,7 @@ let app = new Vue({
           point: {
             events: {
               click: function (e) { //点击事件
-                that.showChartLTipDouble(e.point.name, 'left')
+                that.showChartLTipDouble(e.point.name, 'left', '产业布局分析', '战略性新兴产业', e.point.name, '')
               },
               mouseOver: function (e) { //鼠标移入停止轮播并且找到移入的当前数据设为选中
                 //console.log(e) 
@@ -2723,7 +2738,7 @@ let app = new Vue({
                     point: {
                       events: {
                         click: function (e) {
-                          that.showChartLTipDouble(e.point.name, 'left')
+                          that.showChartLTipDouble(e.point.name, 'left', '产业布局分析', '战略性新兴产业', e.point.name, '')
                         }
                       }
                     },
@@ -2754,7 +2769,7 @@ let app = new Vue({
                       point: {
                         events: {
                           click: function (e) {
-                            that.showChartLTipDouble(e.point.name, 'left')
+                            that.showChartLTipDouble(e.point.name, 'left', '产业布局分析', '战略性新兴产业', e.point.name, '')
                           }
                         }
                       },
@@ -2822,7 +2837,7 @@ let app = new Vue({
                     point: {
                       events: {
                         click: function (e) {
-                          that.showChartLTipDouble(e.point.name, 'left')
+                          that.showChartLTipDouble(e.point.name, 'left', '产业布局分析', '特色优势产业', e.point.name, '')
                         }
                       }
                     },
@@ -2916,7 +2931,7 @@ let app = new Vue({
           point: {
             events: {
               click: function (e) { //点击事件
-                that.showChartLTipDouble(e.point.name, 'left')
+                that.showChartLTipDouble(e.point.name, 'left', '产业布局分析', '特色优势产业', e.point.name, '')
               },
               mouseOver: function (e) { //鼠标移入停止轮播并且找到移入的当前数据设为选中
                 //console.log(e) 
@@ -2933,7 +2948,7 @@ let app = new Vue({
                     point: {
                       events: {
                         click: function (e) {
-                          that.showChartLTipDouble(e.point.name, 'left')
+                          that.showChartLTipDouble(e.point.name, 'left', '产业布局分析', '特色优势产业', e.point.name, '')
                         }
                       }
                     },
@@ -2964,7 +2979,7 @@ let app = new Vue({
                       point: {
                         events: {
                           click: function (e) {
-                            that.showChartLTipDouble(e.point.name, 'left')
+                            that.showChartLTipDouble(e.point.name, 'left', '产业布局分析', '特色优势产业', e.point.name, '')
                           }
                         }
                       },
@@ -3033,7 +3048,7 @@ let app = new Vue({
                     point: {
                       events: {
                         click: function (e) {
-                          that.showChartLTipDouble(e.point.name, 'left')
+                          that.showChartLTipDouble(e.point.name, 'left', '产业布局分析', '公共基础等产业', e.point.name, '')
                         }
                       }
                     },
@@ -3127,7 +3142,7 @@ let app = new Vue({
           point: {
             events: {
               click: function (e) { //点击事件
-                that.showChartLTipDouble(e.point.name, 'left')
+                that.showChartLTipDouble(e.point.name, 'left', '产业布局分析', '公共基础等产业', e.point.name, '')
               },
               mouseOver: function (e) { //鼠标移入停止轮播并且找到移入的当前数据设为选中
                 //console.log(e) 
@@ -3144,7 +3159,7 @@ let app = new Vue({
                     point: {
                       events: {
                         click: function (e) {
-                          that.showChartLTipDouble(e.point.name, 'left')
+                          that.showChartLTipDouble(e.point.name, 'left', '产业布局分析', '公共基础等产业', e.point.name, '')
                         }
                       }
                     },
@@ -3175,7 +3190,7 @@ let app = new Vue({
                       point: {
                         events: {
                           click: function (e) {
-                            that.showChartLTipDouble(e.point.name, 'left')
+                            that.showChartLTipDouble(e.point.name, 'left', '产业布局分析', '公共基础等产业', e.point.name, '')
                           }
                         }
                       },
@@ -3498,7 +3513,7 @@ let app = new Vue({
       }
       let that = this
       myChart.on('click', function (param) {
-        that.showChartLTipDouble('固定资产', 'left')
+        that.showChartLTipDouble(param.name, 'left', '项目阶段分析', '固定资产进度分布', param.name,param.seriesName )
       })
       myChart.setOption(option)
       tools.loopShowTooltip(myChart, option, {
@@ -3649,7 +3664,7 @@ let app = new Vue({
       }
       let that = this
       myChart.on('click', function (param) {
-        that.showChartLTipDouble('股权类', 'left')
+        that.showChartLTipDouble(param.name, 'left', '项目阶段分析', '股权类进度分布', param.name,param.seriesName )
       })
       myChart.setOption(option)
       tools.loopShowTooltip(myChart, option, {
@@ -3701,7 +3716,7 @@ let app = new Vue({
                     point: {
                       events: {
                         click: function (e) {
-                          that.showChartLTipDouble(e.point.name, 'center', '', '', '', '', '', 'distribution', e.point.name)
+                          that.showChartLTipDouble(e.point.name, 'center', '', '', '', '', 'distribution', e.point.name)
                         }
                       }
                     },
@@ -3785,7 +3800,7 @@ let app = new Vue({
           point: {
             events: {
               click: function (e) { //点击事件
-                that.showChartLTipDouble(e.point.name, 'center', '', '', '', '', '', 'distribution', e.point.name)
+                that.showChartLTipDouble(e.point.name, 'center', '', '', '', '', 'distribution', e.point.name)
               },
               mouseOver: function (e) { //鼠标移入停止轮播并且找到移入的当前数据设为选中
                 //console.log(e) 
@@ -3802,7 +3817,7 @@ let app = new Vue({
                     point: {
                       events: {
                         click: function (e) {
-                          that.showChartLTipDouble(e.point.name, 'center', '', '', '', '', '', 'distribution', e.point.name)
+                          that.showChartLTipDouble(e.point.name, 'center', '', '', '', '', 'distribution', e.point.name)
                         }
                       }
                     },
@@ -3833,7 +3848,7 @@ let app = new Vue({
                       point: {
                         events: {
                           click: function (e) {
-                            that.showChartLTipDouble(e.point.name, 'center', '', '', '', '', '', 'distribution', e.point.name)
+                            that.showChartLTipDouble(e.point.name, 'center', '', '', '', '', 'distribution', e.point.name)
                           }
                         }
                       },
@@ -4614,7 +4629,7 @@ let app = new Vue({
                     point: {
                       events: {
                         click: function (e) {
-                          that.showChartLTipDouble(e.point.name, 'center', '', '', '', '', '', 'keyIndicators', e.point.name)
+                          that.showChartLTipDouble(e.point.name, 'center', '', '', '', '', 'keyIndicators', e.point.name)
                         }
                       }
                     },
@@ -4635,7 +4650,7 @@ let app = new Vue({
                       point: {
                         events: {
                           click: function (e) {
-                            that.showChartLTipDouble(e.point.name, 'center', '', '', '', '', '', 'keyIndicators', e.point.name)
+                            that.showChartLTipDouble(e.point.name, 'center', '', '', '', '', 'keyIndicators', e.point.name)
                           }
                         }
                       },
@@ -4713,7 +4728,7 @@ let app = new Vue({
           point: {
             events: {
               click: function (e) { //点击事件
-                that.showChartLTipDouble(e.point.name, 'center', '', '', '', '', '', 'keyIndicators', e.point.name)
+                that.showChartLTipDouble(e.point.name, 'center', '', '', '', '', 'keyIndicators', e.point.name)
               },
               mouseOver: function (e) { //鼠标移入停止轮播并且找到移入的当前数据设为选中
                 //console.log(e) 
@@ -4730,7 +4745,7 @@ let app = new Vue({
                     point: {
                       events: {
                         click: function (e) {
-                          that.showChartLTipDouble(e.point.name, 'center', '', '', '', '', '', 'keyIndicators', e.point.name)
+                          that.showChartLTipDouble(e.point.name, 'center', '', '', '', '', 'keyIndicators', e.point.name)
                         }
                       }
                     },
@@ -4761,7 +4776,7 @@ let app = new Vue({
                       point: {
                         events: {
                           click: function (e) {
-                            that.showChartLTipDouble(e.point.name, 'center', '', '', '', '', '', 'keyIndicators', e.point.name)
+                            that.showChartLTipDouble(e.point.name, 'center', '', '', '', '', 'keyIndicators', e.point.name)
                           }
                         }
                       },
@@ -4782,7 +4797,7 @@ let app = new Vue({
                         point: {
                           events: {
                             click: function (e) {
-                              that.showChartLTipDouble(e.point.name, 'center', '', '', '', '', '', 'keyIndicators', e.point.name)
+                              that.showChartLTipDouble(e.point.name, 'center', '', '', '', '', 'keyIndicators', e.point.name)
                             }
                           }
                         },
@@ -5064,7 +5079,7 @@ let app = new Vue({
         ],
       }
       myChart.on('click', function (param) {
-        that.rightPenetrateTwo(2, '', param.name)
+        that.rightPenetrateTwo(2, '', param.name,'right')
       })
       myChart.setOption(option)
       tools.loopShowTooltip(myChart, option, {
@@ -5263,7 +5278,7 @@ let app = new Vue({
         ]
       }
       myChart.on('click', function (param) {
-        that.rightPenetrateTwo(1, param.seriesName == '正偏差' ? 1 : param.seriesName == '容差' ? 2 : 3, param.name)
+        that.rightPenetrateTwo(1, param.seriesName == '正偏差' ? 1 : param.seriesName == '容差' ? 2 : 3, param.name,'right')
       })
       myChart.setOption(option)
       tools.loopShowTooltip(myChart, option, {
@@ -5496,7 +5511,7 @@ let app = new Vue({
         ],
       }
       myChart.on('click', function (param) {
-        that.rightPenetrateTwo('', '', param.name)
+        that.rightPenetrateTwo('', '', param.name,'right')
       })
       myChart.setOption(option)
       tools.loopShowTooltip(myChart, option, {

+ 2 - 2
investmentPort/js/request.js

@@ -4,8 +4,8 @@
  */
 const httpRequest = axios.create({
   // baseURL: 'http://192.168.2.155:8080', // 李瑞投前
-  // baseURL: 'http://192.168.2.111:8080', // 苏文投后
-  baseURL: 'http://192.168.2.147:8080', // 旭东中间大屏
+  baseURL: 'http://192.168.2.111:8080', // 苏文投后
+  // baseURL: 'http://192.168.2.147:8080', // 旭东中间大屏
   timeout: 3 * 60 * 1000, // 3分钟等待
   withCredentials: true, // 携带cookie
 })