@zgfe/modules-settings 2.1.0-zhongyuan.8 → 3.0.0-zhongyuan-set.0

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.
Files changed (38) hide show
  1. package/es/constants/api.d.ts +2 -0
  2. package/es/constants/api.js +5 -1
  3. package/es/modules/appSettings/dataAccessFilter/index.js +2 -1
  4. package/es/modules/companySetting/application/applicationForm.d.ts +1 -0
  5. package/es/modules/companySetting/application/applicationForm.js +34 -4
  6. package/es/modules/companySetting/application/index.js +7 -8
  7. package/es/modules/companySetting/application/index.less +144 -144
  8. package/es/modules/companySetting/index.js +37 -33
  9. package/es/modules/companySetting/operationLog/index.js +22 -5
  10. package/es/modules/companySetting/role/index.less +296 -296
  11. package/es/modules/companySetting/user/index.js +41 -27
  12. package/es/modules/companySetting/user/invite.js +28 -100
  13. package/es/modules/createDemand/demo/selectPoint.js +1 -2
  14. package/es/modules/createDemand/index.js +9 -8
  15. package/es/modules/createDemand/styles/index.less +403 -403
  16. package/es/modules/createDemand_bf/demo/index.js +0 -1
  17. package/es/modules/createDemand_bf/index.js +0 -1
  18. package/es/modules/dealDemand/demo/index.js +0 -1
  19. package/es/modules/dealDemand/demo/selectPoint.js +1 -1
  20. package/es/modules/dealDemand/index.js +0 -2
  21. package/es/modules/demandManage/index.js +2 -2
  22. package/es/modules/demandManage/styles/index.less +155 -155
  23. package/es/modules/personalSetting/securityLog/index.js +1 -1
  24. package/es/modules/pointMap/createMetaDrawer.js +162 -71
  25. package/es/modules/pointMap/index.js +3 -1
  26. package/es/modules/pointMap/pageInfo.js +17 -10
  27. package/es/modules/pointMap/styles/index.less +165 -165
  28. package/es/modules/pointMap/styles/tree.css +164 -145
  29. package/es/modules/pointMap/styles/tree.less +174 -156
  30. package/es/modules/pointMap/tree.js +133 -82
  31. package/es/modules/systemSetting/dictionaryItem/dictionaryManagement/create.js +5 -4
  32. package/es/modules/systemSetting/dictionaryItem/dictionaryManagement/css/index.less +48 -48
  33. package/es/modules/systemSetting/dictionaryItem/dictionaryManagement/index.js +2 -1
  34. package/es/modules/systemSetting/dictionaryItem/eventTagManagement/index.js +11 -6
  35. package/es/modules/systemSetting/document-setting/index.js +7 -6
  36. package/es/modules/systemSetting/index.js +13 -15
  37. package/es/modules/systemSetting/index.less +175 -169
  38. package/package.json +3 -3
