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;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 组件属性
|
|
|
|
|
|
*/
|
2025-11-06 14:31:25 +08:00
|
|
|
|
export interface PersonnelSelectProps extends Omit<BasicSelectProps, "data"> {
|
2025-11-06 09:38:23 +08:00
|
|
|
|
/** 请求参数 */
|
|
|
|
|
|
params?: Params;
|
|
|
|
|
|
/** 占位符,默认"人员" */
|
|
|
|
|
|
placeholder?: string;
|
|
|
|
|
|
/** 是否需要企业id,默认 false */
|
|
|
|
|
|
isNeedCorpInfoId?: boolean;
|
|
|
|
|
|
/** 是否需要岗位id,默认 false */
|
|
|
|
|
|
isNeedPostId?: boolean;
|
|
|
|
|
|
/** 是否需要部门id,默认 true */
|
|
|
|
|
|
isNeedDepartmentId?: boolean;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
2025-11-06 14:31:25 +08:00
|
|
|
|
* 人员下拉组件(港务局版本)
|
2025-11-06 09:38:23 +08:00
|
|
|
|
*/
|
2025-11-06 14:31:25 +08:00
|
|
|
|
declare const PersonnelSelect: FC<PersonnelSelectProps>;
|
2025-11-06 09:38:23 +08:00
|
|
|
|
|
2025-11-06 14:31:25 +08:00
|
|
|
|
export default PersonnelSelect;
|