@zgfe/modules-settings 2.0.0-zhongyuan.4 → 2.0.0-zhongyuan.41

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 (36) hide show
  1. package/es/constants/api.d.ts +9 -0
  2. package/es/constants/api.js +15 -0
  3. package/es/modules/companySetting/application/index.d.ts +13 -0
  4. package/es/modules/companySetting/application/index.js +271 -98
  5. package/es/modules/companySetting/application/index.less +144 -126
  6. package/es/modules/companySetting/user/index.js +7 -0
  7. package/es/modules/companySetting/user/index.less +363 -363
  8. package/es/modules/companySetting/user/invite.js +19 -0
  9. package/es/modules/createDemand/constants.d.ts +15 -2
  10. package/es/modules/createDemand/constants.js +57 -4
  11. package/es/modules/createDemand/index.js +769 -170
  12. package/es/modules/createDemand/styles/index.less +397 -277
  13. package/es/modules/demandManage/index.js +139 -160
  14. package/es/modules/demandManage/styles/index.less +155 -210
  15. package/es/modules/messageList/index.d.ts +1 -1
  16. package/es/modules/messageList/index.js +5 -5
  17. package/es/modules/personalSetting/demo/index.d.ts +3 -0
  18. package/es/modules/personalSetting/demo/index.js +12 -0
  19. package/es/modules/personalSetting/index.js +11 -1
  20. package/es/modules/personalSetting/info/index.js +23 -5
  21. package/es/modules/pointMap/createMetaDrawer.d.ts +4 -0
  22. package/es/modules/pointMap/createMetaDrawer.js +651 -0
  23. package/es/modules/pointMap/pageInfo.js +323 -130
  24. package/es/modules/pointMap/record.d.ts +7 -0
  25. package/es/modules/pointMap/record.js +521 -0
  26. package/es/modules/pointMap/styles/pageInfo.less +420 -244
  27. package/es/modules/pointMap/styles/tree.css +145 -145
  28. package/es/modules/pointMap/styles/tree.less +149 -149
  29. package/es/modules/pointMap/tree.js +1 -0
  30. package/es/modules/pointMap/types.d.ts +88 -0
  31. package/es/modules/pointMap/types.js +1 -0
  32. package/es/modules/systemSetting/document-setting/index.js +44 -15
  33. package/es/modules/systemSetting/index.css +161 -161
  34. package/es/modules/systemSetting/index.less +169 -169
  35. package/es/types/personal.d.ts +1 -0
  36. package/package.json +2 -2
