diff --git a/src/pages/manage/list/corporateLoans/application.vue b/src/pages/manage/list/corporateLoans/application.vue index 64ec6b8..ba02436 100644 --- a/src/pages/manage/list/corporateLoans/application.vue +++ b/src/pages/manage/list/corporateLoans/application.vue @@ -18,7 +18,9 @@ @@ -84,10 +86,8 @@ export default { // 缓存信用评估几个id this.$store.commit('system/setCreditIds', (row ? { companyLoanId: row.companyLoanId, // 顶部三个tab切换的公共id - // creditEvaluationId: row.creditEvaluationId, // 信用评估的id } : {})) this.$router.push(row.loanApplicationAmount ? `/counter/list/manage/corporateLoans-detail?id=${row.companyLoanId}` : '/counter/list/manage/corporateLoans-apply') - // this.$router.push('/counter/list/manage/corporateLoans-apply') }, }, }; diff --git a/src/pages/manage/list/corporateLoans/loan.vue b/src/pages/manage/list/corporateLoans/loan.vue index 5f81c19..4ffaec7 100644 --- a/src/pages/manage/list/corporateLoans/loan.vue +++ b/src/pages/manage/list/corporateLoans/loan.vue @@ -20,7 +20,9 @@ @@ -83,7 +85,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.loanApplicationAmount ? `/counter/list/manage/corporateLoans-detail?id=${row.companyLoanId}` : '/counter/list/manage/corporateLoans-apply') }, } }; diff --git a/src/pages/manage/list/corporateLoans/repayment.vue b/src/pages/manage/list/corporateLoans/repayment.vue index 36160d3..327498b 100644 --- a/src/pages/manage/list/corporateLoans/repayment.vue +++ b/src/pages/manage/list/corporateLoans/repayment.vue @@ -14,7 +14,9 @@