diff --git a/src/api/model.ts b/src/api/model.ts index b8c52de..c21224c 100644 --- a/src/api/model.ts +++ b/src/api/model.ts @@ -157,17 +157,58 @@ export const personalCreditModelDetails = async (params: Record): P export const personalCreditModelSaveOrUpdate = async (data: Record): Promise => (await axios.post(`/product/quotaModel/personalCreditModelSaveOrUpdate`, data)).data; -export const fiveLevelClassificationDetails = async (): Promise => (await axios.post(`/product/fiveLevelClassification/details`, getIds())).data; +export const fiveLevelClassification = async (data: Record): Promise => + ( + await axios.post(`/product/fiveLevelClassification/list`, { + ...getIds(), + ...data, + }) + ).data; +export const fiveLevelClassificationDetails = async (params: Record): Promise => + (await axios.post(`/product/fiveLevelClassification/details`, {}, { params })).data; export const fiveLevelClassificationSave = async (data: Record): Promise => (await axios.post(`/product/fiveLevelClassification/saveOrUpdate`, data)).data; +export const fiveLevelClassificationDel = async (data: Record): Promise => (await axios.post(`${host}/product/fiveLevelClassification/delete`, data)).data; -export const postLoanInspectionDetails = async (): Promise => (await axios.post(`/product/postLoanInspection/details`, getIds())).data; +export const postLoanInspection = async (data: Record): Promise => + ( + await axios.post(`/product/postLoanInspection/list`, { + ...getIds(), + ...data, + }) + ).data; +export const postLoanInspectionDetails = async (params: Record): Promise => (await axios.post(`/product/postLoanInspection/details`, {}, { params })).data; export const postLoanInspectionSave = async (data: Record): Promise => (await axios.post(`/product/postLoanInspection/saveOrUpdate`, data)).data; +export const postLoanInspectionDel = async (data: Record): Promise => (await axios.post(`${host}/product/postLoanInspection/delete`, data)).data; -export const postCreditScoreDetails = async (): Promise => (await axios.post(`/product/postCreditScore/details`, getIds())).data; +export const postCreditScore = async (data: Record): Promise => + ( + await axios.post(`/product/postCreditScore/list`, { + ...getIds(), + ...data, + }) + ).data; +export const postCreditScoreDetails = async (params: Record): Promise => (await axios.post(`/product/postCreditScore/details`, {}, { params })).data; export const postCreditScoreSave = async (data: Record): Promise => (await axios.post(`/product/postCreditScore/saveOrUpdate`, data)).data; +export const postCreditScoreDel = async (data: Record): Promise => (await axios.post(`${host}/product/postCreditScore/delete`, data)).data; -export const postLoanWarningDetails = async (): Promise => (await axios.post(`/product/postLoanWarning/details`, getIds())).data; +export const postLoanWarning = async (data: Record): Promise => + ( + await axios.post(`/product/postLoanWarning/list`, { + ...getIds(), + ...data, + }) + ).data; +export const postLoanWarningDetails = async (params: Record): Promise => (await axios.post(`/product/postLoanWarning/details`, {}, { params })).data; export const postLoanWarningSave = async (data: Record): Promise => (await axios.post(`/product/postLoanWarning/saveOrUpdate`, data)).data; +export const postLoanWarningDel = async (data: Record): Promise => (await axios.post(`${host}/product/postLoanWarning/delete`, data)).data; -export const collectionAfterLoanDetails = async (): Promise => (await axios.post(`/product/collectionAfterLoan/details`, getIds())).data; +export const collectionAfterLoan = async (data: Record): Promise => + ( + await axios.post(`/product/collectionAfterLoan/list`, { + ...getIds(), + ...data, + }) + ).data; +export const collectionAfterLoanDetails = async (params: Record): Promise => (await axios.post(`/product/collectionAfterLoan/details`, {}, { params })).data; export const collectionAfterLoanSave = async (data: Record): Promise => (await axios.post(`/product/collectionAfterLoan/saveOrUpdate`, data)).data; +export const collectionAfterLoanDel = async (data: Record): Promise => (await axios.post(`${host}/product/collectionAfterLoan/delete`, data)).data; diff --git a/src/views/product/afterLoan/1029.vue b/src/views/product/afterLoan/1029.vue deleted file mode 100644 index 40d8ced..0000000 --- a/src/views/product/afterLoan/1029.vue +++ /dev/null @@ -1,173 +0,0 @@ - - - - - diff --git a/src/views/product/afterLoan/1029/Detail.vue b/src/views/product/afterLoan/1029/Detail.vue new file mode 100644 index 0000000..f2562d4 --- /dev/null +++ b/src/views/product/afterLoan/1029/Detail.vue @@ -0,0 +1,213 @@ + + + + + diff --git a/src/views/product/afterLoan/1029/Index.vue b/src/views/product/afterLoan/1029/Index.vue new file mode 100644 index 0000000..564b9b1 --- /dev/null +++ b/src/views/product/afterLoan/1029/Index.vue @@ -0,0 +1,166 @@ + + + diff --git a/src/views/product/afterLoan/1030.vue b/src/views/product/afterLoan/1030.vue deleted file mode 100644 index 2c10d1d..0000000 --- a/src/views/product/afterLoan/1030.vue +++ /dev/null @@ -1,186 +0,0 @@ - - - - - diff --git a/src/views/product/afterLoan/1030/Detail.vue b/src/views/product/afterLoan/1030/Detail.vue new file mode 100644 index 0000000..6c67f97 --- /dev/null +++ b/src/views/product/afterLoan/1030/Detail.vue @@ -0,0 +1,225 @@ + + + + + diff --git a/src/views/product/afterLoan/1030/Index.vue b/src/views/product/afterLoan/1030/Index.vue new file mode 100644 index 0000000..61c3c1e --- /dev/null +++ b/src/views/product/afterLoan/1030/Index.vue @@ -0,0 +1,166 @@ + + + diff --git a/src/views/product/afterLoan/1031.vue b/src/views/product/afterLoan/1031.vue deleted file mode 100644 index fc75a43..0000000 --- a/src/views/product/afterLoan/1031.vue +++ /dev/null @@ -1,355 +0,0 @@ - - - - - diff --git a/src/views/product/afterLoan/1031/Detail.vue b/src/views/product/afterLoan/1031/Detail.vue new file mode 100644 index 0000000..dfec006 --- /dev/null +++ b/src/views/product/afterLoan/1031/Detail.vue @@ -0,0 +1,396 @@ + + + + + diff --git a/src/views/product/afterLoan/1031/Index.vue b/src/views/product/afterLoan/1031/Index.vue new file mode 100644 index 0000000..973c8c4 --- /dev/null +++ b/src/views/product/afterLoan/1031/Index.vue @@ -0,0 +1,166 @@ + + + diff --git a/src/views/product/afterLoan/1032.vue b/src/views/product/afterLoan/1032.vue deleted file mode 100644 index 86a3bc5..0000000 --- a/src/views/product/afterLoan/1032.vue +++ /dev/null @@ -1,130 +0,0 @@ - - - - - diff --git a/src/views/product/afterLoan/1032/Detail.vue b/src/views/product/afterLoan/1032/Detail.vue new file mode 100644 index 0000000..28020ef --- /dev/null +++ b/src/views/product/afterLoan/1032/Detail.vue @@ -0,0 +1,170 @@ + + + + + diff --git a/src/views/product/afterLoan/1032/Index.vue b/src/views/product/afterLoan/1032/Index.vue new file mode 100644 index 0000000..ec8f7b5 --- /dev/null +++ b/src/views/product/afterLoan/1032/Index.vue @@ -0,0 +1,166 @@ + + + diff --git a/src/views/product/afterLoan/1033.vue b/src/views/product/afterLoan/1033/Detail.vue similarity index 55% rename from src/views/product/afterLoan/1033.vue rename to src/views/product/afterLoan/1033/Detail.vue index e1c4d08..88688e9 100644 --- a/src/views/product/afterLoan/1033.vue +++ b/src/views/product/afterLoan/1033/Detail.vue @@ -1,35 +1,47 @@