浏览代码

核心企业首页统计

peixh 4 年之前
父节点
当前提交
c836c1333b

+ 9 - 0
front-vue/src/api/service/credit/credit.js

@@ -167,4 +167,13 @@ export function getUser() {
     url: '/sc-service/ownCredit/getUser',
     method: 'get'
   })
+}
+
+// 查询融信金额统计
+export function listStatisticalAmount(query) {
+  return request({
+    url: '/sc-service/StatisticalAmount/list',
+    method: 'get',
+    params: query
+  })
 }

+ 7 - 5
front-vue/src/views/home.vue

@@ -259,7 +259,9 @@
         
         <!-- 核心企业 -->
         <div v-if="company.scyType == '01'" class="zap-margin">
+            <div class="zap-title zap-margin-top">招采融信统计
             <el-button v-for="(item,index) in hxDateTypeList" :key="index" @click="changeFxHxDateType(item.value)">{{item.label}}</el-button>
+            </div>
             <el-row :gutter="20">
                 <!-- 第一行 -->
                 <el-col :xs="24" :sm="12" :md="8" :lg="8">
@@ -354,7 +356,9 @@
                     </div>
                 </el-col> -->
             </el-row>
+            <div class="zap-title zap-margin-top">招采融证统计
             <el-button v-for="(item,index) in hxDateTypeList" :key="index" @click="changeZxHxDateType(item.value)">{{item.label}}</el-button>
+            </div>
             <el-row :gutter="20">
                 <!-- 第一行 -->
                 <el-col :xs="24" :sm="12" :md="8" :lg="8">
@@ -726,8 +730,8 @@
                         <el-tab-pane label="30天内到期融信汇总" name="fourth" style="height:400px">
                             <el-table :data="expiredList" :show-header="true">
                                 <el-table-column label="融资编号" align="center" prop="zfiNumber" :show-overflow-tooltip="true"/>
-                                <el-table-column label="金额" align="center" prop="afiAmount" :show-overflow-tooltip="true"/>
-                                <el-table-column label="到期时间" align="center" prop="afiExpireDate" :show-overflow-tooltip="true">
+                                <el-table-column label="金额" align="center" prop="zfiAmount" :show-overflow-tooltip="true"/>
+                                <el-table-column label="到期时间" align="center" prop="zfiExpireDate" :show-overflow-tooltip="true">
                                     <template slot-scope="scope">
                                         <span>{{ parseTime(new Date(scope.row.afiExpireDate), '{y}-{m}-{d}') }}</span>
                                     </template>
