From 2dd4cf81805eda31b440b64ec6806f02fbbd07a6 Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Fri, 18 Oct 2024 17:39:29 +0800 Subject: [PATCH] fix --- src/pages/manage/list/corporateLoans/application.vue | 6 +++--- src/pages/manage/list/corporateLoans/loan.vue | 10 ++++++++-- src/pages/manage/list/corporateLoans/repayment.vue | 10 ++++++++-- 3 files changed, 19 insertions(+), 7 deletions(-) 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 @@