1.0.83 查询用户信息接口

dev
yinq 1 week ago
parent 749769be8b
commit 7032b2b9ce

@ -779,7 +779,8 @@ const getCustomerInfoListSelect = async () => {
/** 查询用户信息下拉框结构 */
const userInfoList = ref([]);
const getUserInfoListSelect = async () => {
const res = await getUserList({ pageNum: 1, pageSize: 1000 });
const params = { } as any;
const res = await getUserList(params);
userInfoList.value = res.data;
};

@ -274,7 +274,7 @@ import ApprovalButton from '@/components/Process/approvalButton.vue';
import { allListDept } from '@/api/system/dept';
import { listProjectType } from '@/api/oa/erp/projectType';
import { ProjectTypeVO } from '@/api/oa/erp/projectType/types';
import { listUser } from '@/api/system/user';
import { getUserList } from '@/api/system/user';
import { UserQuery } from '@/api/system/user/types';
import { CodeRuleEnum, FlowCodeEnum, ProjectCategoryEnum } from '@/enums/OAEnum';
import { listProjectContracts, addProjectContracts, delProjectContracts, getErpProjectContractsList } from '@/api/oa/erp/projectContracts';
@ -326,9 +326,9 @@ const getDeptInfoListSelect = async () => {
/** 查询用户列表 */
const userList = ref([]);
const getUserList = async () => {
const params: UserQuery = { pageNum: 1, pageSize: 9999 };
const res = await listUser(params);
const getUserSelectList = async () => {
const params = { } as any;
const res = await getUserList(params);
userList.value = res.rows;
};
@ -533,7 +533,7 @@ const submitForm = (status: string, mode: boolean) => {
//
const loadSelectOptions = () => {
getDeptInfoListSelect();
getUserList();
getUserSelectList();
};
onMounted(async () => {

@ -278,8 +278,7 @@ import ApprovalButton from '@/components/Process/approvalButton.vue';
import { allListDept } from '@/api/system/dept';
import { listProjectType } from '@/api/oa/erp/projectType';
import { ProjectTypeVO } from '@/api/oa/erp/projectType/types';
import { listUser } from '@/api/system/user';
import { UserQuery } from '@/api/system/user/types';
import { getUserList } from '@/api/system/user';
import { CodeRuleEnum, FlowCodeEnum, ProjectCategoryEnum } from '@/enums/OAEnum';
import { getErpProjectContractsList } from '@/api/oa/erp/projectContracts';
import { listContractInfo } from '@/api/oa/erp/contractInfo';
@ -328,10 +327,10 @@ const getDeptInfoListSelect = async () => {
/** 查询用户列表 */
const userList = ref([]);
const getUserList = async () => {
const params: UserQuery = { pageNum: 1, pageSize: 9999 };
const res = await listUser(params);
userList.value = res.rows;
const getUserSelectList = async () => {
const params = { } as any;
const res = await getUserList(params);
userList.value = res.data;
};
const projectTypeOptions = ref<ProjectTypeVO[]>([]);
@ -529,7 +528,7 @@ const submitForm = (status: string, mode: boolean) => {
//
const loadSelectOptions = () => {
getDeptInfoListSelect();
getUserList();
getUserSelectList();
};
onMounted(async () => {

@ -274,7 +274,7 @@ import ApprovalButton from '@/components/Process/approvalButton.vue';
import { allListDept } from '@/api/system/dept';
import { listProjectType } from '@/api/oa/erp/projectType';
import { ProjectTypeVO } from '@/api/oa/erp/projectType/types';
import { listUser } from '@/api/system/user';
import { getUserList } from '@/api/system/user';
import { UserQuery } from '@/api/system/user/types';
import { CodeRuleEnum, FlowCodeEnum, ProjectCategoryEnum } from '@/enums/OAEnum';
import { listProjectContracts, addProjectContracts, delProjectContracts, getErpProjectContractsList } from '@/api/oa/erp/projectContracts';
@ -326,9 +326,9 @@ const getDeptInfoListSelect = async () => {
/** 查询用户列表 */
const userList = ref([]);
const getUserList = async () => {
const params: UserQuery = { pageNum: 1, pageSize: 9999 };
const res = await listUser(params);
const getUserSelectList = async () => {
const params = { } as any;
const res = await getUserList(params);
userList.value = res.rows;
};
@ -533,7 +533,7 @@ const submitForm = (status: string, mode: boolean) => {
//
const loadSelectOptions = () => {
getDeptInfoListSelect();
getUserList();
getUserSelectList();
};
onMounted(async () => {

Loading…
Cancel
Save