diff --git a/src/components/LeftTree/Department/Gwj/index.d.ts b/src/components/LeftTree/Department/Gwj/index.d.ts index d22c86e..04c7fe8 100644 --- a/src/components/LeftTree/Department/Gwj/index.d.ts +++ b/src/components/LeftTree/Department/Gwj/index.d.ts @@ -1,28 +1,15 @@ import type { FC } from "react"; import type { BasicLeftTreeProps } from "../../Basic"; - -/** - * 请求参数 - */ -export interface Params { - /** 企业id */ - eqCorpinfoId?: string; - /** 父级部门id */ - eqParentId?: string; - /** 企业类型 */ - inType?: number[]; - /** 企业类型 */ - enterpriseType?: number[] | number; -} +import type { DepartmentSelectTreeProps } from "../../../SelectTree/Department/Gwj"; /** * 组件属性 */ export interface DepartmentLeftTreeProps extends Omit { /** 请求参数 */ - params?: Params; - /** 查询的企业类型,默认current,current 接收 eqCorpinfoId 或者 eqParentId,all 不接受任何参数,inType 接收 inType 或者 enterpriseType */ - searchType?: "current" | "all" | "inType"; + params?: DepartmentSelectTreeProps["params"]; + /** 查询的企业类型 */ + searchType?: DepartmentSelectTreeProps["searchType"]; } /**