Ver código fonte

修改文件名 对接中屏数据

zhbyyy 2 anos atrás
pai
commit
83871e2237
2 arquivos alterados com 23 adições e 13 exclusões
  1. 22 12
      investmentPort/investHome.html
  2. 1 1
      investmentPort/js/investHomeGroup.js

+ 22 - 12
investmentPort/investHomeGroup.html → investmentPort/investHome.html

@@ -269,7 +269,7 @@
             </div>
             <div class="content relative">
               <div id="echartC1" ref="echartC1" class="commonBack" style="width: 100%; height: 100%;"></div>
-              <div class="absolute investorTitle"  v-if="!centerType">
+              <div class="absolute investorTitle" v-if="!centerType">
                 <div>
                   <span
                     style="display:inline-block;border-radius:50%; width:15px;height:15px;background-color:#43a5f1;margin-right: 10px;"></span>
@@ -286,24 +286,30 @@
                   <span>基础产业</span>
                 </div>
               </div>
-              <div class="absolute investorIntroduce"  v-if="!centerType">
+              <div class="absolute investorIntroduce" v-if="!centerType">
                 <div class="flex items-end">
-                  <span>投资额:</span><span style="color:#43a5f1;font-size: 30px;font-weight: bold;margin:0 5px;line-height: 1;">82.36</span><span>亿</span>
+                  <span>投资额:</span><span
+                    style="color:#43a5f1;font-size: 30px;font-weight: bold;margin:0 5px;line-height: 1;">{{center2[0].y}}</span><span>亿</span>
                 </div>
                 <div class="flex items-end" style="justify-content: center">
-                  <span style="color:#43a5f1;font-size: 30px;font-weight: bold;margin:0 5px;line-height: 1;">325</span><span>个</span>
+                  <span
+                    style="color:#43a5f1;font-size: 30px;font-weight: bold;margin:0 5px;line-height: 1;">{{center2[0].num}}</span><span>个</span>
                 </div>
                 <div class="flex items-end">
-                  <span>投资额:</span><span style="color:#e9d443;font-size: 30px;font-weight: bold;margin:0 5px;line-height: 1;">82.36</span><span>亿</span>
+                  <span>投资额:</span><span
+                    style="color:#e9d443;font-size: 30px;font-weight: bold;margin:0 5px;line-height: 1;">{{center2[1].y}}</span><span>亿</span>
                 </div>
                 <div class="flex items-end" style="justify-content: center">
-                  <span style="color:#e9d443;font-size: 30px;font-weight: bold;margin:0 5px;line-height: 1;">325</span><span>个</span>
+                  <span
+                    style="color:#e9d443;font-size: 30px;font-weight: bold;margin:0 5px;line-height: 1;">{{center2[1].num}}</span><span>个</span>
                 </div>
                 <div class="flex items-end">
-                  <span>投资额:</span><span style="color:#5a78e0;font-size: 30px;font-weight: bold;margin:0 5px;line-height: 1;">82.36</span><span>亿</span>
+                  <span>投资额:</span><span
+                    style="color:#5a78e0;font-size: 30px;font-weight: bold;margin:0 5px;line-height: 1;">{{center2[2].y}}</span><span>亿</span>
                 </div>
                 <div class="flex items-end" style="justify-content: center">
-                  <span style="color:#5a78e0;font-size: 30px;font-weight: bold;margin:0 5px;line-height: 1;">325</span><span>个</span>
+                  <span
+                    style="color:#5a78e0;font-size: 30px;font-weight: bold;margin:0 5px;line-height: 1;">{{center2[2].num}}</span><span>个</span>
                 </div>
               </div>
             </div>
@@ -398,20 +404,24 @@
               <div id="echartC4" ref="echartC4" class="commonBack" style="width: 100%; height: 100%;"></div>
               <div class="line-circle absolute flex items-center" v-if="!centerType">
                 <img src="./groupImg/right.png" alt="" style="margin-right: 5px;">
-                <span>新建-投资完成额:<span style="font-size: 30px;color: #32c0dc;padding: 0 5px;font-weight: bold;">99.99</span>亿</span>
+                <span>新建-投资完成额:<span
+                    style="font-size: 30px;color: #32c0dc;padding: 0 5px;font-weight: bold;">{{center7[0].value2}}</span>亿</span>
               </div>
               <div class="line-circle absolute flex items-center" v-if="!centerType">
                 <img src="./groupImg/right.png" alt="" style="margin-right: 5px;">
-                <span>新建-项目数量:<span style="font-size: 30px;color: #e9d443;padding: 0 5px;font-weight: bold;">199</span>个</span>
+                <span>新建-项目数量:<span
+                    style="font-size: 30px;color: #e9d443;padding: 0 5px;font-weight: bold;">{{center7[0].value}}</span>个</span>
               </div>
               <div class="line-circle absolute flex items-center" v-if="!centerType">
                 <img src="./groupImg/right.png" alt="" style="margin-right: 5px;">
-                <span>续建-投资完成额:<span style="font-size: 30px;color:#43a5f1 ;padding: 0 5px;font-weight: bold;">99.99</span>亿</span>
+                <span>续建-投资完成额:<span
+                    style="font-size: 30px;color:#43a5f1 ;padding: 0 5px;font-weight: bold;">{{center7[1].value2}}</span>亿</span>
                 <!-- <img src="./groupImg/left.png" alt="" style="margin-left:5px"> -->
               </div>
               <div class="line-circle absolute flex items-center" v-if="!centerType">
                 <img src="./groupImg/right.png" alt="" style="margin-right: 5px;">
-                <span>续建-项目数量:<span style="font-size: 30px;color: #5a78e0;padding: 0 5px;font-weight: bold;">199</span>个</span>
+                <span>续建-项目数量:<span
+                    style="font-size: 30px;color: #5a78e0;padding: 0 5px;font-weight: bold;">{{center7[1].value}}</span>个</span>
                 <!-- <img src="./groupImg/left.png" alt="" style="margin-left:5px"> -->
               </div>
             </div>

+ 1 - 1
investmentPort/js/investHomeGroup.js

@@ -677,6 +677,7 @@ let app = new Vue({
           presetYear: this.year
         }
         get('/ierp/kapi/v2/mdnb/mdnb_xmkb/presetdata/getKeyData', value).then(res => {
+          console.log(res,'????????$$$$$$$$')
           // 头部指标
           if (!res.data) {
             return
@@ -5785,7 +5786,6 @@ let app = new Vue({
           ]
         };
         that.center4Chart.on('click', (params) => {
-          console.log('点了什么了',params)
           that.showChartLTipDouble(params.name, 'center', '', '', '', '', 'keyIndicators', params.value2, 'state', params.value2 == '新建' ? 'new' : 'renew', 1,116)
         })
         that.center4Chart.setOption(option)