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 }}

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