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 @@
- 提交 + 提交
+ + +
+
+
提示
+
+ +
+

请进行授信审核

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

授信完成

+

可进行贷款申请

+
+ +
+ 确 定 +
+
+