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

38 lines
835 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

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;