@@ -1,296 +1,296 @@
1
- @import './../../../constants/icons/iconfont.css';
2
-
3
- .role-list {
4
- .ant-form-item {
5
- .ant-form-item-control-input {
6
- width: 392px;
7
- height: 32px;
8
- }
9
- }
10
- .ant-input {
11
- border-color: @background-color-base !important;
12
-
13
- &:focus {
14
- border-color: @primary-color !important;
15
- }
16
- }
17
-
18
- .ant-table-cell {
19
- height: 50px;
20
- }
21
-
22
- .ant-table-row-indent + .ant-table-row-expand-icon {
23
- margin-top: 0;
24
- }
25
-
26
- height: 100%;
27
- padding: 0;
28
- overflow: auto;
29
-
30
- .app-list-head {
31
- display: flex;
32
- align-items: center;
33
- justify-content: space-between;
34
- margin-top: 24px;
35
-
36
- > div {
37
- color: var(--io-n, #021429);
38
- font-weight: 500;
39
- font-size: 16px;
40
- font-family: PingFang SC;
41
- font-style: normal;
42
- line-height: 24px;
43
- /* 150% */
44
- }
45
- }
46
-
47
- .platform-icons {
48
- display: flex;
49
- align-items: center;
50
- justify-content: flex-start;
51
- width: 100%;
52
-
53
- span {
54
- margin-right: 10px;
55
- color: #cfcfcf;
56
- font-size: 16px;
57
- }
58
- }
59
-
60
- .role-list-content {
61
- margin-top: 16px;
62
-
63
- .c-grid-cell,
64
- .c-grid-header-cell {
65
- text-align: left !important;
66
- border: none;
67
- border-bottom: 1px solid #d1d1d1;
68
- }
69
-
70
- .c-grid-cell {
71
- text-align: left !important;
72
- }
73
-
74
- .c-grid-body .c-grid-row:nth-child(2n) {
75
- background: #fff !important;
76
- }
77
-
78
- .app-name {
79
- cursor: pointer;
80
-
81
- &:hover {
82
- color: #00a0ea;
83
- }
84
- }
85
-
86
- .operating {
87
- display: flex;
88
- gap: 16px;
89
- }
90
- }
91
- }
92
-
93
- .ant-select-selection-item-content {
94
- .custom-item-right {
95
- display: none;
96
- }
97
- }
98
-
99
- .appIdsPopupClassName {
100
- .ant-select-tree-treenode-checkbox-checked {
101
- .custom-item-right {
102
- color: #165dff;
103
- }
104
- }
105
- }
106
-
107
- .add-drawer {
108
- z-index: 999 !important;
109
- .ant-drawer-header-title {
110
- flex-direction: row-reverse;
111
- }
112
-
113
- .ant-drawer-close {
114
- margin-right: 0 !important;
115
- }
116
- }
117
-
118
- .custom-item {
119
- display: flex;
120
- justify-content: space-between;
121
- > :nth-child(1) {
122
- max-width: 400px;
123
- overflow: hidden;
124
- white-space: nowrap;
125
- text-overflow: ellipsis;
126
- }
127
- .tishi {
128
- color: #9aa1a9;
129
- }
130
- }
131
- .biz-select-option.active {
132
- .custom-item {
133
- > :nth-child(1) {
134
- max-width: 260px;
135
- }
136
- }
137
- }
138
- .custom-item.v2 {
139
- > :nth-child(1) {
140
- max-width: 330px;
141
- }
142
- }
143
- .ant-select-tree-treenode-checkbox-checked {
144
- .custom-item.v2 {
145
- > :nth-child(1) {
146
- max-width: 250px;
147
- }
148
- }
149
- }
150
- .role-dialog-content {
151
- .group-config {
152
- display: flex;
153
- margin-bottom: 24px;
154
- padding-left: 120px;
155
-
156
- .config-name {
157
- margin-right: 12px;
158
- color: #5f6085;
159
- font-size: 14px;
160
- line-height: 30px;
161
- white-space: nowrap;
162
- }
163
-
164
- .biz-user-condition-type-label {
165
- margin-left: -7px;
166
- }
167
- }
168
-
169
- .ant-form-item {
170
- .ant-form-item-control-input {
171
- width: 484px;
172
- min-height: 32px;
173
- }
174
- }
175
-
176
- .ant-input {
177
- border-color: @background-color-base !important;
178
-
179
- &:focus {
180
- border-color: @primary-color !important;
181
- }
182
- }
183
-
184
- .ant-select-selector {
185
- border-color: @background-color-base !important;
186
- }
187
-
188
- .biz-select-handle-input {
189
- .ant-input {
190
- border-color: @background-color-base !important;
191
-
192
- &:focus {
193
- border-color: @background-color-base !important;
194
- }
195
- }
196
-
197
- &:focus {
198
- border-color: @primary-color !important;
199
- }
200
- }
201
-
202
- .ant-input-status-error {
203
- border: 1px solid #fb5547 !important;
204
-
205
- &:focus {
206
- border-color: #fb5547 !important;
207
- }
208
- }
209
-
210
- .ant-select-status-error {
211
- border: none !important;
212
-
213
- &:focus {
214
- box-shadow: 0 0 0 2px rgba(251, 85, 71, 0.2) !important;
215
- }
216
- }
217
-
218
- .biz-select-handle-status-error.active:not(.disable) {
219
- box-shadow: 0 0 0 2px rgba(251, 85, 71, 0.2) !important;
220
- }
221
-
222
- .biz-select-handle-status-error {
223
- .ant-input.ant-input-status-error:focus:not(.ant-input-disable):not(.ant-input-borderless),
224
- .ant-input.ant-input-status-error-focused:not(.ant-input-disable):not(.ant-input-borderless) {
225
- box-shadow: none !important;
226
- }
227
- }
228
-
229
- .ant-form-item:last-of-type {
230
- margin-bottom: 0;
231
- }
232
-
233
- color: #5f6085;
234
-
235
- .ant-form-item-label {
236
- width: 80px;
237
- text-align: right;
238
- }
239
-
240
- .menuCode-map {
241
- .ant-form-item-label::before {
242
- display: inline-block;
243
- margin-right: 4px;
244
- color: #ff4d4f;
245
- font-size: 14px;
246
- font-family: SimSun, sans-serif;
247
- line-height: 1;
248
- content: '*';
249
- }
250
-
251
- .ant-form-item-control-input {
252
- width: 100%;
253
- height: auto;
254
- padding: 14px 16px;
255
- border: 1px solid var(--io-n-1, #e6e7ea);
256
- border-radius: 4px;
257
-
258
- .ant-form-item {
259
- margin-bottom: 8px;
260
- }
261
-
262
- .ant-input {
263
- border: 1px solid #fafafb;
264
-
265
- &:focus {
266
- border-color: @primary-color !important;
267
- }
268
- }
269
-
270
- .ant-form-item-control-input {
271
- width: 484px;
272
- padding: 0;
273
- border: none;
274
- }
275
- }
276
- }
277
-
278
- .is-encryption {
279
- .ant-form-item-label {
280
- width: 116px;
281
- text-align: right;
282
- }
283
- }
284
- }
285
-
286
- .ant-tooltip {
287
- z-index: 9999;
288
- }
289
-
290
- .label-group-overlay {
291
- display: none;
292
- }
293
-
294
- .set-data-dialog {
295
- width: 2000px;
296
- }
1
+ @import './../../../constants/icons/iconfont.css';
2
+
3
+ .role-list {
4
+ .ant-form-item {
5
+ .ant-form-item-control-input {
6
+ width: 392px;
7
+ height: 32px;
8
+ }
9
+ }
10
+ .ant-input {
11
+ border-color: @background-color-base !important;
12
+
13
+ // &:focus {
14
+ // border-color: @primary-color !important;
15
+ // }
16
+ }
17
+
18
+ .ant-table-cell {
19
+ height: 50px;
20
+ }
21
+
22
+ .ant-table-row-indent + .ant-table-row-expand-icon {
23
+ margin-top: 0;
24
+ }
25
+
26
+ height: 100%;
27
+ padding: 0;
28
+ overflow: auto;
29
+
30
+ .app-list-head {
31
+ display: flex;
32
+ align-items: center;
33
+ justify-content: space-between;
34
+ margin-top: 24px;
35
+
36
+ > div {
37
+ color: var(--io-n, #021429);
38
+ font-weight: 500;
39
+ font-size: 16px;
40
+ font-family: PingFang SC;
41
+ font-style: normal;
42
+ line-height: 24px;
43
+ /* 150% */
44
+ }
45
+ }
46
+
47
+ .platform-icons {
48
+ display: flex;
49
+ align-items: center;
50
+ justify-content: flex-start;
51
+ width: 100%;
52
+
53
+ span {
54
+ margin-right: 10px;
55
+ color: #cfcfcf;
56
+ font-size: 16px;
57
+ }
58
+ }
59
+
60
+ .role-list-content {
61
+ margin-top: 16px;
62
+
63
+ .c-grid-cell,
64
+ .c-grid-header-cell {
65
+ text-align: left !important;
66
+ border: none;
67
+ border-bottom: 1px solid #d1d1d1;
68
+ }
69
+
70
+ .c-grid-cell {
71
+ text-align: left !important;
72
+ }
73
+
74
+ .c-grid-body .c-grid-row:nth-child(2n) {
75
+ background: #fff !important;
76
+ }
77
+
78
+ .app-name {
79
+ cursor: pointer;
80
+
81
+ &:hover {
82
+ color: #00a0ea;
83
+ }
84
+ }
85
+
86
+ .operating {
87
+ display: flex;
88
+ gap: 16px;
89
+ }
90
+ }
91
+ }
92
+
93
+ .ant-select-selection-item-content {
94
+ .custom-item-right {
95
+ display: none;
96
+ }
97
+ }
98
+
99
+ .appIdsPopupClassName {
100
+ .ant-select-tree-treenode-checkbox-checked {
101
+ .custom-item-right {
102
+ color: #165dff;
103
+ }
104
+ }
105
+ }
106
+
107
+ .add-drawer {
108
+ z-index: 999 !important;
109
+ .ant-drawer-header-title {
110
+ flex-direction: row-reverse;
111
+ }
112
+
113
+ .ant-drawer-close {
114
+ margin-right: 0 !important;
115
+ }
116
+ }
117
+
118
+ .custom-item {
119
+ display: flex;
120
+ justify-content: space-between;
121
+ > :nth-child(1) {
122
+ max-width: 400px;
123
+ overflow: hidden;
124
+ white-space: nowrap;
125
+ text-overflow: ellipsis;
126
+ }
127
+ .tishi {
128
+ color: #9aa1a9;
129
+ }
130
+ }
131
+ .biz-select-option.active {
132
+ .custom-item {
133
+ > :nth-child(1) {
134
+ max-width: 260px;
135
+ }
136
+ }
137
+ }
138
+ .custom-item.v2 {
139
+ > :nth-child(1) {
140
+ max-width: 330px;
141
+ }
142
+ }
143
+ .ant-select-tree-treenode-checkbox-checked {
144
+ .custom-item.v2 {
145
+ > :nth-child(1) {
146
+ max-width: 250px;
147
+ }
148
+ }
149
+ }
150
+ .role-dialog-content {
151
+ .group-config {
152
+ display: flex;
153
+ margin-bottom: 24px;
154
+ padding-left: 120px;
155
+
156
+ .config-name {
157
+ margin-right: 12px;
158
+ color: #5f6085;
159
+ font-size: 14px;
160
+ line-height: 30px;
161
+ white-space: nowrap;
162
+ }
163
+
164
+ .biz-user-condition-type-label {
165
+ margin-left: -7px;
166
+ }
167
+ }
168
+
169
+ .ant-form-item {
170
+ .ant-form-item-control-input {
171
+ width: 484px;
172
+ min-height: 32px;
173
+ }
174
+ }
175
+
176
+ .ant-input {
177
+ border-color: @background-color-base !important;
178
+
179
+ &:focus {
180
+ border-color: @primary-color !important;
181
+ }
182
+ }
183
+
184
+ .ant-select-selector {
185
+ border-color: @background-color-base !important;
186
+ }
187
+
188
+ .biz-select-handle-input {
189
+ .ant-input {
190
+ border-color: @background-color-base !important;
191
+
192
+ &:focus {
193
+ border-color: @background-color-base !important;
194
+ }
195
+ }
196
+
197
+ &:focus {
198
+ border-color: @primary-color !important;
199
+ }
200
+ }
201
+
202
+ .ant-input-status-error {
203
+ border: 1px solid #fb5547 !important;
204
+
205
+ &:focus {
206
+ border-color: #fb5547 !important;
207
+ }
208
+ }
209
+
210
+ .ant-select-status-error {
211
+ border: none !important;
212
+
213
+ &:focus {
214
+ box-shadow: 0 0 0 2px rgba(251, 85, 71, 0.2) !important;
215
+ }
216
+ }
217
+
218
+ .biz-select-handle-status-error.active:not(.disable) {
219
+ box-shadow: 0 0 0 2px rgba(251, 85, 71, 0.2) !important;
220
+ }
221
+
222
+ .biz-select-handle-status-error {
223
+ .ant-input.ant-input-status-error:focus:not(.ant-input-disable):not(.ant-input-borderless),
224
+ .ant-input.ant-input-status-error-focused:not(.ant-input-disable):not(.ant-input-borderless) {
225
+ box-shadow: none !important;
226
+ }
227
+ }
228
+
229
+ .ant-form-item:last-of-type {
230
+ margin-bottom: 0;
231
+ }
232
+
233
+ color: #5f6085;
234
+
235
+ .ant-form-item-label {
236
+ width: 80px;
237
+ text-align: right;
238
+ }
239
+
240
+ .menuCode-map {
241
+ .ant-form-item-label::before {
242
+ display: inline-block;
243
+ margin-right: 4px;
244
+ color: #ff4d4f;
245
+ font-size: 14px;
246
+ font-family: SimSun, sans-serif;
247
+ line-height: 1;
248
+ content: '*';
249
+ }
250
+
251
+ .ant-form-item-control-input {
252
+ width: 100%;
253
+ height: auto;
254
+ padding: 14px 16px;
255
+ border: 1px solid var(--io-n-1, #e6e7ea);
256
+ border-radius: 4px;
257
+
258
+ .ant-form-item {
259
+ margin-bottom: 8px;
260
+ }
261
+
262
+ .ant-input {
263
+ border: 1px solid #fafafb;
264
+
265
+ &:focus {
266
+ border-color: @primary-color !important;
267
+ }
268
+ }
269
+
270
+ .ant-form-item-control-input {
271
+ width: 484px;
272
+ padding: 0;
273
+ border: none;
274
+ }
275
+ }
276
+ }
277
+
278
+ .is-encryption {
279
+ .ant-form-item-label {
280
+ width: 116px;
281
+ text-align: right;
282
+ }
283
+ }
284
+ }
285
+
286
+ .ant-tooltip {
287
+ z-index: 9999;
288
+ }
289
+
290
+ .label-group-overlay {
291
+ display: none;
292
+ }
293
+
294
+ .set-data-dialog {
295
+ width: 2000px;
296
+ }
@@ -360,30 +360,35 @@ var User = function User(props) {
360
360
  title: arr === null || arr === void 0 ? void 0 : (_arr$join = arr.join(',')) === null || _arr$join === void 0 ? void 0 : _arr$join.replace(/,/g, '、')
361
361
  }, splitString(arr === null || arr === void 0 ? void 0 : (_arr$join2 = arr.join(',')) === null || _arr$join2 === void 0 ? void 0 : _arr$join2.replace(/,/g, '、'), 8)));
362
362
  }
363
- }, {
364
- title: '部门',
365
- with: 195,
366
- dataIndex: 'aclDeptList',
367
- render: function render(aclDeptList) {
368
- var _arr$join3, _arr$join4;
369
- var arr = aclDeptList === null || aclDeptList === void 0 ? void 0 : aclDeptList.map(function (item) {
370
- return item === null || item === void 0 ? void 0 : item.name;
371
- });
372
- return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Tooltip, {
373
- overlayStyle: {
374
- maxWidth: 396
375
- },
376
- overlayInnerStyle: {
377
- color: '#FFF',
378
- fontSize: 14,
379
- fontWeight: 400,
380
- letterSpacing: 0.56
381
- },
382
- placement: "top",
383
- title: arr === null || arr === void 0 ? void 0 : (_arr$join3 = arr.join(',')) === null || _arr$join3 === void 0 ? void 0 : _arr$join3.replace(/,/g, '、')
384
- }, splitString(arr === null || arr === void 0 ? void 0 : (_arr$join4 = arr.join(',')) === null || _arr$join4 === void 0 ? void 0 : _arr$join4.replace(/,/g, '、'), 8)));
385
- }
386
- }, {
363
+ },
364
+ // {
365
+ // title: '部门',
366
+ // with: 195,
367
+ // dataIndex: 'aclDeptList',
368
+ // render: (aclDeptList: []) => {
369
+ // const arr = aclDeptList?.map((item: { name: string }) => {
370
+ // return item?.name;
371
+ // });
372
+ // return (
373
+ // <div>
374
+ // <Tooltip
375
+ // overlayStyle={{ maxWidth: 396 }}
376
+ // overlayInnerStyle={{
377
+ // color: '#FFF',
378
+ // fontSize: 14,
379
+ // fontWeight: 400,
380
+ // letterSpacing: 0.56,
381
+ // }}
382
+ // placement="top"
383
+ // title={arr?.join(',')?.replace(/,/g, '、')}
384
+ // >
385
+ // {splitString(arr?.join(',')?.replace(/,/g, '、'), 8)}
386
+ // </Tooltip>
387
+ // </div>
388
+ // );
389
+ // },
390
+ // },
391
+ {
387
392
  title: '状态',
388
393
  render: function render(data) {
389
394
  return /*#__PURE__*/React.createElement("div", null, !data.isAdmin && (/*#__PURE__*/React.createElement(Switch, {
@@ -513,14 +518,23 @@ var User = function User(props) {
513
518
  transferorId: havePhoneFlg[0].id
514
519
  }
515
520
  }).then(function (res) {
516
- setBtnLoading(false);
517
521
  if (res.code == '100000') {
518
522
  message.success('交接成功!');
519
523
  }
520
524
  }).catch(function (err) {
521
- setBtnLoading(false);
522
525
  message.success('交接失败!,请联系管理员');
523
- return false;
526
+ }).finally(function () {
527
+ setMoveWorkModal(false);
528
+ setBtnLoading(false);
529
+ setNumber({
530
+ value: '',
531
+ errorMsg: ''
532
+ });
533
+ // 数据清空
534
+ form.setFieldsValue({
535
+ toType: [],
536
+ toUser: ''
537
+ });
524
538
  });
525
539
  case 17:
526
540
  case "end":