diff --git a/src/views/infra/apiErrorLog/index.vue b/src/views/infra/apiErrorLog/index.vue index 174a604cc..7164d5494 100644 --- a/src/views/infra/apiErrorLog/index.vue +++ b/src/views/infra/apiErrorLog/index.vue @@ -159,7 +159,7 @@ import { DICT_TYPE, getDictOptions } from '@/utils/dict' import download from '@/utils/download' import { formatDate } from '@/utils/formatTime' import * as ApiErrorLogApi from '@/api/infra/apiErrorLog' -import ApiErrorLogDetail from './detail.vue' +import ApiErrorLogDetail from './ApiErrorLogDetail.vue' import { InfraApiErrorLogProcessStatusEnum } from '@/utils/constants' const message = useMessage() // 消息弹窗 @@ -183,7 +183,7 @@ const exportLoading = ref(false) // 导出的加载中 const getList = async () => { loading.value = true try { - const data = await ApiErrorLogApi.getApiErrorLogPageApi(queryParams) + const data = await ApiErrorLogApi.getApiErrorLogPage(queryParams) list.value = data.list total.value = data.total } finally { @@ -214,7 +214,7 @@ const handleProcessClick = async (processStatus: number, type: string, id: numbe // 操作的二次确认 await message.confirm('确认标记为' + type + '?') // 执行操作 - await ApiErrorLogApi.updateApiErrorLogPageApi(id, processStatus) + await ApiErrorLogApi.updateApiErrorLogPage(id, processStatus) await message.success(type) // 刷新列表 await getList() @@ -228,7 +228,7 @@ const handleExport = async () => { await message.exportConfirm() // 发起导出 exportLoading.value = true - const data = await ApiErrorLogApi.exportApiErrorLogApi(queryParams) + const data = await ApiErrorLogApi.exportApiErrorLog(queryParams) download.excel(data, '错误日志.xls') } catch { } finally {