verce-vue-test 0.0.150 → 0.0.151

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.
@@ -20,6 +20,7 @@
20
20
  "dist": "前端构建产物目录",
21
21
  "docs": "项目文档与业务说明目录",
22
22
  "env.d.ts": "前端环境变量与 Vite 类型声明",
23
+ "file-note-assistant-0.1.8.vsix": "File Note Assistant 0.1.8 VS Code 扩展安装包",
23
24
  "index.html": "Vite 前端应用 HTML 入口",
24
25
  "node_modules": "前端项目依赖安装目录",
25
26
  "output": "Playwright 等工具输出结果目录",
@@ -62,6 +63,9 @@
62
63
  "src/views/cross-border-rmb-estimation": "跨境人民币预估页面与接口目录",
63
64
  "src/views/cross-border-rmb-estimation/api.ts": "跨境人民币预估接口定义",
64
65
  "src/views/cross-border-rmb-estimation/index.vue": "跨境人民币预估页面",
66
+ "src/views/foreign-currency-account-bank-maintenance": "外币参数管理账户行维护页面与接口目录",
67
+ "src/views/foreign-currency-account-bank-maintenance/api.ts": "账户行维护查询、新增、修改和批量删除 TAM 接口定义",
68
+ "src/views/foreign-currency-account-bank-maintenance/index.vue": "账户行维护查询、新增、修改和批量删除操作页面",
65
69
  "src/views/foreign-currency-authorization": "外币授权管理页面与业务配置目录",
66
70
  "src/views/foreign-currency-authorization/adapter.ts": "外币授权接口数据适配逻辑",
67
71
  "src/views/foreign-currency-authorization/api.ts": "外币授权管理接口定义",
@@ -91,6 +95,9 @@
91
95
  "src/views/foreign-currency-starting-amount-maintenance": "外币参数管理起点金额维护页面与接口目录",
92
96
  "src/views/foreign-currency-starting-amount-maintenance/api.ts": "起点金额维护查询、新增、修改、审批和删除 TAM 接口定义",
93
97
  "src/views/foreign-currency-starting-amount-maintenance/index.vue": "起点金额维护查询、批量处理与审批操作页面",
98
+ "src/views/foreign-currency-time-parameter-management": "外币参数管理时间参数维护页面与接口目录",
99
+ "src/views/foreign-currency-time-parameter-management/api.ts": "时间参数查询、新增、修改、删除和机构查询接口定义",
100
+ "src/views/foreign-currency-time-parameter-management/index.vue": "时间参数查询、新增、修改和批量删除操作页面",
94
101
  "src/views/free-trade-zone-organization-management": "自贸区机构管理页面目录",
95
102
  "src/views/free-trade-zone-organization-management/index.vue": "自贸区机构管理页面",
96
103
  "src/views/fund-cockpit": "资金驾驶舱页面与接口目录",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "verce-vue-test",