@@ -1,277 +1,397 @@
1
- .system-setting-create-demand {
2
- display: flex;
3
- flex-direction: column;
4
- height: 100%;
5
- padding: 0 16px 16px;
6
- background: #fafafb;
7
- .setting-point-map-page-content-img-select {
8
- position: relative;
9
- }
10
- .ant-image {
11
- position: static;
12
- }
13
- .ant-image .ant-image-mask {
14
- color: #fff;
15
- font-size: 24px;
16
- background: rgba(2, 20, 41, 0.5) !important;
17
- }
18
- &-row {
19
- display: flex;
20
- flex: 1;
21
- flex-direction: row;
22
- overflow-y: auto;
23
- }
24
- &-right {
25
- position: relative;
26
- display: flex;
27
- flex: 288;
28
- overflow: hidden;
29
- background: #f2f3f4;
30
- border: 1px solid #e6e7ea;
31
- border-bottom: 0;
32
- border-top-right-radius: 8px;
33
- // border-bottom-right-radius: 8px;
34
- .setting-graph-panel {
35
- right: 14px;
36
- left: auto;
37
- transform: none;
38
- }
39
- &-end {
40
- display: flex;
41
- align-items: center;
42
- justify-content: center;
43
- width: 100%;
44
- }
45
- &-title {
46
- position: absolute;
47
- top: 16px;
48
- left: 16px;
49
- color: var(--io-N-, #021429);
50
- font-weight: 400;
51
- font-size: 14px;
52
- font-family: 'PingFang SC';
53
- font-style: normal;
54
- line-height: 22px; /* 157.143% */
55
- text-align: right;
56
- }
57
- }
58
- &-header {
59
- display: flex;
60
- flex-direction: row;
61
- gap: 16px;
62
- align-items: center;
63
- padding: 12px 0;
64
- color: var(--io-N6-, #67727f);
65
- font-weight: 400;
66
- font-size: 14px;
67
- &-back {
68
- cursor: pointer;
69
- }
70
- }
71
- &-footer {
72
- display: flex;
73
- gap: 16px;
74
- align-items: center;
75
- padding: 18px 24px;
76
- background: #fff;
77
- border-top: 1px solid var(--io-N1-, #e6e7ea);
78
- border-bottom-right-radius: 8px;
79
- border-bottom-left-radius: 8px;
80
- .button:not(.disabled) {
81
- color: #1454e5;
82
- border: 1px solid #1454e5;
83
- }
84
- }
85
- &-info {
86
- display: flex;
87
- flex: 912;
88
- flex-direction: column;
89
- gap: 24px;
90
- align-items: flex-start;
91
- padding: 0 0 24px;
92
- overflow: hidden;
93
- overflow-y: auto;
94
- background: #fff;
95
- border-top-left-radius: 8px;
96
- // border-bottom-left-radius: 8px;
97
- &-img {
98
- display: flex;
99
- flex-direction: column;
100
- gap: 24px;
101
- align-items: flex-start;
102
- width: 100%;
103
- padding: 24px 24px 0;
104
- background: #fff;
105
- }
106
- &-item {
107
- display: flex;
108
- flex-direction: row;
109
- // align-items: center;
110
- gap: 12px;
111
- width: 100%;
112
- &-yasuobao {
113
- width: 24px;
114
- height: 24px;
115
- background: url('./../images/yasuobao.png') no-repeat;
116
- background-size: contain;
117
- &-txt:hover {
118
- text-decoration: underline;
119
- }
120
- }
121
- &-txt {
122
- width: 96px;
123
- margin-top: 6px;
124
- color: var(----3, #5f6085);
125
- font-weight: 400;
126
- font-size: 14px;
127
- text-align: right;
128
- span {
129
- margin-right: 4px;
130
- color: var(--io-Error-E-, #fb5547);
131
- font-weight: 400;
132
- font-size: 14px;
133
- }
134
- }
135
- &-content {
136
- position: relative;
137
- flex: 1;
138
- width: calc(100% - 108px);
139
- input,
140
- textarea {
141
- border-color: #fafafb;
142
- }
143
- &-input-num {
144
- position: absolute;
145
- right: 12px;
146
- bottom: 6px;
147
- color: var(--io-N4-, #9aa1a9);
148
- font-weight: 400;
149
- font-size: 14px;
150
- }
151
- &-picker {
152
- width: 100%;
153
- background-color: #fafafb;
154
- }
155
- .ant-upload-disabled .system-setting-create-demand-info-item-content-btn {
156
- color: #ccd0d4;
157
- }
158
- &-btn {
159
- display: flex;
160
- gap: 8px;
161
- align-items: center;
162
- height: 32px;
163
- padding: 10px 16px;
164
- color: var(--io-N-, #021429);
165
- font-weight: 400;
166
- font-size: 14px;
167
- font-family: 'PingFang SC';
168
- font-style: normal;
169
- line-height: normal;
170
- background: var(--io-n-05, #f2f3f4);
171
- border: 1px dashed var(--io-N1-, #e6e7ea);
172
- border-radius: 4px;
173
- }
174
- &-tip {
175
- color: var(--io-N4-, #9aa1a9);
176
- font-weight: 400;
177
- font-size: 14px;
178
- font-family: 'PingFang SC';
179
- font-style: normal;
180
- line-height: normal;
181
- }
182
- &-row {
183
- display: flex;
184
- flex-direction: row;
185
- gap: 12px;
186
- align-items: center;
187
- height: 34px;
188
- .qingchu {
189
- font-size: 16px;
190
- cursor: pointer;
191
- }
192
- .icon-yasuobao {
193
- font-size: 24px;
194
- }
195
- }
196
- &-tab {
197
- display: flex;
198
- flex: 1 0 0;
199
- gap: 24px;
200
- align-items: flex-start;
201
- padding: 12px 24px 0px 24px;
202
- background: var(--io-n-02, #fafafb);
203
- border-bottom: 1px solid var(--io-N1-, #e6e7ea);
204
- &-item {
205
- display: flex;
206
- flex-direction: column;
207
- align-items: flex-start;
208
- padding-bottom: 10px;
209
- color: #021429;
210
- font-size: 16px;
211
- line-height: 20px; /* 125% */
212
- border-bottom: 2px solid transparent;
213
- cursor: pointer;
214
- }
215
- &-item-select {
216
- display: flex;
217
- flex-direction: column;
218
- align-items: flex-start;
219
- padding-bottom: 10px;
220
- color: #165dff;
221
- font-size: 16px;
222
- line-height: 20px; /* 125% */
223
- border-bottom: 2px solid #165dff;
224
- cursor: pointer;
225
- }
226
- }
227
- &-filter {
228
- display: flex;
229
- flex-direction: row;
230
- gap: 16px;
231
- padding: 1px 0 16px;
232
- .button:not(.disabled) {
233
- color: #1454e5;
234
- border: 1px solid #1454e5;
235
- }
236
- }
237
- }
238
- }
239
- }
240
- &-drawer {
241
- .ant-drawer-header-title .ant-drawer-close {
242
- position: absolute;
243
- right: 6px;
244
- }
245
- }
246
-
247
- &-content-img-select {
248
- position: relative;
249
- display: flex;
250
- align-items: center;
251
- align-self: stretch;
252
- justify-content: center;
253
- width: 80px;
254
- height: 80px;
255
- background: var(--io-n-05, #f2f3f4);
256
- border: 1px solid var(--io-N1-, #e6e7ea);
257
- border-radius: 4px;
258
- img {
259
- max-width: 78px;
260
- max-height: 78px;
261
- }
262
- }
263
- }
264
- #system-setting-demand {
265
- position: fixed;
266
- z-index: -1000;
267
- width: 100%;
268
- height: 100vh;
269
- margin: 50px;
270
- .x6-graph-background,
271
- .x6-graph-grid,
272
- .x6-graph-svg {
273
- position: relative;
274
- width: 100%;
275
- height: 100vh;
276
- }
277
- }
1
+ .system-setting-create-demand {
2
+ display: flex;
3
+ flex-direction: column;
4
+ height: 100%;
5
+ padding: 0 16px 16px;
6
+ background: #fafafb;
7
+ .forbiddenColor {
8
+ background-color: #f2f3f4;
9
+ }
10
+ .setting-point-map-page-content-img-select {
11
+ position: relative;
12
+ }
13
+ .ant-image {
14
+ position: static;
15
+ }
16
+ .ant-image .ant-image-mask {
17
+ color: #fff;
18
+ font-size: 24px;
19
+ background: rgba(2, 20, 41, 0.5) !important;
20
+ }
21
+ &-row {
22
+ display: flex;
23
+ flex: 1;
24
+ flex-direction: row;
25
+ overflow-y: auto;
26
+ }
27
+ &-right {
28
+ position: relative;
29
+ display: flex;
30
+ flex: 288;
31
+ overflow: hidden;
32
+ background: #f2f3f4;
33
+ border: 1px solid #e6e7ea;
34
+ border-bottom: 0;
35
+ border-top-right-radius: 8px;
36
+ // border-bottom-right-radius: 8px;
37
+ .setting-graph-panel {
38
+ right: 14px;
39
+ left: auto;
40
+ transform: none;
41
+ }
42
+ &-end {
43
+ display: flex;
44
+ align-items: center;
45
+ justify-content: center;
46
+ width: 100%;
47
+ }
48
+ &-title {
49
+ position: absolute;
50
+ top: 16px;
51
+ left: 16px;
52
+ color: var(--io-N-, #021429);
53
+ font-weight: 400;
54
+ font-size: 14px;
55
+ font-family: 'PingFang SC';
56
+ font-style: normal;
57
+ line-height: 22px; /* 157.143% */
58
+ text-align: right;
59
+ }
60
+ }
61
+ &-header {
62
+ display: flex;
63
+ flex-direction: row;
64
+ gap: 16px;
65
+ align-items: center;
66
+ padding: 12px 0;
67
+ color: var(--io-N6-, #67727f);
68
+ font-weight: 400;
69
+ font-size: 14px;
70
+ &-back {
71
+ cursor: pointer;
72
+ }
73
+ }
74
+ &-footer {
75
+ display: flex;
76
+ gap: 16px;
77
+ align-items: center;
78
+ padding: 18px 24px;
79
+ background: #fff;
80
+ border-top: 1px solid var(--io-N1-, #e6e7ea);
81
+ border-bottom-right-radius: 8px;
82
+ border-bottom-left-radius: 8px;
83
+ .button:not(.disabled) {
84
+ color: #1454e5;
85
+ border: 1px solid #1454e5;
86
+ }
87
+ &-btnRight {
88
+ display: flex;
89
+ align-items: center;
90
+ margin-right: 310px;
91
+ margin-left: auto;
92
+ .commentBtn {
93
+ margin-left: 10px;
94
+ }
95
+ }
96
+ }
97
+ &-info {
98
+ display: flex;
99
+ flex: 912;
100
+ flex-direction: column;
101
+ gap: 24px;
102
+ align-items: flex-start;
103
+ padding: 0 0 24px;
104
+ overflow: hidden;
105
+ overflow-y: auto;
106
+ background: #fff;
107
+ border-top-left-radius: 8px;
108
+ // border-bottom-left-radius: 8px;
109
+ &-img {
110
+ display: flex;
111
+ flex-direction: column;
112
+ gap: 24px;
113
+ align-items: flex-start;
114
+ width: 100%;
115
+ padding: 24px 24px 0;
116
+ background: #fff;
117
+ }
118
+ &-item {
119
+ display: flex;
120
+ flex-direction: row;
121
+ // align-items: center;
122
+ gap: 12px;
123
+ width: 100%;
124
+ &-yasuobao {
125
+ width: 24px;
126
+ height: 24px;
127
+ background: url('./../images/yasuobao.png') no-repeat;
128
+ background-size: contain;
129
+ &-txt:hover {
130
+ text-decoration: underline;
131
+ }
132
+ }
133
+ &-txt {
134
+ width: 96px;
135
+ margin-top: 6px;
136
+ color: var(----3, #5f6085);
137
+ font-weight: 400;
138
+ font-size: 14px;
139
+ text-align: right;
140
+ span {
141
+ margin-right: 4px;
142
+ color: var(--io-Error-E-, #fb5547);
143
+ font-weight: 400;
144
+ font-size: 14px;
145
+ }
146
+ }
147
+ &-content {
148
+ position: relative;
149
+ flex: 1;
150
+ width: calc(100% - 108px);
151
+ input,
152
+ textarea {
153
+ border-color: #fafafb;
154
+ }
155
+ &-input-num {
156
+ position: absolute;
157
+ right: 12px;
158
+ bottom: 6px;
159
+ color: var(--io-N4-, #9aa1a9);
160
+ font-weight: 400;
161
+ font-size: 14px;
162
+ }
163
+ &-picker {
164
+ width: 100%;
165
+ background-color: #fafafb;
166
+ }
167
+ .ant-upload-disabled .system-setting-create-demand-info-item-content-btn {
168
+ color: #ccd0d4;
169
+ }
170
+ &-btn {
171
+ display: flex;
172
+ gap: 8px;
173
+ align-items: center;
174
+ height: 32px;
175
+ padding: 10px 16px;
176
+ color: var(--io-N-, #021429);
177
+ font-weight: 400;
178
+ font-size: 14px;
179
+ font-family: 'PingFang SC';
180
+ font-style: normal;
181
+ line-height: normal;
182
+ background: var(--io-n-05, #f2f3f4);
183
+ border: 1px dashed var(--io-N1-, #e6e7ea);
184
+ border-radius: 4px;
185
+ }
186
+ &-tip {
187
+ color: var(--io-N4-, #9aa1a9);
188
+ font-weight: 400;
189
+ font-size: 14px;
190
+ font-family: 'PingFang SC';
191
+ font-style: normal;
192
+ line-height: normal;
193
+ }
194
+ &-ptxt {
195
+ display: block;
196
+ transform: translateY(6px);
197
+ }
198
+ &-row {
199
+ display: flex;
200
+ flex-direction: row;
201
+ gap: 12px;
202
+ align-items: center;
203
+ height: 34px;
204
+ .qingchu {
205
+ font-size: 16px;
206
+ cursor: pointer;
207
+ }
208
+ .icon-yasuobao {
209
+ font-size: 24px;
210
+ }
211
+ }
212
+ &-tab {
213
+ display: flex;
214
+ flex: 1 0 0;
215
+ gap: 24px;
216
+ align-items: flex-start;
217
+ padding: 12px 24px 0px 24px;
218
+ background: var(--io-n-02, #fafafb);
219
+ border-bottom: 1px solid var(--io-N1-, #e6e7ea);
220
+ &-item {
221
+ display: flex;
222
+ flex-direction: column;
223
+ align-items: flex-start;
224
+ padding-bottom: 10px;
225
+ color: #021429;
226
+ font-size: 16px;
227
+ line-height: 20px; /* 125% */
228
+ border-bottom: 2px solid transparent;
229
+ cursor: pointer;
230
+ }
231
+ &-item-select {
232
+ display: flex;
233
+ flex-direction: column;
234
+ align-items: flex-start;
235
+ padding-bottom: 10px;
236
+ color: #165dff;
237
+ font-size: 16px;
238
+ line-height: 20px; /* 125% */
239
+ border-bottom: 2px solid #165dff;
240
+ cursor: pointer;
241
+ }
242
+ }
243
+ &-filter {
244
+ display: flex;
245
+ flex-direction: row;
246
+ gap: 16px;
247
+ padding: 1px 0 16px;
248
+ .button:not(.disabled) {
249
+ color: #1454e5;
250
+ border: 1px solid #1454e5;
251
+ }
252
+ }
253
+ &-content {
254
+ min-height: 300px;
255
+ }
256
+ }
257
+ }
258
+ &-right {
259
+ margin-left: auto;
260
+ &-button {
261
+ margin-left: 10px;
262
+ }
263
+ }
264
+ &-tabList {
265
+ display: flex;
266
+ align-items: center;
267
+ color: #9aa1a9;
268
+ border-radius: 5px;
269
+ // outline: 1px solid #9aa1a9;
270
+ &-item {
271
+ box-sizing: border-box;
272
+ width: 90px;
273
+ height: 32px;
274
+ line-height: 32px;
275
+ text-align: center;
276
+ cursor: pointer;
277
+ }
278
+ &-item:nth-child(1) {
279
+ border-top: 1px solid #9aa1a9;
280
+ border-bottom: 1px solid #9aa1a9;
281
+ border-left: 1px solid #9aa1a9;
282
+ border-radius: 2px 0 0 2px;
283
+ }
284
+ &-item:nth-child(2) {
285
+ border-top: 1px solid #9aa1a9;
286
+ border-right: 1px solid #9aa1a9;
287
+ border-bottom: 1px solid #9aa1a9;
288
+ border-radius: 0 2px 2px 0;
289
+ }
290
+ &-active {
291
+ color: #fff;
292
+ background-color: #165dff;
293
+ border: none !important;
294
+ }
295
+ }
296
+ }
297
+ &-drawer {
298
+ .ant-drawer-header-title .ant-drawer-close {
299
+ position: absolute;
300
+ right: 6px;
301
+ }
302
+ }
303
+ &-content-img-select {
304
+ position: relative;
305
+ display: flex;
306
+ align-items: center;
307
+ align-self: stretch;
308
+ justify-content: center;
309
+ width: 80px;
310
+ height: 80px;
311
+ background: var(--io-n-05, #f2f3f4);
312
+ border: 1px solid var(--io-N1-, #e6e7ea);
313
+ border-radius: 4px;
314
+ img {
315
+ max-width: 78px;
316
+ max-height: 78px;
317
+ }
318
+ }
319
+ &-comment {
320
+ width: 100%;
321
+ margin-top: 20px;
322
+ &-tab {
323
+ display: flex;
324
+ align-items: center;
325
+ margin: 0 10px 0 20px;
326
+ padding-bottom: 10px;
327
+ font-size: 16px;
328
+ border-bottom: 1px solid #e6e7ea;
329
+
330
+ &-btn {
331
+ color: #9aa1a9;
332
+ font-size: 16px;
333
+ cursor: pointer;
334
+ }
335
+ &-btnActive {
336
+ color: #116acc;
337
+ font-weight: bold;
338
+ }
339
+ &-btn + &-btn::before {
340
+ display: inline-block;
341
+ margin: 0 10px;
342
+ color: #9aa1a9;
343
+ font-weight: bold;
344
+ transform: translateY(-2px);
345
+ content: '|';
346
+ }
347
+ }
348
+ &-empty {
349
+ min-height: 200px;
350
+ color: #9aa1a9;
351
+ font-size: 16px;
352
+ line-height: 200px;
353
+ text-align: center;
354
+ }
355
+ &-list {
356
+ margin: 0 10px 0 20px;
357
+ padding: 10px 0;
358
+ border-bottom: 1px solid #e6e7ea;
359
+ &-time {
360
+ margin-left: 10px;
361
+ color: #9aa1a9;
362
+ font-size: 12px;
363
+ }
364
+ &-text {
365
+ margin-top: 5px;
366
+ color: #9aa1a9;
367
+ font-size: 12px;
368
+ }
369
+ }
370
+ }
371
+ &-history {
372
+ &-list {
373
+ margin: 0 10px 0 20px;
374
+ padding: 10px 0;
375
+ border-bottom: 1px solid #e6e7ea;
376
+ span {
377
+ margin: 0 5px;
378
+ color: #116acc;
379
+ }
380
+ }
381
+ }
382
+ }
383
+
384
+ #system-setting-demand {
385
+ position: fixed;
386
+ z-index: -1000;
387
+ width: 100%;
388
+ height: 100vh;
389
+ margin: 50px;
390
+ .x6-graph-background,
391
+ .x6-graph-grid,
392
+ .x6-graph-svg {
393
+ position: relative;
394
+ width: 100%;
395
+ height: 100vh;
396
+ }
397
+ }