zy-react-library/components/Select/Personnel/Gwj/index.d.ts

38 lines
835 B
TypeScript
Raw Normal View History

2025-11-06 09:38:23 +08:00
import type { FC } from "react";
import type { BasicSelectProps } from "../../Basic";
/**
*
*/
export interface Params {
/** 企业id */
corpinfoId?: string;
/** 岗位id */
postId?: string;
/** 部门id */
departmentId?: string;
}
/**
*
*/
export interface DepartmentSelectProps extends Omit<BasicSelectProps, "data"> {
/** 请求参数 */
params?: Params;
/** 占位符,默认"人员" */
placeholder?: string;
/** 是否需要企业id默认 false */
isNeedCorpInfoId?: boolean;
/** 是否需要岗位id默认 false */
isNeedPostId?: boolean;
/** 是否需要部门id默认 true */
isNeedDepartmentId?: boolean;
}
/**
*
*/
declare const DepartmentSelect: FC<DepartmentSelectProps>;
export default DepartmentSelect;