BUG
parent
7319d24cbc
commit
73f6f15c54
|
@ -48,7 +48,7 @@ export const getReturnList = async (params) => {
|
|||
}
|
||||
|
||||
// 回退
|
||||
export const okRollback = async (data) => {
|
||||
export const returnTask = async (data) => {
|
||||
return await request.put({ url: '/bpm/task/rollback', data })
|
||||
}
|
||||
|
||||
|
|
|
@ -22,6 +22,10 @@ export const listSimpleDeptApi = async () => {
|
|||
return await request.get({ url: '/system/dept/simple-list' })
|
||||
}
|
||||
|
||||
export const getSimpleDeptList = async () => {
|
||||
return await request.get({ url: '/system/dept/simple-list' })
|
||||
}
|
||||
|
||||
// 查询部门列表
|
||||
export const getDeptPageApi = async (params: DeptPageReqVO) => {
|
||||
return await request.get({ url: '/system/dept/list', params })
|
||||
|
|
|
@ -28,6 +28,10 @@ export const listSimpleMenusApi = () => {
|
|||
return request.get({ url: '/system/menu/list-all-simple' })
|
||||
}
|
||||
|
||||
export const getSimpleMenusList = () => {
|
||||
return request.get({ url: '/system/menu/list-all-simple' })
|
||||
}
|
||||
|
||||
// 查询菜单列表
|
||||
export const getMenuListApi = (params: MenuPageReqVO) => {
|
||||
return request.get({ url: '/system/menu/list', params })
|
||||
|
|
|
@ -42,6 +42,6 @@ export const deleteNoticeApi = (id: number) => {
|
|||
}
|
||||
|
||||
// 推送公告
|
||||
export const pushNotice = (id: number) => {
|
||||
export const pushNoticeApi = (id: number) => {
|
||||
return request.post({ url: '/system/notice/push?id=' + id })
|
||||
}
|
||||
|
|
|
@ -92,5 +92,9 @@ export const updateUserStatusApi = (id: number, status: number) => {
|
|||
|
||||
// 获取用户精简信息列表
|
||||
export const getListSimpleUsersApi = () => {
|
||||
return request.get({ url: '/system/user/list-all-simple' })
|
||||
return request.get({ url: '/system/user/simple-list' })
|
||||
}
|
||||
|
||||
export const getSimpleUserList = () => {
|
||||
return request.get({ url: '/system/user/simple-list' })
|
||||
}
|
||||
|
|
|
@ -218,7 +218,7 @@ const getCode = async () => {
|
|||
//获取租户ID
|
||||
const getTenantId = async () => {
|
||||
if (loginData.tenantEnable) {
|
||||
const res = await LoginApi.getTenantIdByName(loginData.loginForm.tenantName)
|
||||
const res = await LoginApi.getTenantIdByNameApi(loginData.loginForm.tenantName)
|
||||
authUtil.setTenantId(res)
|
||||
}
|
||||
}
|
||||
|
@ -274,7 +274,7 @@ const handleLogin = async (params) => {
|
|||
const code = route?.query?.code as string
|
||||
const state = route?.query?.state as string
|
||||
|
||||
const res = await LoginApi.login({
|
||||
const res = await LoginApi.loginApi({
|
||||
// 账号密码登录
|
||||
username: loginData.loginForm.username,
|
||||
password: loginData.loginForm.password,
|
||||
|
|
Loading…
Reference in New Issue