yootd 0.0.68 → 0.0.70
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.
- package/LICENSE +21 -21
- package/README.md +43 -43
- package/dist/Preview/components/preview/phone.scss +8 -8
- package/dist/Preview/index.scss +35 -35
- package/dist/Preview/types/type.d.ts +22 -22
- package/dist/anchor/index.scss +23 -23
- package/dist/approval-process/index.scss +95 -95
- package/dist/areas/index.scss +21 -21
- package/dist/areas/types/types.d.ts +40 -40
- package/dist/areas-treeSelect/index.scss +6 -6
- package/dist/areas-treeSelect/types/type.d.ts +39 -39
- package/dist/aside/components/SortableItem.scss +111 -111
- package/dist/aside/index.scss +46 -46
- package/dist/badge/index.scss +5 -5
- package/dist/buildings/types/types.d.ts +21 -21
- package/dist/button/index.scss +30 -30
- package/dist/cascader/index.scss +5 -5
- package/dist/courses/types/types.d.ts +18 -18
- package/dist/department/index.scss +6 -6
- package/dist/department/types/types.d.ts +23 -23
- package/dist/dictionary/types/types.d.ts +14 -14
- package/dist/drawer-modal/index.scss +42 -42
- package/dist/drawer-modal/types/types.d.ts +3 -3
- package/dist/dropdown/assets/arrow-down.svg +5 -5
- package/dist/dropdown-select/index.scss +6 -6
- package/dist/dropdown-select/types/type.d.ts +18 -18
- package/dist/empty/index.scss +15 -15
- package/dist/export/index.scss +6 -6
- package/dist/go-back/components/index.scss +5 -5
- package/dist/go-back/index.scss +24 -24
- package/dist/group-title/index.scss +31 -31
- package/dist/hooks/useBem.js +10 -10
- package/dist/image/index.scss +26 -26
- package/dist/input/index.scss +5 -5
- package/dist/job-title/types/types.d.ts +17 -17
- package/dist/modal/index.scss +76 -76
- package/dist/pagination/index.scss +47 -47
- package/dist/role/types/types.d.ts +22 -22
- package/dist/school/index.scss +21 -21
- package/dist/school/types/types.d.ts +85 -85
- package/dist/state/index.scss +89 -89
- package/dist/steps/index.scss +32 -32
- package/dist/student-dropdown/types/types.d.ts +44 -44
- package/dist/table/components/primary-header-row/index.js +12 -4
- package/dist/table/components/primary-header-row/index.scss +67 -58
- package/dist/table/components/primary-tbody-row/index.scss +5 -5
- package/dist/table/index.d.ts +4 -0
- package/dist/table/index.js +6 -2
- package/dist/table/index.scss +33 -33
- package/dist/tabs/index.scss +86 -86
- package/dist/tag/index.scss +4 -4
- package/dist/teacher/types/types.d.ts +33 -33
- package/dist/tree/index.scss +25 -25
- package/dist/upload/index.scss +115 -115
- package/dist/user-dropdown/types/types.d.ts +45 -45
- package/dist/video-player/index.js +1 -0
- package/dist/video-player/index.scss +310 -310
- package/dist/year-term/index.scss +21 -21
- package/dist/zones/index.module.scss +23 -23
- package/dist/zones/types/types.d.ts +26 -26
- package/package.json +1 -1
- package/dist/table/index.module.scss +0 -9
@@ -1,39 +1,39 @@
|
|
1
|
-
import { TreeSelectProps } from 'antd';
|
2
|
-
|
3
|
-
export interface PageData<T> {
|
4
|
-
content: T[];
|
5
|
-
page: {
|
6
|
-
number: number;
|
7
|
-
size: number;
|
8
|
-
totalElements: number;
|
9
|
-
totalPages: number;
|
10
|
-
};
|
11
|
-
}
|
12
|
-
|
13
|
-
// 查询位置树接口返回的数据类型
|
14
|
-
export interface AreasTreeData {
|
15
|
-
areaId: number;
|
16
|
-
areaLevel: number;
|
17
|
-
areaLevel1Id: number;
|
18
|
-
areaName: string;
|
19
|
-
areaSubType: number;
|
20
|
-
areaType: number;
|
21
|
-
children?: AreasTreeData[];
|
22
|
-
}
|
23
|
-
// 空间树所需数据类型
|
24
|
-
export interface AreasTreeOptions {
|
25
|
-
title: string;
|
26
|
-
value: number;
|
27
|
-
key: number;
|
28
|
-
children?: AreasTreeOptions[];
|
29
|
-
}
|
30
|
-
// 空间树选择器props
|
31
|
-
export interface AreasTreeSelectProps extends TreeSelectProps {
|
32
|
-
depth?: number; // 树节点深度,不传表示到第五级
|
33
|
-
areaType?: number; // 筛选楼类型
|
34
|
-
areaSubType?: number; // 筛选楼类型
|
35
|
-
showSearch?: boolean; // 是否开启搜索
|
36
|
-
treeCheckable?: boolean; // 是否开启多选
|
37
|
-
selectable?: boolean; // 是否强制要求选到最底层
|
38
|
-
treeDefaultExpandedLevel?: number; // 默认展开的层级
|
39
|
-
}
|
1
|
+
import { TreeSelectProps } from 'antd';
|
2
|
+
|
3
|
+
export interface PageData<T> {
|
4
|
+
content: T[];
|
5
|
+
page: {
|
6
|
+
number: number;
|
7
|
+
size: number;
|
8
|
+
totalElements: number;
|
9
|
+
totalPages: number;
|
10
|
+
};
|
11
|
+
}
|
12
|
+
|
13
|
+
// 查询位置树接口返回的数据类型
|
14
|
+
export interface AreasTreeData {
|
15
|
+
areaId: number;
|
16
|
+
areaLevel: number;
|
17
|
+
areaLevel1Id: number;
|
18
|
+
areaName: string;
|
19
|
+
areaSubType: number;
|
20
|
+
areaType: number;
|
21
|
+
children?: AreasTreeData[];
|
22
|
+
}
|
23
|
+
// 空间树所需数据类型
|
24
|
+
export interface AreasTreeOptions {
|
25
|
+
title: string;
|
26
|
+
value: number;
|
27
|
+
key: number;
|
28
|
+
children?: AreasTreeOptions[];
|
29
|
+
}
|
30
|
+
// 空间树选择器props
|
31
|
+
export interface AreasTreeSelectProps extends TreeSelectProps {
|
32
|
+
depth?: number; // 树节点深度,不传表示到第五级
|
33
|
+
areaType?: number; // 筛选楼类型
|
34
|
+
areaSubType?: number; // 筛选楼类型
|
35
|
+
showSearch?: boolean; // 是否开启搜索
|
36
|
+
treeCheckable?: boolean; // 是否开启多选
|
37
|
+
selectable?: boolean; // 是否强制要求选到最底层
|
38
|
+
treeDefaultExpandedLevel?: number; // 默认展开的层级
|
39
|
+
}
|
@@ -1,111 +1,111 @@
|
|
1
|
-
.yot-SortableItem {
|
2
|
-
&-content {
|
3
|
-
position: relative;
|
4
|
-
padding: 12px 16px;
|
5
|
-
box-sizing: border-box;
|
6
|
-
cursor: pointer;
|
7
|
-
background-color: #fff;
|
8
|
-
&-top {
|
9
|
-
display: flex;
|
10
|
-
justify-content: space-between;
|
11
|
-
align-items: start;
|
12
|
-
&-top-left {
|
13
|
-
display: flex;
|
14
|
-
align-items: start;
|
15
|
-
&-top-drag-btn-icon {
|
16
|
-
cursor: move;
|
17
|
-
&__drag-btn-icon-svg {
|
18
|
-
display: inline-block;
|
19
|
-
vertical-align: middle;
|
20
|
-
}
|
21
|
-
}
|
22
|
-
&-top-title-wrap {
|
23
|
-
display: flex;
|
24
|
-
align-items: center;
|
25
|
-
justify-content: center;
|
26
|
-
&__top-title {
|
27
|
-
font-size: 16px;
|
28
|
-
font-weight: 400;
|
29
|
-
line-height: 1.5em;
|
30
|
-
overflow: hidden;
|
31
|
-
display: -webkit-box; //将元素设为盒子伸缩模型显示
|
32
|
-
-webkit-box-orient: vertical; //伸缩方向设为垂直方向
|
33
|
-
-webkit-line-clamp: 2; //超出2行隐藏,并显示省略号
|
34
|
-
line-clamp: 2;
|
35
|
-
}
|
36
|
-
}
|
37
|
-
}
|
38
|
-
&-top-middle {
|
39
|
-
display: flex;
|
40
|
-
align-items: center;
|
41
|
-
&-top-edit-btn-icon {
|
42
|
-
cursor: pointer;
|
43
|
-
&__edit-btn-icon-svg {
|
44
|
-
display: inline-block;
|
45
|
-
vertical-align: middle;
|
46
|
-
}
|
47
|
-
}
|
48
|
-
&-top-del-btn-icon {
|
49
|
-
cursor: pointer;
|
50
|
-
margin-left: 12px;
|
51
|
-
&__del-btn-icon-svg {
|
52
|
-
display: inline-block;
|
53
|
-
vertical-align: middle;
|
54
|
-
}
|
55
|
-
}
|
56
|
-
}
|
57
|
-
}
|
58
|
-
&-bottom {
|
59
|
-
text-overflow: ellipsis;
|
60
|
-
overflow: hidden;
|
61
|
-
white-space: nowrap;
|
62
|
-
&__extra {
|
63
|
-
font-size: 12px;
|
64
|
-
font-weight: 400;
|
65
|
-
color: rgba(0, 0, 0, 0.45);
|
66
|
-
}
|
67
|
-
}
|
68
|
-
}
|
69
|
-
&-content:hover {
|
70
|
-
background-color: var(--ant-color-primary-border);
|
71
|
-
transition: all 0.05s ease;
|
72
|
-
}
|
73
|
-
&-content::before {
|
74
|
-
content: '';
|
75
|
-
position: absolute;
|
76
|
-
bottom: -0.5px;
|
77
|
-
left: 16px;
|
78
|
-
right: 16px;
|
79
|
-
height: 1px;
|
80
|
-
background-color: #e5e5e5;
|
81
|
-
z-index: 100;
|
82
|
-
}
|
83
|
-
&__content-active {
|
84
|
-
background-color: var(--ant-color-primary-border);
|
85
|
-
}
|
86
|
-
&__content-active::after {
|
87
|
-
content: '';
|
88
|
-
position: absolute;
|
89
|
-
bottom: 0;
|
90
|
-
left: 0;
|
91
|
-
width: 4px;
|
92
|
-
height: 100%;
|
93
|
-
background-color: var(--ant-color-primary);
|
94
|
-
}
|
95
|
-
&-primary {
|
96
|
-
border: 4px solid var(--ant-color-primary);
|
97
|
-
z-index: 999;
|
98
|
-
}
|
99
|
-
&-success {
|
100
|
-
border: 4px solid var(--ant-color-success);
|
101
|
-
z-index: 999;
|
102
|
-
}
|
103
|
-
&-warning {
|
104
|
-
border: 4px solid var(--ant-color-warning);
|
105
|
-
z-index: 999;
|
106
|
-
}
|
107
|
-
&-error {
|
108
|
-
border: 4px solid var(--ant-color-error);
|
109
|
-
z-index: 999;
|
110
|
-
}
|
111
|
-
}
|
1
|
+
.yot-SortableItem {
|
2
|
+
&-content {
|
3
|
+
position: relative;
|
4
|
+
padding: 12px 16px;
|
5
|
+
box-sizing: border-box;
|
6
|
+
cursor: pointer;
|
7
|
+
background-color: #fff;
|
8
|
+
&-top {
|
9
|
+
display: flex;
|
10
|
+
justify-content: space-between;
|
11
|
+
align-items: start;
|
12
|
+
&-top-left {
|
13
|
+
display: flex;
|
14
|
+
align-items: start;
|
15
|
+
&-top-drag-btn-icon {
|
16
|
+
cursor: move;
|
17
|
+
&__drag-btn-icon-svg {
|
18
|
+
display: inline-block;
|
19
|
+
vertical-align: middle;
|
20
|
+
}
|
21
|
+
}
|
22
|
+
&-top-title-wrap {
|
23
|
+
display: flex;
|
24
|
+
align-items: center;
|
25
|
+
justify-content: center;
|
26
|
+
&__top-title {
|
27
|
+
font-size: 16px;
|
28
|
+
font-weight: 400;
|
29
|
+
line-height: 1.5em;
|
30
|
+
overflow: hidden;
|
31
|
+
display: -webkit-box; //将元素设为盒子伸缩模型显示
|
32
|
+
-webkit-box-orient: vertical; //伸缩方向设为垂直方向
|
33
|
+
-webkit-line-clamp: 2; //超出2行隐藏,并显示省略号
|
34
|
+
line-clamp: 2;
|
35
|
+
}
|
36
|
+
}
|
37
|
+
}
|
38
|
+
&-top-middle {
|
39
|
+
display: flex;
|
40
|
+
align-items: center;
|
41
|
+
&-top-edit-btn-icon {
|
42
|
+
cursor: pointer;
|
43
|
+
&__edit-btn-icon-svg {
|
44
|
+
display: inline-block;
|
45
|
+
vertical-align: middle;
|
46
|
+
}
|
47
|
+
}
|
48
|
+
&-top-del-btn-icon {
|
49
|
+
cursor: pointer;
|
50
|
+
margin-left: 12px;
|
51
|
+
&__del-btn-icon-svg {
|
52
|
+
display: inline-block;
|
53
|
+
vertical-align: middle;
|
54
|
+
}
|
55
|
+
}
|
56
|
+
}
|
57
|
+
}
|
58
|
+
&-bottom {
|
59
|
+
text-overflow: ellipsis;
|
60
|
+
overflow: hidden;
|
61
|
+
white-space: nowrap;
|
62
|
+
&__extra {
|
63
|
+
font-size: 12px;
|
64
|
+
font-weight: 400;
|
65
|
+
color: rgba(0, 0, 0, 0.45);
|
66
|
+
}
|
67
|
+
}
|
68
|
+
}
|
69
|
+
&-content:hover {
|
70
|
+
background-color: var(--ant-color-primary-border);
|
71
|
+
transition: all 0.05s ease;
|
72
|
+
}
|
73
|
+
&-content::before {
|
74
|
+
content: '';
|
75
|
+
position: absolute;
|
76
|
+
bottom: -0.5px;
|
77
|
+
left: 16px;
|
78
|
+
right: 16px;
|
79
|
+
height: 1px;
|
80
|
+
background-color: #e5e5e5;
|
81
|
+
z-index: 100;
|
82
|
+
}
|
83
|
+
&__content-active {
|
84
|
+
background-color: var(--ant-color-primary-border);
|
85
|
+
}
|
86
|
+
&__content-active::after {
|
87
|
+
content: '';
|
88
|
+
position: absolute;
|
89
|
+
bottom: 0;
|
90
|
+
left: 0;
|
91
|
+
width: 4px;
|
92
|
+
height: 100%;
|
93
|
+
background-color: var(--ant-color-primary);
|
94
|
+
}
|
95
|
+
&-primary {
|
96
|
+
border: 4px solid var(--ant-color-primary);
|
97
|
+
z-index: 999;
|
98
|
+
}
|
99
|
+
&-success {
|
100
|
+
border: 4px solid var(--ant-color-success);
|
101
|
+
z-index: 999;
|
102
|
+
}
|
103
|
+
&-warning {
|
104
|
+
border: 4px solid var(--ant-color-warning);
|
105
|
+
z-index: 999;
|
106
|
+
}
|
107
|
+
&-error {
|
108
|
+
border: 4px solid var(--ant-color-error);
|
109
|
+
z-index: 999;
|
110
|
+
}
|
111
|
+
}
|
package/dist/aside/index.scss
CHANGED
@@ -1,46 +1,46 @@
|
|
1
|
-
.yot-aside {
|
2
|
-
background-color: #ffffff;
|
3
|
-
border-radius: 8px;
|
4
|
-
box-sizing: border-box;
|
5
|
-
&-title {
|
6
|
-
border-bottom: 1px solid #e5e5e5;
|
7
|
-
padding: 16px 16px;
|
8
|
-
box-sizing: border-box;
|
9
|
-
display: flex;
|
10
|
-
align-items: start;
|
11
|
-
justify-content: space-between;
|
12
|
-
background-color: #fff;
|
13
|
-
position: sticky;
|
14
|
-
top: 0;
|
15
|
-
z-index: 999;
|
16
|
-
&__title-text {
|
17
|
-
font-size: 18px;
|
18
|
-
font-weight: bold;
|
19
|
-
overflow: hidden;
|
20
|
-
text-overflow: ellipsis;
|
21
|
-
white-space: nowrap;
|
22
|
-
}
|
23
|
-
&__add-btn-icon {
|
24
|
-
cursor: pointer;
|
25
|
-
margin-top: 8px;
|
26
|
-
}
|
27
|
-
}
|
28
|
-
}
|
29
|
-
// 滚动条宽度
|
30
|
-
.yot-aside::-webkit-scrollbar {
|
31
|
-
width: 6px;
|
32
|
-
height: 10px;
|
33
|
-
}
|
34
|
-
// 滚动条轨道
|
35
|
-
.yot-aside::-webkit-scrollbar-track {
|
36
|
-
background: white;
|
37
|
-
border-radius: 2px;
|
38
|
-
height: 10px;
|
39
|
-
}
|
40
|
-
// 小滑块
|
41
|
-
.yot-aside::-webkit-scrollbar-thumb {
|
42
|
-
background: rgba(0, 0, 0, 0.15);
|
43
|
-
border-radius: 10px;
|
44
|
-
height: 10px;
|
45
|
-
}
|
46
|
-
|
1
|
+
.yot-aside {
|
2
|
+
background-color: #ffffff;
|
3
|
+
border-radius: 8px;
|
4
|
+
box-sizing: border-box;
|
5
|
+
&-title {
|
6
|
+
border-bottom: 1px solid #e5e5e5;
|
7
|
+
padding: 16px 16px;
|
8
|
+
box-sizing: border-box;
|
9
|
+
display: flex;
|
10
|
+
align-items: start;
|
11
|
+
justify-content: space-between;
|
12
|
+
background-color: #fff;
|
13
|
+
position: sticky;
|
14
|
+
top: 0;
|
15
|
+
z-index: 999;
|
16
|
+
&__title-text {
|
17
|
+
font-size: 18px;
|
18
|
+
font-weight: bold;
|
19
|
+
overflow: hidden;
|
20
|
+
text-overflow: ellipsis;
|
21
|
+
white-space: nowrap;
|
22
|
+
}
|
23
|
+
&__add-btn-icon {
|
24
|
+
cursor: pointer;
|
25
|
+
margin-top: 8px;
|
26
|
+
}
|
27
|
+
}
|
28
|
+
}
|
29
|
+
// 滚动条宽度
|
30
|
+
.yot-aside::-webkit-scrollbar {
|
31
|
+
width: 6px;
|
32
|
+
height: 10px;
|
33
|
+
}
|
34
|
+
// 滚动条轨道
|
35
|
+
.yot-aside::-webkit-scrollbar-track {
|
36
|
+
background: white;
|
37
|
+
border-radius: 2px;
|
38
|
+
height: 10px;
|
39
|
+
}
|
40
|
+
// 小滑块
|
41
|
+
.yot-aside::-webkit-scrollbar-thumb {
|
42
|
+
background: rgba(0, 0, 0, 0.15);
|
43
|
+
border-radius: 10px;
|
44
|
+
height: 10px;
|
45
|
+
}
|
46
|
+
|
package/dist/badge/index.scss
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
.yot-badge {
|
2
|
-
.ant-scroll-number.ant-badge-count {
|
3
|
-
background-color: var(--ant-color-error);
|
4
|
-
}
|
5
|
-
}
|
1
|
+
.yot-badge {
|
2
|
+
.ant-scroll-number.ant-badge-count {
|
3
|
+
background-color: var(--ant-color-error);
|
4
|
+
}
|
5
|
+
}
|
@@ -1,21 +1,21 @@
|
|
1
|
-
export interface PageData<T> {
|
2
|
-
content: T[];
|
3
|
-
page: {
|
4
|
-
number: number;
|
5
|
-
size: number;
|
6
|
-
totalElements: number;
|
7
|
-
totalPages: number;
|
8
|
-
};
|
9
|
-
}
|
10
|
-
// 查询位置接口返回的数据类型
|
11
|
-
export interface IareaItem {
|
12
|
-
areaId: number;
|
13
|
-
areaLevel: number;
|
14
|
-
areaName: string;
|
15
|
-
areaType: number;
|
16
|
-
}
|
17
|
-
export interface IBuildingsProps {
|
18
|
-
showSearch?: boolean;
|
19
|
-
areaType?: number;
|
20
|
-
areaSubType?: number;
|
21
|
-
}
|
1
|
+
export interface PageData<T> {
|
2
|
+
content: T[];
|
3
|
+
page: {
|
4
|
+
number: number;
|
5
|
+
size: number;
|
6
|
+
totalElements: number;
|
7
|
+
totalPages: number;
|
8
|
+
};
|
9
|
+
}
|
10
|
+
// 查询位置接口返回的数据类型
|
11
|
+
export interface IareaItem {
|
12
|
+
areaId: number;
|
13
|
+
areaLevel: number;
|
14
|
+
areaName: string;
|
15
|
+
areaType: number;
|
16
|
+
}
|
17
|
+
export interface IBuildingsProps {
|
18
|
+
showSearch?: boolean;
|
19
|
+
areaType?: number;
|
20
|
+
areaSubType?: number;
|
21
|
+
}
|
package/dist/button/index.scss
CHANGED
@@ -1,31 +1,31 @@
|
|
1
|
-
.yot-button {
|
2
|
-
&--small {
|
3
|
-
height: 26px;
|
4
|
-
padding-left: 16px;
|
5
|
-
padding-right: 16px;
|
6
|
-
border-radius: 4px;
|
7
|
-
font-size: 14px;
|
8
|
-
}
|
9
|
-
|
10
|
-
&--middle {
|
11
|
-
height: 32px;
|
12
|
-
padding-left: 16px;
|
13
|
-
padding-right: 16px;
|
14
|
-
border-radius: 4px;
|
15
|
-
font-size: 14px;
|
16
|
-
}
|
17
|
-
|
18
|
-
&--large {
|
19
|
-
height: 40px;
|
20
|
-
padding-left: 32px;
|
21
|
-
padding-right: 32px;
|
22
|
-
border-radius: 8px;
|
23
|
-
font-size: 16px;
|
24
|
-
}
|
25
|
-
|
26
|
-
&__link{
|
27
|
-
padding: 0 !important;
|
28
|
-
border: 0 !important;
|
29
|
-
}
|
30
|
-
|
1
|
+
.yot-button {
|
2
|
+
&--small {
|
3
|
+
height: 26px;
|
4
|
+
padding-left: 16px;
|
5
|
+
padding-right: 16px;
|
6
|
+
border-radius: 4px;
|
7
|
+
font-size: 14px;
|
8
|
+
}
|
9
|
+
|
10
|
+
&--middle {
|
11
|
+
height: 32px;
|
12
|
+
padding-left: 16px;
|
13
|
+
padding-right: 16px;
|
14
|
+
border-radius: 4px;
|
15
|
+
font-size: 14px;
|
16
|
+
}
|
17
|
+
|
18
|
+
&--large {
|
19
|
+
height: 40px;
|
20
|
+
padding-left: 32px;
|
21
|
+
padding-right: 32px;
|
22
|
+
border-radius: 8px;
|
23
|
+
font-size: 16px;
|
24
|
+
}
|
25
|
+
|
26
|
+
&__link{
|
27
|
+
padding: 0 !important;
|
28
|
+
border: 0 !important;
|
29
|
+
}
|
30
|
+
|
31
31
|
}
|
package/dist/cascader/index.scss
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
.yot-cascader {
|
2
|
-
.ant-cascader-menu-item[aria-checked='true'] {
|
3
|
-
background-color: var(--ant-color-primary-bg);
|
4
|
-
}
|
5
|
-
}
|
1
|
+
.yot-cascader {
|
2
|
+
.ant-cascader-menu-item[aria-checked='true'] {
|
3
|
+
background-color: var(--ant-color-primary-bg);
|
4
|
+
}
|
5
|
+
}
|
@@ -1,18 +1,18 @@
|
|
1
|
-
export interface PageData<T> {
|
2
|
-
content: T[];
|
3
|
-
page: {
|
4
|
-
number: number;
|
5
|
-
size: number;
|
6
|
-
totalElements: number;
|
7
|
-
totalPages: number;
|
8
|
-
};
|
9
|
-
}
|
10
|
-
// 查询课程返回的数据类型
|
11
|
-
export interface ICourseItem {
|
12
|
-
courseDefId: number;
|
13
|
-
courseName: string;
|
14
|
-
courseNo: string;
|
15
|
-
}
|
16
|
-
export interface ICourseProps {
|
17
|
-
showSearch?: boolean;
|
18
|
-
}
|
1
|
+
export interface PageData<T> {
|
2
|
+
content: T[];
|
3
|
+
page: {
|
4
|
+
number: number;
|
5
|
+
size: number;
|
6
|
+
totalElements: number;
|
7
|
+
totalPages: number;
|
8
|
+
};
|
9
|
+
}
|
10
|
+
// 查询课程返回的数据类型
|
11
|
+
export interface ICourseItem {
|
12
|
+
courseDefId: number;
|
13
|
+
courseName: string;
|
14
|
+
courseNo: string;
|
15
|
+
}
|
16
|
+
export interface ICourseProps {
|
17
|
+
showSearch?: boolean;
|
18
|
+
}
|
@@ -1,6 +1,6 @@
|
|
1
|
-
.yot-department {
|
2
|
-
.ant-select-tree-treenode {
|
3
|
-
margin-bottom: 0 !important;
|
4
|
-
padding-bottom: calc(var(--ant-padding-xs) / 2) !important;
|
5
|
-
}
|
6
|
-
}
|
1
|
+
.yot-department {
|
2
|
+
.ant-select-tree-treenode {
|
3
|
+
margin-bottom: 0 !important;
|
4
|
+
padding-bottom: calc(var(--ant-padding-xs) / 2) !important;
|
5
|
+
}
|
6
|
+
}
|
@@ -1,23 +1,23 @@
|
|
1
|
-
export interface PageData<T> {
|
2
|
-
content: T[];
|
3
|
-
page: {
|
4
|
-
number: number;
|
5
|
-
size: number;
|
6
|
-
totalElements: number;
|
7
|
-
totalPages: number;
|
8
|
-
};
|
9
|
-
}
|
10
|
-
// 查询部门返回的数据类型
|
11
|
-
export interface IDepartmentItem {
|
12
|
-
deptId: number; // 部门ID
|
13
|
-
deptName: string; // 部门名称
|
14
|
-
deptLevel: number; // 部门级别(1,2,3,4...)
|
15
|
-
children?: DeptListResponse[]; // 子部门
|
16
|
-
}
|
17
|
-
// 树组件填充的数据接口
|
18
|
-
export interface ITreeData {
|
19
|
-
title: string;
|
20
|
-
value: number;
|
21
|
-
children?: ITreeData[];
|
22
|
-
}
|
23
|
-
export type DepartmentProps = TreeSelectProps;
|
1
|
+
export interface PageData<T> {
|
2
|
+
content: T[];
|
3
|
+
page: {
|
4
|
+
number: number;
|
5
|
+
size: number;
|
6
|
+
totalElements: number;
|
7
|
+
totalPages: number;
|
8
|
+
};
|
9
|
+
}
|
10
|
+
// 查询部门返回的数据类型
|
11
|
+
export interface IDepartmentItem {
|
12
|
+
deptId: number; // 部门ID
|
13
|
+
deptName: string; // 部门名称
|
14
|
+
deptLevel: number; // 部门级别(1,2,3,4...)
|
15
|
+
children?: DeptListResponse[]; // 子部门
|
16
|
+
}
|
17
|
+
// 树组件填充的数据接口
|
18
|
+
export interface ITreeData {
|
19
|
+
title: string;
|
20
|
+
value: number;
|
21
|
+
children?: ITreeData[];
|
22
|
+
}
|
23
|
+
export type DepartmentProps = TreeSelectProps;
|
@@ -1,14 +1,14 @@
|
|
1
|
-
export interface PageData<T> {
|
2
|
-
content: T[];
|
3
|
-
page: {
|
4
|
-
number: number;
|
5
|
-
size: number;
|
6
|
-
totalElements: number;
|
7
|
-
totalPages: number;
|
8
|
-
};
|
9
|
-
}
|
10
|
-
export interface dictionaryItem {
|
11
|
-
dictValue: string; // 字典项编码
|
12
|
-
dictTitle: string; // 字典项名称
|
13
|
-
dictTitle2?: string; // 字典项描述
|
14
|
-
}
|
1
|
+
export interface PageData<T> {
|
2
|
+
content: T[];
|
3
|
+
page: {
|
4
|
+
number: number;
|
5
|
+
size: number;
|
6
|
+
totalElements: number;
|
7
|
+
totalPages: number;
|
8
|
+
};
|
9
|
+
}
|
10
|
+
export interface dictionaryItem {
|
11
|
+
dictValue: string; // 字典项编码
|
12
|
+
dictTitle: string; // 字典项名称
|
13
|
+
dictTitle2?: string; // 字典项描述
|
14
|
+
}
|