zy-react-library 1.1.44 → 1.1.45

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,28 +1,15 @@
1
1
  import type { FC } from "react";
2
2
  import type { BasicLeftTreeProps } from "../../Basic";
3
-
4
- /**
5
- * 请求参数
6
- */
7
- export interface Params {
8
- /** 企业id */
9
- eqCorpinfoId?: string;
10
- /** 父级部门id */
11
- eqParentId?: string;
12
- /** 企业类型 */
13
- inType?: number[];
14
- /** 企业类型 */
15
- enterpriseType?: number[] | number;
16
- }
3
+ import type { DepartmentSelectTreeProps } from "../../../SelectTree/Department/Gwj";
17
4
 
18
5
  /**
19
6
  * 组件属性
20
7
  */
21
8
  export interface DepartmentLeftTreeProps extends Omit<BasicLeftTreeProps, "treeData" | "nameKey" | "idKey" | "childrenKey"> {
22
9
  /** 请求参数 */
23
- params?: Params;
24
- /** 查询的企业类型,默认current,current 接收 eqCorpinfoId 或者 eqParentId,all 不接受任何参数,inType 接收 inType 或者 enterpriseType */
25
- searchType?: "current" | "all" | "inType";
10
+ params?: DepartmentSelectTreeProps["params"];
11
+ /** 查询的企业类型 */
12
+ searchType?: DepartmentSelectTreeProps["searchType"];
26
13
  }
27
14
 
28
15
  /**
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "zy-react-library",
3
3
  "private": false,
4
- "version": "1.1.44",
4
+ "version": "1.1.45",
5
5
  "type": "module",
6
6
  "description": "",
7
7
  "author": "LiuJiaNan",