From ca958c882f17c4ff9bfe1f5f202f5aaf7d1f617d Mon Sep 17 00:00:00 2001 From: LiuJiaNan <15703339975@163.com> Date: Sat, 7 Feb 2026 16:31:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96DepartmentLeftTreeProps?= =?UTF-8?q?=E7=9A=84=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../LeftTree/Department/Gwj/index.d.ts | 21 ++++--------------- 1 file changed, 4 insertions(+), 17 deletions(-) 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"]; } /**