refactor: datasource vxe

This commit is contained in:
xingyu4j
2022-11-22 15:46:32 +08:00
parent 3dd2203803
commit 519b08f251
4 changed files with 169 additions and 194 deletions

View File

@ -11,6 +11,7 @@ export type ConfigVO = {
remark: string
createTime: string
}
export interface ConfigPageReqVO extends PageParam {
name?: string
type?: number

View File

@ -1,5 +1,13 @@
import request from '@/config/axios'
import type { DataSourceConfigVO } from './types'
export type DataSourceConfigVO = {
id: number
name: string
url: string
username: string
password: string
createTime: string
}
// 查询数据源配置列表
export const getDataSourceConfigListApi = () => {