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…
Reference in New Issue
Block a user