mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-07-13 02:25:06 +08:00
1. 将 BasePage 重命名为 PageParam
2. 增加代码注释 3. 调整 menu 重置表单的逻辑,避免写 2 遍 null 的数据
This commit is contained in:
@ -10,7 +10,7 @@ export interface PostVO {
|
||||
createTime?: string
|
||||
}
|
||||
|
||||
export interface PostPageReqVO extends BasePage {
|
||||
export interface PostPageReqVO extends PageParam {
|
||||
code?: string
|
||||
name?: string
|
||||
status?: number
|
||||
@ -31,6 +31,7 @@ export const getPostPageApi = async (params: PostPageReqVO) => {
|
||||
export const listSimplePostsApi = async () => {
|
||||
return await request.get({ url: '/system/post/list-all-simple' })
|
||||
}
|
||||
|
||||
// 查询岗位详情
|
||||
export const getPostApi = async (id: number) => {
|
||||
return await request.get({ url: '/system/post/get?id=' + id })
|
||||
|
Reference in New Issue
Block a user