From a1292fbf0ab3f212e533b32c44f974c94680d958 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Sat, 11 Mar 2023 17:57:22 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=8D=E6=9E=84=EF=BC=9A=E5=BE=AE=E8=B0=83?= =?UTF-8?q?=E3=80=90=E6=95=B0=E6=8D=AE=E6=BA=90=E8=8F=9C=E5=8D=95=E3=80=91?= =?UTF-8?q?=E7=9A=84=E9=87=8D=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/infra/config/index.ts | 9 +-------- src/views/infra/dataSourceConfig/form.vue | 6 ++---- src/views/infra/dataSourceConfig/index.vue | 8 ++++++-- 3 files changed, 9 insertions(+), 14 deletions(-) diff --git a/src/api/infra/config/index.ts b/src/api/infra/config/index.ts index c6d3772e..07fb52fd 100644 --- a/src/api/infra/config/index.ts +++ b/src/api/infra/config/index.ts @@ -12,13 +12,6 @@ export interface ConfigVO { createTime: Date } -export interface ConfigExportReqVO { - name?: string - key?: string - type?: number - createTime?: Date[] -} - // 查询参数列表 export const getConfigPage = (params: PageParam) => { return request.get({ url: '/infra/config/page', params }) @@ -50,6 +43,6 @@ export const deleteConfig = (id: number) => { } // 导出参数 -export const exportConfigApi = (params: ConfigExportReqVO) => { +export const exportConfigApi = (params) => { return request.download({ url: '/infra/config/export', params }) } diff --git a/src/views/infra/dataSourceConfig/form.vue b/src/views/infra/dataSourceConfig/form.vue index e0cac78b..b050a1c8 100644 --- a/src/views/infra/dataSourceConfig/form.vue +++ b/src/views/infra/dataSourceConfig/form.vue @@ -31,8 +31,6 @@