🐛 修复 post 和 dept 在 IDEA 报错的问题
(cherry picked from commit a77173f2ae7b613a3a20b076ecce7473357a46b5)
This commit is contained in:
parent
e39918d794
commit
9a49a8ea40
@ -19,7 +19,7 @@ export interface DeptPageReqVO {
|
||||
|
||||
// 查询部门(精简)列表
|
||||
export const listSimpleDeptApi = async () => {
|
||||
return await request.get({ url: '/system/dept/list-all-simple' })
|
||||
return await request.get({ url: '/system/dept/simple-list' })
|
||||
}
|
||||
|
||||
// 查询部门列表
|
||||
|
@ -29,7 +29,7 @@ export const getPostPageApi = async (params: PostPageReqVO) => {
|
||||
|
||||
// 获取岗位精简信息列表
|
||||
export const listSimplePostsApi = async () => {
|
||||
return await request.get({ url: '/system/post/list-all-simple' })
|
||||
return await request.get({ url: '/system/post/simple-list' })
|
||||
}
|
||||
|
||||
// 查询岗位详情
|
||||
|
@ -247,9 +247,9 @@ export function formatPast2(ms) {
|
||||
* @param cellValue 字段值
|
||||
*/
|
||||
// @ts-ignore
|
||||
export const dateFormatter = (row, column, cellValue) => {
|
||||
export const dateFormatter = (row, column, cellValue): string => {
|
||||
if (!cellValue) {
|
||||
return
|
||||
return ''
|
||||
}
|
||||
return formatDate(cellValue)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user