25 lines
685 B
TypeScript
25 lines
685 B
TypeScript
import type { FC } from "react";
|
||
import type { BasicSelectTreeProps } from "../../Basic";
|
||
import { Params } from "../../../LeftTree/Department/Gwj";
|
||
|
||
/**
|
||
* 组件属性
|
||
*/
|
||
export interface DepartmentSelectTreeProps extends Omit<BasicSelectTreeProps, "treeData"> {
|
||
/** 请求参数 */
|
||
params?: Params;
|
||
/** 占位符,默认"部门“ */
|
||
placeholder?: string;
|
||
/** 是否需要企业id,默认 false */
|
||
isNeedCorpInfoId?: boolean;
|
||
/** 是否需要父级部门id,默认 false */
|
||
isNeedParentId?: boolean;
|
||
}
|
||
|
||
/**
|
||
* 基础下拉树组件(港务局版本)
|
||
*/
|
||
declare const DepartmentSelectTree: FC<DepartmentSelectTreeProps>;
|
||
|
||
export default DepartmentSelectTree;
|