Ver Fonte

B版数据对接完成

zhbyyy há 2 anos atrás
pai
commit
726a90639d
2 ficheiros alterados com 17 adições e 12 exclusões
  1. 2 2
      investmentPort/investHomeGroup.html
  2. 15 10
      investmentPort/js/investHomeGroup.js

+ 2 - 2
investmentPort/investHomeGroup.html

@@ -142,7 +142,7 @@
               </div>
             </div>
             <div class="h-full w-full overflow-hidden relative commonBack"
-              @click="leftPenetrateTwo('企业额度分析','总额度','','','')">
+              @click="leftPenetrateTwo('投资额度分析','总额度','','','')">
               <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>
@@ -483,7 +483,7 @@
           </div>
           <div class=""
             style="position:relative;width: 100%;height: 100%;background-color: #092853;border-radius: 15px;"
-            @click="leftPenetrateTwo('企业额度分析','总额度','','',titleName)">
+            @click="leftPenetrateTwo('投资额度分析','总额度','','',titleName)">
             <div class="total3 total">总额度:<span style="font-size: 40px;">{{numFormat(common1[5])}}<span
                   style="font-size: 30px;">亿</span></span></div>
             <img src="./groupImg/light2.png" class="absolute ballLight2" alt="">

+ 15 - 10
investmentPort/js/investHomeGroup.js

@@ -429,6 +429,7 @@ let app = new Vue({
         }
         post('/ierp/kapi/v2/mdnb/mdnb_xmkb/mdnb_manager_preinvest/tqzdlxzb', value).then(res => {
           let dataList2 = this.classify(res.data.rows[0].mdnb_entryentity1, 'mdnb_textfield3')
+          console.log(dataList2,'??????????')
           left12 = []
           dataList2.forEach((item, index) => {
             left12[index] = [[], [], []]
@@ -752,7 +753,7 @@ let app = new Vue({
             access_token: this.access_token,
             "data": {
               mdnb_combofield: this.mockData ? 'B' : 'A',
-              mdnb_datefield: this.year + '-03-03',
+              mdnb_datefield: this.year + '-01-01',
               mdnb_textfield12,
               mdnb_textfield19,
               mdnb_textfield15,
@@ -780,14 +781,18 @@ let app = new Vue({
             })
           } else {
             post('/ierp/kapi/v2/mdnb/mdnb_xmkb/mdnb_manager_preinvest/tzedfxzed', value).then(res => {
-              // 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.originalConfig6 = res.data.rows[0].mdnb_entryentity11
+              that.config6.data = []
+              res.data.rows[0].mdnb_entryentity11.forEach((item, index) => {
+                that.config6.data[index] = []
+                that.config6.data[index][0] = item.mdnb_textfield6
+                that.config6.data[index][1] = item.mdnb_textfield7
+                that.config6.data[index][2] = item.mdnb_textfield8
+                that.config6.data[index][3] = item.mdnb_textfield9
+                that.config6.data[index][4] = item.mdnb_textfield10
+                that.config6.data[index][5] = item.mdnb_amountfield22
+              })
+              that.config6 = { ...that.config6 }
               that.projectListTipShow = true
               resolve(1);
             })
@@ -3684,7 +3689,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)
       })
       that.left7Chart.setOption(option)
       tools.loopShowTooltip(that.left7Chart, option, {