zy-react-library 1.0.38 → 1.0.39
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,12 +1,20 @@
|
|
|
1
1
|
import type { FC } from "react";
|
|
2
2
|
import type { BasicLeftTreeProps } from "../../Basic";
|
|
3
3
|
|
|
4
|
+
export interface Params {
|
|
5
|
+
/** 企业id */
|
|
6
|
+
eqCorpInfoId?: string;
|
|
7
|
+
/** 父级部门id */
|
|
8
|
+
eqParentId?: string;
|
|
9
|
+
[key: string]: any;
|
|
10
|
+
}
|
|
11
|
+
|
|
4
12
|
/**
|
|
5
13
|
* 组件属性
|
|
6
14
|
*/
|
|
7
15
|
export interface DepartmentLeftTreeProps extends Omit<BasicLeftTreeProps, "treeData"> {
|
|
8
16
|
/** 请求参数 */
|
|
9
|
-
params?:
|
|
17
|
+
params?: Params;
|
|
10
18
|
}
|
|
11
19
|
|
|
12
20
|
/**
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import type { FC } from "react";
|
|
2
2
|
import type { BasicSelectTreeProps } from "../../Basic";
|
|
3
|
+
import { Params } from "../../../LeftTree/Department/Gwj";
|
|
3
4
|
|
|
4
5
|
/**
|
|
5
6
|
* 组件属性
|
|
6
7
|
*/
|
|
7
8
|
export interface DepartmentSelectTreeProps extends Omit<BasicSelectTreeProps, "treeData" | "placeholder"> {
|
|
8
9
|
/** 请求参数 */
|
|
9
|
-
params?:
|
|
10
|
+
params?: Params;
|
|
10
11
|
}
|
|
11
12
|
|
|
12
13
|
/**
|