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 +