refactor: vxe crud

This commit is contained in:
xingyu4j
2022-11-13 13:16:11 +08:00
parent 7cbd6cfb68
commit 120417b792
16 changed files with 190 additions and 119 deletions

View File

@@ -1,8 +1,24 @@
import request from '@/config/axios'
import type { NoticeVO } from './types'
export interface NoticeVO {
id: number
title: string
type: number
content: string
status: number
remark: string
creator: string
createTime: string
updater: string
updateTime: string
}
export interface NoticePageReqVO extends BasePage {
title?: string
status?: number
}
// 查询公告列表
export const getNoticePageApi = (params) => {
export const getNoticePageApi = (params: NoticePageReqVO) => {
return request.get({ url: '/system/notice/page', params })
}