-- fix bug

This commit is contained in:
yuping
2023-02-24 20:44:09 +08:00
parent 2396a4fcec
commit 3c6ec2b9e9
2 changed files with 5 additions and 3 deletions

View File

@@ -1,4 +1,6 @@
// export const USER_LIST = '/userbasic/user/list post' //学员列表带分页
export const USER_LIST_PAGE = '/userbasic/user/list post'
//学员列表 没有分页数据 只能通过名称检索 速度较快
export const USER_LIST = '/userbasic/user/searchList post' export const USER_LIST = '/userbasic/user/searchList post'
export const ORG_LIST = '/userbasic/org/list post' export const ORG_LIST = '/userbasic/org/list post'
export const ORG_CHILD_LIST = '/userbasic/org/info post' export const ORG_CHILD_LIST = '/userbasic/org/info post'

View File

@@ -295,7 +295,7 @@ import {
AUDIENCE_LIST, AUDIENCE_LIST,
ORG_CHILD_LIST, ORG_CHILD_LIST,
ORG_LIST, ORG_LIST,
USER_LIST, USER_LIST, USER_LIST_PAGE,
} from "@/api/ThirdApi"; } from "@/api/ThirdApi";
import { import {
saveStu, saveStu,
@@ -463,7 +463,7 @@ const {
loading: stuLoading, loading: stuLoading,
total: stuTotal, total: stuTotal,
reset: stuReset, reset: stuReset,
} = useBoeApiPage(USER_LIST, nameSearch.value, { } = useBoeApiPage(USER_LIST_PAGE, nameSearch.value, {
init: false, init: false,
result: (res) => res.result.userInfoList, result: (res) => res.result.userInfoList,
totalPage: (res) => res.result.totalPage, totalPage: (res) => res.result.totalPage,