mirror of
https://gitee.com/hhyykk/ipms-sjy-ui.git
synced 2025-07-15 19:35:07 +08:00
Vue3 重构:流程分配规则
This commit is contained in:
@ -42,6 +42,6 @@ export const getUserGroupPage = async (params) => {
|
||||
}
|
||||
|
||||
// 获取用户组精简信息列表
|
||||
export const listSimpleUserGroup = async () => {
|
||||
export const getSimpleUserGroupList = async (): Promise<UserGroupVO[]> => {
|
||||
return await request.get({ url: '/bpm/user-group/list-all-simple' })
|
||||
}
|
||||
|
@ -18,7 +18,7 @@ export interface DeptPageReqVO {
|
||||
}
|
||||
|
||||
// 查询部门(精简)列表
|
||||
export const listSimpleDeptApi = async () => {
|
||||
export const getSimpleDeptList = async (): Promise<DeptVO[]> => {
|
||||
return await request.get({ url: '/system/dept/list-all-simple' })
|
||||
}
|
||||
|
||||
|
@ -16,7 +16,7 @@ export const getPostPage = async (params: PageParam) => {
|
||||
}
|
||||
|
||||
// 获取岗位精简信息列表
|
||||
export const getSimplePostList = async () => {
|
||||
export const getSimplePostList = async (): Promise<PostVO[]> => {
|
||||
return await request.get({ url: '/system/post/list-all-simple' })
|
||||
}
|
||||
|
||||
|
@ -28,7 +28,7 @@ export const getRolePageApi = async (params: RolePageReqVO) => {
|
||||
}
|
||||
|
||||
// 查询角色(精简)列表
|
||||
export const listSimpleRolesApi = async () => {
|
||||
export const getSimpleRoleList = async (): Promise<RoleVO[]> => {
|
||||
return await request.get({ url: '/system/role/list-all-simple' })
|
||||
}
|
||||
|
||||
|
@ -86,6 +86,6 @@ export const updateUserStatusApi = (id: number, status: number) => {
|
||||
}
|
||||
|
||||
// 获取用户精简信息列表
|
||||
export const getSimpleUserList = () => {
|
||||
export const getSimpleUserList = (): Promise<UserVO[]> => {
|
||||
return request.get({ url: '/system/user/list-all-simple' })
|
||||
}
|
||||
|
Reference in New Issue
Block a user