verce-vue-test 0.0.63 → 0.0.65
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/package.json +1 -1
- package/src/views/ForecastInfo/components/FlowInfoPanel.vue +24 -24
- package/src/views/ForecastInfo/components/ForecastInfoPanel.vue +72 -66
- package/src/views/ForecastInfo/forecast-info.css +130 -159
- package/src/views/ForecastInfo/index.vue +2 -2
- package/src/views/ForecastInfo/store.ts +60 -8
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
/* ---- 卡片与标题:两张业务卡片共享相同的边框、阴影和内部弹性结构。 ---- */
|
|
30
|
-
.
|
|
30
|
+
.forecast-info-page .forecast-info-card {
|
|
31
31
|
display: flex;
|
|
32
32
|
min-height: 0;
|
|
33
33
|
flex-direction: column;
|
|
@@ -39,12 +39,12 @@
|
|
|
39
39
|
box-shadow: 0 4px 16px rgba(20, 39, 72, .08);
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
.forecast-info-page--horizontal .
|
|
42
|
+
.forecast-info-page.forecast-info-page--horizontal .forecast-info-card {
|
|
43
43
|
height: 100%;
|
|
44
44
|
min-width: 0;
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
-
.
|
|
47
|
+
.forecast-info-page .forecast-info-card__header {
|
|
48
48
|
display: flex;
|
|
49
49
|
align-items: center;
|
|
50
50
|
justify-content: space-between;
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
padding: 0 4px;
|
|
54
54
|
}
|
|
55
55
|
|
|
56
|
-
.layout-switch {
|
|
56
|
+
.forecast-info-page .forecast-info-layout-switch {
|
|
57
57
|
display: inline-flex;
|
|
58
58
|
align-items: center;
|
|
59
59
|
gap: 2px;
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
background: #f6f9fd;
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
-
.layout-switch__button {
|
|
67
|
+
.forecast-info-page .forecast-info-layout-switch__button {
|
|
68
68
|
display: inline-flex;
|
|
69
69
|
width: 26px;
|
|
70
70
|
height: 24px;
|
|
@@ -79,23 +79,23 @@
|
|
|
79
79
|
transition: background-color .16s ease, color .16s ease, box-shadow .16s ease;
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
.layout-switch__button:hover {
|
|
82
|
+
.forecast-info-page .forecast-info-layout-switch__button:hover {
|
|
83
83
|
background: #e8f1ff;
|
|
84
84
|
color: #1668ff;
|
|
85
85
|
}
|
|
86
86
|
|
|
87
|
-
.layout-switch__button.is-active {
|
|
87
|
+
.forecast-info-page .forecast-info-layout-switch__button.is-active {
|
|
88
88
|
background: #1668ff;
|
|
89
89
|
color: #fff;
|
|
90
90
|
box-shadow: 0 3px 8px rgba(22, 104, 255, .22);
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
.layout-switch__button .el-icon {
|
|
93
|
+
.forecast-info-page .forecast-info-layout-switch__button .el-icon {
|
|
94
94
|
font-size: 15px;
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
/* 标题左侧蓝色标识与页面主色保持一致。 */
|
|
98
|
-
.
|
|
98
|
+
.forecast-info-page .forecast-info-card__title {
|
|
99
99
|
position: relative;
|
|
100
100
|
display: flex;
|
|
101
101
|
align-items: center;
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
line-height: 1;
|
|
107
107
|
}
|
|
108
108
|
|
|
109
|
-
.
|
|
109
|
+
.forecast-info-page .forecast-info-card__title::before {
|
|
110
110
|
width: 3px;
|
|
111
111
|
height: 17px;
|
|
112
112
|
margin-right: 12px;
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
}
|
|
117
117
|
|
|
118
118
|
/* ---- 筛选区:主页面保持紧凑,更多条件统一放入抽屉。 ---- */
|
|
119
|
-
.forecast-filter
|
|
119
|
+
.forecast-info-filter {
|
|
120
120
|
display: flex;
|
|
121
121
|
align-items: center;
|
|
122
122
|
gap: 24px;
|
|
@@ -125,7 +125,7 @@
|
|
|
125
125
|
padding: 0 8px;
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
.forecast-
|
|
128
|
+
.forecast-info-filter__grid {
|
|
129
129
|
display: grid;
|
|
130
130
|
flex: 1 1 auto;
|
|
131
131
|
grid-template-columns: 300px 300px;
|
|
@@ -134,12 +134,12 @@
|
|
|
134
134
|
row-gap: 10px;
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
-
.forecast-filter
|
|
137
|
+
.forecast-info-filter:not(.forecast-info-filter--horizontal) .forecast-info-filter__grid {
|
|
138
138
|
flex: 0 0 auto;
|
|
139
139
|
grid-template-columns: 248px 220px;
|
|
140
140
|
}
|
|
141
141
|
|
|
142
|
-
.forecast-
|
|
142
|
+
.forecast-info-filter__item {
|
|
143
143
|
display: grid;
|
|
144
144
|
grid-template-columns: 78px minmax(0, 1fr);
|
|
145
145
|
align-items: center;
|
|
@@ -147,7 +147,7 @@
|
|
|
147
147
|
min-width: 0;
|
|
148
148
|
}
|
|
149
149
|
|
|
150
|
-
.forecast-
|
|
150
|
+
.forecast-info-filter__item > span {
|
|
151
151
|
color: #1f2937;
|
|
152
152
|
font-size: 14px;
|
|
153
153
|
font-weight: 600;
|
|
@@ -155,46 +155,46 @@
|
|
|
155
155
|
white-space: nowrap;
|
|
156
156
|
}
|
|
157
157
|
|
|
158
|
-
.forecast-
|
|
159
|
-
.forecast-
|
|
160
|
-
.forecast-
|
|
158
|
+
.forecast-info-filter__item .el-select,
|
|
159
|
+
.forecast-info-filter__item .el-input,
|
|
160
|
+
.forecast-info-filter__item .el-date-editor {
|
|
161
161
|
width: 100%;
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
.forecast-
|
|
165
|
-
.forecast-
|
|
166
|
-
.forecast-
|
|
164
|
+
.forecast-info-filter__item .el-input__wrapper,
|
|
165
|
+
.forecast-info-filter__item .el-select__wrapper,
|
|
166
|
+
.forecast-info-filter__item .el-date-editor.el-input__wrapper {
|
|
167
167
|
border-radius: 4px;
|
|
168
168
|
box-shadow: 0 0 0 1px #d8e1ee inset;
|
|
169
169
|
}
|
|
170
170
|
|
|
171
|
-
.forecast-
|
|
172
|
-
.forecast-
|
|
173
|
-
.forecast-
|
|
171
|
+
.forecast-info-filter__item .el-input__inner,
|
|
172
|
+
.forecast-info-filter__item .el-range-input,
|
|
173
|
+
.forecast-info-filter__item .el-select__placeholder {
|
|
174
174
|
color: #334155;
|
|
175
175
|
font-size: 13px;
|
|
176
176
|
}
|
|
177
177
|
|
|
178
|
-
.forecast-
|
|
178
|
+
.forecast-info-filter__item .el-range-separator {
|
|
179
179
|
flex: 0 0 30px;
|
|
180
180
|
color: #25354b;
|
|
181
181
|
font-size: 13px;
|
|
182
182
|
}
|
|
183
183
|
|
|
184
|
-
.forecast-
|
|
184
|
+
.forecast-info-filter__item--range {
|
|
185
185
|
grid-template-columns: 98px minmax(0, 1fr);
|
|
186
186
|
}
|
|
187
187
|
|
|
188
|
-
.forecast-
|
|
188
|
+
.forecast-info-filter__number-range {
|
|
189
189
|
flex-wrap: nowrap;
|
|
190
190
|
gap: 0;
|
|
191
191
|
}
|
|
192
192
|
|
|
193
|
-
.forecast-
|
|
193
|
+
.forecast-info-filter__number-range .number-range__input {
|
|
194
194
|
min-width: 0;
|
|
195
195
|
}
|
|
196
196
|
|
|
197
|
-
.forecast-
|
|
197
|
+
.forecast-info-filter__number-range .number-range__separator {
|
|
198
198
|
width: 38px;
|
|
199
199
|
color: #25354b;
|
|
200
200
|
font-size: 13px;
|
|
@@ -202,7 +202,7 @@
|
|
|
202
202
|
text-align: center;
|
|
203
203
|
}
|
|
204
204
|
|
|
205
|
-
.forecast-
|
|
205
|
+
.forecast-info-filter__actions {
|
|
206
206
|
display: flex;
|
|
207
207
|
align-items: center;
|
|
208
208
|
flex: 0 0 auto;
|
|
@@ -211,24 +211,24 @@
|
|
|
211
211
|
margin-left: auto;
|
|
212
212
|
}
|
|
213
213
|
|
|
214
|
-
.forecast-
|
|
214
|
+
.forecast-info-filter__actions .el-button + .el-button {
|
|
215
215
|
margin-left: 0;
|
|
216
216
|
}
|
|
217
217
|
|
|
218
|
-
.forecast-
|
|
218
|
+
.forecast-info-filter__actions .el-button {
|
|
219
219
|
min-width: 76px;
|
|
220
220
|
border-radius: 4px;
|
|
221
221
|
font-weight: 600;
|
|
222
222
|
}
|
|
223
223
|
|
|
224
|
-
.forecast-
|
|
224
|
+
.forecast-info-filter__actions .el-button--primary {
|
|
225
225
|
background: linear-gradient(180deg, #2b7bff 0%, #1668ff 100%);
|
|
226
226
|
border-color: #1668ff;
|
|
227
227
|
box-shadow: 0 4px 10px rgba(22, 104, 255, .24);
|
|
228
228
|
}
|
|
229
229
|
|
|
230
230
|
/* 左右卡片空间较窄时,仅保留一个快速筛选项和同一行操作按钮。 */
|
|
231
|
-
.forecast-filter
|
|
231
|
+
.forecast-info-filter--horizontal {
|
|
232
232
|
display: grid;
|
|
233
233
|
grid-template-columns: minmax(220px, 238px) auto;
|
|
234
234
|
align-items: center;
|
|
@@ -237,63 +237,63 @@
|
|
|
237
237
|
padding: 0 4px;
|
|
238
238
|
}
|
|
239
239
|
|
|
240
|
-
.forecast-filter
|
|
240
|
+
.forecast-info-filter--horizontal .forecast-info-filter__grid {
|
|
241
241
|
min-width: 0;
|
|
242
242
|
grid-template-columns: minmax(0, 1fr);
|
|
243
243
|
column-gap: 0;
|
|
244
244
|
}
|
|
245
245
|
|
|
246
|
-
.forecast-filter
|
|
246
|
+
.forecast-info-filter--horizontal .forecast-info-filter__item {
|
|
247
247
|
grid-template-columns: 58px minmax(0, 1fr);
|
|
248
248
|
gap: 6px;
|
|
249
249
|
}
|
|
250
250
|
|
|
251
|
-
.forecast-filter
|
|
251
|
+
.forecast-info-filter--horizontal .forecast-info-filter__item > span {
|
|
252
252
|
font-size: 13px;
|
|
253
253
|
}
|
|
254
254
|
|
|
255
|
-
.forecast-filter
|
|
255
|
+
.forecast-info-filter--horizontal .forecast-info-filter__actions {
|
|
256
256
|
min-width: max-content;
|
|
257
257
|
gap: 4px;
|
|
258
258
|
margin-left: 0;
|
|
259
259
|
flex-wrap: nowrap;
|
|
260
260
|
}
|
|
261
261
|
|
|
262
|
-
.forecast-filter
|
|
262
|
+
.forecast-info-filter--horizontal .forecast-info-filter__actions .el-button {
|
|
263
263
|
min-width: 58px;
|
|
264
264
|
padding-right: 6px;
|
|
265
265
|
padding-left: 6px;
|
|
266
266
|
}
|
|
267
267
|
|
|
268
268
|
/* 抽屉始终显示完整筛选条件,避免布局模式影响可查询字段。 */
|
|
269
|
-
.forecast-
|
|
269
|
+
.forecast-info-filter__drawer-grid {
|
|
270
270
|
display: grid;
|
|
271
271
|
gap: 14px;
|
|
272
272
|
padding-right: 6px;
|
|
273
273
|
}
|
|
274
274
|
|
|
275
|
-
.forecast-
|
|
275
|
+
.forecast-info-filter__drawer-grid .forecast-info-filter__item {
|
|
276
276
|
grid-template-columns: 118px minmax(0, 1fr);
|
|
277
277
|
}
|
|
278
278
|
|
|
279
|
-
.forecast-
|
|
279
|
+
.forecast-info-filter__drawer-actions {
|
|
280
280
|
display: flex;
|
|
281
281
|
justify-content: flex-end;
|
|
282
282
|
gap: 10px;
|
|
283
283
|
}
|
|
284
284
|
|
|
285
|
-
.forecast-filter-drawer .el-drawer__header {
|
|
285
|
+
.forecast-info-filter-drawer .el-drawer__header {
|
|
286
286
|
margin-bottom: 12px;
|
|
287
287
|
padding-bottom: 12px;
|
|
288
288
|
border-bottom: 1px solid #edf1f7;
|
|
289
289
|
}
|
|
290
290
|
|
|
291
|
-
.forecast-filter-drawer .el-drawer__body {
|
|
291
|
+
.forecast-info-filter-drawer .el-drawer__body {
|
|
292
292
|
padding-top: 2px;
|
|
293
293
|
}
|
|
294
294
|
|
|
295
295
|
/* ---- 表格区:利用 flex 将表体撑开到卡片剩余高度,分页固定在底部。 ---- */
|
|
296
|
-
.forecast-info-page .table-area {
|
|
296
|
+
.forecast-info-page .forecast-info-table-area {
|
|
297
297
|
display: flex;
|
|
298
298
|
min-height: 0;
|
|
299
299
|
flex: 1 1 auto;
|
|
@@ -303,70 +303,70 @@
|
|
|
303
303
|
border-top: 1px solid #edf1f7;
|
|
304
304
|
}
|
|
305
305
|
|
|
306
|
-
.forecast-info-page .table-area > .el-table-plus {
|
|
306
|
+
.forecast-info-page .forecast-info-table-area > .el-table-plus {
|
|
307
307
|
display: flex;
|
|
308
308
|
min-height: 0;
|
|
309
309
|
flex: 1 1 auto;
|
|
310
310
|
flex-direction: column;
|
|
311
311
|
}
|
|
312
312
|
|
|
313
|
-
.forecast-info-page .table-area > .el-table-plus > .
|
|
313
|
+
.forecast-info-page .forecast-info-table-area > .el-table-plus > .forecast-info-table {
|
|
314
314
|
flex: 1 1 auto;
|
|
315
315
|
min-height: 0;
|
|
316
316
|
width: 100%;
|
|
317
317
|
}
|
|
318
318
|
|
|
319
|
-
.forecast-info-page .table-area > .el-table-plus .el-table-plus__toolbar {
|
|
319
|
+
.forecast-info-page .forecast-info-table-area > .el-table-plus .el-table-plus__toolbar {
|
|
320
320
|
flex: 0 0 auto;
|
|
321
321
|
margin-bottom: 10px;
|
|
322
322
|
}
|
|
323
323
|
|
|
324
|
-
.forecast-info-page .table-area > .el-table-plus .el-table-plus__toolbar-left,
|
|
325
|
-
.forecast-info-page .table-area > .el-table-plus .el-table-plus__toolbar-right {
|
|
324
|
+
.forecast-info-page .forecast-info-table-area > .el-table-plus .el-table-plus__toolbar-left,
|
|
325
|
+
.forecast-info-page .forecast-info-table-area > .el-table-plus .el-table-plus__toolbar-right {
|
|
326
326
|
flex-wrap: wrap;
|
|
327
327
|
gap: 10px;
|
|
328
328
|
}
|
|
329
329
|
|
|
330
|
-
.forecast-info-page .
|
|
330
|
+
.forecast-info-page .forecast-info-table {
|
|
331
331
|
border-radius: 4px;
|
|
332
332
|
overflow: hidden;
|
|
333
333
|
}
|
|
334
334
|
|
|
335
|
-
.forecast-info-page .
|
|
335
|
+
.forecast-info-page .forecast-info-table .el-table__header th {
|
|
336
336
|
background: #f5f7fa;
|
|
337
337
|
color: #24344b;
|
|
338
338
|
font-size: 12px;
|
|
339
339
|
font-weight: 700;
|
|
340
340
|
}
|
|
341
341
|
|
|
342
|
-
.forecast-info-page .
|
|
342
|
+
.forecast-info-page .forecast-info-table .el-table__cell {
|
|
343
343
|
padding: 0;
|
|
344
344
|
}
|
|
345
345
|
|
|
346
|
-
.forecast-info-page .
|
|
346
|
+
.forecast-info-page .forecast-info-table .el-table__empty-block {
|
|
347
347
|
min-height: 86px;
|
|
348
348
|
}
|
|
349
349
|
|
|
350
|
-
.forecast-info-page .
|
|
350
|
+
.forecast-info-page .forecast-info-table .el-empty {
|
|
351
351
|
padding: 0;
|
|
352
352
|
}
|
|
353
353
|
|
|
354
|
-
.forecast-info-page .
|
|
354
|
+
.forecast-info-page .forecast-info-table .el-empty__description {
|
|
355
355
|
margin-top: 4px;
|
|
356
356
|
}
|
|
357
357
|
|
|
358
|
-
.forecast-info-page .
|
|
358
|
+
.forecast-info-page .forecast-info-table .el-empty__description p {
|
|
359
359
|
color: #4a5668;
|
|
360
360
|
font-size: 13px;
|
|
361
361
|
}
|
|
362
362
|
|
|
363
|
-
.forecast-info-page .table-area > .el-table-plus .el-table-plus__pagination {
|
|
363
|
+
.forecast-info-page .forecast-info-table-area > .el-table-plus .el-table-plus__pagination {
|
|
364
364
|
flex: 0 0 auto;
|
|
365
365
|
margin-top: 10px;
|
|
366
366
|
}
|
|
367
367
|
|
|
368
368
|
/* 操作列使用内联布局,预留后续扩展多个行级按钮的空间。 */
|
|
369
|
-
.forecast-row-actions {
|
|
369
|
+
.forecast-info-row-actions {
|
|
370
370
|
display: inline-flex;
|
|
371
371
|
align-items: center;
|
|
372
372
|
justify-content: center;
|
|
@@ -374,20 +374,15 @@
|
|
|
374
374
|
white-space: nowrap;
|
|
375
375
|
}
|
|
376
376
|
|
|
377
|
-
.forecast-row-actions .el-button + .el-button {
|
|
378
|
-
margin-left: 0;
|
|
379
|
-
}
|
|
380
|
-
|
|
381
377
|
/* ---- 匡算弹窗:展示预报和流水多选数据的共享汇总。 ---- */
|
|
382
|
-
.forecast-calculation-dialog.el-dialog
|
|
383
|
-
.forecast-calculation-dialog .el-dialog {
|
|
378
|
+
.forecast-info-calculation-dialog.el-dialog {
|
|
384
379
|
max-width: calc(100vw - 32px);
|
|
385
380
|
border-radius: 10px;
|
|
386
381
|
background: rgba(255, 255, 255, .98);
|
|
387
382
|
box-shadow: 0 18px 48px rgba(15, 23, 42, .22);
|
|
388
383
|
}
|
|
389
384
|
|
|
390
|
-
.forecast-calculation-dialog .el-dialog__header {
|
|
385
|
+
.forecast-info-calculation-dialog .el-dialog__header {
|
|
391
386
|
position: relative;
|
|
392
387
|
display: flex;
|
|
393
388
|
min-height: 48px;
|
|
@@ -396,7 +391,7 @@
|
|
|
396
391
|
margin-right: 0;
|
|
397
392
|
}
|
|
398
393
|
|
|
399
|
-
.forecast-calculation-dialog__title {
|
|
394
|
+
.forecast-info-calculation-dialog__title {
|
|
400
395
|
display: inline-flex;
|
|
401
396
|
align-items: center;
|
|
402
397
|
gap: 10px;
|
|
@@ -407,35 +402,35 @@
|
|
|
407
402
|
line-height: 1;
|
|
408
403
|
}
|
|
409
404
|
|
|
410
|
-
.forecast-calculation-dialog__title-bar {
|
|
405
|
+
.forecast-info-calculation-dialog__title-bar {
|
|
411
406
|
width: 5px;
|
|
412
407
|
height: 26px;
|
|
413
408
|
border-radius: 3px;
|
|
414
409
|
background: #1677ff;
|
|
415
410
|
}
|
|
416
411
|
|
|
417
|
-
.forecast-calculation-dialog .el-dialog__headerbtn {
|
|
412
|
+
.forecast-info-calculation-dialog .el-dialog__headerbtn {
|
|
418
413
|
top: 14px;
|
|
419
414
|
right: 16px;
|
|
420
415
|
width: 28px;
|
|
421
416
|
height: 28px;
|
|
422
417
|
}
|
|
423
418
|
|
|
424
|
-
.forecast-calculation-dialog .el-dialog__close {
|
|
419
|
+
.forecast-info-calculation-dialog .el-dialog__close {
|
|
425
420
|
color: #6b7280;
|
|
426
421
|
font-size: 22px;
|
|
427
422
|
transition: color .16s ease;
|
|
428
423
|
}
|
|
429
424
|
|
|
430
|
-
.forecast-calculation-dialog .el-dialog__headerbtn:hover .el-dialog__close {
|
|
425
|
+
.forecast-info-calculation-dialog .el-dialog__headerbtn:hover .el-dialog__close {
|
|
431
426
|
color: #1677ff;
|
|
432
427
|
}
|
|
433
428
|
|
|
434
|
-
.forecast-calculation-dialog .el-dialog__body {
|
|
429
|
+
.forecast-info-calculation-dialog .el-dialog__body {
|
|
435
430
|
padding: 10px 28px 8px;
|
|
436
431
|
}
|
|
437
432
|
|
|
438
|
-
.forecast-calculation-summary-card {
|
|
433
|
+
.forecast-info-calculation-summary-card {
|
|
439
434
|
padding: 16px 14px 14px;
|
|
440
435
|
border: 1px solid #dfe8f5;
|
|
441
436
|
border-radius: 8px;
|
|
@@ -443,11 +438,11 @@
|
|
|
443
438
|
box-shadow: inset 0 0 0 1px rgba(22, 119, 255, .02);
|
|
444
439
|
}
|
|
445
440
|
|
|
446
|
-
.forecast-calculation-section + .forecast-calculation-section {
|
|
441
|
+
.forecast-info-calculation-section + .forecast-info-calculation-section {
|
|
447
442
|
margin-top: 18px;
|
|
448
443
|
}
|
|
449
444
|
|
|
450
|
-
.forecast-calculation-section__title {
|
|
445
|
+
.forecast-info-calculation-section__title {
|
|
451
446
|
display: flex;
|
|
452
447
|
align-items: center;
|
|
453
448
|
gap: 8px;
|
|
@@ -458,7 +453,7 @@
|
|
|
458
453
|
line-height: 1.1;
|
|
459
454
|
}
|
|
460
455
|
|
|
461
|
-
.forecast-calculation-section__icon {
|
|
456
|
+
.forecast-info-calculation-section__icon {
|
|
462
457
|
display: inline-flex;
|
|
463
458
|
width: 24px;
|
|
464
459
|
height: 24px;
|
|
@@ -470,14 +465,14 @@
|
|
|
470
465
|
font-size: 14px;
|
|
471
466
|
}
|
|
472
467
|
|
|
473
|
-
.forecast-calculation-metrics {
|
|
468
|
+
.forecast-info-calculation-metrics {
|
|
474
469
|
overflow: hidden;
|
|
475
470
|
border: 1px solid #dfe8f5;
|
|
476
471
|
border-radius: 8px;
|
|
477
472
|
background: #fff;
|
|
478
473
|
}
|
|
479
474
|
|
|
480
|
-
.forecast-calculation-metric {
|
|
475
|
+
.forecast-info-calculation-metric {
|
|
481
476
|
display: grid;
|
|
482
477
|
min-height: 56px;
|
|
483
478
|
align-items: center;
|
|
@@ -486,17 +481,17 @@
|
|
|
486
481
|
color: #1f2937;
|
|
487
482
|
}
|
|
488
483
|
|
|
489
|
-
.forecast-calculation-metric + .forecast-calculation-metric {
|
|
484
|
+
.forecast-info-calculation-metric + .forecast-info-calculation-metric {
|
|
490
485
|
border-top: 1px solid #dfe4ec;
|
|
491
486
|
}
|
|
492
487
|
|
|
493
|
-
.forecast-calculation-metric__label {
|
|
488
|
+
.forecast-info-calculation-metric__label {
|
|
494
489
|
font-size: 14px;
|
|
495
490
|
font-weight: 600;
|
|
496
491
|
line-height: 1.2;
|
|
497
492
|
}
|
|
498
493
|
|
|
499
|
-
.forecast-calculation-metric__value {
|
|
494
|
+
.forecast-info-calculation-metric__value {
|
|
500
495
|
justify-self: start;
|
|
501
496
|
color: #1677ff;
|
|
502
497
|
font-size: 24px;
|
|
@@ -505,22 +500,22 @@
|
|
|
505
500
|
line-height: 1;
|
|
506
501
|
}
|
|
507
502
|
|
|
508
|
-
.forecast-calculation-metric__unit {
|
|
503
|
+
.forecast-info-calculation-metric__unit {
|
|
509
504
|
color: #4b5563;
|
|
510
505
|
font-size: 14px;
|
|
511
506
|
font-weight: 500;
|
|
512
507
|
}
|
|
513
508
|
|
|
514
|
-
.forecast-calculation-dialog .el-dialog__footer {
|
|
509
|
+
.forecast-info-calculation-dialog .el-dialog__footer {
|
|
515
510
|
padding: 8px 28px 18px;
|
|
516
511
|
}
|
|
517
512
|
|
|
518
|
-
.forecast-calculation-dialog__footer {
|
|
513
|
+
.forecast-info-calculation-dialog__footer {
|
|
519
514
|
display: flex;
|
|
520
515
|
justify-content: flex-end;
|
|
521
516
|
}
|
|
522
517
|
|
|
523
|
-
.forecast-calculation-dialog__footer .el-button {
|
|
518
|
+
.forecast-info-calculation-dialog__footer .el-button {
|
|
524
519
|
min-width: 76px;
|
|
525
520
|
height: 32px;
|
|
526
521
|
border-radius: 4px;
|
|
@@ -528,22 +523,21 @@
|
|
|
528
523
|
font-weight: 700;
|
|
529
524
|
}
|
|
530
525
|
|
|
531
|
-
.forecast-calculation-dialog__footer .el-button--primary {
|
|
526
|
+
.forecast-info-calculation-dialog__footer .el-button--primary {
|
|
532
527
|
border-color: #1677ff;
|
|
533
528
|
background: #1677ff;
|
|
534
529
|
box-shadow: 0 8px 18px rgba(22, 119, 255, .28);
|
|
535
530
|
}
|
|
536
531
|
|
|
537
532
|
/* ---- 修改弹窗:仅允许调整预报金额,其余字段作为只读业务约束。 ---- */
|
|
538
|
-
.forecast-modify-dialog.el-dialog
|
|
539
|
-
.forecast-modify-dialog .el-dialog {
|
|
533
|
+
.forecast-info-modify-dialog.el-dialog {
|
|
540
534
|
max-width: calc(100vw - 32px);
|
|
541
535
|
overflow: hidden;
|
|
542
536
|
border-radius: 8px;
|
|
543
537
|
box-shadow: 0 18px 52px rgba(15, 23, 42, .2);
|
|
544
538
|
}
|
|
545
539
|
|
|
546
|
-
.forecast-modify-dialog .el-dialog__header {
|
|
540
|
+
.forecast-info-modify-dialog .el-dialog__header {
|
|
547
541
|
display: flex;
|
|
548
542
|
min-height: 48px;
|
|
549
543
|
align-items: center;
|
|
@@ -552,7 +546,7 @@
|
|
|
552
546
|
border-bottom: 1px solid #e5ebf3;
|
|
553
547
|
}
|
|
554
548
|
|
|
555
|
-
.forecast-modify-dialog .el-dialog__title {
|
|
549
|
+
.forecast-info-modify-dialog .el-dialog__title {
|
|
556
550
|
position: relative;
|
|
557
551
|
padding-left: 12px;
|
|
558
552
|
color: #172033;
|
|
@@ -560,7 +554,7 @@
|
|
|
560
554
|
font-weight: 700;
|
|
561
555
|
}
|
|
562
556
|
|
|
563
|
-
.forecast-modify-dialog .el-dialog__title::before {
|
|
557
|
+
.forecast-info-modify-dialog .el-dialog__title::before {
|
|
564
558
|
position: absolute;
|
|
565
559
|
top: 50%;
|
|
566
560
|
left: 0;
|
|
@@ -572,16 +566,16 @@
|
|
|
572
566
|
transform: translateY(-50%);
|
|
573
567
|
}
|
|
574
568
|
|
|
575
|
-
.forecast-modify-dialog .el-dialog__headerbtn {
|
|
569
|
+
.forecast-info-modify-dialog .el-dialog__headerbtn {
|
|
576
570
|
top: 2px;
|
|
577
571
|
right: 8px;
|
|
578
572
|
}
|
|
579
573
|
|
|
580
|
-
.forecast-modify-dialog .el-dialog__body {
|
|
574
|
+
.forecast-info-modify-dialog .el-dialog__body {
|
|
581
575
|
padding: 22px 28px 10px;
|
|
582
576
|
}
|
|
583
577
|
|
|
584
|
-
.forecast-modify-
|
|
578
|
+
.forecast-info-modify-dialog__forecast-info-card__title {
|
|
585
579
|
display: flex;
|
|
586
580
|
align-items: center;
|
|
587
581
|
gap: 8px;
|
|
@@ -591,100 +585,78 @@
|
|
|
591
585
|
font-weight: 700;
|
|
592
586
|
}
|
|
593
587
|
|
|
594
|
-
.forecast-modify-
|
|
588
|
+
.forecast-info-modify-dialog__forecast-info-card__title .el-icon {
|
|
595
589
|
font-size: 17px;
|
|
596
590
|
}
|
|
597
591
|
|
|
598
|
-
.forecast-modify-form {
|
|
592
|
+
.forecast-info-modify-form {
|
|
599
593
|
width: min(100%, 420px);
|
|
600
594
|
}
|
|
601
595
|
|
|
602
|
-
.forecast-modify-form .el-form-item {
|
|
596
|
+
.forecast-info-modify-form .el-form-item {
|
|
603
597
|
margin-bottom: 18px;
|
|
604
598
|
}
|
|
605
599
|
|
|
606
|
-
.forecast-modify-form .el-form-item__label {
|
|
600
|
+
.forecast-info-modify-form .el-form-item__label {
|
|
607
601
|
color: #263449;
|
|
608
602
|
font-weight: 600;
|
|
609
603
|
}
|
|
610
604
|
|
|
611
|
-
.forecast-modify-form .el-input__wrapper {
|
|
605
|
+
.forecast-info-modify-form .el-input__wrapper {
|
|
612
606
|
border-radius: 4px;
|
|
613
607
|
box-shadow: 0 0 0 1px #d8e1ee inset;
|
|
614
608
|
}
|
|
615
609
|
|
|
616
|
-
.forecast-modify-form .el-input:not(.is-disabled) .el-input__wrapper:hover,
|
|
617
|
-
.forecast-modify-form .el-input:not(.is-disabled) .el-input__wrapper.is-focus {
|
|
610
|
+
.forecast-info-modify-form .el-input:not(.is-disabled) .el-input__wrapper:hover,
|
|
611
|
+
.forecast-info-modify-form .el-input:not(.is-disabled) .el-input__wrapper.is-focus {
|
|
618
612
|
box-shadow: 0 0 0 1px #1668ff inset;
|
|
619
613
|
}
|
|
620
614
|
|
|
621
|
-
.forecast-modify-form .el-input.is-disabled .el-input__wrapper {
|
|
615
|
+
.forecast-info-modify-form .el-input.is-disabled .el-input__wrapper {
|
|
622
616
|
background: #f5f7fa;
|
|
623
617
|
}
|
|
624
618
|
|
|
625
|
-
.forecast-modify-form .el-input.is-disabled .el-input__inner {
|
|
619
|
+
.forecast-info-modify-form .el-input.is-disabled .el-input__inner {
|
|
626
620
|
color: #7a8798;
|
|
627
621
|
-webkit-text-fill-color: #7a8798;
|
|
628
622
|
}
|
|
629
623
|
|
|
630
|
-
.forecast-modify-dialog .el-dialog__footer {
|
|
624
|
+
.forecast-info-modify-dialog .el-dialog__footer {
|
|
631
625
|
padding: 12px 28px 20px;
|
|
632
626
|
border-top: 1px solid #edf1f7;
|
|
633
627
|
}
|
|
634
628
|
|
|
635
|
-
.forecast-modify-dialog__footer {
|
|
629
|
+
.forecast-info-modify-dialog__footer {
|
|
636
630
|
display: flex;
|
|
637
631
|
justify-content: flex-end;
|
|
638
632
|
gap: 10px;
|
|
639
633
|
}
|
|
640
634
|
|
|
641
|
-
.forecast-modify-dialog__footer .el-button {
|
|
635
|
+
.forecast-info-modify-dialog__footer .el-button {
|
|
642
636
|
min-width: 74px;
|
|
643
637
|
margin-left: 0;
|
|
644
638
|
border-radius: 4px;
|
|
645
639
|
}
|
|
646
640
|
|
|
647
|
-
.forecast-modify-warning {
|
|
641
|
+
.forecast-info-modify-warning {
|
|
648
642
|
border-radius: 8px;
|
|
649
643
|
}
|
|
650
644
|
|
|
651
|
-
/* ---- 响应式收敛:优先确保筛选按钮和日期控件在窄屏不换行溢出。 ---- */
|
|
652
|
-
@media (max-width: 1560px) {
|
|
653
|
-
.forecast-filter-panel--horizontal {
|
|
654
|
-
align-items: center;
|
|
655
|
-
}
|
|
656
|
-
|
|
657
|
-
.forecast-filter-panel--horizontal .forecast-filter-panel__grid {
|
|
658
|
-
grid-template-columns: minmax(0, 1fr);
|
|
659
|
-
}
|
|
660
|
-
|
|
661
|
-
.forecast-filter-panel--horizontal .forecast-filter-panel__actions {
|
|
662
|
-
margin-left: 0;
|
|
663
|
-
}
|
|
664
|
-
}
|
|
665
|
-
|
|
666
645
|
/* 中等宽度下压缩筛选网格的最小列宽,保留双卡片并排能力。 */
|
|
667
646
|
@media (max-width: 1320px) {
|
|
668
|
-
.forecast-filter
|
|
647
|
+
.forecast-info-filter {
|
|
669
648
|
gap: 18px;
|
|
670
649
|
}
|
|
671
650
|
|
|
672
|
-
.forecast-
|
|
651
|
+
.forecast-info-filter__grid {
|
|
673
652
|
grid-template-columns: minmax(280px, 1fr) minmax(220px, .8fr);
|
|
674
653
|
column-gap: 18px;
|
|
675
654
|
}
|
|
676
655
|
|
|
677
|
-
.forecast-filter
|
|
656
|
+
.forecast-info-filter:not(.forecast-info-filter--horizontal) .forecast-info-filter__grid {
|
|
678
657
|
grid-template-columns: minmax(238px, 248px) minmax(220px, 240px);
|
|
679
658
|
}
|
|
680
659
|
|
|
681
|
-
.forecast-filter-panel--horizontal .forecast-filter-panel__grid {
|
|
682
|
-
grid-template-columns: minmax(0, 1fr);
|
|
683
|
-
}
|
|
684
|
-
|
|
685
|
-
.forecast-filter-panel__actions {
|
|
686
|
-
justify-content: flex-end;
|
|
687
|
-
}
|
|
688
660
|
}
|
|
689
661
|
|
|
690
662
|
/* 小屏时将左右卡片退化为上下排列,同时缩小弹窗和汇总指标。 */
|
|
@@ -699,118 +671,117 @@
|
|
|
699
671
|
grid-template-rows: repeat(2, minmax(0, 1fr));
|
|
700
672
|
}
|
|
701
673
|
|
|
702
|
-
.
|
|
674
|
+
.forecast-info-page .forecast-info-card {
|
|
703
675
|
padding: 14px 10px 10px;
|
|
704
676
|
}
|
|
705
677
|
|
|
706
|
-
.forecast-filter
|
|
678
|
+
.forecast-info-filter {
|
|
707
679
|
flex-wrap: wrap;
|
|
708
680
|
gap: 12px;
|
|
709
681
|
}
|
|
710
682
|
|
|
711
|
-
.forecast-
|
|
683
|
+
.forecast-info-filter__grid {
|
|
712
684
|
flex-basis: 100%;
|
|
713
685
|
grid-template-columns: minmax(0, 1fr);
|
|
714
686
|
}
|
|
715
687
|
|
|
716
|
-
.forecast-
|
|
717
|
-
.forecast-
|
|
718
|
-
.forecast-
|
|
688
|
+
.forecast-info-filter__item,
|
|
689
|
+
.forecast-info-filter__item--range,
|
|
690
|
+
.forecast-info-filter__drawer-grid .forecast-info-filter__item {
|
|
719
691
|
grid-template-columns: 96px minmax(0, 1fr);
|
|
720
692
|
}
|
|
721
693
|
|
|
722
|
-
.forecast-
|
|
694
|
+
.forecast-info-filter__actions {
|
|
723
695
|
justify-content: flex-start;
|
|
724
696
|
flex-wrap: wrap;
|
|
725
697
|
margin-left: 0;
|
|
726
698
|
}
|
|
727
699
|
|
|
728
|
-
.forecast-info-page .table-area > .el-table-plus .el-table-plus__pagination {
|
|
700
|
+
.forecast-info-page .forecast-info-table-area > .el-table-plus .el-table-plus__pagination {
|
|
729
701
|
justify-content: flex-start;
|
|
730
702
|
flex-wrap: wrap;
|
|
731
703
|
margin-left: 0;
|
|
732
704
|
}
|
|
733
705
|
|
|
734
|
-
.forecast-calculation-dialog.el-dialog
|
|
735
|
-
.forecast-calculation-dialog .el-dialog {
|
|
706
|
+
.forecast-info-calculation-dialog.el-dialog {
|
|
736
707
|
width: calc(100vw - 24px) !important;
|
|
737
708
|
}
|
|
738
709
|
|
|
739
|
-
.forecast-calculation-dialog .el-dialog__header {
|
|
710
|
+
.forecast-info-calculation-dialog .el-dialog__header {
|
|
740
711
|
min-height: 48px;
|
|
741
712
|
padding: 18px 18px 8px;
|
|
742
713
|
}
|
|
743
714
|
|
|
744
|
-
.forecast-calculation-dialog__title {
|
|
715
|
+
.forecast-info-calculation-dialog__title {
|
|
745
716
|
gap: 10px;
|
|
746
717
|
font-size: 18px;
|
|
747
718
|
}
|
|
748
719
|
|
|
749
|
-
.forecast-calculation-dialog__title-bar {
|
|
720
|
+
.forecast-info-calculation-dialog__title-bar {
|
|
750
721
|
width: 5px;
|
|
751
722
|
height: 26px;
|
|
752
723
|
}
|
|
753
724
|
|
|
754
|
-
.forecast-calculation-dialog .el-dialog__headerbtn {
|
|
725
|
+
.forecast-info-calculation-dialog .el-dialog__headerbtn {
|
|
755
726
|
top: 12px;
|
|
756
727
|
right: 12px;
|
|
757
728
|
}
|
|
758
729
|
|
|
759
|
-
.forecast-calculation-dialog .el-dialog__body {
|
|
730
|
+
.forecast-info-calculation-dialog .el-dialog__body {
|
|
760
731
|
padding: 10px 14px 8px;
|
|
761
732
|
}
|
|
762
733
|
|
|
763
|
-
.forecast-calculation-summary-card {
|
|
734
|
+
.forecast-info-calculation-summary-card {
|
|
764
735
|
padding: 14px 12px;
|
|
765
736
|
}
|
|
766
737
|
|
|
767
|
-
.forecast-calculation-section + .forecast-calculation-section {
|
|
738
|
+
.forecast-info-calculation-section + .forecast-info-calculation-section {
|
|
768
739
|
margin-top: 18px;
|
|
769
740
|
}
|
|
770
741
|
|
|
771
|
-
.forecast-calculation-section__title {
|
|
742
|
+
.forecast-info-calculation-section__title {
|
|
772
743
|
gap: 8px;
|
|
773
744
|
font-size: 16px;
|
|
774
745
|
}
|
|
775
746
|
|
|
776
|
-
.forecast-calculation-metric {
|
|
747
|
+
.forecast-info-calculation-metric {
|
|
777
748
|
min-height: 58px;
|
|
778
749
|
grid-template-columns: minmax(106px, 1fr) auto auto;
|
|
779
750
|
padding: 0 12px;
|
|
780
751
|
column-gap: 6px;
|
|
781
752
|
}
|
|
782
753
|
|
|
783
|
-
.forecast-calculation-metric__label {
|
|
754
|
+
.forecast-info-calculation-metric__label {
|
|
784
755
|
font-size: 14px;
|
|
785
756
|
}
|
|
786
757
|
|
|
787
|
-
.forecast-calculation-metric__value {
|
|
758
|
+
.forecast-info-calculation-metric__value {
|
|
788
759
|
font-size: 22px;
|
|
789
760
|
}
|
|
790
761
|
|
|
791
|
-
.forecast-calculation-metric__unit {
|
|
762
|
+
.forecast-info-calculation-metric__unit {
|
|
792
763
|
font-size: 14px;
|
|
793
764
|
}
|
|
794
765
|
|
|
795
|
-
.forecast-calculation-dialog .el-dialog__footer {
|
|
766
|
+
.forecast-info-calculation-dialog .el-dialog__footer {
|
|
796
767
|
padding: 8px 14px 16px;
|
|
797
768
|
}
|
|
798
769
|
|
|
799
|
-
.forecast-calculation-dialog__footer .el-button {
|
|
770
|
+
.forecast-info-calculation-dialog__footer .el-button {
|
|
800
771
|
min-width: 76px;
|
|
801
772
|
height: 34px;
|
|
802
773
|
font-size: 14px;
|
|
803
774
|
}
|
|
804
775
|
|
|
805
|
-
.forecast-modify-dialog .el-dialog__body {
|
|
776
|
+
.forecast-info-modify-dialog .el-dialog__body {
|
|
806
777
|
padding: 20px 18px 8px;
|
|
807
778
|
}
|
|
808
779
|
|
|
809
|
-
.forecast-modify-dialog .el-dialog__footer {
|
|
780
|
+
.forecast-info-modify-dialog .el-dialog__footer {
|
|
810
781
|
padding: 12px 18px 18px;
|
|
811
782
|
}
|
|
812
783
|
|
|
813
|
-
.forecast-modify-form {
|
|
784
|
+
.forecast-info-modify-form {
|
|
814
785
|
width: 100%;
|
|
815
786
|
}
|
|
816
787
|
}
|