mirror of
https://gitee.com/hhyykk/ipms-sjy-ui.git
synced 2025-07-15 11:25:07 +08:00
重构:微调【数据源菜单】的重构
This commit is contained in:
@ -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 })
|
||||
}
|
||||
|
Reference in New Issue
Block a user