diff --git a/src/api/hr/org/index.ts b/src/api/hr/org/index.ts index 81db9e2e6..d95a906c2 100644 --- a/src/api/hr/org/index.ts +++ b/src/api/hr/org/index.ts @@ -1,6 +1,6 @@ import request from '@/utils/request'; import { AxiosPromise } from 'axios'; -import { searchFormTitle,orgClassListCont,addOrgTypesCont,orgClassCont,editOrgTypeEditOrDel,searchOrgCont,orgInfo,addOrgInfo,editOrgDel,searchTeamList,orgTeamListCont,orgFormTree } from './type'; +import { searchFormTitle,orgClassListCont,addOrgTypesCont,orgClassCont,editOrgTypeEditOrDel,searchOrgCont,orgInfo,addOrgInfo,editOrgDel,searchTeamList,orgTeamListCont,orgFormTree,archivesList } from './type'; /** * 获取组织类别 */ @@ -112,3 +112,13 @@ export function getTeamListCont(data: searchTeamList): AxiosPromise{ + return request({ + url: '/hrapi/org/search_user_list', + method: 'post', + data: data + }); +} diff --git a/src/api/hr/org/type.ts b/src/api/hr/org/type.ts index 6ef906152..566d07992 100644 --- a/src/api/hr/org/type.ts +++ b/src/api/hr/org/type.ts @@ -159,3 +159,18 @@ export interface searchCriteriaForPeople extends PageQuery{ orgid?:number; usercont?:string; } + +export interface criteriaForPeopleList{ + id: number + userkey: string + number: string + name: string + icon: string + company: number + companyname: string + maindeparment: number + maindeparmentname: string + adminorg: number + adminorgname: string +} +export type archivesList = PageResult diff --git a/src/components/DesignForm/public/expand/user.vue b/src/components/DesignForm/public/expand/user.vue index 72f54fbed..484bbf77d 100644 --- a/src/components/DesignForm/public/expand/user.vue +++ b/src/components/DesignForm/public/expand/user.vue @@ -5,6 +5,7 @@ -->