瀏覽代碼

修改30内到期融信查询

xuefy 4 年之前
父節點
當前提交
ffa7eef42d
共有 1 個文件被更改,包括 13 次插入8 次删除
  1. 13 8
      front-vue/src/views/home.vue

+ 13 - 8
front-vue/src/views/home.vue

@@ -491,7 +491,7 @@
                             <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="zfrLoanAmount" :show-overflow-tooltip="true"/>
-                                <el-table-column label="到期时间" align="center" prop="afiExpireDate" :show-overflow-tooltip="true">
+                                <el-table-column label="到期日期" align="center" prop="afiExpireDate" :show-overflow-tooltip="true">
                                     <template slot-scope="scope">
                                         <span>{{ parseTime(new Date(scope.row.afiExpireDate), '{y}-{m}-{d}') }}</span>
                                     </template>
@@ -638,7 +638,7 @@
                 </el-col>
                 <!-- 第二行 -->
                 <el-col :xs="24" :sm="12" :md="8" :lg="8">
-                    <div class="zap-card" @click="toRepayment()">
+                    <div class="zap-card" @click="toCredit()">
                         <div class="zap-card__title">即将到期融资额度(30天)</div>
                         <div class="zap-card__wrap zap-card__blue">
                             <span class="zap-card__num">{{handleInput(expiredBalance)}}</span>
@@ -729,12 +729,12 @@
                         </el-tab-pane>
                         <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="zfiNumber" :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">
+                                <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>
+                                    </template> -->
                                 </el-table-column>
                                 <el-table-column label="操作" align="center" class-name="small-padding fixed-width" fixed="right" width="200">
                                     <template slot-scope="scope">
@@ -742,7 +742,7 @@
                                             size="mini"
                                             type="text"
                                             icon="el-icon-info"
-                                            @click="handleInfo(scope.row)"
+                                            @click="handleCreditDetail(scope.row)"
                                         >详情</el-button>
                                     </template>
                                 </el-table-column>
@@ -1675,7 +1675,6 @@ export default {
         //企业即将到期额度(30天) -- 列表
         getExpiredList(){
             getExpiredList(this.queryParamsExpired).then(response => {
-                debugger
                 this.expiredList = response.data.records;
                 this.expiredTotal = response.data.total
             })
@@ -1876,6 +1875,12 @@ export default {
             Cookies.set("/repayment/detailRepayment/"+zfrId+"/", this.$route.fullPath);
             this.$router.push({path:"/repayment/detailRepayment/"+zfrId+"/"});
         },
+        /** 详情按钮操作 */
+        handleCreditDetail(row) {
+            const zfiId = row.zfiId;
+            Cookies.set("/credit/creditDetail/"+zfiId+"/", this.$route.fullPath);
+            this.$router.push({path:"/credit/creditDetail/"+zfiId+"/"});
+        },
     },
 };
 </script>