@zgfe/modules-settings 1.2.10 → 1.2.11
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/es/constants/api.d.ts +20 -0
- package/es/constants/api.js +25 -1
- package/es/constants/icons/demo.css +0 -0
- package/es/constants/icons/demo_index.html +0 -0
- package/es/constants/icons/iconfont.css +0 -0
- package/es/constants/icons/iconfont.js +0 -0
- package/es/constants/icons/iconfont.json +0 -0
- package/es/constants/icons/iconfont.ttf +0 -0
- package/es/constants/icons/iconfont.woff +0 -0
- package/es/constants/icons/iconfont.woff2 +0 -0
- package/es/modules/appSettings/member/index.js +1 -1
- package/es/modules/companySetting/appList/index.js +1 -1
- package/es/modules/companySetting/cost/index.js +2 -2
- package/es/modules/companySetting/cost/index.less +0 -0
- package/es/modules/companySetting/department/index.d.ts +7 -0
- package/es/modules/companySetting/department/index.js +356 -0
- package/es/modules/companySetting/department/index.less +104 -0
- package/es/modules/companySetting/index.js +76 -257
- package/es/modules/companySetting/index.less +39 -0
- package/es/modules/companySetting/role/index.d.ts +6 -0
- package/es/modules/companySetting/role/index.js +561 -0
- package/es/modules/companySetting/role/index.less +160 -0
- package/es/modules/companySetting/user/index.js +167 -264
- package/es/modules/companySetting/user/index.less +112 -10
- package/es/modules/companySetting/user/invite.d.ts +3 -8
- package/es/modules/companySetting/user/invite.js +249 -173
- package/es/modules/companySetting/userGroup/groupItem.js +1 -1
- package/es/modules/companySetting/virtualApp/panels/list.js +1 -1
- package/es/modules/companySetting/wechatBinding/index.js +1 -1
- package/es/modules/companySetting/wechatBinding/index.less +0 -0
- package/es/requests/department.d.ts +15 -0
- package/es/requests/department.js +68 -0
- package/es/requests/role.d.ts +16 -0
- package/es/requests/role.js +100 -0
- package/es/types/companySetting.d.ts +28 -2
- package/es/utils/util.d.ts +23 -0
- package/es/utils/util.js +77 -0
- package/package.json +4 -4
|
@@ -1,26 +1,79 @@
|
|
|
1
1
|
@import './../../../constants/icons/iconfont.css';
|
|
2
|
+
|
|
2
3
|
.company-user {
|
|
3
4
|
height: 100%;
|
|
4
5
|
padding: 0;
|
|
5
6
|
overflow: auto;
|
|
6
7
|
color: #2f3f57;
|
|
7
8
|
font-size: 14px;
|
|
9
|
+
|
|
8
10
|
.company-setting-user {
|
|
9
11
|
padding: 0;
|
|
10
12
|
}
|
|
13
|
+
|
|
11
14
|
.invite {
|
|
12
15
|
& > p {
|
|
13
16
|
margin-bottom: 10px;
|
|
14
17
|
}
|
|
18
|
+
|
|
19
|
+
.invite-list {
|
|
20
|
+
display: flex;
|
|
21
|
+
align-items: center;
|
|
22
|
+
justify-content: space-between;
|
|
23
|
+
margin-top: 24px;
|
|
24
|
+
|
|
25
|
+
div {
|
|
26
|
+
color: var(--io-n, #021429);
|
|
27
|
+
font-weight: 500;
|
|
28
|
+
font-size: 16px;
|
|
29
|
+
font-family: PingFang SC;
|
|
30
|
+
font-style: normal;
|
|
31
|
+
line-height: 24px;
|
|
32
|
+
/* 150% */
|
|
33
|
+
}
|
|
34
|
+
}
|
|
15
35
|
}
|
|
36
|
+
|
|
16
37
|
.user-list-head {
|
|
17
38
|
margin-bottom: 5px;
|
|
18
39
|
}
|
|
40
|
+
|
|
19
41
|
.invite-control {
|
|
20
42
|
position: relative;
|
|
21
43
|
display: flex;
|
|
44
|
+
gap: 24px;
|
|
22
45
|
align-items: center;
|
|
23
46
|
justify-content: flex-start;
|
|
47
|
+
|
|
48
|
+
.biz-select-handle-input {
|
|
49
|
+
width: 248px;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.ant-input {
|
|
53
|
+
width: 248px;
|
|
54
|
+
border-color: @background-color-base !important;
|
|
55
|
+
|
|
56
|
+
&:focus {
|
|
57
|
+
border-color: @primary-color !important;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
> div {
|
|
62
|
+
display: flex;
|
|
63
|
+
gap: 12px;
|
|
64
|
+
align-items: center;
|
|
65
|
+
|
|
66
|
+
> span {
|
|
67
|
+
color: var(--3, #5f6085);
|
|
68
|
+
font-weight: 400;
|
|
69
|
+
font-size: 14px;
|
|
70
|
+
font-family: PingFang SC;
|
|
71
|
+
font-style: normal;
|
|
72
|
+
line-height: normal;
|
|
73
|
+
text-align: right;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
24
77
|
.invite-list-panel {
|
|
25
78
|
position: absolute;
|
|
26
79
|
top: 35px;
|
|
@@ -31,82 +84,102 @@
|
|
|
31
84
|
background: #fff;
|
|
32
85
|
border: 1px solid #dadada;
|
|
33
86
|
border-radius: 3px;
|
|
87
|
+
|
|
34
88
|
li {
|
|
35
89
|
padding: 10px;
|
|
90
|
+
|
|
36
91
|
&:hover {
|
|
37
92
|
color: #0ea1eb;
|
|
38
93
|
cursor: pointer;
|
|
39
94
|
}
|
|
40
95
|
}
|
|
96
|
+
|
|
41
97
|
li.noData {
|
|
42
98
|
height: 150px;
|
|
43
99
|
line-height: 100px;
|
|
44
100
|
text-align: center;
|
|
45
101
|
}
|
|
46
102
|
}
|
|
103
|
+
|
|
47
104
|
.c-button {
|
|
48
105
|
margin-left: 20px;
|
|
49
106
|
padding: 0 2.4em;
|
|
50
107
|
}
|
|
108
|
+
|
|
51
109
|
.c-input {
|
|
52
110
|
border-radius: 3px 0 0 3px;
|
|
53
111
|
}
|
|
112
|
+
|
|
54
113
|
.c-active {
|
|
55
114
|
border-color: #d1d1d1;
|
|
56
115
|
}
|
|
116
|
+
|
|
57
117
|
.c-select {
|
|
58
118
|
.c-placeholder {
|
|
59
119
|
color: #bcbec2;
|
|
60
120
|
}
|
|
121
|
+
|
|
61
122
|
.c-select-handle {
|
|
62
123
|
border-left: none;
|
|
63
124
|
border-radius: 0 3px 3px 0;
|
|
64
125
|
}
|
|
65
126
|
}
|
|
66
127
|
}
|
|
128
|
+
|
|
67
129
|
.user-list {
|
|
68
130
|
min-height: 500px;
|
|
69
|
-
margin-top:
|
|
131
|
+
margin-top: 16px;
|
|
132
|
+
|
|
70
133
|
.member-filter {
|
|
71
134
|
float: right;
|
|
72
135
|
margin-bottom: 10px;
|
|
73
136
|
margin-left: 10px;
|
|
74
137
|
}
|
|
138
|
+
|
|
75
139
|
.super-admin {
|
|
76
140
|
color: #f5bf4d;
|
|
77
141
|
font-size: 12px;
|
|
78
142
|
}
|
|
143
|
+
|
|
79
144
|
.icon-eye {
|
|
80
145
|
color: #75787d;
|
|
81
146
|
cursor: pointer;
|
|
147
|
+
|
|
82
148
|
&:hover {
|
|
83
149
|
color: #0ea1eb;
|
|
84
150
|
}
|
|
85
151
|
}
|
|
152
|
+
|
|
86
153
|
.operate {
|
|
87
154
|
display: flex;
|
|
88
155
|
justify-content: space-around;
|
|
89
156
|
margin: 0 auto;
|
|
157
|
+
|
|
90
158
|
.icon-zhongxinfasong {
|
|
91
159
|
font-size: 18px;
|
|
92
160
|
transform: translateY(-3px);
|
|
93
161
|
}
|
|
162
|
+
|
|
94
163
|
span {
|
|
95
164
|
color: #0ea1eb;
|
|
96
165
|
font-size: 16px;
|
|
97
166
|
cursor: pointer;
|
|
167
|
+
|
|
98
168
|
&:hover {
|
|
99
169
|
color: #f55858;
|
|
100
170
|
}
|
|
101
171
|
}
|
|
102
172
|
}
|
|
173
|
+
|
|
103
174
|
.c-grid-header .c-grid-header-row .c-grid-header-cell {
|
|
104
175
|
text-align: left !important;
|
|
105
176
|
border: none;
|
|
177
|
+
|
|
106
178
|
&:last-child {
|
|
107
179
|
text-align: center !important;
|
|
108
180
|
}
|
|
109
181
|
}
|
|
182
|
+
|
|
110
183
|
.c-grid-body {
|
|
111
184
|
.c-grid-cell {
|
|
112
185
|
text-align: left !important;
|
|
@@ -114,6 +187,7 @@
|
|
|
114
187
|
border-top: 1px solid #d1d1d1;
|
|
115
188
|
}
|
|
116
189
|
}
|
|
190
|
+
|
|
117
191
|
.c-pagination .c-select:first-of-type {
|
|
118
192
|
display: none;
|
|
119
193
|
}
|
|
@@ -123,40 +197,68 @@
|
|
|
123
197
|
position: relative;
|
|
124
198
|
display: flex;
|
|
125
199
|
align-items: center;
|
|
126
|
-
|
|
127
|
-
margin-top: 80px;
|
|
200
|
+
width: 300px;
|
|
201
|
+
// margin-top: 80px;
|
|
202
|
+
|
|
203
|
+
> span {
|
|
204
|
+
margin-right: 12px;
|
|
205
|
+
color: var(--3, #5f6085);
|
|
206
|
+
font-weight: 400;
|
|
207
|
+
font-size: 14px;
|
|
208
|
+
font-family: PingFang SC;
|
|
209
|
+
font-style: normal;
|
|
210
|
+
line-height: normal;
|
|
211
|
+
text-align: right;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
.biz-select-handle-input {
|
|
215
|
+
width: 136px;
|
|
216
|
+
}
|
|
217
|
+
|
|
128
218
|
.c-select {
|
|
219
|
+
width: 136px;
|
|
129
220
|
margin-left: 10px;
|
|
130
221
|
}
|
|
131
222
|
}
|
|
132
223
|
}
|
|
224
|
+
|
|
133
225
|
.group-auth-list {
|
|
134
226
|
height: 532px;
|
|
227
|
+
|
|
135
228
|
.auth-config-detail {
|
|
136
229
|
max-height: none;
|
|
137
230
|
border-bottom: 1px solid #dadada;
|
|
231
|
+
|
|
138
232
|
&:last-child {
|
|
139
233
|
border: none;
|
|
140
234
|
}
|
|
141
235
|
}
|
|
142
236
|
}
|
|
237
|
+
|
|
143
238
|
.popover-group-auth-list {
|
|
144
239
|
overflow-y: scroll;
|
|
145
240
|
}
|
|
241
|
+
|
|
146
242
|
.copy-dialog .foot {
|
|
147
243
|
margin-top: 20px;
|
|
244
|
+
|
|
148
245
|
a {
|
|
149
246
|
margin-left: 0;
|
|
150
247
|
}
|
|
248
|
+
|
|
151
249
|
& > * {
|
|
152
250
|
float: right;
|
|
153
251
|
margin-left: 10px;
|
|
154
252
|
}
|
|
155
253
|
}
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
254
|
+
|
|
255
|
+
.user-dialog-content {
|
|
256
|
+
.ant-input {
|
|
257
|
+
border-color: @background-color-base !important;
|
|
258
|
+
|
|
259
|
+
&:focus {
|
|
260
|
+
border-color: @primary-color !important;
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
color: #5f6085;
|
|
264
|
+
}
|
|
@@ -1,15 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import './index.less';
|
|
3
|
-
import { AllGroupInfosItem, AllMembersItem, ApiResult } from '../../../types';
|
|
3
|
+
import { AllGroupInfosItem, AllMembersItem, ApiResult, queryPanelItem } from '../../../types';
|
|
4
4
|
declare const UserGroup: React.FC<{
|
|
5
|
-
ENVIRONMENT: string;
|
|
6
5
|
allGroupInfos: AllGroupInfosItem[];
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
account: string;
|
|
10
|
-
pwd: string;
|
|
11
|
-
userConfig?: AllMembersItem;
|
|
12
|
-
}) => void;
|
|
6
|
+
queryPanel: (params: queryPanelItem) => void;
|
|
7
|
+
userEditAuthData: AllMembersItem;
|
|
13
8
|
createMembersCallback: (res: ApiResult<void>, userConfig: AllMembersItem | false) => void;
|
|
14
9
|
}>;
|
|
15
10
|
export default UserGroup;
|