From ec385dda774a0e3d4d320e62e98c80aaa09769d4 Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Thu, 28 Mar 2024 18:37:47 +0800 Subject: [PATCH] =?UTF-8?q?=E9=93=B6=E8=A1=8C=E7=9B=B8=E5=85=B31.0.2?= =?UTF-8?q?=E9=9C=80=E6=B1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/bank.ts | 3 + src/api/config.ts | 4 +- src/layout/components/AppSidebar/Menu.vue | 2 +- src/views/product/bank/Add.vue | 521 +++++++++++----------- src/views/product/bank/Approve.vue | 118 ++--- src/views/product/bank/Config.vue | 134 +++--- src/views/product/bank/Detail.vue | 6 +- src/views/product/bank/Info.vue | 57 +-- src/views/product/bank/List.vue | 26 +- src/views/product/fund/Add.vue | 4 +- 10 files changed, 443 insertions(+), 432 deletions(-) diff --git a/src/api/bank.ts b/src/api/bank.ts index 8c4292e..92ca63e 100644 --- a/src/api/bank.ts +++ b/src/api/bank.ts @@ -16,6 +16,8 @@ export const save = async (data: Record): Promise => (await ax export const riskSave = async (data: Record): Promise => (await axios.post(`/product/managerOfRiskControl/bankRiskControlAllocation/save`, data)).data; export const riskUpdate = async (data: Record): Promise => (await axios.post(`/product/managerOfRiskControl/bankRiskControlAllocation/update`, data)).data; export const riskById = async (id: number): Promise => (await axios.post(`/product/managerOfRiskControl/bankRiskControlAllocation/findById?id=${id}`)).data; +export const riskControlDetailsAreDisplayed = async (id: number): Promise => + (await axios.post(`/product/managerOfRiskControl/bankRiskControlAllocation/riskControlDetailsAreDisplayed?id=${id}`)).data; export const examineAndApprove = async (id: number | string, opinionDescription: string, status: number, approvalTime: string): Promise => (await axios.post(`/product/product/bank/products/examineAndApprove?id=${id}&opinionDescription=${opinionDescription}&status=${status}&approvalTime=${approvalTime}`)).data; export const update = async (data: Record): Promise => (await axios.post(`/product/product/bank/products/update`, data)).data; @@ -23,3 +25,4 @@ export const cancelCollection = async (id: number): Promise => (await axios export const collect = async (data: Record): Promise => (await axios.post(`/product/checkPointCollect/collect`, data)).data; export const submitOpe = async (data: Record): Promise => (await axios.post(`/product/product/bank/operation/submit`, data)).data; export const statistics = async (data: Record): Promise => (await axios.post(`/product/product/bank/products/statistics`, data)).data; +export const approvalRecord = async (params: Record): Promise => (await axios.post(`/product/product/bank/products/approvalRecord`, {}, { params })).data; diff --git a/src/api/config.ts b/src/api/config.ts index b0ca9ef..3458ba4 100644 --- a/src/api/config.ts +++ b/src/api/config.ts @@ -20,6 +20,6 @@ export const checkPointListByStu = async (projectId: number, displayCollection?: export const getTheCurrentUserName = async (): Promise => (await axios.post('/product/product/bank/products/getTheCurrentUserName')).data; export const getOperationTime = async (checkpointId: number, projectId: number): Promise => - (await axios.post(`/product/product/bank/products/getOperationTime?checkPointId=${checkpointId}&projectId=${projectId}`)).data; + (await axios.post(`/product/product/bank/products/getOperationTime?checkpointId=${checkpointId}&projectId=${projectId}`)).data; export const saveOperationTime = async (checkpointId: number, projectId: number, operationTime: string): Promise => - (await axios.post(`/product/product/bank/products/saveOperationTime?checkPointId=${checkpointId}&projectId=${projectId}&operationTime=${operationTime}`)).data; + (await axios.post(`/product/product/bank/products/saveOperationTime?checkpointId=${checkpointId}&projectId=${projectId}&operationTime=${operationTime}`)).data; diff --git a/src/layout/components/AppSidebar/Menu.vue b/src/layout/components/AppSidebar/Menu.vue index c6bc840..e3a0059 100644 --- a/src/layout/components/AppSidebar/Menu.vue +++ b/src/layout/components/AppSidebar/Menu.vue @@ -149,7 +149,7 @@ const toPage = (path: string) => { // 获取产品数量 const getNum = async (status?: number, type?: number) => { const { data } = await statistics({ - checkPointId: levelId, + checkpointId: levelId, projectId, status, productType: type, diff --git a/src/views/product/bank/Add.vue b/src/views/product/bank/Add.vue index 56987da..b8036a2 100644 --- a/src/views/product/bank/Add.vue +++ b/src/views/product/bank/Add.vue @@ -2,22 +2,8 @@
- -
-
- 审批意见: - {{ getStatus(+info?.status) }} -
-
- 意见描述: - {{ info.opinionDescription }} -
-

审查日期:{{ info.approvalTime }}

-

审查员:{{ userName }}

-
- - - - - - - - - - - - - -
- -