소스 검색

修复项目列表弹窗bug

zhbyyy 2 년 전
부모
커밋
2eba80fc06
4개의 변경된 파일35개의 추가작업 그리고 15개의 파일을 삭제
  1. 18 10
      investmentPort/investHomeGroup.html
  2. 1 1
      investmentPort/js/groupData.js
  3. 3 3
      investmentPort/js/investHomeGroup.js
  4. 13 1
      investmentPort/styles/investHomeGroup.css

+ 18 - 10
investmentPort/investHomeGroup.html

@@ -117,14 +117,16 @@
             <div class="h-full w-full overflow-hidden commonBack">
               <div class="content-left-top">
                 <div class="item2">
-                  <div class="item2-title" style="color: #15FFA2;">{{numFormat(yuanChange(left1[0]))}}<span>亿</span></div>
+                  <div class="item2-title" style="color: #15FFA2;">{{numFormat(yuanChange(left1[0]))}}<span>亿</span>
+                  </div>
                   <div class="item2-img">
                     <img style="width: 100%; height: 100%;" src="./groupImg/icon-4-home2.png" alt="">
                   </div>
                   <div class="item2-text">上年度净利润</div>
                 </div>
                 <div class="item2">
-                  <div class="item2-title" style="color: #08E4FA;">{{numFormat(yuanChange(left1[1]))}}<span>亿</span></div>
+                  <div class="item2-title" style="color: #08E4FA;">{{numFormat(yuanChange(left1[1]))}}<span>亿</span>
+                  </div>
                   <div class="item2-img">
                     <img style="width: 100%; height: 100%;" src="./groupImg/icon-7-home2.png" alt="">
                   </div>
@@ -133,7 +135,8 @@
               </div>
               <div class="content-left-bottom">
                 <div class="item2">
-                  <div class="item2-title" style="color: #DD9CFF;">{{numFormat(yuanChange(left1[2]))}}<span>亿</span></div>
+                  <div class="item2-title" style="color: #DD9CFF;">{{numFormat(yuanChange(left1[2]))}}<span>亿</span>
+                  </div>
                   <div class="item2-img">
                     <img style="width: 100%; height: 100%;" src="./groupImg/icon-5-home2.png" alt="">
                   </div>
@@ -143,7 +146,8 @@
             </div>
             <div class="h-full w-full overflow-hidden relative commonBack"
               @click="leftPenetrateTwo('投资额度分析','总额度','','','',211)">