@@ -1346,7 +1350,6 @@ export default {
             let queryParams = {}
             queryParams.zfpType = '0'
             listCreditLineAll(queryParams).then(res => {
-                debugger
                 this.hxCreditLineAllForward = res.data.allAmountForward
                 this.usableAmountForward = res.data.usableAmountForward;
             })
@@ -1356,7 +1359,6 @@ export default {
             let queryParams = {}
             queryParams.hxDateType = this.hxDateType
             listCreditAll(queryParams).then(res => {
-                debugger
                 this.hxCreditAll = res.data.allAmount;
             })
         },
@@ -1366,7 +1368,6 @@ export default {
             queryParams.zfpType = '0'
             queryParams.hxDateType = this.hxDateType
             listCreditAll(queryParams).then(res => {
-                debugger
                 this.hxCreditAllForward = res.data.allAmount;
             })
         },
@@ -1674,6 +1675,7 @@ export default {
         //企业即将到期额度(30天) -- 列表
         getExpiredList(){
             getExpiredList(this.queryParamsExpired).then(response => {
+                debugger
                 this.expiredList = response.data.records;
                 this.expiredTotal = response.data.total
             })

+ 3 - 3
front-vue/src/views/service/bill/addBill.vue

@@ -969,9 +969,9 @@ export default {
         allAmount() {
             var strarr = [0.0];
             for (let i in this.fileList) {
-                // if (this.fileList[i]["ziiCheckStt"] == "1") {
-                // strarr.push(this.fileList[i]["ziiAmount"]);
-                // }
+                if (this.fileList[i]["ziiCheckStt"] == "1") {
+                strarr.push(this.fileList[i]["ziiAmount"]);
+                }
             }
             return (Math.floor(eval(strarr.join("+")) * 100) / 100).toFixed(2); //结果
         },

+ 2 - 2
front-vue/src/views/service/bill/billAdd.vue

@@ -979,9 +979,9 @@ export default {
         allAmount() {
             var strarr = [0.0];
             for (let i in this.fileList) {
-                // if (this.fileList[i]["ziiCheckStt"] == "1") {
+                if (this.fileList[i]["ziiCheckStt"] == "1") {
                 strarr.push(this.fileList[i]["ziiAmount"]);
-                // }
+                }
             }
             return (Math.floor(eval(strarr.join("+")) * 100) / 100).toFixed(2); //结果
         },

+ 2 - 2
front-vue/src/views/service/bill/billDetail.vue

@@ -320,9 +320,9 @@ export default {
         allAmount() {
             var strarr = [0.00];
             for (let i in this.fileList) {
-                // if (this.fileList[i]["ziiCheckStt"] == "1") {
+                if (this.fileList[i]["ziiCheckStt"] == "1") {
                     strarr.push(this.fileList[i]["ziiAmount"]);
-                // }
+                 }
             }
             return (Math.round(eval(strarr.join("+")) * 100) / 100); //结果
             // return this.handleInput(eval(strarr.join("+"))); //结果

+ 3 - 3
front-vue/src/views/service/bill/billEdit.vue

@@ -1041,9 +1041,9 @@ export default {
         allAmount() {
             var strarr = [0.0];
             for (let i in this.fileList) {
-                // if (this.fileList[i]["ziiCheckStt"] == "1") {
-                // strarr.push(this.fileList[i]["ziiAmount"]);
-                // }
+                if (this.fileList[i]["ziiCheckStt"] == "1") {
+                strarr.push(this.fileList[i]["ziiAmount"]);
+                }
             }
             return (Math.floor(eval(strarr.join("+")) * 100) / 100).toFixed(2); //结果
             // return this.handleInput(eval(strarr.join("+"))); //结果

+ 3 - 3
front-vue/src/views/service/bill/editBill.vue

@@ -1307,9 +1307,9 @@ export default {
     allAmount() {
       var strarr = [0.0];
       for (let i in this.fileList) {
-        // if (this.fileList[i]["ziiCheckStt"] == "1") {
-        //   strarr.push(this.fileList[i]["ziiAmount"]);
-        // }
+        if (this.fileList[i]["ziiCheckStt"] == "1") {
+           strarr.push(this.fileList[i]["ziiAmount"]);
+        }
       }
       return (Math.floor(eval(strarr.join("+")) * 100) / 100).toFixed(2); //结果
       // return this.handleInput(eval(strarr.join("+"))); //结果

+ 216 - 13
front-vue/src/views/service/credit/credit.vue

@@ -17,6 +17,12 @@
               <el-option v-for="dict in typesOptions" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
           </el-select>
         </el-form-item>
+        <el-form-item prop="finaceStatus" size="large">
+          <el-select v-model="queryParams.finaceStatus" clearable>
+              <el-option v-for="dict in stateOptions" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
+          </el-select>
+        </el-form-item>
+        
         <el-form-item prop="zfiQuery" size="large">
             <el-select v-model="queryParams.zfiQuery" clearable>
                 <el-option v-for="dict in queryOptions" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
@@ -876,6 +882,7 @@
           <el-table-column label="融信编号" align="center" prop="zfiNumber" :show-overflow-tooltip="true"/>
           <el-table-column label="开立方"  align="center" prop="openName"   :show-overflow-tooltip="true"/>
           <el-table-column label="接收方"  align="center" prop="receiveName"   :show-overflow-tooltip="true"/>
+          <el-table-column label="授信类型" :formatter="zfpTypeFormat" align="center" prop="zfpType" show-overflow-tooltip  />
           <el-table-column label="融信类型" :formatter="typeFormat" align="center" prop="zfiCreateType"   :show-overflow-tooltip="true"/>
           <el-table-column label="融信产品" align="center" prop="zfpName"   :show-overflow-tooltip="true"/>
           <el-table-column label="融信金额" align="center" :formatter="moneyFormat" prop="zfiAmount" :show-overflow-tooltip="true" />
@@ -1035,6 +1042,14 @@
             </template>
           </el-table-column>
         </el-table>
+        <span>总合计:{{allAmount}}</span>
+        <span>开立中:{{klzAllAmount}}</span>
+        <span>已生效:{{ysxAllAmount}}</span>
+        <span>融资中:{{rzzAllAmount}}</span>
+        <span>已融资:{{yrzAllAmount}}</span>
+        <span>已拒绝:{{yjjAllAmount}}</span>
+        <span>已结算:{{yjsAllAmount}}</span>
+        <span>已过期:{{ygqAllAmount}}</span>
         <pagination
           v-show="total>0"
           :total="total"
@@ -1054,6 +1069,7 @@
           <el-table-column label="融信编号" align="center" prop="zfiNumber" :show-overflow-tooltip="true"/>
           <el-table-column label="开立方"  align="center" prop="openName"   :show-overflow-tooltip="true"/>
           <el-table-column label="接收方"  align="center" prop="receiveName"   :show-overflow-tooltip="true"/>
+          <el-table-column label="授信类型" :formatter="zfpTypeFormat" align="center" prop="zfpType" show-overflow-tooltip  />
           <el-table-column label="融信类型" :formatter="typeFormat" align="center" prop="zfiCreateType"   :show-overflow-tooltip="true"/>
           <el-table-column label="融信产品" align="center" prop="zfpName"   :show-overflow-tooltip="true"/>
           <el-table-column label="融信金额" align="center" :formatter="moneyFormat" prop="zfiAmount" :show-overflow-tooltip="true" />
@@ -1219,6 +1235,8 @@
           :limit.sync="queryParamsOpening.pageSize"
           @pagination="getListOpening"
         />
+        <span>总合计:{{klzAmount}}</span>
+        <span>开立中:{{klzAmount}}</span>
         </el-tab-pane>
         <!--已生效-->
         <el-tab-pane label="已生效">
@@ -1231,6 +1249,7 @@
           <el-table-column label="融信编号" align="center" prop="zfiNumber"  :show-overflow-tooltip="true"/>
           <el-table-column label="开立方"  align="center" prop="openName"  :show-overflow-tooltip="true"/>
           <el-table-column label="接收方"  align="center" prop="receiveName"   :show-overflow-tooltip="true"/>
+          <el-table-column label="授信类型" :formatter="zfpTypeFormat" align="center" prop="zfpType" show-overflow-tooltip  />
           <el-table-column label="融信类型" :formatter="typeFormat" align="center" prop="zfiCreateType"  :show-overflow-tooltip="true"/>
           <el-table-column label="融信产品" align="center" prop="zfpName"   :show-overflow-tooltip="true"/>
           <el-table-column label="融信金额" align="center" :formatter="moneyFormat" prop="zfiAmount" :show-overflow-tooltip="true" />
@@ -1396,7 +1415,10 @@
           :limit.sync="queryParamsSign.pageSize"
           @pagination="getListSign"
         />
+        <span>总合计:{{ysxAmount}}</span>
+        <span>已生效:{{ysxAmount}}</span>
         </el-tab-pane>
+        
         <!--融资中-->
         <el-tab-pane label="融资中">
         <el-table v-loading="loading" stripe :data="infFinancingList" @selection-change="handleSelectionChange" border>
@@ -1408,6 +1430,7 @@
           <el-table-column label="融信编号" align="center" prop="zfiNumber"  :show-overflow-tooltip="true"/>
           <el-table-column label="开立方"  align="center" prop="openName"  :show-overflow-tooltip="true"/>
           <el-table-column label="接收方"  align="center" prop="receiveName"   :show-overflow-tooltip="true"/>
+          <el-table-column label="授信类型" :formatter="zfpTypeFormat" align="center" prop="zfpType" show-overflow-tooltip  />
           <el-table-column label="融信类型" :formatter="typeFormat" align="center" prop="zfiCreateType"  :show-overflow-tooltip="true"/>
           <el-table-column label="融信产品" align="center" prop="zfpName"   :show-overflow-tooltip="true"/>
           <el-table-column label="融信金额" align="center" :formatter="moneyFormat" prop="zfiAmount" :show-overflow-tooltip="true" />
@@ -1571,6 +1594,7 @@
             </template>
           </el-table-column>
         </el-table>
+        
         <pagination
           v-show="totalFinancing>0"
           :total="totalFinancing"
@@ -1578,6 +1602,8 @@
           :limit.sync="queryParamsFinancing.pageSize"
           @pagination="getListFinancing"
         />
+        <span>总合计:{{rzzAmount}}</span>
+        <span>融资中:{{rzzAmount}}</span>
         </el-tab-pane>
           <!--已融资-->
         <el-tab-pane label="已融资">
@@ -1590,6 +1616,7 @@
           <el-table-column label="融信编号" align="center" prop="zfiNumber"  :show-overflow-tooltip="true"/>
           <el-table-column label="开立方"  align="center" prop="openName"  :show-overflow-tooltip="true"/>
           <el-table-column label="接收方"  align="center" prop="receiveName"   :show-overflow-tooltip="true"/>
+          <el-table-column label="授信类型" :formatter="zfpTypeFormat" align="center" prop="zfpType" show-overflow-tooltip  />
           <el-table-column label="融信类型" :formatter="typeFormat" align="center" prop="zfiCreateType"  :show-overflow-tooltip="true"/>
           <el-table-column label="融信产品" align="center" prop="zfpName"   :show-overflow-tooltip="true"/>
           <el-table-column label="融信金额" align="center" :formatter="moneyFormat" prop="zfiAmount" :show-overflow-tooltip="true" />
@@ -1748,6 +1775,7 @@
             </template>
           </el-table-column>
         </el-table>
+        
         <pagination
           v-show="totalFinanced>0"
           :total="totalFinanced"
@@ -1755,6 +1783,8 @@
           :limit.sync="queryParamsFinanced.pageSize"
           @pagination="getListFinanced"
         />
+        <span>总合计:{{yrzAmount}}</span>
+        <span>已融资:{{yrzAmount}}</span>
         </el-tab-pane>
         <!--已拒绝-->
         <el-tab-pane label="已拒绝">
@@ -1767,6 +1797,7 @@
           <el-table-column label="融信编号" align="center" prop="zfiNumber"  :show-overflow-tooltip="true"/>
           <el-table-column label="开立方"  align="center" prop="openName"  :show-overflow-tooltip="true"/>
           <el-table-column label="接收方"  align="center" prop="receiveName"   :show-overflow-tooltip="true"/>
+          <el-table-column label="授信类型" :formatter="zfpTypeFormat" align="center" prop="zfpType" show-overflow-tooltip  />
           <el-table-column label="融信类型" :formatter="typeFormat" align="center" prop="zfiCreateType"  :show-overflow-tooltip="true"/>
           <el-table-column label="融信产品" align="center" prop="zfpName"   :show-overflow-tooltip="true"/>
           <el-table-column label="融信金额" align="center" :formatter="moneyFormat" prop="zfiAmount" :show-overflow-tooltip="true" />
@@ -1925,6 +1956,7 @@
             </template>
           </el-table-column>
         </el-table>
+        
         <pagination
           v-show="totalInvalid>0"
           :total="totalInvalid"
@@ -1932,6 +1964,8 @@
           :limit.sync="queryParamsInvalid.pageSize"
           @pagination="getListInvalid"
         />
+        <span>总合计:{{yjjAmount}}</span>
+        <span>已拒绝:{{yjjAmount}}</span>
       </el-tab-pane>
       <!--已结算-->
       <el-tab-pane label="已结算">
@@ -1944,6 +1978,7 @@
           <el-table-column label="融信编号" align="center" prop="zfiNumber"  :show-overflow-tooltip="true"/>
           <el-table-column label="开立方"  align="center" prop="openName"  :show-overflow-tooltip="true"/>
           <el-table-column label="接收方"  align="center" prop="receiveName"   :show-overflow-tooltip="true"/>
+          <el-table-column label="授信类型" :formatter="zfpTypeFormat" align="center" prop="zfpType" show-overflow-tooltip  />
           <el-table-column label="融信类型" :formatter="typeFormat" align="center" prop="zfiCreateType"  :show-overflow-tooltip="true"/>
           <el-table-column label="融信产品" align="center" prop="zfpName"   :show-overflow-tooltip="true"/>
           <el-table-column label="融信金额" align="center" :formatter="moneyFormat" prop="zfiAmount" :show-overflow-tooltip="true" />
@@ -2102,6 +2137,7 @@
             </template>
           </el-table-column>
         </el-table>
+        
         <pagination
           v-show="totalSettlement>0"
           :total="totalSettlement"
@@ -2109,6 +2145,8 @@
           :limit.sync="queryParamsSettlement.pageSize"
           @pagination="getListSettlement"
         />
+        <span>总合计:{{yjsAmount}}</span>
+        <span>已结算:{{yjsAmount}}</span>
       </el-tab-pane>
       <!--已过期-->
       <el-tab-pane label="已过期">
@@ -2121,6 +2159,7 @@
           <el-table-column label="融信编号" align="center" prop="zfiNumber"  :show-overflow-tooltip="true"/>
           <el-table-column label="开立方"  align="center" prop="openName"  :show-overflow-tooltip="true"/>
           <el-table-column label="接收方"  align="center" prop="receiveName"   :show-overflow-tooltip="true"/>
+          <el-table-column label="授信类型" :formatter="zfpTypeFormat" align="center" prop="zfpType" show-overflow-tooltip  />
           <el-table-column label="融信类型" :formatter="typeFormat" align="center" prop="zfiCreateType"  :show-overflow-tooltip="true"/>
           <el-table-column label="融信产品" align="center" prop="zfpName"   :show-overflow-tooltip="true"/>
           <el-table-column label="融信金额" align="center" :formatter="moneyFormat" prop="zfiAmount" :show-overflow-tooltip="true" />
@@ -2279,6 +2318,7 @@
             </template>
           </el-table-column>
         </el-table>
+        
         <pagination
           v-show="totalOverdue>0"
           :total="totalOverdue"
@@ -2286,6 +2326,8 @@
           :limit.sync="queryParamsOverdue.pageSize"
           @pagination="getListOverdue"
         />
+        <span>总合计:{{ygqAmount}}</span>
+        <span>已过期:{{ygqAmount}}</span>
       </el-tab-pane>
         <!-- 查看流程 -->
         <el-dialog title="查看流程" :visible.sync="openFlowDetail" width="1120px" append-to-body>
@@ -2321,7 +2363,7 @@
 </template>
 
 <script>
-import { listCredit, coreApproval, confirmationApproval, informationApproval,approval,openApproval, getUser } from "@/api/service/credit/credit";
+import { listCredit, coreApproval, confirmationApproval, informationApproval,approval,openApproval, getUser,listStatisticalAmount } from "@/api/service/credit/credit";
 import {creditRefuse,sealRefuse,creditDel} from "@/api/service/credit/creditHandle";
 import Editor from '@/components/Editor';
 import {listCompanyHandler} from "@/api/common/companyHandler";
@@ -2338,6 +2380,21 @@ export default {
   },
   data() {
     return {
+      allAmount : '0.00',
+      klzAllAmount: '0.00',
+      ysxAllAmount: '0.00',
+      rzzAllAmount: '0.00',
+      yrzAllAmount: '0.00',
+      yjjAllAmount: '0.00',
+      yjsAllAmount: '0.00',
+      ygqAllAmount: '0.00',
+      klzAmount: '0.00',
+      ysxAmount: '0.00',
+      rzzAmount: '0.00',
+      yrzAmount: '0.00',
+      yjjAmount: '0.00',
+      yjsAmount: '0.00',
+      ygqAmount: '0.00',
       activeIndex: '',
       //当前登录企业Id
       companyId:'',
@@ -2372,6 +2429,8 @@ export default {
       // 是否显示弹出层
       open: false,
       openFlowDetail: false,
+      //融资产品
+      zfpTypeOptions: [],
       //融信类型
       typeOptions: [],
       //状态
@@ -2410,9 +2469,9 @@ export default {
         zfiExpireDate:[],
         zfiTypes: '00',
         zfiQuery: null,
-        zfiValue: null
+        zfiValue: null,
       },
-      // 待签收查询参数
+      // 已生效查询参数
       queryParamsSign:{
        pageNum: 1,
         pageSize: 10,
@@ -2428,7 +2487,7 @@ export default {
         zfiExpireDate:[],
         zfiTypes: '00',
         zfiQuery: null,
-        zfiValue: null
+        zfiValue: null,
       },
       //融资中查询参数
       queryParamsFinancing:{
@@ -2446,7 +2505,7 @@ export default {
         zfiExpireDate:[],
         zfiTypes: '00',
         zfiQuery: null,
-        zfiValue: null
+        zfiValue: null,
       },
       //开立中查询参数
       queryParamsOpening:{
@@ -2464,7 +2523,7 @@ export default {
         zfiExpireDate:[],
         zfiTypes: '00',
         zfiQuery: null,
-        zfiValue: null
+        zfiValue: null,
       },
       //已融资搜索
       queryParamsFinanced:{
@@ -2482,7 +2541,7 @@ export default {
         zfiExpireDate:[],
         zfiTypes: '00',
         zfiQuery: null,
-        zfiValue: null
+        zfiValue: null,
       },
       //已拒绝
       queryParamsInvalid:{
@@ -2500,7 +2559,7 @@ export default {
         zfiExpireDate:[],
         zfiTypes: '00',
         zfiQuery: null,
-        zfiValue: null
+        zfiValue: null,
       },
       //已结算
       queryParamsSettlement:{
@@ -2518,7 +2577,7 @@ export default {
         zfiExpireDate:[],
         zfiTypes: '00',
         zfiQuery: null,
-        zfiValue: null
+        zfiValue: null,
       },
       //已过期
       queryParamsOverdue:{
@@ -2536,7 +2595,7 @@ export default {
         zfiExpireDate:[],
         zfiTypes: '00',
         zfiQuery: null,
-        zfiValue: null
+        zfiValue: null,
       },
       //全部数据
       infList:[],
@@ -2563,6 +2622,9 @@ export default {
     };
   },
   created() {
+    this.getDicts("zc_zfp_type").then(response => {
+      this.zfpTypeOptions = response.data;
+    });
     this.getDicts("zfi_create_type").then(response => {
       this.typeOptions = response.data;
     });
@@ -2587,6 +2649,7 @@ export default {
     this.getDicts("zc_zfi_query").then((response) => {
             this.queryOptions = response.data;
         });
+    
     this.getUser();
     this.getList().then(() => {
       getUserProfile().then((response) => {
@@ -2594,11 +2657,22 @@ export default {
             this.queryParams.zfiQuery = '02';
         } else if ("01" == response.data.companyType) {
             this.queryParams.zfiQuery = '01';
-            d
         } else if ("02" == response.data.companyType) {
             this.queryParams.zfiQuery = '00';
         }
       })
+      listStatisticalAmount(this.queryParams).then(response => {
+        debugger
+        this.allAmount = response.data.allAmount;
+        this.klzAllAmount = response.data.klzAmount;
+        this.ysxAllAmount = response.data.ysxAmount;
+        this.rzzAllAmount = response.data.rzzAmount;
+        this.yrzAllAmount = response.data.yrzAmount;
+        this.yjjAllAmount = response.data.yjjAmount;
+        this.yjsAllAmount = response.data.yjsAmount;
+        this.ygqAllAmount = response.data.ygqAmount;
+        })
+      //this.listStatisticalAmount(this.queryParams);
     })
     this.getListSign().then(() => {
       getUserProfile().then((response) => {
@@ -2610,6 +2684,10 @@ export default {
             this.queryParamsSign.zfiQuery = '00';
         }
       })
+      listStatisticalAmount(this.queryParamsSign).then(response => {
+        this.ysxAmount = response.data.ysxAmount;
+        })
+      //this.listStatisticalAmount(this.queryParamsSign);
     })
     this.getListFinancing().then(() => {
       getUserProfile().then((response) => {
@@ -2621,6 +2699,10 @@ export default {
             this.queryParamsFinancing.zfiQuery = '00';
         }
       })
+      listStatisticalAmount(this.queryParamsFinancing).then(response => {
+        this.rzzAmount = response.data.rzzAmount;
+        })
+      //this.listStatisticalAmount(this.queryParamsFinancing);
     })
     this.getListOpening().then(() => {
       getUserProfile().then((response) => {
@@ -2631,6 +2713,10 @@ export default {
         } else if ("02" == response.data.companyType) {
         }
       })
+      listStatisticalAmount(this.queryParamsOpening).then(response => {
+        this.klzAmount = response.data.klzAmount;
+        })
+      //this.listStatisticalAmount(this.queryParamsOpening);
     })
     this.getListFinanced().then(() => {
       getUserProfile().then((response) => {
@@ -2642,6 +2728,10 @@ export default {
             this.queryParamsFinanced.zfiQuery = '00';
         }
       })
+      listStatisticalAmount(this.queryParamsFinanced).then(response => {
+        this.yrzAmount = response.data.yrzAmount;
+        })
+      //this.listStatisticalAmount(this.queryParamsFinanced);
     })
     this.getListInvalid().then(() => {
       getUserProfile().then((response) => {
@@ -2653,6 +2743,10 @@ export default {
             this.queryParamsInvalid.zfiQuery = '00';
         }
       })
+      listStatisticalAmount(this.queryParamsInvalid).then(response => {
+        this.yjjAmount = response.data.yjjAmount;
+        })
+      //this.listStatisticalAmount(this.queryParamsInvalid);
     })
     this.getListSettlement().then(() => {
       getUserProfile().then((response) => {
@@ -2664,6 +2758,10 @@ export default {
             this.queryParamsSettlement.zfiQuery = '00';
         }
       })
+      listStatisticalAmount(this.queryParamsSettlement).then(response => {
+        this.yjsAmount = response.data.yjsAmount;
+        })
+      //this.listStatisticalAmount(this.queryParamsSettlement);
     })
     this.getListOverdue().then(() => {
       getUserProfile().then((response) => {
@@ -2675,10 +2773,17 @@ export default {
             this.queryParamsOverdue.zfiQuery = '00';
         }
       })
+      listStatisticalAmount(this.queryParamsOverdue).then(response => {
+        this.ygqAmount = response.data.ygqAmount;
+        })
+      //this.listStatisticalAmount(this.queryParamsOverdue);
     })
 
   },
   activated () {
+    this.getDicts("zc_zfp_type").then(response => {
+      this.zfpTypeOptions = response.data;
+    });
     this.getDicts("zfi_create_type").then(response => {
       this.typeOptions = response.data;
     });
@@ -2702,11 +2807,22 @@ export default {
             this.queryParams.zfiQuery = '02';
         } else if ("01" == response.data.companyType) {
             this.queryParams.zfiQuery = '01';
-            d
         } else if ("02" == response.data.companyType) {
             this.queryParams.zfiQuery = '00';
         }
       })
+      listStatisticalAmount(this.queryParams).then(response => {
+        debugger
+        this.allAmount = response.data.allAmount;
+        this.klzAllAmount = response.data.klzAmount;
+        this.ysxAllAmount = response.data.ysxAmount;
+        this.rzzAllAmount = response.data.rzzAmount;
+        this.yrzAllAmount = response.data.yrzAmount;
+        this.yjjAllAmount = response.data.yjjAmount;
+        this.yjsAllAmount = response.data.yjsAmount;
+        this.ygqAllAmount = response.data.ygqAmount;
+        })
+      //this.listStatisticalAmount(this.queryParams);
     })
     this.getListSign().then(() => {
       getUserProfile().then((response) => {
@@ -2718,6 +2834,10 @@ export default {
             this.queryParamsSign.zfiQuery = '00';
         }
       })
+      listStatisticalAmount(this.queryParamsSign).then(response => {
+        this.ysxAmount = response.data.klzAmount;
+        })
+      //this.listStatisticalAmount(this.queryParamsSign);
     })
     this.getListFinancing().then(() => {
       getUserProfile().then((response) => {
@@ -2729,6 +2849,10 @@ export default {
             this.queryParamsFinancing.zfiQuery = '00';
         }
       })
+      listStatisticalAmount(this.queryParamsFinancing).then(response => {
+        this.rzzAmount = response.data.klzAmount;
+        })
+      //this.listStatisticalAmount(this.queryParamsFinancing);
     })
     this.getListOpening().then(() => {
       getUserProfile().then((response) => {
@@ -2739,6 +2863,10 @@ export default {
         } else if ("02" == response.data.companyType) {
         }
       })
+      listStatisticalAmount(this.queryParamsOpening).then(response => {
+        this.klzAmount = response.data.klzAmount;
+        })
+      //this.listStatisticalAmount(this.queryParamsOpening);
     })
     this.getListFinanced().then(() => {
       getUserProfile().then((response) => {
@@ -2750,6 +2878,10 @@ export default {
             this.queryParamsFinanced.zfiQuery = '00';
         }
       })
+      listStatisticalAmount(this.queryParamsFinanced).then(response => {
+        this.yrzAmount = response.data.yrzAmount;
+        })
+      //this.listStatisticalAmount(this.queryParamsFinanced);
     })
     this.getListInvalid().then(() => {
       getUserProfile().then((response) => {
@@ -2761,6 +2893,10 @@ export default {
             this.queryParamsInvalid.zfiQuery = '00';
         }
       })
+      listStatisticalAmount(this.queryParamsInvalid).then(response => {
+        this.yjjAmount = response.data.yjjAmount;
+        })
+      //this.listStatisticalAmount(this.queryParamsInvalid);
     })
     this.getListSettlement().then(() => {
       getUserProfile().then((response) => {
@@ -2772,6 +2908,11 @@ export default {
             this.queryParamsSettlement.zfiQuery = '00';
         }
       })
+      listStatisticalAmount(this.queryParamsSettlement).then(response => {
+        this.yjsAmount = response.data.yjsAmount;
+        })
+      
+      //this.listStatisticalAmount(this.queryParamsSettlement);
     })
     this.getListOverdue().then(() => {
       getUserProfile().then((response) => {
@@ -2783,9 +2924,25 @@ export default {
             this.queryParamsOverdue.zfiQuery = '00';
         }
       })
+      listStatisticalAmount(this.queryParamsOverdue).then(response => {
+        this.ygqAmount = response.data.ygqAmount;
+        })
     })
   },  
   methods: {
+    listStatisticalAmount(queryParamsMoney){
+      // listStatisticalAmount(queryParamsMoney).then(response => {
+      //   debugger
+      //   this.allAmount = response.data.allAmount;
+      //   this.klzAmount = response.data.klzAmount;
+      //   this.ysxAmount = response.data.ysxAmount;
+      //   this.rzzAmount = response.data.rzzAmount;
+      //   this.yrzAmount = response.data.yrzAmount;
+      //   this.yjjAmount = response.data.yjjAmount;
+      //   this.yjsAmount = response.data.yjsAmount;
+      //   this.ygqAmount = response.data.ygqAmount;
+      //   })
+    },
     //获取操作员Id
     getUser(){
       getUser().then(response => {
@@ -2797,6 +2954,7 @@ export default {
     getList() {
       this.loading = true;
       return listCredit(this.queryParams).then(response => {
+        debugger
         this.infList = response.data.records;
         if(this.infList){
           if(this.infList.length > 0){
@@ -2806,11 +2964,24 @@ export default {
         }
         this.total = response.data.total;
         this.loading = false;
+        listStatisticalAmount(this.queryParams).then(response => {
+        debugger
+        this.allAmount = response.data.allAmount;
+        this.klzAllAmount = response.data.klzAmount;
+        this.ysxAllAmount = response.data.ysxAmount;
+        this.rzzAllAmount = response.data.rzzAmount;
+        this.yrzAllAmount = response.data.yrzAmount;
+        this.yjjAllAmount = response.data.yjjAmount;
+        this.yjsAllAmount = response.data.yjsAmount;
+        this.ygqAllAmount = response.data.ygqAmount;
+        })
         return Promise.resolve(response)
       }).catch((response) => {
         this.loading = false;
         return Promise.reject('error')
-      });
+      })
+      
+      //this.listStatisticalAmount(this.queryParams);
     },
     //查询待签收
     getListSign() {
@@ -2819,11 +2990,15 @@ export default {
         this.infSignList = response.data.records;
         this.totalSign = response.data.total;
         this.loading = false;
+        listStatisticalAmount(this.queryParams).then(response => {
+        this.ysxAmount = response.data.ysxAmount;
+        })
         return Promise.resolve(response)
       }).catch((response) => {
         this.loading = false;
         return Promise.reject('error')
       });
+      
     },
     //融资中
     getListFinancing() {
@@ -2833,10 +3008,14 @@ export default {
         this.totalFinancing = response.data.total;
         this.loading = false;
         return Promise.resolve(response)
+        listStatisticalAmount(this.queryParamsFinancing).then(response => {
+        this.rzzAmount = response.data.rzzAmount;
+        })
       }).catch((response) => {
         this.loading = false;
         return Promise.reject('error')
       });
+      
     },
     //开立中
     getListOpening(){
@@ -2845,11 +3024,15 @@ export default {
         this.infOpeningList = response.data.records;
         this.totalOpening = response.data.total;
         this.loading = false;
+        listStatisticalAmount(this.queryParamsOpening).then(response => {
+        this.klzAmount = response.data.klzAmount;
+        })
         return Promise.resolve(response)
       }).catch((response) => {
         this.loading = false;
         return Promise.reject('error')
       });
+      
     },
     //已融资
     getListFinanced() {
@@ -2858,11 +3041,15 @@ export default {
         this.infFinancedList = response.data.records;
         this.totalFinanced = response.data.total;
         this.loading = false;
+        listStatisticalAmount(this.queryParamsFinanced).then(response => {
+        this.yrzAmount = response.data.yrzAmount;
+        })
         return Promise.resolve(response)
       }).catch((response) => {
         this.loading = false;
         return Promise.reject('error')
       });
+      
     },
     //已拒绝
     getListInvalid(){
@@ -2871,11 +3058,15 @@ export default {
         this.infInvalidList = response.data.records;
         this.totalInvalid = response.data.total;
         this.loading = false;
+        listStatisticalAmount(this.queryParamsInvalid).then(response => {
+        this.yjjAmount = response.data.yjjAmount;
+        })
         return Promise.resolve(response)
       }).catch((response) => {
         this.loading = false;
         return Promise.reject('error')
       });
+      
     },
     //已结算
     getListSettlement(){
@@ -2884,11 +3075,15 @@ export default {
         this.settlementList = response.data.records;
         this.totalInvalid = response.data.total;
         this.loading = false;
+        listStatisticalAmount(this.queryParamsSettlement).then(response => {
+        this.yjsAmount = response.data.yjsAmount;
+        })
         return Promise.resolve(response)
       }).catch((response) => {
         this.loading = false;
         return Promise.reject('error')
       });
+      
     },
     //已过期
     getListOverdue(){
@@ -2897,11 +3092,15 @@ export default {
         this.overdueList = response.data.records;
         this.totalOverdue = response.data.total;
         this.loading = false;
+        listStatisticalAmount(this.queryParamsOverdue).then(response => {
+        this.ygqAmount = response.data.ygqAmount;
+        })
         return Promise.resolve(response)
       }).catch((response) => {
         this.loading = false;
         return Promise.reject('error')
       });
+      
     },
     // 表单重置
     reset() {
@@ -3424,6 +3623,10 @@ export default {
         });
 
     },
+    //格式化融资产品方向
+    zfpTypeFormat(row, column) {
+      return this.selectDictLabel(this.zfpTypeOptions, row.zfpType);
+    },
     //格式化类型
     typeFormat(row, column) {
       return this.selectDictLabel(this.typeOptions, row.zfiCreateType);