@zgfe/modules-settings 1.2.11 → 1.2.13-alpha.1
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/README.md +33 -33
- package/es/components/pageLoading/index.less +7 -7
- package/es/components/settingTabs/index.less +47 -47
- package/es/constants/api.d.ts +1 -20
- package/es/constants/api.js +2 -24
- package/es/constants/icons/demo.css +539 -539
- package/es/constants/icons/demo_index.html +8537 -8537
- package/es/constants/icons/iconfont.css +1467 -1467
- package/es/constants/icons/iconfont.json +2550 -2550
- package/es/global.d.ts +4 -4
- package/es/modules/appSettings/dataAccessFilter/index.less +5 -5
- package/es/modules/appSettings/member/index.less +18 -18
- package/es/modules/appSettings/virtualSource/styles/index.less +28 -28
- package/es/modules/appSettings/virtualSource/styles/table.less +51 -51
- package/es/modules/companySetting/appList/index.js +60 -3
- package/es/modules/companySetting/appList/index.less +100 -100
- package/es/modules/companySetting/cost/index.js +2 -2
- package/es/modules/companySetting/cost/index.less +31 -31
- package/es/modules/companySetting/edit/styles/authConfig.less +3 -3
- package/es/modules/companySetting/edit/styles/authGroup.less +10 -10
- package/es/modules/companySetting/edit/styles/authModule.less +82 -82
- package/es/modules/companySetting/edit/styles/user.less +54 -54
- package/es/modules/companySetting/edit/styles/userGroup.less +44 -44
- package/es/modules/companySetting/index.js +256 -75
- package/es/modules/companySetting/index.less +24 -63
- package/es/modules/companySetting/info/index.less +35 -35
- package/es/modules/companySetting/operationLog/index.less +27 -27
- package/es/modules/companySetting/style/common.less +68 -68
- package/es/modules/companySetting/style/reset.less +117 -117
- package/es/modules/companySetting/user/index.js +264 -167
- package/es/modules/companySetting/user/index.less +162 -264
- 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/userGroup/index.less +6 -6
- package/es/modules/companySetting/userGroup/style/authConfigDetail.less +44 -44
- package/es/modules/companySetting/userGroup/style/index.less +79 -79
- package/es/modules/companySetting/virtualApp/panels/list.js +1 -1
- package/es/modules/companySetting/virtualApp/styles/config.less +37 -37
- package/es/modules/companySetting/virtualApp/styles/index.less +21 -21
- package/es/modules/companySetting/virtualApp/styles/list.less +28 -28
- package/es/modules/companySetting/virtualApp/styles/sourceItem.less +33 -33
- package/es/modules/companySetting/virtualApp/styles/table.less +44 -44
- package/es/modules/companySetting/wechatBinding/index.js +1 -1
- package/es/modules/companySetting/wechatBinding/index.less +48 -48
- package/es/modules/personalSetting/securityLog/index.less +10 -10
- package/es/modules/personalSetting/styles/unbinding.less +73 -73
- package/es/modules/systemSetting/notice/configItem/index.less +15 -15
- package/es/modules/systemSetting/notice/edit/index.less +26 -26
- package/es/types/companySetting.d.ts +3 -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,264 +1,162 @@
|
|
|
1
|
-
@import './../../../constants/icons/iconfont.css';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
.c-select {
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
span {
|
|
164
|
-
color: #0ea1eb;
|
|
165
|
-
font-size: 16px;
|
|
166
|
-
cursor: pointer;
|
|
167
|
-
|
|
168
|
-
&:hover {
|
|
169
|
-
color: #f55858;
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
.c-grid-header .c-grid-header-row .c-grid-header-cell {
|
|
175
|
-
text-align: left !important;
|
|
176
|
-
border: none;
|
|
177
|
-
|
|
178
|
-
&:last-child {
|
|
179
|
-
text-align: center !important;
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
.c-grid-body {
|
|
184
|
-
.c-grid-cell {
|
|
185
|
-
text-align: left !important;
|
|
186
|
-
border: none;
|
|
187
|
-
border-top: 1px solid #d1d1d1;
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
.c-pagination .c-select:first-of-type {
|
|
192
|
-
display: none;
|
|
193
|
-
}
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
.over-hand {
|
|
197
|
-
position: relative;
|
|
198
|
-
display: flex;
|
|
199
|
-
align-items: center;
|
|
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
|
-
|
|
218
|
-
.c-select {
|
|
219
|
-
width: 136px;
|
|
220
|
-
margin-left: 10px;
|
|
221
|
-
}
|
|
222
|
-
}
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
.group-auth-list {
|
|
226
|
-
height: 532px;
|
|
227
|
-
|
|
228
|
-
.auth-config-detail {
|
|
229
|
-
max-height: none;
|
|
230
|
-
border-bottom: 1px solid #dadada;
|
|
231
|
-
|
|
232
|
-
&:last-child {
|
|
233
|
-
border: none;
|
|
234
|
-
}
|
|
235
|
-
}
|
|
236
|
-
}
|
|
237
|
-
|
|
238
|
-
.popover-group-auth-list {
|
|
239
|
-
overflow-y: scroll;
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
.copy-dialog .foot {
|
|
243
|
-
margin-top: 20px;
|
|
244
|
-
|
|
245
|
-
a {
|
|
246
|
-
margin-left: 0;
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
& > * {
|
|
250
|
-
float: right;
|
|
251
|
-
margin-left: 10px;
|
|
252
|
-
}
|
|
253
|
-
}
|
|
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
|
+
@import './../../../constants/icons/iconfont.css';
|
|
2
|
+
.company-user {
|
|
3
|
+
height: 100%;
|
|
4
|
+
padding: 0;
|
|
5
|
+
overflow: auto;
|
|
6
|
+
color: #2f3f57;
|
|
7
|
+
font-size: 14px;
|
|
8
|
+
.company-setting-user {
|
|
9
|
+
padding: 0;
|
|
10
|
+
}
|
|
11
|
+
.invite {
|
|
12
|
+
& > p {
|
|
13
|
+
margin-bottom: 10px;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
.user-list-head {
|
|
17
|
+
margin-bottom: 5px;
|
|
18
|
+
}
|
|
19
|
+
.invite-control {
|
|
20
|
+
position: relative;
|
|
21
|
+
display: flex;
|
|
22
|
+
align-items: center;
|
|
23
|
+
justify-content: flex-start;
|
|
24
|
+
.invite-list-panel {
|
|
25
|
+
position: absolute;
|
|
26
|
+
top: 35px;
|
|
27
|
+
z-index: 99999;
|
|
28
|
+
width: 400px;
|
|
29
|
+
max-height: 400px;
|
|
30
|
+
overflow: auto;
|
|
31
|
+
background: #fff;
|
|
32
|
+
border: 1px solid #dadada;
|
|
33
|
+
border-radius: 3px;
|
|
34
|
+
li {
|
|
35
|
+
padding: 10px;
|
|
36
|
+
&:hover {
|
|
37
|
+
color: #0ea1eb;
|
|
38
|
+
cursor: pointer;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
li.noData {
|
|
42
|
+
height: 150px;
|
|
43
|
+
line-height: 100px;
|
|
44
|
+
text-align: center;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
.c-button {
|
|
48
|
+
margin-left: 20px;
|
|
49
|
+
padding: 0 2.4em;
|
|
50
|
+
}
|
|
51
|
+
.c-input {
|
|
52
|
+
border-radius: 3px 0 0 3px;
|
|
53
|
+
}
|
|
54
|
+
.c-active {
|
|
55
|
+
border-color: #d1d1d1;
|
|
56
|
+
}
|
|
57
|
+
.c-select {
|
|
58
|
+
.c-placeholder {
|
|
59
|
+
color: #bcbec2;
|
|
60
|
+
}
|
|
61
|
+
.c-select-handle {
|
|
62
|
+
border-left: none;
|
|
63
|
+
border-radius: 0 3px 3px 0;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
.user-list {
|
|
68
|
+
min-height: 500px;
|
|
69
|
+
margin-top: 20px;
|
|
70
|
+
.member-filter {
|
|
71
|
+
float: right;
|
|
72
|
+
margin-bottom: 10px;
|
|
73
|
+
margin-left: 10px;
|
|
74
|
+
}
|
|
75
|
+
.super-admin {
|
|
76
|
+
color: #f5bf4d;
|
|
77
|
+
font-size: 12px;
|
|
78
|
+
}
|
|
79
|
+
.icon-eye {
|
|
80
|
+
color: #75787d;
|
|
81
|
+
cursor: pointer;
|
|
82
|
+
&:hover {
|
|
83
|
+
color: #0ea1eb;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
.operate {
|
|
87
|
+
display: flex;
|
|
88
|
+
justify-content: space-around;
|
|
89
|
+
margin: 0 auto;
|
|
90
|
+
.icon-zhongxinfasong {
|
|
91
|
+
font-size: 18px;
|
|
92
|
+
transform: translateY(-3px);
|
|
93
|
+
}
|
|
94
|
+
span {
|
|
95
|
+
color: #0ea1eb;
|
|
96
|
+
font-size: 16px;
|
|
97
|
+
cursor: pointer;
|
|
98
|
+
&:hover {
|
|
99
|
+
color: #f55858;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
.c-grid-header .c-grid-header-row .c-grid-header-cell {
|
|
104
|
+
text-align: left !important;
|
|
105
|
+
border: none;
|
|
106
|
+
&:last-child {
|
|
107
|
+
text-align: center !important;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
.c-grid-body {
|
|
111
|
+
.c-grid-cell {
|
|
112
|
+
text-align: left !important;
|
|
113
|
+
border: none;
|
|
114
|
+
border-top: 1px solid #d1d1d1;
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
.c-pagination .c-select:first-of-type {
|
|
118
|
+
display: none;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.over-hand {
|
|
123
|
+
position: relative;
|
|
124
|
+
display: flex;
|
|
125
|
+
align-items: center;
|
|
126
|
+
justify-content: flex-end;
|
|
127
|
+
margin-top: 80px;
|
|
128
|
+
.c-select {
|
|
129
|
+
margin-left: 10px;
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
.group-auth-list {
|
|
134
|
+
height: 532px;
|
|
135
|
+
.auth-config-detail {
|
|
136
|
+
max-height: none;
|
|
137
|
+
border-bottom: 1px solid #dadada;
|
|
138
|
+
&:last-child {
|
|
139
|
+
border: none;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
.popover-group-auth-list {
|
|
144
|
+
overflow-y: scroll;
|
|
145
|
+
}
|
|
146
|
+
.copy-dialog .foot {
|
|
147
|
+
margin-top: 20px;
|
|
148
|
+
a {
|
|
149
|
+
margin-left: 0;
|
|
150
|
+
}
|
|
151
|
+
& > * {
|
|
152
|
+
float: right;
|
|
153
|
+
margin-left: 10px;
|
|
154
|
+
}
|
|
155
|
+
}
|
|
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;
|