3
- "version": "0.0.150",
3
+ "version": "0.0.151",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "scripts": {
@@ -1,5 +1,5 @@
1
1
  <script setup lang="ts">
2
- import { computed, nextTick, reactive, ref } from 'vue'
2
+ import { computed, nextTick, onMounted, reactive, ref } from 'vue'
3
3
  import { ElMessageBox, type FormInstance, type FormRules } from 'element-plus'
4
4
  import {
5
5
  Delete,
@@ -119,14 +119,22 @@ let activeQueryRequestId = 0
119
119
 
120
120
  const isEditing = computed(() => dialogMode.value === 'edit')
121
121
  const dialogTitle = computed(() => (isEditing.value ? '修改账户行' : '新增账户行'))
122
- const dialogDescription = computed(() => (
123
- isEditing.value
124
- ? '仅可调整账户信息、汇路及金额参数,灰色字段按老系统规则保持不变。'
125
- : '请完整填写账户行基础信息、汇路属性与预警参数。'
126
- ))
127
122
  const tableEmptyText = computed(() => (
128
123
  hasQueried.value ? '暂无账户行维护记录' : '请设置查询条件后点击查询'
129
124
  ))
125
+ const editDisabled = computed(() => selectedRows.value.length !== 1 || Boolean(activeAction.value))
126
+ const editDisabledReason = computed(() => {
127
+ if (selectedRows.value.length === 0) return '请先选择一条数据'
128
+ if (selectedRows.value.length > 1) return '修改操作只能选择一条数据'
129
+ if (activeAction.value) return '操作处理中,请稍候'
130
+ return ''
131
+ })
132
+ const deleteDisabled = computed(() => selectedRows.value.length === 0 || Boolean(activeAction.value))
133
+ const deleteDisabledReason = computed(() => {
134
+ if (selectedRows.value.length === 0) return '请先选择要删除的数据'
135
+ if (activeAction.value) return '删除处理中,请稍候'
136
+ return ''
137
+ })
130
138
 
131
139
  /** 从候选值中取得第一个非空值,并兼容老接口的大写字段名。 */
132
140
  function stringValue(...values: unknown[]) {
@@ -488,7 +496,7 @@ async function handleDelete() {
488
496
  }
489
497
 
490
498
  try {
491
- await ElMessageBox.confirm('您是否确定删除?', '提 示', {
499
+ await ElMessageBox.confirm(`您是否确定删除已选择的 ${selectedRows.value.length} 条数据?`, '提 示', {
492
500
  confirmButtonText: '确定',
493
501
  cancelButtonText: '取消',
494
502
  type: 'warning',
@@ -514,56 +522,69 @@ async function handleDelete() {
514
522
  activeAction.value = ''
515
523
  }
516
524
  }
525
+
526
+ onMounted(() => {
527
+ void handleQuery()
528
+ })
517
529
  </script>
518
530
 
519
531
  <template>
520
- <main class="account-bank-page">
521
- <section class="query-panel" aria-label="账户行维护查询条件">
532
+ <main>
533
+ <section aria-label="账户行维护查询条件">
522
534
  <el-form
523
535
  :model="filterForm"
524
- class="query-form"
525
- label-position="right"
536
+ inline
537
+ label-width="96px"
526
538
  size="small"
527
539
  @keyup.enter="handleQuery"
528
540
  >
529
- <div class="query-grid">
530
- <el-form-item label="币种">
531
- <el-select
532
- v-model="filterForm.filterCcy"
533
- filterable
534
- clearable
535
- placeholder="请选择币种"
536
- >
537
- <el-option v-for="option in currencyOptions" :key="option.value" v-bind="option" />
538
- </el-select>
539
- </el-form-item>
540
- <el-form-item label="账户类型">
541
- <el-select v-model="filterForm.filterTypes" clearable placeholder="请选择账户类型">
542
- <el-option v-for="option in accountTypeOptions" :key="option.value" v-bind="option" />
543
- </el-select>
544
- </el-form-item>
545
- <el-form-item label="是否主账户行">
546
- <el-select v-model="filterForm.filterAccount" clearable placeholder="请选择">
547
- <el-option v-for="option in leadFlagOptions" :key="option.value" v-bind="option" />
548
- </el-select>
549
- </el-form-item>
550
- <div class="query-actions">
551
- <el-button :icon="RefreshLeft" size="small" @click="handleReset">重置</el-button>
552
- <el-button
553
- type="primary"
554
- :icon="Search"
555
- size="small"
556
- :loading="querying"
557
- @click="handleQuery"
558
- >
559
- 查询
560
- </el-button>
561
- </div>
562
- </div>
541
+ <el-form-item label="币种">
542
+ <el-select
543
+ v-model="filterForm.filterCcy"
544
+ filterable
545
+ clearable
546
+ style="width: 160px"
547
+ placeholder="请选择币种"
548
+ >
549
+ <el-option v-for="option in currencyOptions" :key="option.value" v-bind="option" />
550
+ </el-select>
551
+ </el-form-item>
552
+ <el-form-item label="账户类型">
553
+ <el-select
554
+ v-model="filterForm.filterTypes"
555
+ clearable
556
+ style="width: 160px"
557
+ placeholder="请选择账户类型"
558
+ >
559
+ <el-option v-for="option in accountTypeOptions" :key="option.value" v-bind="option" />
560
+ </el-select>
561
+ </el-form-item>
562
+ <el-form-item label="是否主账户行">
563
+ <el-select
564
+ v-model="filterForm.filterAccount"
565
+ clearable
566
+ style="width: 120px"
567
+ placeholder="请选择"
568
+ >
569
+ <el-option v-for="option in leadFlagOptions" :key="option.value" v-bind="option" />
570
+ </el-select>
571
+ </el-form-item>
572
+ <el-form-item>
573
+ <el-button :icon="RefreshLeft" size="small" @click="handleReset">重置</el-button>
574
+ <el-button
575
+ type="primary"
576
+ :icon="Search"
577
+ size="small"
578
+ :loading="querying"
579
+ @click="handleQuery"
580
+ >
581
+ 查询
582
+ </el-button>
583
+ </el-form-item>
563
584
  </el-form>
564
585
  </section>
565
586
 
566
- <section class="table-panel" aria-label="账户行维护列表">
587
+ <section aria-label="账户行维护列表">
567
588
  <ElTablePro
568
589
  v-model:page="currentPage"
569
590
  v-model:page-size="pageSize"
@@ -575,11 +596,10 @@ async function handleDelete() {
575
596
  :row-key="getRowKey"
576
597
  :empty-text="tableEmptyText"
577
598
  table-key="foreign-currency-account-bank-maintenance"
578
- class="account-bank-table"
579
599
  border
580
600
  stripe
581
601
  size="small"
582
- height="calc(100vh - 230px)"
602
+ height="520"
583
603
  col-btn-size="small"
584
604
  @pagination-change="handlePaginationChange"
585
605
  @selection-change="handleSelectionChange"
@@ -588,21 +608,44 @@ async function handleDelete() {
588
608
  <el-button type="primary" size="small" :icon="Plus" @click="openCreate">
589
609
  新增
590
610
  </el-button>
591
- <el-button type="primary" plain size="small" :icon="EditPen" @click="openEdit">
592
- 修改
593
- </el-button>
594
- <el-button
595
- type="danger"
596
- plain
597
- size="small"
598
- :icon="Delete"
599
- :loading="activeAction === 'delete'"
600
- :disabled="Boolean(activeAction)"
601
- @click="handleDelete"
611
+ <el-tooltip
612
+ :disabled="!editDisabled"
613
+ :content="editDisabledReason"
614
+ placement="top"
602
615
  >
603
- 删除
604
- </el-button>
605
- <span v-if="selectedRows.length" class="selection-summary">
616
+ <span>
617
+ <el-button
618
+ type="primary"
619
+ plain
620
+ size="small"
621
+ :icon="EditPen"
622
+ :disabled="editDisabled"
623
+ @click="openEdit"
624
+ >
625
+ 修改
626
+ </el-button>
627
+ </span>
628
+ </el-tooltip>
629
+ <el-tooltip
630
+ :disabled="!deleteDisabled"
631
+ :content="deleteDisabledReason"
632
+ placement="top"
633
+ >
634
+ <span>
635
+ <el-button
636
+ type="danger"
637
+ plain
638
+ size="small"
639
+ :icon="Delete"
640
+ :loading="activeAction === 'delete'"
641
+ :disabled="deleteDisabled"
642
+ @click="handleDelete"
643
+ >
644
+ 删除
645
+ </el-button>
646
+ </span>
647
+ </el-tooltip>
648
+ <span v-if="selectedRows.length">
606
649
  已选 {{ selectedRows.length }} 条
607
650
  </span>
608
651
  </template>
@@ -634,24 +677,13 @@ async function handleDelete() {
634
677
  <template #default="{ row }">{{ paymentRouteLabel(row.paymentRoute) }}</template>
635
678
  </el-table-column>
636
679
  <el-table-column prop="leadFlag" label="是否主账户" min-width="110" align="center">
637
- <template #default="{ row }">
638
- <el-tag
639
- v-if="leadFlagLabel(row.leadFlag)"
640
- :type="row.leadFlag === 'Y' ? 'success' : 'info'"
641
- effect="plain"
642
- size="small"
643
- >
644
- {{ leadFlagLabel(row.leadFlag) }}
645
- </el-tag>
646
- </template>
680
+ <template #default="{ row }">{{ leadFlagLabel(row.leadFlag) }}</template>
647
681
  </el-table-column>
648
682
  <el-table-column prop="types" label="账户类型" min-width="110" align="center">
649
683
  <template #default="{ row }">{{ accountTypeLabel(row.types) }}</template>
650
684
  </el-table-column>
651
685
  <el-table-column prop="wrngval" label="预警值(元)" min-width="140" align="right">
652
- <template #default="{ row }">
653
- <span class="money-cell">{{ formatAmount(row.wrngval) }}</span>
654
- </template>
686
+ <template #default="{ row }">{{ formatAmount(row.wrngval) }}</template>
655
687
  </el-table-column>
656
688
  <el-table-column
657
689
  prop="sugReservation"
@@ -659,9 +691,7 @@ async function handleDelete() {
659
691
  min-width="170"
660
692
  align="right"
661
693
  >
662
- <template #default="{ row }">
663
- <span class="money-cell">{{ formatAmount(row.sugReservation) }}</span>
664
- </template>
694
+ <template #default="{ row }">{{ formatAmount(row.sugReservation) }}</template>
665
695
  </el-table-column>
666
696
  <el-table-column prop="swiftCode" label="SWIFTCODE" min-width="160" show-overflow-tooltip />
667
697
  </ElTablePro>
@@ -669,46 +699,22 @@ async function handleDelete() {
669
699
 
670
700
  <el-dialog
671
701
  v-model="dialogVisible"
672
- class="account-bank-dialog"
673
- width="min(780px, calc(100vw - 32px))"
702
+ :title="dialogTitle"
703
+ width="720px"
674
704
  :close-on-click-modal="false"
675
705
  destroy-on-close
676
706
  >
677
- <template #header>
678
- <div class="dialog-heading">
679
- <span class="dialog-heading__icon">
680
- <el-icon><component :is="isEditing ? EditPen : Plus" /></el-icon>
681
- </span>
682
- <div>
683
- <small>外币参数管理</small>
684
- <h2>{{ dialogTitle }}</h2>
685
- </div>
686
- <el-tag :type="isEditing ? 'warning' : ''" effect="plain" size="small">
687
- {{ isEditing ? '修改模式' : '新增模式' }}
688
- </el-tag>
689
- </div>
690
- </template>
691
-
692
707
  <el-form
693
708
  ref="formRef"
694
709
  :model="form"
695
710
  :rules="formRules"
696
- class="account-bank-form"
697
- label-position="top"
711
+ label-width="140px"
698
712
  size="small"
699
713
  >
700
- <div class="dialog-intro">{{ dialogDescription }}</div>
701
-
702
- <section class="form-section">
703
- <div class="form-section__heading">
704
- <span>01</span>
705
- <div>
706
- <h3>账户行基础信息</h3>
707
- <p>维护账户行识别信息及账户号码。</p>
708
- </div>
709
- </div>
710
- <div class="form-grid">
711
- <el-form-item label="账户行行号" prop="bankAcct" :class="{ 'readonly-field': isEditing }">
714
+ <el-divider content-position="left">账户行基础信息</el-divider>
715
+ <el-row :gutter="16">
716
+ <el-col :span="12">
717
+ <el-form-item label="账户行行号" prop="bankAcct">
712
718
  <el-input
713
719
  v-model="form.bankAcct"
714
720
  maxlength="50"
@@ -716,6 +722,8 @@ async function handleDelete() {
716
722
  placeholder="请输入字母或数字"
717
723
  />
718
724
  </el-form-item>
725
+ </el-col>
726
+ <el-col :span="12">
719
727
  <el-form-item label="账户行行名" prop="bankName">
720
728
  <el-input
721
729
  v-model="form.bankName"
@@ -723,10 +731,14 @@ async function handleDelete() {
723
731
  placeholder="请输入账户行行名"
724
732
  />
725
733
  </el-form-item>
734
+ </el-col>
735
+ <el-col :span="12">
726
736
  <el-form-item label="账户行账号" prop="bankCode">
727
737
  <el-input v-model="form.bankCode" maxlength="32" placeholder="请输入账户行账号" />
728
738
  </el-form-item>
729
- <el-form-item label="币种" prop="ccy" :class="{ 'readonly-field': isEditing }">
739
+ </el-col>
740
+ <el-col :span="12">
741
+ <el-form-item label="币种" prop="ccy">
730
742
  <el-select
731
743
  v-model="form.ccy"
732
744
  filterable
@@ -736,19 +748,13 @@ async function handleDelete() {
736
748
  <el-option v-for="option in currencyOptions" :key="option.value" v-bind="option" />
737
749
  </el-select>
738
750
  </el-form-item>
739
- </div>
740
- </section>
751
+ </el-col>
752
+ </el-row>
741
753
 
742
- <section class="form-section">
743
- <div class="form-section__heading">
744
- <span>02</span>
745
- <div>
746
- <h3>汇路与账户属性</h3>
747
- <p>汇路支持多选,提交时按逗号分隔保存。</p>
748
- </div>
749
- </div>
750
- <div class="form-grid">
751
- <el-form-item label="汇路" prop="paymentRoute" class="form-grid__full">
754
+ <el-divider content-position="left">汇路与账户属性</el-divider>
755
+ <el-row :gutter="16">
756
+ <el-col :span="24">
757
+ <el-form-item label="汇路" prop="paymentRoute">
752
758
  <el-select
753
759
  v-model="form.paymentRoute"
754
760
  multiple
@@ -758,44 +764,41 @@ async function handleDelete() {
758
764
  <el-option v-for="option in paymentRouteOptions" :key="option.value" v-bind="option" />
759
765
  </el-select>
760
766
  </el-form-item>
761
- <el-form-item label="是否主账户" prop="leadFlag" :class="{ 'readonly-field': isEditing }">
767
+ </el-col>
768
+ <el-col :span="12">
769
+ <el-form-item label="是否主账户" prop="leadFlag">
762
770
  <el-select v-model="form.leadFlag" :disabled="isEditing" placeholder="请选择">
763
771
  <el-option v-for="option in leadFlagOptions" :key="option.value" v-bind="option" />
764
772
  </el-select>
765
773
  </el-form-item>
766
- <el-form-item label="账户类型" prop="types" :class="{ 'readonly-field': isEditing }">
774
+ </el-col>
775
+ <el-col :span="12">
776
+ <el-form-item label="账户类型" prop="types">
767
777
  <el-select v-model="form.types" :disabled="isEditing" placeholder="请选择账户类型">
768
778
  <el-option v-for="option in accountTypeOptions" :key="option.value" v-bind="option" />
769
779
  </el-select>
770
780
  </el-form-item>
771
- </div>
772
- </section>
781
+ </el-col>
782
+ </el-row>
773
783
 
774
- <section class="form-section">
775
- <div class="form-section__heading">
776
- <span>03</span>
777
- <div>
778
- <h3>预警与备付参数</h3>
779
- <p>金额单位为元,最多输入 10 个字符。</p>
780
- </div>
781
- </div>
782
- <div class="form-grid">
784
+ <el-divider content-position="left">预警与备付参数</el-divider>
785
+ <el-row :gutter="16">
786
+ <el-col :span="12">
783
787
  <el-form-item label="预警值(元)" prop="wrngval">
784
788
  <el-input v-model="form.wrngval" maxlength="10" placeholder="请输入预警值">
785
789
  <template #append>元</template>
786
790
  </el-input>
787
791
  </el-form-item>
792
+ </el-col>
793
+ <el-col :span="12">
788
794
  <el-form-item label="建议预留备付(元)" prop="sugReservation">
789
795
  <el-input v-model="form.sugReservation" maxlength="10" placeholder="请输入建议预留备付">
790
796
  <template #append>元</template>
791
797
  </el-input>
792
798
  </el-form-item>
793
- <el-form-item
794
- label="SWIFTCODE"
795
- prop="swiftCode"
796
- class="form-grid__full"
797
- :class="{ 'readonly-field': isEditing }"
798
- >
799
+ </el-col>
800
+ <el-col :span="24">
801
+ <el-form-item label="SWIFTCODE" prop="swiftCode">
799
802
  <el-input
800
803
  v-model="form.swiftCode"
801
804
  maxlength="60"
@@ -803,401 +806,16 @@ async function handleDelete() {
803
806
  placeholder="请输入大写字母、数字或下划线"
804
807
  />
805
808
  </el-form-item>
806
- </div>
807
- </section>
809
+ </el-col>
810
+ </el-row>
808
811
  </el-form>
809
812
 
810
813
  <template #footer>
811
- <div class="dialog-footer">
812
- <span><i>*</i> 为必填项</span>
813
- <div>
814
- <el-button size="small" @click="dialogVisible = false">取消</el-button>
815
- <el-button type="primary" size="small" :loading="submitting" @click="submitForm">
816
- 提交
817
- </el-button>
818
- </div>
819
- </div>
814
+ <el-button size="small" @click="dialogVisible = false">取消</el-button>
815
+ <el-button type="primary" size="small" :loading="submitting" @click="submitForm">
816
+ 提交
817
+ </el-button>
820
818
  </template>
821
819
  </el-dialog>
822
820
  </main>
823
821
  </template>
824
-
825
- <style scoped>
826
- .account-bank-page {
827
- --account-bank-ink: #1d2939;
828
- --account-bank-muted: #667085;
829
- --account-bank-line: #dce3ec;
830
- min-width: 0;
831
- color: var(--account-bank-ink);
832
- font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
833
- }
834
-
835
- .query-panel,
836
- .table-panel {
837
- border: 1px solid var(--account-bank-line);
838
- border-radius: 8px;
839
- background: #fff;
840
- box-shadow: 0 3px 12px rgba(30, 55, 90, 0.045);
841
- }
842
-
843
- .query-panel {
844
- margin-bottom: 8px;
845
- padding: 12px 16px;
846
- }
847
-
848
- .query-grid {
849
- display: grid;
850
- grid-template-columns: repeat(3, minmax(180px, 1fr)) auto;
851
- align-items: end;
852
- gap: 12px 16px;
853
- }
854
-
855
- .query-form :deep(.el-form-item) {
856
- min-width: 0;
857
- margin-bottom: 0;
858
- }
859
-
860
- .query-form :deep(.el-form-item__label) {
861
- height: 24px;
862
- padding-right: 8px;
863
- color: #475467;
864
- font-size: 12px;
865
- font-weight: 600;
866
- line-height: 24px;
867
- }
868
-
869
- .query-form :deep(.el-select),
870
- .query-form :deep(.el-input) {
871
- width: 100%;
872
- }
873
-
874
- .query-actions {
875
- display: flex;
876
- align-items: center;
877
- justify-content: flex-end;
878
- gap: 8px;
879
- }
880
-
881
- .query-actions .el-button {
882
- min-width: 82px;
883
- margin-left: 0;
884
- }
885
-
886
- .table-panel {
887
- overflow: hidden;
888
- }
889
-
890
- .account-bank-table {
891
- width: 100%;
892
- --el-table-header-bg-color: #f3f6fa;
893
- --el-table-header-text-color: #344054;
894
- --el-table-row-hover-bg-color: #f1f6ff;
895
- --el-table-border-color: #e1e6ed;
896
- }
897
-
898
- .table-panel :deep(.el-table-plus__toolbar) {
899
- min-height: 42px;
900
- margin: 0;
901
- padding: 7px 14px;
902
- border-bottom: 1px solid #e5eaf1;
903
- background: #fbfcfe;
904
- }
905
-
906
- .table-panel :deep(.el-table-plus__toolbar-left) {
907
- display: flex;
908
- flex: 1;
909
- min-width: 0;
910
- }
911
-
912
- .table-panel :deep(.el-table-plus__toolbar-right) {
913
- flex: 0 0 auto;
914
- }
915
-
916
- .table-panel :deep(.el-table-plus__pagination) {
917
- min-height: 52px;
918
- margin: 0;
919
- padding: 8px 14px;
920
- border-top: 1px solid #e5eaf1;
921
- }
922
-
923
- .account-bank-table :deep(.el-table__header th) {
924
- height: 40px;
925
- padding: 0;
926
- font-size: 12px;
927
- font-weight: 700;
928
- }
929
-
930
- .account-bank-table :deep(.el-table__cell) {
931
- padding: 6px 0;
932
- font-size: 12px;
933
- }
934
-
935
- .selection-summary {
936
- align-self: center;
937
- margin-left: 4px;
938
- color: #667085;
939
- font-size: 12px;
940
- }
941
-
942
- .money-cell {
943
- color: #27364f;
944
- font-weight: 650;
945
- font-variant-numeric: tabular-nums;
946
- }
947
-
948
- :deep(.account-bank-dialog .el-dialog__header) {
949
- margin-right: 0;
950
- padding: 11px 18px;
951
- border-bottom: 1px solid #e4eaf1;
952
- background: linear-gradient(110deg, #f7faff 0%, #fff 58%, #f5f9ff 100%);
953
- }
954
-
955
- :deep(.account-bank-dialog .el-dialog__headerbtn) {
956
- top: 5px;
957
- right: 12px;
958
- }
959
-
960
- :deep(.account-bank-dialog .el-dialog__body) {
961
- max-height: min(70vh, 720px);
962
- overflow-y: auto;
963
- padding: 0;
964
- background: #f6f8fb;
965
- }
966
-
967
- :deep(.account-bank-dialog .el-dialog__footer) {
968
- padding: 13px 22px;
969
- border-top: 1px solid #e4eaf1;
970
- background: #fff;
971
- }
972
-
973
- .dialog-heading {
974
- display: flex;
975
- align-items: center;
976
- gap: 10px;
977
- padding-right: 42px;
978
- }
979
-
980
- .dialog-heading__icon {
981
- display: grid;
982
- width: 32px;
983
- height: 32px;
984
- flex: 0 0 32px;
985
- place-items: center;
986
- border: 1px solid #c8dcff;
987
- border-radius: 8px;
988
- color: #175cd3;
989
- background: #eaf2ff;
990
- }
991
-
992
- .dialog-heading__icon .el-icon {
993
- font-size: 16px;
994
- }
995
-
996
- .dialog-heading > div {
997
- min-width: 0;
998
- }
999
-
1000
- .dialog-heading small {
1001
- display: block;
1002
- margin-bottom: 1px;
1003
- color: #7b8ca8;
1004
- font-size: 10px;
1005
- font-weight: 700;
1006
- letter-spacing: 0.08em;
1007
- line-height: 12px;
1008
- }
1009
-
1010
- .dialog-heading h2 {
1011
- margin: 0;
1012
- color: #172b4d;
1013
- font-size: 16px;
1014
- line-height: 22px;
1015
- }
1016
-
1017
- .dialog-heading .el-tag {
1018
- margin-right: 2px;
1019
- margin-left: auto;
1020
- }
1021
-
1022
- .account-bank-form {
1023
- display: grid;
1024
- gap: 10px;
1025
- padding: 14px;
1026
- }
1027
-
1028
- .dialog-intro {
1029
- padding: 9px 12px;
1030
- border: 1px solid #d9e5f5;
1031
- border-radius: 7px;
1032
- color: #52637c;
1033
- background: #f5f9ff;
1034
- font-size: 12px;
1035
- line-height: 18px;
1036
- }
1037
-
1038
- .form-section {
1039
- min-width: 0;
1040
- padding: 14px 16px 2px;
1041
- border: 1px solid #e0e6ee;
1042
- border-radius: 8px;
1043
- background: #fff;
1044
- box-shadow: 0 2px 7px rgba(25, 47, 89, 0.035);
1045
- }
1046
-
1047
- .form-section__heading {
1048
- display: flex;
1049
- align-items: flex-start;
1050
- gap: 10px;
1051
- margin-bottom: 12px;
1052
- }
1053
-
1054
- .form-section__heading > span {
1055
- min-width: 27px;
1056
- padding-top: 2px;
1057
- color: #175cd3;
1058
- font-size: 11px;
1059
- font-weight: 800;
1060
- letter-spacing: 0.06em;
1061
- }
1062
-
1063
- .form-section__heading h3 {
1064
- margin: 0;
1065
- color: #27364f;
1066
- font-size: 14px;
1067
- line-height: 20px;
1068
- }
1069
-
1070
- .form-section__heading p {
1071
- margin: 1px 0 0;
1072
- color: #8491a5;
1073
- font-size: 11px;
1074
- line-height: 17px;
1075
- }
1076
-
1077
- .form-grid {
1078
- display: grid;
1079
- grid-template-columns: repeat(2, minmax(0, 1fr));
1080
- gap: 0 18px;
1081
- }
1082
-
1083
- .form-grid__full {
1084
- grid-column: 1 / -1;
1085
- }
1086
-
1087
- .account-bank-form :deep(.el-form-item) {
1088
- min-width: 0;
1089
- margin-bottom: 14px;
1090
- }
1091
-
1092
- .account-bank-form :deep(.el-form-item__label) {
1093
- height: 24px;
1094
- padding: 0;
1095
- color: #475467;
1096
- font-size: 12px;
1097
- font-weight: 650;
1098
- line-height: 24px;
1099
- }
1100
-
1101
- .account-bank-form :deep(.el-input),
1102
- .account-bank-form :deep(.el-select) {
1103
- width: 100%;
1104
- }
1105
-
1106
- .account-bank-form :deep(.el-input__wrapper) {
1107
- min-height: 34px;
1108
- border-radius: 6px;
1109
- }
1110
-
1111
- .readonly-field :deep(.el-input__wrapper.is-disabled),
1112
- .readonly-field :deep(.el-select .el-input.is-disabled .el-input__wrapper) {
1113
- cursor: default;
1114
- background: #f3f6fa;
1115
- box-shadow: 0 0 0 1px #dce3ec inset;
1116
- }
1117
-
1118
- .readonly-field :deep(.el-input__inner),
1119
- .readonly-field :deep(.el-select .el-input.is-disabled .el-input__inner) {
1120
- color: #344054;
1121
- font-weight: 600;
1122
- -webkit-text-fill-color: #344054;
1123
- }
1124
-
1125
- .account-bank-form :deep(.el-input-group__append) {
1126
- min-width: 42px;
1127
- padding: 0 10px;
1128
- color: #475467;
1129
- font-size: 11px;
1130
- font-weight: 700;
1131
- text-align: center;
1132
- }
1133
-
1134
- .dialog-footer {
1135
- display: flex;
1136
- align-items: center;
1137
- justify-content: space-between;
1138
- gap: 16px;
1139
- }
1140
-
1141
- .dialog-footer > span {
1142
- color: #8491a5;
1143
- font-size: 11px;
1144
- }
1145
-
1146
- .dialog-footer > span i {
1147
- color: #e5484d;
1148
- font-style: normal;
1149
- }
1150
-
1151
- .dialog-footer > div {
1152
- display: flex;
1153
- gap: 8px;
1154
- }
1155
-
1156
- .dialog-footer .el-button {
1157
- min-width: 88px;
1158
- }
1159
-
1160
- @media (max-width: 980px) {
1161
- .query-grid {
1162
- grid-template-columns: repeat(2, minmax(180px, 1fr));
1163
- }
1164
-
1165
- .query-actions {
1166
- justify-content: flex-start;
1167
- }
1168
- }
1169
-
1170
- @media (max-width: 620px) {
1171
- .query-grid,
1172
- .form-grid {
1173
- grid-template-columns: 1fr;
1174
- }
1175
-
1176
- .form-grid__full {
1177
- grid-column: auto;
1178
- }
1179
-
1180
- .dialog-heading small,
1181
- .dialog-heading .el-tag,
1182
- .dialog-footer > span {
1183
- display: none;
1184
- }
1185
-
1186
- .account-bank-form {
1187
- padding: 10px;
1188
- }
1189
-
1190
- .form-section {
1191
- padding-right: 12px;
1192
- padding-left: 12px;
1193
- }
1194
-
1195
- .dialog-footer > div {
1196
- width: 100%;
1197
- }
1198
-
1199
- .dialog-footer .el-button {
1200
- flex: 1;
1201
- }
1202
- }
1203
- </style>