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

27 lines
903 B
TypeScript
Raw Permalink Normal View History

import type { FC } from "react";
import type { Params } from "../../../LeftTree/Department/Gwj";
import type { BasicSelectTreeProps } from "../../Basic";
/**
*
*/
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;
/** 查询当前登陆人部门还是所有企业部门all 的话 isNeedCorpInfoId、isNeedParentId、params 不生效 */
searchType?: "current" | "all";
}
/**
*
*/
declare const DepartmentSelectTree: FC<DepartmentSelectTreeProps>;
export default DepartmentSelectTree;