From 921cf1f2280093ffe981bbb6d6105d8c93d7d8a5 Mon Sep 17 00:00:00 2001
From: yujialong <479214531@qq.com>
Date: Fri, 21 Jun 2024 17:21:01 +0800
Subject: [PATCH] =?UTF-8?q?=E4=B8=AA=E4=BA=BA=E8=B4=B7=E6=AC=BE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/http.js | 16 +-
src/components/dialog/index.vue | 1 +
.../manage/list/corporateLoans/management.vue | 186 ++----
.../manage/list/personalLoans/detail.vue | 561 +++++++++++-------
src/pages/manage/list/personalLoans/list.vue | 280 +++------
5 files changed, 498 insertions(+), 546 deletions(-)
diff --git a/src/api/http.js b/src/api/http.js
index 69cb2f2..4c54000 100644
--- a/src/api/http.js
+++ b/src/api/http.js
@@ -51,17 +51,8 @@ export const creditEvaluationInput = data => {
return post('/judgment/bankCreditEvaluation/creditEvaluationInput', data)
}
-export const loanContractDel = data => {
- return post('/judgment/bankLoanContractInfo/batchDeletion', data)
-}
-export const loanContractFind = id => {
- return post('/judgment/bankLoanContractInfo/findById?id=' + id)
-}
-export const loanContractList = (data) => {
- return post('/judgment/bankLoanContractInfo/pagingQuery', data)
-}
export const loanContractSave = (data) => {
- return post('/judgment/bankLoanContractInfo/saveOrUpdate', data)
+ return post('/judgment/bankPersonalLoanContractInfo/saveOrUpdate', data)
}
export const personalBasicDel = data => {
@@ -71,8 +62,11 @@ export const personalBasicFind = id => {
return post('/judgment/bankPersonalBasicInfo/findById?id=' + id)
}
export const personalBasicList = (data) => {
- return post('/judgment/bankPersonalBasicInfo/pagingQuery', data)
+ return post('/judgment/bankPersonalBasicInfo/personageLoanList', data)
}
export const personalBasicSave = (data) => {
return post('/judgment/bankPersonalBasicInfo/saveOrUpdate', data)
+}
+export const grantALoan = (data) => {
+ return post(`/judgment/bankPersonalLoanContractInfo/grantALoan?contractId=${data.id}&disbursementDate=${data.disbursementDate}`)
}
\ No newline at end of file
diff --git a/src/components/dialog/index.vue b/src/components/dialog/index.vue
index f1ab433..9639b39 100644
--- a/src/components/dialog/index.vue
+++ b/src/components/dialog/index.vue
@@ -101,6 +101,7 @@ const obj = {
'agent/waterRate': '代收水费',
'agent/electricRate': '代收电费',
'agent/telRate': '代收电话费',
+ 'personalLoans/detail': '新建个人贷款',
'spacial': '提交'
}
diff --git a/src/pages/manage/list/corporateLoans/management.vue b/src/pages/manage/list/corporateLoans/management.vue
index 3afca0a..68d50c2 100644
--- a/src/pages/manage/list/corporateLoans/management.vue
+++ b/src/pages/manage/list/corporateLoans/management.vue
@@ -4,94 +4,54 @@
{{ msgs[curMsg] }}
+{{ msgs[curMsg] }}
-炳胜集团
@@ -116,105 +76,71 @@请刷身份证
-请刷身份证
+