From 7ff037a3901415dcd23c61d0939b5d669d4a9bf0 Mon Sep 17 00:00:00 2001 From: dtsz <314942997@qq.com> Date: Thu, 23 Mar 2023 12:41:44 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E9=94=99=E8=AF=AF=E6=97=A5=E5=BF=97=20bug?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/infra/apiErrorLog/index.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 {