mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-07-19 13:35:07 +08:00
refactor: file vxe
This commit is contained in:
@ -15,7 +15,7 @@ export type FileConfigVO = {
|
||||
id: number
|
||||
name: string
|
||||
storage: string
|
||||
primary: number
|
||||
master: boolean
|
||||
visible: boolean
|
||||
config: ConfigType
|
||||
remark: string
|
||||
|
@ -1,7 +1,21 @@
|
||||
import request from '@/config/axios'
|
||||
|
||||
export type FileVO = {
|
||||
id: number
|
||||
path: string
|
||||
url: string
|
||||
size: string
|
||||
type: string
|
||||
createTime: string
|
||||
}
|
||||
|
||||
export interface FilePageReqVO extends PageParam {
|
||||
name?: string
|
||||
createTime?: string[]
|
||||
}
|
||||
|
||||
// 查询文件列表
|
||||
export const getFilePageApi = (params) => {
|
||||
export const getFilePageApi = (params: FilePageReqVO) => {
|
||||
return request.get({ url: '/infra/file/page', params })
|
||||
}
|
||||
|
||||
|
@ -1,8 +0,0 @@
|
||||
export type FileVO = {
|
||||
id: number
|
||||
path: string
|
||||
url: string
|
||||
size: string
|
||||
type: string
|
||||
createTime: string
|
||||
}
|
Reference in New Issue
Block a user