From 7d405d1dafb118b14291b1a8f957776f726c517f Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Wed, 16 Oct 2024 15:22:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=81=E4=B8=9A=E8=B4=B7=E6=AC=BE=E5=9B=9E?= =?UTF-8?q?=E6=98=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/http.js | 4 +- .../list/corporateLoans/application.vue | 10 +- .../apply/creditApplication/index.vue | 168 +++++++++++++----- .../apply/creditEvaluation/basic.vue | 51 ++++-- .../apply/creditEvaluation/importReport.vue | 26 +-- .../apply/creditEvaluation/preLoan.vue | 33 +++- .../apply/creditEvaluation/rating.vue | 36 +++- .../list/corporateLoans/apply/index.vue | 36 +++- .../apply/loanApplication/step1.vue | 69 ++++--- .../apply/loanApplication/step2.vue | 125 ++++++++++--- .../manage/list/corporateLoans/detail.vue | 16 +- .../manage/list/personalLoans/detail.vue | 32 +++- src/store/modules/system.js | 68 ++++++- 13 files changed, 513 insertions(+), 161 deletions(-) diff --git a/src/api/http.js b/src/api/http.js index f42d7a6..f438fd3 100644 --- a/src/api/http.js +++ b/src/api/http.js @@ -63,7 +63,7 @@ export const creditEvaluationInput = data => { return post(`/judgment/bankCreditEvaluation/creditEvaluationInput`, data) } export const creditEvaluationDetails = data => { - return post(`/judgment/bankCreditEvaluation/creditEvaluationDetails`, data) + return get(`/judgment/bankCreditEvaluation/creditEvaluationDetails`, data) } export const loanApplicationInput = data => { return post(`/judgment/bankLoanApplication/loanApplicationInput`, data) @@ -75,7 +75,7 @@ export const creditApplicationInput = data => { return post(`/judgment/bankCreditApplication/creditApplicationInput`, data) } export const creditApplicationDetails = data => { - return post(`/judgment/bankCreditApplication/creditApplicationDetails`, data) + return get(`/judgment/bankCreditApplication/creditApplicationDetails`, data) } export const companyLoanList = data => { return post(`/judgment/bankCompanyLoans/companyLoanList`, data) diff --git a/src/pages/manage/list/corporateLoans/application.vue b/src/pages/manage/list/corporateLoans/application.vue index f6d5c0e..64ec6b8 100644 --- a/src/pages/manage/list/corporateLoans/application.vue +++ b/src/pages/manage/list/corporateLoans/application.vue @@ -8,7 +8,7 @@ - 新建贷款申请 + 新建贷款申请 @@ -81,7 +81,13 @@ 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 + // 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/apply/creditApplication/index.vue b/src/pages/manage/list/corporateLoans/apply/creditApplication/index.vue index dc3ec47..d8e270e 100644 --- a/src/pages/manage/list/corporateLoans/apply/creditApplication/index.vue +++ b/src/pages/manage/list/corporateLoans/apply/creditApplication/index.vue @@ -100,7 +100,7 @@
申请人特别说明(选填)
- + @@ -234,19 +234,55 @@
- 提交 + 提交
+ + +
+
+
提示
+
+ +
+

请进行授信审核

+
+ +
+ 取 消 + 确 定 +
+
+
+ + +
+
+
提示
+
+ +
+

授信完成

+

可进行贷款申请

+
+ +
+ 确 定 +
+
+