|
|
|
@ -14,7 +14,9 @@ |
|
|
|
|
<el-table-column prop="arrearsAmount" label="欠款金额(万)" align="center" /> |
|
|
|
|
<el-table-column label="操作" align="center" width="240"> |
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
<el-button :disabled="!!scope.row.builtIn" @click="toDetail(scope.row)" size="small">详情</el-button> |
|
|
|
|
<el-button :disabled="!!scope.row.builtIn" @click="toDetail(scope.row)" size="small">{{ |
|
|
|
|
scope.row.loanApplicationAmount ? '查看' : '编辑' |
|
|
|
|
}}</el-button> |
|
|
|
|
<template v-if="!scope.row.builtIn"> |
|
|
|
|
<el-button size="small" @click="showExtension(scope.row)">展期</el-button> |
|
|
|
|
<el-button @click="repayment(scope.row)" size="small">还款计划</el-button> |
|
|
|
@ -213,7 +215,11 @@ export default { |
|
|
|
|
}, |
|
|
|
|
// 详情 |
|
|
|
|
toDetail (row) { |
|
|
|
|
this.$router.push(`/counter/list/manage/corporateLoans-detail?id=${row.companyLoanId}`) |
|
|
|
|
// 缓存信用评估几个id |
|
|
|
|
this.$store.commit('system/setCreditIds', (row ? { |
|
|
|
|
companyLoanId: row.companyLoanId, // 顶部三个tab切换的公共id |
|
|
|
|
} : {})) |
|
|
|
|
this.$router.push(row.loanAmount ? `/counter/list/manage/corporateLoans-detail?id=${row.companyLoanId}` : '/counter/list/manage/corporateLoans-apply') |
|
|
|
|
}, |
|
|
|
|
// 展示展期弹框 |
|
|
|
|
showExtension (row) { |
|
|
|
|