zy-react-library/src/components/SelectTree/Department/Gwj/index.d.ts

38 lines
981 B
TypeScript
Raw Normal View History

import type { FC } from "react";
import type { BasicSelectTreeProps } from "../../Basic";
2026-01-07 15:35:29 +08:00
/**
*
*/
export interface Params {
/** 企业id */
eqCorpinfoId?: string;
/** 父级部门id */
eqParentId?: string;
/** 企业类型 */
corpinfoTypeList?: number[];
}
/**
*
*/
export interface DepartmentSelectTreeProps extends Omit<BasicSelectTreeProps, "treeData" | "placeholder" | "nameKey" | "idKey" | "childrenKey"> {
/** 请求参数 */
2025-11-04 08:39:32 +08:00
params?: Params;
/** 占位符,默认"部门" */
2025-11-06 09:38:23 +08:00
placeholder?: string;
/** 是否需要企业id默认 false */
isNeedCorpInfoId?: boolean;
/** 是否需要父级部门id默认 false */
isNeedParentId?: boolean;
2026-01-07 15:35:29 +08:00
/** 查询当前登陆人部门还是所有企业部门 */
searchType?: "current" | "all" | "company";
}
/**
*
*/
declare const DepartmentSelectTree: FC<DepartmentSelectTreeProps>;
export default DepartmentSelectTree;