From b5b779cd2fc35bc7e7406b33460069b40574f53f Mon Sep 17 00:00:00 2001 From: admin <546610682@qq.com> Date: Sat, 20 Apr 2024 16:25:52 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=AB=8B=E9=A1=B9=E5=AE=A1?= =?UTF-8?q?=E6=A0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/apply/apply/index.ts | 4 ++-- src/views/apply/apply/index.vue | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/api/apply/apply/index.ts b/src/api/apply/apply/index.ts index 0597b117b..88e1b0cc3 100644 --- a/src/api/apply/apply/index.ts +++ b/src/api/apply/apply/index.ts @@ -108,9 +108,9 @@ export const MainApi = { return await request.get({ url: `/apply/main/funds/list-by-apply-id?applyId=` + applyId }) }, getRecordList: async (params: any) => { - return await request.get({ url: `/apply/main/aduit/records?itmeId=` + params }) + return await request.get({ url: `/apply/main/audit/records?itemId=` + params }) }, saveRecordList: async (data: any) => { - return await request.post({ url: `/apply/main/aduit`, data }) + return await request.post({ url: `/apply/main/audit`, data }) }, } diff --git a/src/views/apply/apply/index.vue b/src/views/apply/apply/index.vue index b26da3ba4..00cf4d7c5 100644 --- a/src/views/apply/apply/index.vue +++ b/src/views/apply/apply/index.vue @@ -243,7 +243,7 @@ const saveListenerFiled = async () => { if (!validateStatus) return // 验证不通过直接返回 try { var param ={ - itmeId: listid.value, + itemId: listid.value, status:listenerFieldForm.value.status, comment:listenerFieldForm.value.comment } @@ -258,7 +258,7 @@ const aduitRecord = async (id?: number) => { try { const data = await MainApi.getRecordList(id) Visible1.value = true - listRecord.value = data.list + listRecord.value = data.list } finally { } } @@ -277,4 +277,4 @@ onMounted(() => { margin: 0; padding:0 } - \ No newline at end of file +