verce-vue-test 0.0.64 → 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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "verce-vue-test",
3
- "version": "0.0.64",
3
+ "version": "0.0.65",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "scripts": {
@@ -170,11 +170,11 @@ function getFlowSequence(index: number) {
170
170
  </script>
171
171
 
172
172
  <template>
173
- <section class="business-card" aria-labelledby="flow-info-title">
173
+ <section class="forecast-info-card" aria-labelledby="flow-info-title">
174
174
  <!-- 卡片标题和页面级布局切换;操作会同步影响预报卡片。 -->
175
- <header class="card-header">
176
- <h2 id="flow-info-title" class="section-title">流水信息</h2>
177
- <div class="layout-switch" role="radiogroup" aria-label="切换流水信息卡片排列方式">
175
+ <header class="forecast-info-card__header">
176
+ <h2 id="flow-info-title" class="forecast-info-card__title">流水信息</h2>
177
+ <div class="forecast-info-layout-switch" role="radiogroup" aria-label="切换流水信息卡片排列方式">
178
178
  <el-tooltip
179
179
  v-for="option in layoutOptions"
180
180
  :key="option.value"
@@ -184,7 +184,7 @@ function getFlowSequence(index: number) {
184
184
  >
185
185
  <button
186
186
  type="button"
187
- class="layout-switch__button"
187
+ class="forecast-info-layout-switch__button"
188
188
  :class="{ 'is-active': layout === option.value }"
189
189
  role="radio"
190
190
  :aria-label="option.label"
@@ -200,9 +200,9 @@ function getFlowSequence(index: number) {
200
200
  </header>
201
201
 
202
202
  <!-- 水平布局收敛为一个快速筛选项,完整条件通过抽屉提供。 -->
203
- <div class="forecast-filter-panel" :class="{ 'forecast-filter-panel--horizontal': layout === 'horizontal' }">
204
- <div class="forecast-filter-panel__grid">
205
- <label class="forecast-filter-panel__item">
203
+ <div class="forecast-info-filter" :class="{ 'forecast-info-filter--horizontal': layout === 'horizontal' }">
204
+ <div class="forecast-info-filter__grid">
205
+ <label class="forecast-info-filter__item">
206
206
  <span>交易日期</span>
207
207
  <el-date-picker
208
208
  v-model="flowForm.tranDate"
@@ -215,7 +215,7 @@ function getFlowSequence(index: number) {
215
215
  />
216
216
  </label>
217
217
 
218
- <label v-if="layout === 'vertical'" class="forecast-filter-panel__item">
218
+ <label v-if="layout === 'vertical'" class="forecast-info-filter__item">
219
219
  <span>收支方向</span>
220
220
  <el-select v-model="flowForm.payDirec" size="small" placeholder="请选择" clearable>
221
221
  <el-option v-for="option in directionOptions" :key="option.value" v-bind="option" />
@@ -223,7 +223,7 @@ function getFlowSequence(index: number) {
223
223
  </label>
224
224
  </div>
225
225
 
226
- <div class="forecast-filter-panel__actions">
226
+ <div class="forecast-info-filter__actions">
227
227
  <el-button type="primary" size="small" :icon="Search" @click="handleFlowQuery">查询</el-button>
228
228
  <el-button size="small" @click="handleFlowReset">重置</el-button>
229
229
  <el-button size="small" @click="flowDrawerVisible = true">更多筛选</el-button>
@@ -231,7 +231,7 @@ function getFlowSequence(index: number) {
231
231
  </div>
232
232
 
233
233
  <!-- 表格填满卡片余高;多选值直接写入 Pinia,供预报核销与匡算联动读取。 -->
234
- <section class="table-area" aria-label="流水信息列表">
234
+ <section class="forecast-info-table-area" aria-label="流水信息列表">
235
235
  <ElTablePro
236
236
  v-model:page="flowPage"
237
237
  v-model:page-size="flowPageSize"
@@ -244,7 +244,7 @@ function getFlowSequence(index: number) {
244
244
  stripe
245
245
  size="small"
246
246
  height="100%"
247
- class="business-table-pro flow-table-pro"
247
+ class="forecast-info-table forecast-info-table--flow"
248
248
  pagination-size="small"
249
249
  @selection-change="forecastInfoStore.handleFlowSelectionChange"
250
250
  @pagination-change="handleFlowPaginationChange"
@@ -294,10 +294,10 @@ function getFlowSequence(index: number) {
294
294
  title="流水更多筛选"
295
295
  size="520px"
296
296
  append-to-body
297
- class="forecast-filter-drawer"
297
+ class="forecast-info-filter-drawer"
298
298
  >
299
- <div class="forecast-filter-panel__drawer-grid">
300
- <label class="forecast-filter-panel__item">
299
+ <div class="forecast-info-filter__drawer-grid">
300
+ <label class="forecast-info-filter__item">
301
301
  <span>交易日期</span>
302
302
  <el-date-picker
303
303
  v-model="flowForm.tranDate"
@@ -310,23 +310,23 @@ function getFlowSequence(index: number) {
310
310
  />
311
311
  </label>
312
312
 
313
- <label class="forecast-filter-panel__item">
313
+ <label class="forecast-info-filter__item">
314
314
  <span>收支方向</span>
315
315
  <el-select v-model="flowForm.payDirec" size="small" placeholder="请选择" clearable>
316
316
  <el-option v-for="option in directionOptions" :key="option.value" v-bind="option" />
317
317
  </el-select>
318
318
  </label>
319
319
 
320
- <label class="forecast-filter-panel__item">
320
+ <label class="forecast-info-filter__item">
321
321
  <span>支付渠道</span>
322
322
  <el-input v-model="flowForm.payChannel" size="small" placeholder="请输入" clearable />
323
323
  </label>
324
324
 
325
- <label class="forecast-filter-panel__item forecast-filter-panel__item--range">
325
+ <label class="forecast-info-filter__item forecast-info-filter__item--range">
326
326
  <span>金额范围(万元)</span>
327
327
  <NumberRange
328
328
  v-model="flowForm.transAmtRange"
329
- class="forecast-filter-panel__number-range"
329
+ class="forecast-info-filter__number-range"
330
330
  separator="至"
331
331
  min-placeholder="最小值"
332
332
  max-placeholder="最大值"
@@ -336,24 +336,24 @@ function getFlowSequence(index: number) {
336
336
  />
337
337
  </label>
338
338
 
339
- <label class="forecast-filter-panel__item">
339
+ <label class="forecast-info-filter__item">
340
340
  <span>核销状态</span>
341
341
  <el-select v-model="flowForm.verifyStatus" size="small" placeholder="请选择" clearable>
342
342
  <el-option v-for="option in statusOptions" :key="option.value" v-bind="option" />
343
343
  </el-select>
344
344
  </label>
345
345
 
346
- <label class="forecast-filter-panel__item">
346
+ <label class="forecast-info-filter__item">
347
347
  <span>我方户名</span>
348
348
  <el-input v-model="flowForm.clientName" size="small" placeholder="请输入" clearable />
349
349
  </label>
350
350
 
351
- <label class="forecast-filter-panel__item">
351
+ <label class="forecast-info-filter__item">
352
352
  <span>对方户名</span>
353
353
  <el-input v-model="flowForm.competName" size="small" placeholder="请输入" clearable />
354
354
  </label>
355
355
 
356
- <label class="forecast-filter-panel__item">
356
+ <label class="forecast-info-filter__item">
357
357
  <span>我方机构</span>
358
358
  <el-select v-model="flowForm.groundBranch" size="small" placeholder="请选择" clearable>
359
359
  <el-option v-for="option in groundBranchOptions" :key="option.value" v-bind="option" />
@@ -362,7 +362,7 @@ function getFlowSequence(index: number) {
362
362
  </div>
363
363
 
364
364
  <template #footer>
365
- <div class="forecast-filter-panel__drawer-actions">
365
+ <div class="forecast-info-filter__drawer-actions">
366
366
  <el-button size="small" @click="flowDrawerVisible = false">取消</el-button>
367
367
  <el-button size="small" @click="handleFlowReset">重置</el-button>
368
368
  <el-button type="primary" size="small" :icon="Search" @click="handleFlowQuery">查询</el-button>
@@ -273,7 +273,7 @@ async function showModifyWarning(message: string) {
273
273
  await ElMessageBox.alert(message, '提示', {
274
274
  type: 'warning',
275
275
  confirmButtonText: '确定',
276
- customClass: 'forecast-modify-warning',
276
+ customClass: 'forecast-info-modify-warning',
277
277
  }).catch(() => undefined)
278
278
  }
279
279
 
@@ -324,11 +324,11 @@ function handleForecastPaginationChange(_value: { page: number; pageSize: number
324
324
  </script>
325
325
 
326
326
  <template>
327
- <section class="business-card" aria-labelledby="forecast-info-title">
327
+ <section class="forecast-info-card" aria-labelledby="forecast-info-title">
328
328
  <!-- 卡片标题与布局切换;两个面板使用相同的切换事件。 -->
329
- <header class="card-header">
330
- <h2 id="forecast-info-title" class="section-title">预报信息</h2>
331
- <div class="layout-switch" role="radiogroup" aria-label="切换预报信息卡片排列方式">
329
+ <header class="forecast-info-card__header">
330
+ <h2 id="forecast-info-title" class="forecast-info-card__title">预报信息</h2>
331
+ <div class="forecast-info-layout-switch" role="radiogroup" aria-label="切换预报信息卡片排列方式">
332
332
  <el-tooltip
333
333
  v-for="option in layoutOptions"
334
334
  :key="option.value"
@@ -338,7 +338,7 @@ function handleForecastPaginationChange(_value: { page: number; pageSize: number
338
338
  >
339
339
  <button
340
340
  type="button"
341
- class="layout-switch__button"
341
+ class="forecast-info-layout-switch__button"
342
342
  :class="{ 'is-active': layout === option.value }"
343
343
  role="radio"
344
344
  :aria-label="option.label"
@@ -354,9 +354,9 @@ function handleForecastPaginationChange(_value: { page: number; pageSize: number
354
354
  </header>
355
355
 
356
356
  <!-- 水平布局仅显示交易日期,其他筛选统一放在抽屉;垂直布局额外显示收支方向。 -->
357
- <div class="forecast-filter-panel" :class="{ 'forecast-filter-panel--horizontal': layout === 'horizontal' }">
358
- <div class="forecast-filter-panel__grid">
359
- <label class="forecast-filter-panel__item">
357
+ <div class="forecast-info-filter" :class="{ 'forecast-info-filter--horizontal': layout === 'horizontal' }">
358
+ <div class="forecast-info-filter__grid">
359
+ <label class="forecast-info-filter__item">
360
360
  <span>交易日期</span>
361
361
  <el-date-picker
362
362
  v-model="forecastForm.tradeDate"
@@ -369,7 +369,7 @@ function handleForecastPaginationChange(_value: { page: number; pageSize: number
369
369
  />
370
370
  </label>
371
371
 
372
- <label v-if="layout === 'vertical'" class="forecast-filter-panel__item">
372
+ <label v-if="layout === 'vertical'" class="forecast-info-filter__item">
373
373
  <span>收支方向</span>
374
374
  <el-select v-model="forecastForm.direction" size="small" placeholder="请选择" clearable>
375
375
  <el-option v-for="option in directionOptions" :key="option.value" v-bind="option" />
@@ -377,7 +377,7 @@ function handleForecastPaginationChange(_value: { page: number; pageSize: number
377
377
  </label>
378
378
  </div>
379
379
 
380
- <div class="forecast-filter-panel__actions">
380
+ <div class="forecast-info-filter__actions">
381
381
  <el-button type="primary" size="small" :icon="Search" @click="handleForecastQuery">查询</el-button>
382
382
  <el-button size="small" @click="handleForecastReset">重置</el-button>
383
383
  <el-button size="small" @click="forecastDrawerVisible = true">更多筛选</el-button>
@@ -385,7 +385,7 @@ function handleForecastPaginationChange(_value: { page: number; pageSize: number
385
385
  </div>
386
386
 
387
387
  <!-- 表格区域占据卡片剩余高度,ElTablePro 管理分页和工具栏。 -->
388
- <section class="table-area" aria-label="预报信息列表">
388
+ <section class="forecast-info-table-area" aria-label="预报信息列表">
389
389
  <ElTablePro
390
390
  v-model:page="forecastPage"
391
391
  v-model:page-size="forecastPageSize"
@@ -398,7 +398,7 @@ function handleForecastPaginationChange(_value: { page: number; pageSize: number
398
398
  stripe
399
399
  size="small"
400
400
  height="100%"
401
- class="business-table-pro forecast-table-pro"
401
+ class="forecast-info-table forecast-info-table--forecast"
402
402
  pagination-size="small"
403
403
  @selection-change="forecastInfoStore.handleForecastSelectionChange"
404
404
  @pagination-change="handleForecastPaginationChange"
@@ -486,7 +486,7 @@ function handleForecastPaginationChange(_value: { page: number; pageSize: number
486
486
  fixed="right"
487
487
  >
488
488
  <template #default="{ row }">
489
- <div class="forecast-row-actions">
489
+ <div class="forecast-info-row-actions">
490
490
  <el-button
491
491
  v-if="isForecastVerified(row)"
492
492
  type="primary"
@@ -511,65 +511,65 @@ function handleForecastPaginationChange(_value: { page: number; pageSize: number
511
511
  v-model="calculationDialogVisible"
512
512
  width="520px"
513
513
  append-to-body
514
- class="forecast-calculation-dialog"
514
+ class="forecast-info-calculation-dialog"
515
515
  >
516
516
  <template #header>
517
- <div class="forecast-calculation-dialog__title">
518
- <span class="forecast-calculation-dialog__title-bar"></span>
517
+ <div class="forecast-info-calculation-dialog__title">
518
+ <span class="forecast-info-calculation-dialog__title-bar"></span>
519
519
  <span>汇总</span>
520
520
  </div>
521
521
  </template>
522
522
 
523
- <div class="forecast-calculation-summary-card">
524
- <section class="forecast-calculation-section">
525
- <h3 class="forecast-calculation-section__title">
526
- <span class="forecast-calculation-section__icon">
523
+ <div class="forecast-info-calculation-summary-card">
524
+ <section class="forecast-info-calculation-section">
525
+ <h3 class="forecast-info-calculation-section__title">
526
+ <span class="forecast-info-calculation-section__icon">
527
527
  <el-icon><Tickets /></el-icon>
528
528
  </span>
529
529
  <span>预报信息汇总</span>
530
530
  </h3>
531
531
 
532
- <div class="forecast-calculation-metrics">
533
- <div class="forecast-calculation-metric">
534
- <span class="forecast-calculation-metric__label">预报金额</span>
535
- <strong class="forecast-calculation-metric__value">{{ calculationSummary.forecastAmount }}</strong>
536
- <span class="forecast-calculation-metric__unit">(元)</span>
532
+ <div class="forecast-info-calculation-metrics">
533
+ <div class="forecast-info-calculation-metric">
534
+ <span class="forecast-info-calculation-metric__label">预报金额</span>
535
+ <strong class="forecast-info-calculation-metric__value">{{ calculationSummary.forecastAmount }}</strong>
536
+ <span class="forecast-info-calculation-metric__unit">(元)</span>
537
537
  </div>
538
- <div class="forecast-calculation-metric">
539
- <span class="forecast-calculation-metric__label">预报已核销金额</span>
540
- <strong class="forecast-calculation-metric__value">{{ calculationSummary.forecastVerifiedAmount }}</strong>
541
- <span class="forecast-calculation-metric__unit">(元)</span>
538
+ <div class="forecast-info-calculation-metric">
539
+ <span class="forecast-info-calculation-metric__label">预报已核销金额</span>
540
+ <strong class="forecast-info-calculation-metric__value">{{ calculationSummary.forecastVerifiedAmount }}</strong>
541
+ <span class="forecast-info-calculation-metric__unit">(元)</span>
542
542
  </div>
543
- <div class="forecast-calculation-metric">
544
- <span class="forecast-calculation-metric__label">预报未核销金额</span>
545
- <strong class="forecast-calculation-metric__value">
543
+ <div class="forecast-info-calculation-metric">
544
+ <span class="forecast-info-calculation-metric__label">预报未核销金额</span>
545
+ <strong class="forecast-info-calculation-metric__value">
546
546
  {{ calculationSummary.forecastUnverifiedAmount }}
547
547
  </strong>
548
- <span class="forecast-calculation-metric__unit">(元)</span>
548
+ <span class="forecast-info-calculation-metric__unit">(元)</span>
549
549
  </div>
550
550
  </div>
551
551
  </section>
552
552
 
553
- <section class="forecast-calculation-section">
554
- <h3 class="forecast-calculation-section__title">
555
- <span class="forecast-calculation-section__icon">
553
+ <section class="forecast-info-calculation-section">
554
+ <h3 class="forecast-info-calculation-section__title">
555
+ <span class="forecast-info-calculation-section__icon">
556
556
  <el-icon><Money /></el-icon>
557
557
  </span>
558
558
  <span>交易信息汇总</span>
559
559
  </h3>
560
560
 
561
- <div class="forecast-calculation-metrics">
562
- <div class="forecast-calculation-metric">
563
- <span class="forecast-calculation-metric__label">交易金额</span>
564
- <strong class="forecast-calculation-metric__value">{{ calculationSummary.flowAmount }}</strong>
565
- <span class="forecast-calculation-metric__unit">(元)</span>
561
+ <div class="forecast-info-calculation-metrics">
562
+ <div class="forecast-info-calculation-metric">
563
+ <span class="forecast-info-calculation-metric__label">交易金额</span>
564
+ <strong class="forecast-info-calculation-metric__value">{{ calculationSummary.flowAmount }}</strong>
565
+ <span class="forecast-info-calculation-metric__unit">(元)</span>
566
566
  </div>
567
567
  </div>
568
568
  </section>
569
569
  </div>
570
570
 
571
571
  <template #footer>
572
- <div class="forecast-calculation-dialog__footer">
572
+ <div class="forecast-info-calculation-dialog__footer">
573
573
  <el-button type="primary" size="large" @click="calculationDialogVisible = false">确定</el-button>
574
574
  </div>
575
575
  </template>
@@ -583,15 +583,15 @@ function handleForecastPaginationChange(_value: { page: number; pageSize: number
583
583
  append-to-body
584
584
  destroy-on-close
585
585
  :close-on-click-modal="false"
586
- class="forecast-modify-dialog"
586
+ class="forecast-info-modify-dialog"
587
587
  @closed="handleModifyDialogClosed"
588
588
  >
589
- <div class="forecast-modify-dialog__section-title">
589
+ <div class="forecast-info-modify-dialog__forecast-info-card__title">
590
590
  <el-icon><EditPen /></el-icon>
591
591
  <span>修改记录</span>
592
592
  </div>
593
593
 
594
- <el-form class="forecast-modify-form" label-width="104px" size="small">
594
+ <el-form class="forecast-info-modify-form" label-width="104px" size="small">
595
595
  <el-form-item label="交易日期">
596
596
  <el-input v-model="modifyForm.tranDate" disabled />
597
597
  </el-form-item>
@@ -604,7 +604,7 @@ function handleForecastPaginationChange(_value: { page: number; pageSize: number
604
604
  </el-form>
605
605
 
606
606
  <template #footer>
607
- <div class="forecast-modify-dialog__footer">
607
+ <div class="forecast-info-modify-dialog__footer">
608
608
  <el-button type="primary" size="small" @click="handleModifyConfirm">确认</el-button>
609
609
  <el-button size="small" @click="modifyDialogVisible = false">关闭</el-button>
610
610
  </div>
@@ -617,10 +617,10 @@ function handleForecastPaginationChange(_value: { page: number; pageSize: number
617
617
  title="预报更多筛选"
618
618
  size="520px"
619
619
  append-to-body
620
- class="forecast-filter-drawer"
620
+ class="forecast-info-filter-drawer"
621
621
  >
622
- <div class="forecast-filter-panel__drawer-grid">
623
- <label class="forecast-filter-panel__item">
622
+ <div class="forecast-info-filter__drawer-grid">
623
+ <label class="forecast-info-filter__item">
624
624
  <span>交易日期</span>
625
625
  <el-date-picker
626
626
  v-model="forecastForm.tradeDate"
@@ -633,25 +633,25 @@ function handleForecastPaginationChange(_value: { page: number; pageSize: number
633
633
  />
634
634
  </label>
635
635
 
636
- <label class="forecast-filter-panel__item">
636
+ <label class="forecast-info-filter__item">
637
637
  <span>收支方向</span>
638
638
  <el-select v-model="forecastForm.direction" size="small" placeholder="请选择" clearable>
639
639
  <el-option v-for="option in directionOptions" :key="option.value" v-bind="option" />
640
640
  </el-select>
641
641
  </label>
642
642
 
643
- <label class="forecast-filter-panel__item">
643
+ <label class="forecast-info-filter__item">
644
644
  <span>业务类型</span>
645
645
  <el-select v-model="forecastForm.businessType" size="small" placeholder="请选择" clearable>
646
646
  <el-option v-for="option in businessTypeOptions" :key="option.value" v-bind="option" />
647
647
  </el-select>
648
648
  </label>
649
649
 
650
- <label class="forecast-filter-panel__item forecast-filter-panel__item--range">
650
+ <label class="forecast-info-filter__item forecast-info-filter__item--range">
651
651
  <span>预报金额(万元)</span>
652
652
  <NumberRange
653
653
  v-model="forecastForm.amountRange"
654
- class="forecast-filter-panel__number-range"
654
+ class="forecast-info-filter__number-range"
655
655
  separator="至"
656
656
  min-placeholder="最小值"
657
657
  max-placeholder="最大值"
@@ -661,41 +661,41 @@ function handleForecastPaginationChange(_value: { page: number; pageSize: number
661
661
  />
662
662
  </label>
663
663
 
664
- <label class="forecast-filter-panel__item">
664
+ <label class="forecast-info-filter__item">
665
665
  <span>支付渠道</span>
666
666
  <el-select v-model="forecastForm.channel" size="small" placeholder="请选择" clearable>
667
667
  <el-option v-for="option in channelOptions" :key="option.value" v-bind="option" />
668
668
  </el-select>
669
669
  </label>
670
670
 
671
- <label class="forecast-filter-panel__item">
671
+ <label class="forecast-info-filter__item">
672
672
  <span>核销状态</span>
673
673
  <el-select v-model="forecastForm.verification" size="small" placeholder="请选择" clearable>
674
674
  <el-option v-for="option in statusOptions" :key="option.value" v-bind="option" />
675
675
  </el-select>
676
676
  </label>
677
677
 
678
- <label class="forecast-filter-panel__item">
678
+ <label class="forecast-info-filter__item">
679
679
  <span>客户名</span>
680
680
  <el-input v-model="forecastForm.clientName" size="small" placeholder="请输入" clearable />
681
681
  </label>
682
682
 
683
- <label class="forecast-filter-panel__item">
683
+ <label class="forecast-info-filter__item">
684
684
  <span>对手名</span>
685
685
  <el-input v-model="forecastForm.counterpartyName" size="small" placeholder="请输入" clearable />
686
686
  </label>
687
687
 
688
- <label class="forecast-filter-panel__item">
688
+ <label class="forecast-info-filter__item">
689
689
  <span>我方账号</span>
690
690
  <el-input v-model="forecastForm.ourAccount" size="small" placeholder="请输入" clearable />
691
691
  </label>
692
692
 
693
- <label class="forecast-filter-panel__item">
693
+ <label class="forecast-info-filter__item">
694
694
  <span>机构关键字</span>
695
695
  <el-input v-model="forecastForm.organizationKeyword" size="small" placeholder="请输入" clearable />
696
696
  </label>
697
697
 
698
- <label class="forecast-filter-panel__item">
698
+ <label class="forecast-info-filter__item">
699
699
  <span>机构</span>
700
700
  <el-select v-model="forecastForm.organization" size="small" placeholder="请选择" clearable>
701
701
  <el-option v-for="option in organizationOptions" :key="option.value" v-bind="option" />
@@ -704,7 +704,7 @@ function handleForecastPaginationChange(_value: { page: number; pageSize: number
704
704
  </div>
705
705
 
706
706
  <template #footer>
707
- <div class="forecast-filter-panel__drawer-actions">
707
+ <div class="forecast-info-filter__drawer-actions">
708
708
  <el-button size="small" @click="forecastDrawerVisible = false">取消</el-button>
709
709
  <el-button size="small" @click="handleForecastReset">重置</el-button>
710
710
  <el-button type="primary" size="small" :icon="Search" @click="handleForecastQuery">查询</el-button>
@@ -27,7 +27,7 @@
27
27
  }
28
28
 
29
29
  /* ---- 卡片与标题:两张业务卡片共享相同的边框、阴影和内部弹性结构。 ---- */
30
- .business-card {
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 .business-card {
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
- .card-header {
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
- .section-title {
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
- .section-title::before {
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-panel {
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-filter-panel__grid {
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-panel:not(.forecast-filter-panel--horizontal) .forecast-filter-panel__grid {
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-filter-panel__item {
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-filter-panel__item > span {
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-filter-panel__item .el-select,
159
- .forecast-filter-panel__item .el-input,
160
- .forecast-filter-panel__item .el-date-editor {
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-filter-panel__item .el-input__wrapper,
165
- .forecast-filter-panel__item .el-select__wrapper,
166
- .forecast-filter-panel__item .el-date-editor.el-input__wrapper {
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-filter-panel__item .el-input__inner,
172
- .forecast-filter-panel__item .el-range-input,
173
- .forecast-filter-panel__item .el-select__placeholder {
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-filter-panel__item .el-range-separator {
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-filter-panel__item--range {
184
+ .forecast-info-filter__item--range {
185
185
  grid-template-columns: 98px minmax(0, 1fr);
186
186
  }
187
187
 
188
- .forecast-filter-panel__number-range {
188
+ .forecast-info-filter__number-range {
189
189
  flex-wrap: nowrap;
190
190
  gap: 0;
191
191
  }
192
192
 
193
- .forecast-filter-panel__number-range .number-range__input {
193
+ .forecast-info-filter__number-range .number-range__input {
194
194
  min-width: 0;
195
195
  }
196
196
 
197
- .forecast-filter-panel__number-range .number-range__separator {
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-filter-panel__actions {
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-filter-panel__actions .el-button + .el-button {
214
+ .forecast-info-filter__actions .el-button + .el-button {
215
215
  margin-left: 0;
216
216
  }
217
217
 
218
- .forecast-filter-panel__actions .el-button {
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-filter-panel__actions .el-button--primary {
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-panel--horizontal {
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-panel--horizontal .forecast-filter-panel__grid {
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-panel--horizontal .forecast-filter-panel__item {
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-panel--horizontal .forecast-filter-panel__item > span {
251
+ .forecast-info-filter--horizontal .forecast-info-filter__item > span {
252
252
  font-size: 13px;
253
253
  }
254
254
 
255
- .forecast-filter-panel--horizontal .forecast-filter-panel__actions {
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-panel--horizontal .forecast-filter-panel__actions .el-button {
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-filter-panel__drawer-grid {
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-filter-panel__drawer-grid .forecast-filter-panel__item {
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-filter-panel__drawer-actions {
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 > .business-table-pro {
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 .business-table-pro {
330
+ .forecast-info-page .forecast-info-table {
331
331
  border-radius: 4px;
332
332
  overflow: hidden;
333
333
  }
334
334
 
335
- .forecast-info-page .business-table-pro .el-table__header th {
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 .business-table-pro .el-table__cell {
342
+ .forecast-info-page .forecast-info-table .el-table__cell {
343
343
  padding: 0;
344
344
  }
345
345
 
346
- .forecast-info-page .business-table-pro .el-table__empty-block {
346
+ .forecast-info-page .forecast-info-table .el-table__empty-block {
347
347
  min-height: 86px;
348
348
  }
349
349
 
350
- .forecast-info-page .business-table-pro .el-empty {
350
+ .forecast-info-page .forecast-info-table .el-empty {
351
351
  padding: 0;
352
352
  }
353
353
 
354
- .forecast-info-page .business-table-pro .el-empty__description {
354
+ .forecast-info-page .forecast-info-table .el-empty__description {
355
355
  margin-top: 4px;
356
356
  }
357
357
 
358
- .forecast-info-page .business-table-pro .el-empty__description p {
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;
@@ -375,14 +375,14 @@
375
375
  }
376
376
 
377
377
  /* ---- 匡算弹窗:展示预报和流水多选数据的共享汇总。 ---- */
378
- .forecast-calculation-dialog.el-dialog {
378
+ .forecast-info-calculation-dialog.el-dialog {
379
379
  max-width: calc(100vw - 32px);
380
380
  border-radius: 10px;
381
381
  background: rgba(255, 255, 255, .98);
382
382
  box-shadow: 0 18px 48px rgba(15, 23, 42, .22);
383
383
  }
384
384
 
385
- .forecast-calculation-dialog .el-dialog__header {
385
+ .forecast-info-calculation-dialog .el-dialog__header {
386
386
  position: relative;
387
387
  display: flex;
388
388
  min-height: 48px;
@@ -391,7 +391,7 @@
391
391
  margin-right: 0;
392
392
  }
393
393
 
394
- .forecast-calculation-dialog__title {
394
+ .forecast-info-calculation-dialog__title {
395
395
  display: inline-flex;
396
396
  align-items: center;
397
397
  gap: 10px;
@@ -402,35 +402,35 @@
402
402
  line-height: 1;
403
403
  }
404
404
 
405
- .forecast-calculation-dialog__title-bar {
405
+ .forecast-info-calculation-dialog__title-bar {
406
406
  width: 5px;
407
407
  height: 26px;
408
408
  border-radius: 3px;
409
409
  background: #1677ff;
410
410
  }
411
411
 
412
- .forecast-calculation-dialog .el-dialog__headerbtn {
412
+ .forecast-info-calculation-dialog .el-dialog__headerbtn {
413
413
  top: 14px;
414
414
  right: 16px;
415
415
  width: 28px;
416
416
  height: 28px;
417
417
  }
418
418
 
419
- .forecast-calculation-dialog .el-dialog__close {
419
+ .forecast-info-calculation-dialog .el-dialog__close {
420
420
  color: #6b7280;
421
421
  font-size: 22px;
422
422
  transition: color .16s ease;
423
423
  }
424
424
 
425
- .forecast-calculation-dialog .el-dialog__headerbtn:hover .el-dialog__close {
425
+ .forecast-info-calculation-dialog .el-dialog__headerbtn:hover .el-dialog__close {
426
426
  color: #1677ff;
427
427
  }
428
428
 
429
- .forecast-calculation-dialog .el-dialog__body {
429
+ .forecast-info-calculation-dialog .el-dialog__body {
430
430
  padding: 10px 28px 8px;
431
431
  }
432
432
 
433
- .forecast-calculation-summary-card {
433
+ .forecast-info-calculation-summary-card {
434
434
  padding: 16px 14px 14px;
435
435
  border: 1px solid #dfe8f5;
436
436
  border-radius: 8px;
@@ -438,11 +438,11 @@
438
438
  box-shadow: inset 0 0 0 1px rgba(22, 119, 255, .02);
439
439
  }
440
440
 
441
- .forecast-calculation-section + .forecast-calculation-section {
441
+ .forecast-info-calculation-section + .forecast-info-calculation-section {
442
442
  margin-top: 18px;
443
443
  }
444
444
 
445
- .forecast-calculation-section__title {
445
+ .forecast-info-calculation-section__title {
446
446
  display: flex;
447
447
  align-items: center;
448
448
  gap: 8px;
@@ -453,7 +453,7 @@
453
453
  line-height: 1.1;
454
454
  }
455
455
 
456
- .forecast-calculation-section__icon {
456
+ .forecast-info-calculation-section__icon {
457
457
  display: inline-flex;
458
458
  width: 24px;
459
459
  height: 24px;
@@ -465,14 +465,14 @@
465
465
  font-size: 14px;
466
466
  }
467
467
 
468
- .forecast-calculation-metrics {
468
+ .forecast-info-calculation-metrics {
469
469
  overflow: hidden;
470
470
  border: 1px solid #dfe8f5;
471
471
  border-radius: 8px;
472
472
  background: #fff;
473
473
  }
474
474
 
475
- .forecast-calculation-metric {
475
+ .forecast-info-calculation-metric {
476
476
  display: grid;
477
477
  min-height: 56px;
478
478
  align-items: center;
@@ -481,17 +481,17 @@
481
481
  color: #1f2937;
482
482
  }
483
483
 
484
- .forecast-calculation-metric + .forecast-calculation-metric {
484
+ .forecast-info-calculation-metric + .forecast-info-calculation-metric {
485
485
  border-top: 1px solid #dfe4ec;
486
486
  }
487
487
 
488
- .forecast-calculation-metric__label {
488
+ .forecast-info-calculation-metric__label {
489
489
  font-size: 14px;
490
490
  font-weight: 600;
491
491
  line-height: 1.2;
492
492
  }
493
493
 
494
- .forecast-calculation-metric__value {
494
+ .forecast-info-calculation-metric__value {
495
495
  justify-self: start;
496
496
  color: #1677ff;
497
497
  font-size: 24px;
@@ -500,22 +500,22 @@
500
500
  line-height: 1;
501
501
  }
502
502
 
503
- .forecast-calculation-metric__unit {
503
+ .forecast-info-calculation-metric__unit {
504
504
  color: #4b5563;
505
505
  font-size: 14px;
506
506
  font-weight: 500;
507
507
  }
508
508
 
509
- .forecast-calculation-dialog .el-dialog__footer {
509
+ .forecast-info-calculation-dialog .el-dialog__footer {
510
510
  padding: 8px 28px 18px;
511
511
  }
512
512
 
513
- .forecast-calculation-dialog__footer {
513
+ .forecast-info-calculation-dialog__footer {
514
514
  display: flex;
515
515
  justify-content: flex-end;
516
516
  }
517
517
 
518
- .forecast-calculation-dialog__footer .el-button {
518
+ .forecast-info-calculation-dialog__footer .el-button {
519
519
  min-width: 76px;
520
520
  height: 32px;
521
521
  border-radius: 4px;
@@ -523,21 +523,21 @@
523
523
  font-weight: 700;
524
524
  }
525
525
 
526
- .forecast-calculation-dialog__footer .el-button--primary {
526
+ .forecast-info-calculation-dialog__footer .el-button--primary {
527
527
  border-color: #1677ff;
528
528
  background: #1677ff;
529
529
  box-shadow: 0 8px 18px rgba(22, 119, 255, .28);
530
530
  }
531
531
 
532
532
  /* ---- 修改弹窗:仅允许调整预报金额,其余字段作为只读业务约束。 ---- */
533
- .forecast-modify-dialog.el-dialog {
533
+ .forecast-info-modify-dialog.el-dialog {
534
534
  max-width: calc(100vw - 32px);
535
535
  overflow: hidden;
536
536
  border-radius: 8px;
537
537
  box-shadow: 0 18px 52px rgba(15, 23, 42, .2);
538
538
  }
539
539
 
540
- .forecast-modify-dialog .el-dialog__header {
540
+ .forecast-info-modify-dialog .el-dialog__header {
541
541
  display: flex;
542
542
  min-height: 48px;
543
543
  align-items: center;
@@ -546,7 +546,7 @@
546
546
  border-bottom: 1px solid #e5ebf3;
547
547
  }
548
548
 
549
- .forecast-modify-dialog .el-dialog__title {
549
+ .forecast-info-modify-dialog .el-dialog__title {
550
550
  position: relative;
551
551
  padding-left: 12px;
552
552
  color: #172033;
@@ -554,7 +554,7 @@
554
554
  font-weight: 700;
555
555
  }
556
556
 
557
- .forecast-modify-dialog .el-dialog__title::before {
557
+ .forecast-info-modify-dialog .el-dialog__title::before {
558
558
  position: absolute;
559
559
  top: 50%;
560
560
  left: 0;
@@ -566,16 +566,16 @@
566
566
  transform: translateY(-50%);
567
567
  }
568
568
 
569
- .forecast-modify-dialog .el-dialog__headerbtn {
569
+ .forecast-info-modify-dialog .el-dialog__headerbtn {
570
570
  top: 2px;
571
571
  right: 8px;
572
572
  }
573
573
 
574
- .forecast-modify-dialog .el-dialog__body {
574
+ .forecast-info-modify-dialog .el-dialog__body {
575
575
  padding: 22px 28px 10px;
576
576
  }
577
577
 
578
- .forecast-modify-dialog__section-title {
578
+ .forecast-info-modify-dialog__forecast-info-card__title {
579
579
  display: flex;
580
580
  align-items: center;
581
581
  gap: 8px;
@@ -585,75 +585,75 @@
585
585
  font-weight: 700;
586
586
  }
587
587
 
588
- .forecast-modify-dialog__section-title .el-icon {
588
+ .forecast-info-modify-dialog__forecast-info-card__title .el-icon {
589
589
  font-size: 17px;
590
590
  }
591
591
 
592
- .forecast-modify-form {
592
+ .forecast-info-modify-form {
593
593
  width: min(100%, 420px);
594
594
  }
595
595
 
596
- .forecast-modify-form .el-form-item {
596
+ .forecast-info-modify-form .el-form-item {
597
597
  margin-bottom: 18px;
598
598
  }
599
599
 
600
- .forecast-modify-form .el-form-item__label {
600
+ .forecast-info-modify-form .el-form-item__label {
601
601
  color: #263449;
602
602
  font-weight: 600;
603
603
  }
604
604
 
605
- .forecast-modify-form .el-input__wrapper {
605
+ .forecast-info-modify-form .el-input__wrapper {
606
606
  border-radius: 4px;
607
607
  box-shadow: 0 0 0 1px #d8e1ee inset;
608
608
  }
609
609
 
610
- .forecast-modify-form .el-input:not(.is-disabled) .el-input__wrapper:hover,
611
- .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 {
612
612
  box-shadow: 0 0 0 1px #1668ff inset;
613
613
  }
614
614
 
615
- .forecast-modify-form .el-input.is-disabled .el-input__wrapper {
615
+ .forecast-info-modify-form .el-input.is-disabled .el-input__wrapper {
616
616
  background: #f5f7fa;
617
617
  }
618
618
 
619
- .forecast-modify-form .el-input.is-disabled .el-input__inner {
619
+ .forecast-info-modify-form .el-input.is-disabled .el-input__inner {
620
620
  color: #7a8798;
621
621
  -webkit-text-fill-color: #7a8798;
622
622
  }
623
623
 
624
- .forecast-modify-dialog .el-dialog__footer {
624
+ .forecast-info-modify-dialog .el-dialog__footer {
625
625
  padding: 12px 28px 20px;
626
626
  border-top: 1px solid #edf1f7;
627
627
  }
628
628
 
629
- .forecast-modify-dialog__footer {
629
+ .forecast-info-modify-dialog__footer {
630
630
  display: flex;
631
631
  justify-content: flex-end;
632
632
  gap: 10px;
633
633
  }
634
634
 
635
- .forecast-modify-dialog__footer .el-button {
635
+ .forecast-info-modify-dialog__footer .el-button {
636
636
  min-width: 74px;
637
637
  margin-left: 0;
638
638
  border-radius: 4px;
639
639
  }
640
640
 
641
- .forecast-modify-warning {
641
+ .forecast-info-modify-warning {
642
642
  border-radius: 8px;
643
643
  }
644
644
 
645
645
  /* 中等宽度下压缩筛选网格的最小列宽,保留双卡片并排能力。 */
646
646
  @media (max-width: 1320px) {
647
- .forecast-filter-panel {
647
+ .forecast-info-filter {
648
648
  gap: 18px;
649
649
  }
650
650
 
651
- .forecast-filter-panel__grid {
651
+ .forecast-info-filter__grid {
652
652
  grid-template-columns: minmax(280px, 1fr) minmax(220px, .8fr);
653
653
  column-gap: 18px;
654
654
  }
655
655
 
656
- .forecast-filter-panel:not(.forecast-filter-panel--horizontal) .forecast-filter-panel__grid {
656
+ .forecast-info-filter:not(.forecast-info-filter--horizontal) .forecast-info-filter__grid {
657
657
  grid-template-columns: minmax(238px, 248px) minmax(220px, 240px);
658
658
  }
659
659
 
@@ -671,117 +671,117 @@
671
671
  grid-template-rows: repeat(2, minmax(0, 1fr));
672
672
  }
673
673
 
674
- .business-card {
674
+ .forecast-info-page .forecast-info-card {
675
675
  padding: 14px 10px 10px;
676
676
  }
677
677
 
678
- .forecast-filter-panel {
678
+ .forecast-info-filter {
679
679
  flex-wrap: wrap;
680
680
  gap: 12px;
681
681
  }
682
682
 
683
- .forecast-filter-panel__grid {
683
+ .forecast-info-filter__grid {
684
684
  flex-basis: 100%;
685
685
  grid-template-columns: minmax(0, 1fr);
686
686
  }
687
687
 
688
- .forecast-filter-panel__item,
689
- .forecast-filter-panel__item--range,
690
- .forecast-filter-panel__drawer-grid .forecast-filter-panel__item {
688
+ .forecast-info-filter__item,
689
+ .forecast-info-filter__item--range,
690
+ .forecast-info-filter__drawer-grid .forecast-info-filter__item {
691
691
  grid-template-columns: 96px minmax(0, 1fr);
692
692
  }
693
693
 
694
- .forecast-filter-panel__actions {
694
+ .forecast-info-filter__actions {
695
695
  justify-content: flex-start;
696
696
  flex-wrap: wrap;
697
697
  margin-left: 0;
698
698
  }
699
699
 
700
- .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 {
701
701
  justify-content: flex-start;
702
702
  flex-wrap: wrap;
703
703
  margin-left: 0;
704
704
  }
705
705
 
706
- .forecast-calculation-dialog.el-dialog {
706
+ .forecast-info-calculation-dialog.el-dialog {
707
707
  width: calc(100vw - 24px) !important;
708
708
  }
709
709
 
710
- .forecast-calculation-dialog .el-dialog__header {
710
+ .forecast-info-calculation-dialog .el-dialog__header {
711
711
  min-height: 48px;
712
712
  padding: 18px 18px 8px;
713
713
  }
714
714
 
715
- .forecast-calculation-dialog__title {
715
+ .forecast-info-calculation-dialog__title {
716
716
  gap: 10px;
717
717
  font-size: 18px;
718
718
  }
719
719
 
720
- .forecast-calculation-dialog__title-bar {
720
+ .forecast-info-calculation-dialog__title-bar {
721
721
  width: 5px;
722
722
  height: 26px;
723
723
  }
724
724
 
725
- .forecast-calculation-dialog .el-dialog__headerbtn {
725
+ .forecast-info-calculation-dialog .el-dialog__headerbtn {
726
726
  top: 12px;
727
727
  right: 12px;
728
728
  }
729
729
 
730
- .forecast-calculation-dialog .el-dialog__body {
730
+ .forecast-info-calculation-dialog .el-dialog__body {
731
731
  padding: 10px 14px 8px;
732
732
  }
733
733
 
734
- .forecast-calculation-summary-card {
734
+ .forecast-info-calculation-summary-card {
735
735
  padding: 14px 12px;
736
736
  }
737
737
 
738
- .forecast-calculation-section + .forecast-calculation-section {
738
+ .forecast-info-calculation-section + .forecast-info-calculation-section {
739
739
  margin-top: 18px;
740
740
  }
741
741
 
742
- .forecast-calculation-section__title {
742
+ .forecast-info-calculation-section__title {
743
743
  gap: 8px;
744
744
  font-size: 16px;
745
745
  }
746
746
 
747
- .forecast-calculation-metric {
747
+ .forecast-info-calculation-metric {
748
748
  min-height: 58px;
749
749
  grid-template-columns: minmax(106px, 1fr) auto auto;
750
750
  padding: 0 12px;
751
751
  column-gap: 6px;
752
752
  }
753
753
 
754
- .forecast-calculation-metric__label {
754
+ .forecast-info-calculation-metric__label {
755
755
  font-size: 14px;
756
756
  }
757
757
 
758
- .forecast-calculation-metric__value {
758
+ .forecast-info-calculation-metric__value {
759
759
  font-size: 22px;
760
760
  }
761
761
 
762
- .forecast-calculation-metric__unit {
762
+ .forecast-info-calculation-metric__unit {
763
763
  font-size: 14px;
764
764
  }
765
765
 
766
- .forecast-calculation-dialog .el-dialog__footer {
766
+ .forecast-info-calculation-dialog .el-dialog__footer {
767
767
  padding: 8px 14px 16px;
768
768
  }
769
769
 
770
- .forecast-calculation-dialog__footer .el-button {
770
+ .forecast-info-calculation-dialog__footer .el-button {
771
771
  min-width: 76px;
772
772
  height: 34px;
773
773
  font-size: 14px;
774
774
  }
775
775
 
776
- .forecast-modify-dialog .el-dialog__body {
776
+ .forecast-info-modify-dialog .el-dialog__body {
777
777
  padding: 20px 18px 8px;
778
778
  }
779
779
 
780
- .forecast-modify-dialog .el-dialog__footer {
780
+ .forecast-info-modify-dialog .el-dialog__footer {
781
781
  padding: 12px 18px 18px;
782
782
  }
783
783
 
784
- .forecast-modify-form {
784
+ .forecast-info-modify-form {
785
785
  width: 100%;
786
786
  }
787
787
  }
@@ -23,7 +23,7 @@ const { cardLayout } = storeToRefs(forecastInfoStore)
23
23
 
24
24
  <template>
25
25
  <!-- 水平布局使用两列;垂直布局由公共样式切换为两行等高卡片。 -->
26
- <main class="forecast-info-page" :class="{ 'forecast-info-page--horizontal': cardLayout === 'horizontal' }">
26
+ <div class="forecast-info-page" :class="{ 'forecast-info-page--horizontal': cardLayout === 'horizontal' }">
27
27
  <!-- 两个面板接收同一布局值,保证任一入口切换后页面整体保持一致。 -->
28
28
  <ForecastInfoPanel
29
29
  :layout="cardLayout"
@@ -35,5 +35,5 @@ const { cardLayout } = storeToRefs(forecastInfoStore)
35
35
  :layout-options="layoutOptions"
36
36
  @change-layout="forecastInfoStore.setCardLayout"
37
37
  />
38
- </main>
38
+ </div>
39
39
  </template>