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