-              <div class="total">总额度<span>{{numFormat(yuanChange(left2[1]))}}<span style="font-size: 20px;">亿</span></span></div>
+              <div class="total">总额度<span>{{numFormat(yuanChange(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>
             </div>
@@ -505,7 +509,8 @@
             </div>
             <div class="content top-lb">
               <div v-for="(item,index) in titleList.slice(0,11)" :key="index" @mouseenter="yellowMouse(index)"
-                @mouseleave="yellowType=true" @click="showChartLTipDouble(item.name,'right','','','','','','','','','',311,4,item.projectStepCode,'')"
+                @mouseleave="yellowType=true"
+                @click="showChartLTipDouble(item.name,'right','','','','','','','','','',311,4,item.projectStepCode,'')"
                 class="topCard flex items-center justify-center flex-col  overflow-hidden pointer">
                 <div class="flex items-center justify-center shrink-0"
                   :class="(item.type==1&&item.name)?'titleBackBlue':(item.type==2&&item.name)?'titleBackYellow':''">
@@ -526,7 +531,8 @@
             </div>
             <div class="content top-rb">
               <div class="topCard flex items-center justify-center flex-col  overflow-hidden pointer"
-                @mouseenter="yellowMouse(12)" @click="showChartLTipDouble(titleList[12].name,'right','','','','','','','','','',311,4,titleList[12].projectStepCode,'')">
+                @mouseenter="yellowMouse(12)"
+                @click="showChartLTipDouble(titleList[12].name,'right','','','','','','','','','',311,4,titleList[12].projectStepCode,'')">
                 <div class="flex items-center justify-center shrink-0"
                   :class="(titleList[12].type==1)?'titleBackBlue':'titleBackYellow'"><span
                     class="flex items-center justify-center"
@@ -564,7 +570,8 @@
               <span class="text">进度成本偏差概览</span>
             </div>
             <div class="right-cl content pointer">
-              <div v-for="(item,index) in centerLeftList" :key="index" class="w-full h-full" @click="showChartLTipDouble('进度成本偏差概览','right','','','','','','','','','',312,1,'',item.type)">
+              <div v-for="(item,index) in centerLeftList" :key="index" class="w-full h-full"
+                @click="showChartLTipDouble('进度成本偏差概览','right','','','','','','','','','',312,1,'',item.type)">
                 <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>
@@ -622,7 +629,8 @@
       </div>
     </div>
     <!-- 项目列表专属弹窗 -->
-    <div class="tip-box productTip" v-if="projectListTipShow">
+    <div class="tip-box productTip"
+      v-if="projectListTipShow">
       <div class="absolute poptitle productPoptitle">项目列表</div>
       <div class="tip-down" @click="projectListTipShow = false">×</div>
       <dv-scroll-board :config='config6' @click="goLookBoard" style="width:100%;height:100%;" />
@@ -631,8 +639,8 @@
     <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" class="iframeCss" width="1920px"  height="1080px" :src='boardUrl' frameborder="no" border="0" marginwidth="0"
-        marginheight="0" scrolling="no"></iframe>
+      <iframe align="center" class="iframeCss" width="1920px" height="1080px" :src='boardUrl' frameborder="no"
+        border="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>
     </div>
   </div>
   <!-- </dv-full-screen-container> -->

+ 1 - 1
investmentPort/js/groupData.js

@@ -258,7 +258,7 @@ let listPop = {
     ["山西华钠碳能科技有限责任公司", "华阳新材", "山西新阳清洁能源有限公司", "战略性新兴产业", "新能源产业", "450.00"]
 
   ],
-  align: ["center", "center", "center", "center", "center", "center", "center"],
+  align: ["center", "center", "center", "center", "center", "center", "center","center", "center", "center"],
   headerBGC: "#153A62",
   oddRowBGC: "#061F42",
   evenRowBGC: "#0C284A",

+ 3 - 3
investmentPort/js/investHomeGroup.js

@@ -8,7 +8,7 @@ let app = new Vue({
       boardType: '', // 哪边的项目看板
       pullShow: false, // 选择年份弹窗
       pollList: [],
-      mockData: true,// 是否使用修改的数据
+      mockData: false,// 是否使用修改的数据
       year: '', // 选择的年份
       boardUrl: '', // 跳转路径
       boardTipShow: false, // 项目看板弹窗专用
@@ -795,8 +795,8 @@ let app = new Vue({
               that.config6.data[index][4] = item.mdnb_contractamount / 10000
               that.config6.data[index][5] = item.mdnb_outputamount / 10000
               that.config6.data[index][6] = item.mdnb_settlementamount / 10000
-              that.config6.data[index][6] = item.mdnb_paymentamount / 10000
-              that.config6.data[index][6] = item.mdnb_actualpayamount / 10000
+              that.config6.data[index][7] = item.mdnb_paymentamount / 10000
+              that.config6.data[index][8] = item.mdnb_actualpayamount / 10000
             })
           } else if (this.projectNum == 315) {
             that.config6.header = ["所属集团", "项目名称", '实施主体', '高风险项', '中风险项', '低风险项', '投资总额(万元)']

+ 13 - 1
investmentPort/styles/investHomeGroup.css

@@ -843,9 +843,21 @@ tspan {
   left: calc(50% - ( 2200px / 9 * 16 + 200px) / 2);
   z-index: 99999999999 !important;
 }
-/* .productTip .header-item,
+/* .five .productTip .header-item,.five
+.productTip .ceil {
+  width: calc(100% / 5) !important;
+}
+.six .productTip .header-item,.six
 .productTip .ceil {
   width: calc(100% / 6) !important;
+}
+.seven .productTip .header-item,.seven
+.productTip .ceil {
+  width: calc(100% / 7) !important;
+}
+.nine .productTip .header-item,.nine
+.productTip .ceil {
+  width: calc(100% / 9) !important;
 } */
 .productPoptitle {
   font-size: 40px !important;