From b14a771cc9ec41c1a5a85b9adc51a88618c389f3 Mon Sep 17 00:00:00 2001 From: LiuJiaNan <15703339975@163.com> Date: Thu, 5 Feb 2026 10:32:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96DepartmentSelectTree=E7=9A=84?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../SelectTree/Department/Gwj/index.d.ts | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/src/components/SelectTree/Department/Gwj/index.d.ts b/src/components/SelectTree/Department/Gwj/index.d.ts index 63b77dc..24c4e4a 100644 --- a/src/components/SelectTree/Department/Gwj/index.d.ts +++ b/src/components/SelectTree/Department/Gwj/index.d.ts @@ -1,6 +1,16 @@ import type { FC } from "react"; import type { BasicSelectTreeProps } from "../../Basic"; +/** + * 企业类型枚举(用于 inType) + */ +type InType = 0 | 1 | 2 | 3 | 4 | 5 | 6; + +/** + * 企业类型枚举(用于 enterpriseType) + */ +type EnterpriseType = 1 | 2 | 3; + /** * 请求参数 */ @@ -9,10 +19,10 @@ export interface Params { eqCorpinfoId?: string; /** 父级部门id */ eqParentId?: string; - /** 企业类型 0-普通企业,1-集团单位,2-股份单位,3-相关方企业,4-货主单位,5-驻港单位 6-物资中心 */ - inType?: number[]; - /** 企业类型 1:监管 2:企业 3:相关方 */ - enterpriseType?: number[] | number; + /** 企业类型 0-普通企业 1-集团单位 2-股份单位 3-相关方企业 4-货主单位 5-驻港单位 6-物资中心 */ + inType?: InType[]; + /** 企业类型 1-监管 2-企业 3-相关方 */ + enterpriseType?: EnterpriseType | EnterpriseType[]; } /**