verce-vue-test 0.0.97 → 0.0.98
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/router/index.ts +1 -1
- package/src/views/foreign-currency-fund-allocation/index.vue +58 -41
- package/src/views/foreign-currency-settlement/components/ForeignSettlementFlowPanel.vue +13 -2
- package/src/views/foreign-currency-settlement/components/ForeignSettlementForecastPanel.vue +14 -3
- package/src/views/foreign-currency-settlement/foreign-currency-settlement-base.css +201 -0
- package/src/views/fund-cockpit/api.ts +48 -41
- package/src/views/fund-cockpit/index.css +1053 -0
- package/src/views/{FundCockpitView.vue → fund-cockpit/index.vue} +535 -705
package/package.json
CHANGED
package/src/router/index.ts
CHANGED
|
@@ -114,7 +114,7 @@ const router = createRouter({
|
|
|
114
114
|
path: '/fund-cockpit',
|
|
115
115
|
name: 'fundCockpit',
|
|
116
116
|
meta: { fullscreen: true },
|
|
117
|
-
component: () => import('../views/
|
|
117
|
+
component: () => import('../views/fund-cockpit/index.vue'),
|
|
118
118
|
},
|
|
119
119
|
{
|
|
120
120
|
path: '/notice-announcement',
|
|
@@ -69,7 +69,7 @@ function localDateText(date = new Date()) {
|
|
|
69
69
|
|
|
70
70
|
function resolveSystemWorkDate(value: unknown) {
|
|
71
71
|
const match = String(value ?? '').trim().match(/^(\d{4})-?(\d{2})-?(\d{2})$/)
|
|
72
|
-
if (!match) return localDateText()
|
|
72
|
+
if (!match) return compactDate(localDateText())
|
|
73
73
|
|
|
74
74
|
const [, yearText, monthText, dayText] = match
|
|
75
75
|
const year = Number(yearText)
|
|
@@ -79,14 +79,14 @@ function resolveSystemWorkDate(value: unknown) {
|
|
|
79
79
|
const isValidDate = date.getFullYear() === year
|
|
80
80
|
&& date.getMonth() === month - 1
|
|
81
81
|
&& date.getDate() === day
|
|
82
|
-
return isValidDate ? localDateText(date) : localDateText()
|
|
82
|
+
return compactDate(isValidDate ? localDateText(date) : localDateText())
|
|
83
83
|
}
|
|
84
84
|
|
|
85
|
-
/**
|
|
85
|
+
/** 系统工作日期注入点,日期模型统一使用 YYYYMMDD。 */
|
|
86
86
|
const systemWorkDate = ref(resolveSystemWorkDate(import.meta.env.VITE_SYSTEM_WORK_DATE))
|
|
87
87
|
|
|
88
88
|
function disabledBeforeSystemWorkDate(date: Date) {
|
|
89
|
-
return localDateText(date) < systemWorkDate.value
|
|
89
|
+
return compactDate(localDateText(date)) < systemWorkDate.value
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
function createDefaultFundAllocationFilter(): ForeignCurrencyFundAllocationFilter {
|
|
@@ -315,9 +315,15 @@ function cloneFilter(source: ForeignCurrencyFundAllocationFilter) {
|
|
|
315
315
|
return { ...source }
|
|
316
316
|
}
|
|
317
317
|
|
|
318
|
+
/** 后端日期字段统一使用 YYYYMMDD。 */
|
|
319
|
+
function compactDate(value: string) {
|
|
320
|
+
const compact = String(value || '').replaceAll('-', '').slice(0, 8)
|
|
321
|
+
return /^\d{8}$/.test(compact) ? compact : ''
|
|
322
|
+
}
|
|
323
|
+
|
|
318
324
|
function formatDate(value: string) {
|
|
319
|
-
const compact = value
|
|
320
|
-
if (
|
|
325
|
+
const compact = compactDate(value)
|
|
326
|
+
if (!compact) return value || '—'
|
|
321
327
|
return `${compact.slice(0, 4)}-${compact.slice(4, 6)}-${compact.slice(6, 8)}`
|
|
322
328
|
}
|
|
323
329
|
|
|
@@ -549,7 +555,7 @@ function openEdit(row: ForeignCurrencyFundAllocationRow) {
|
|
|
549
555
|
remarkEdit: row.remark,
|
|
550
556
|
status: row.status,
|
|
551
557
|
updateUser: String(import.meta.env.VITE_TAM_USER_ID || 'HQ00601'),
|
|
552
|
-
valueDateEdit:
|
|
558
|
+
valueDateEdit: compactDate(row.valueDate),
|
|
553
559
|
zmqFlagEdit: row.zmqFlag || 'N',
|
|
554
560
|
})
|
|
555
561
|
editVisible.value = true
|
|
@@ -768,7 +774,7 @@ onMounted(() => {
|
|
|
768
774
|
v-model="filterForm.tranDate"
|
|
769
775
|
type="date"
|
|
770
776
|
format="YYYY-MM-DD"
|
|
771
|
-
value-format="
|
|
777
|
+
value-format="YYYYMMDD"
|
|
772
778
|
placeholder="请选择调拨日期"
|
|
773
779
|
clearable
|
|
774
780
|
/>
|
|
@@ -790,26 +796,28 @@ onMounted(() => {
|
|
|
790
796
|
<el-option v-for="option in allocationStatusOptions" :key="option.value" v-bind="option" />
|
|
791
797
|
</el-select>
|
|
792
798
|
</el-form-item>
|
|
793
|
-
<
|
|
794
|
-
<
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
<
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
799
|
+
<div class="query-range-group">
|
|
800
|
+
<el-form-item label="调拨金额(mio)">
|
|
801
|
+
<NumberRange
|
|
802
|
+
v-model="filterAmountRange"
|
|
803
|
+
min-placeholder="请输入最低金额"
|
|
804
|
+
max-placeholder="请输入最高金额"
|
|
805
|
+
:precision="2"
|
|
806
|
+
error-message="起始调拨金额不能大于截止调拨金额"
|
|
807
|
+
size="small"
|
|
808
|
+
/>
|
|
809
|
+
</el-form-item>
|
|
810
|
+
<el-form-item label="起息日">
|
|
811
|
+
<DateRange
|
|
812
|
+
v-model="filterValueDateRange"
|
|
813
|
+
start-placeholder="请选择开始日期"
|
|
814
|
+
end-placeholder="请选择结束日期"
|
|
815
|
+
value-format="YYYYMMDD"
|
|
816
|
+
display-format="YYYY-MM-DD"
|
|
817
|
+
size="small"
|
|
818
|
+
/>
|
|
819
|
+
</el-form-item>
|
|
820
|
+
</div>
|
|
813
821
|
</div>
|
|
814
822
|
|
|
815
823
|
<div class="query-actions">
|
|
@@ -863,6 +871,8 @@ onMounted(() => {
|
|
|
863
871
|
label="序号"
|
|
864
872
|
width="62"
|
|
865
873
|
fixed="left"
|
|
874
|
+
align="center"
|
|
875
|
+
header-align="center"
|
|
866
876
|
:index="(index: number) => (currentPage - 1) * pageSize + index + 1"
|
|
867
877
|
disabled
|
|
868
878
|
/>
|
|
@@ -1019,7 +1029,7 @@ onMounted(() => {
|
|
|
1019
1029
|
v-model="createForm.alocDate"
|
|
1020
1030
|
type="date"
|
|
1021
1031
|
format="YYYY-MM-DD"
|
|
1022
|
-
value-format="
|
|
1032
|
+
value-format="YYYYMMDD"
|
|
1023
1033
|
placeholder="请选择调拨日期"
|
|
1024
1034
|
:disabled-date="disabledBeforeSystemWorkDate"
|
|
1025
1035
|
/>
|
|
@@ -1029,7 +1039,7 @@ onMounted(() => {
|
|
|
1029
1039
|
v-model="createForm.valueDate"
|
|
1030
1040
|
type="date"
|
|
1031
1041
|
format="YYYY-MM-DD"
|
|
1032
|
-
value-format="
|
|
1042
|
+
value-format="YYYYMMDD"
|
|
1033
1043
|
placeholder="请选择起息日"
|
|
1034
1044
|
:disabled-date="disabledBeforeSystemWorkDate"
|
|
1035
1045
|
/>
|
|
@@ -1068,8 +1078,8 @@ onMounted(() => {
|
|
|
1068
1078
|
</el-form-item>
|
|
1069
1079
|
<el-form-item label="是否资金运营中心" prop="fundOpeCent">
|
|
1070
1080
|
<el-radio-group v-model="createForm.fundOpeCent" class="choice-cards">
|
|
1071
|
-
<el-radio-button value="Y">是</el-radio-button>
|
|
1072
|
-
<el-radio-button value="N">否</el-radio-button>
|
|
1081
|
+
<el-radio-button label="Y" value="Y">是</el-radio-button>
|
|
1082
|
+
<el-radio-button label="N" value="N">否</el-radio-button>
|
|
1073
1083
|
</el-radio-group>
|
|
1074
1084
|
</el-form-item>
|
|
1075
1085
|
</div>
|
|
@@ -1097,8 +1107,8 @@ onMounted(() => {
|
|
|
1097
1107
|
class="choice-cards"
|
|
1098
1108
|
@change="handleAccountDependencyChange('create')"
|
|
1099
1109
|
>
|
|
1100
|
-
<el-radio-button value="Y">是</el-radio-button>
|
|
1101
|
-
<el-radio-button value="N">否</el-radio-button>
|
|
1110
|
+
<el-radio-button label="Y" value="Y">是</el-radio-button>
|
|
1111
|
+
<el-radio-button label="N" value="N">否</el-radio-button>
|
|
1102
1112
|
</el-radio-group>
|
|
1103
1113
|
</el-form-item>
|
|
1104
1114
|
</div>
|
|
@@ -1294,7 +1304,7 @@ onMounted(() => {
|
|
|
1294
1304
|
v-model="editForm.valueDateEdit"
|
|
1295
1305
|
type="date"
|
|
1296
1306
|
format="YYYY-MM-DD"
|
|
1297
|
-
value-format="
|
|
1307
|
+
value-format="YYYYMMDD"
|
|
1298
1308
|
placeholder="请选择起息日"
|
|
1299
1309
|
/>
|
|
1300
1310
|
</el-form-item>
|
|
@@ -1310,8 +1320,8 @@ onMounted(() => {
|
|
|
1310
1320
|
</el-form-item>
|
|
1311
1321
|
<el-form-item label="是否资金运营中心" prop="fundOpeCentStoreEdit">
|
|
1312
1322
|
<el-radio-group v-model="editForm.fundOpeCentStoreEdit" class="choice-cards">
|
|
1313
|
-
<el-radio-button value="Y">是</el-radio-button>
|
|
1314
|
-
<el-radio-button value="N">否</el-radio-button>
|
|
1323
|
+
<el-radio-button label="Y" value="Y">是</el-radio-button>
|
|
1324
|
+
<el-radio-button label="N" value="N">否</el-radio-button>
|
|
1315
1325
|
</el-radio-group>
|
|
1316
1326
|
</el-form-item>
|
|
1317
1327
|
</div>
|
|
@@ -1339,8 +1349,8 @@ onMounted(() => {
|
|
|
1339
1349
|
class="choice-cards"
|
|
1340
1350
|
@change="handleAccountDependencyChange('edit')"
|
|
1341
1351
|
>
|
|
1342
|
-
<el-radio-button value="Y">是</el-radio-button>
|
|
1343
|
-
<el-radio-button value="N">否</el-radio-button>
|
|
1352
|
+
<el-radio-button label="Y" value="Y">是</el-radio-button>
|
|
1353
|
+
<el-radio-button label="N" value="N">否</el-radio-button>
|
|
1344
1354
|
</el-radio-group>
|
|
1345
1355
|
</el-form-item>
|
|
1346
1356
|
</div>
|
|
@@ -1607,7 +1617,13 @@ onMounted(() => {
|
|
|
1607
1617
|
.query-form :deep(.el-input),
|
|
1608
1618
|
.query-form :deep(.el-select),
|
|
1609
1619
|
.query-form :deep(.el-date-editor) { width: 100%; }
|
|
1610
|
-
.query-range-
|
|
1620
|
+
.query-range-group {
|
|
1621
|
+
display: grid;
|
|
1622
|
+
grid-column: span 4;
|
|
1623
|
+
grid-template-columns: repeat(2, 360px);
|
|
1624
|
+
gap: 12px;
|
|
1625
|
+
min-width: 0;
|
|
1626
|
+
}
|
|
1611
1627
|
.query-form :deep(.el-input__wrapper),
|
|
1612
1628
|
.query-form :deep(.el-select__wrapper) { border-radius: 5px; box-shadow: 0 0 0 1px #d6dee9 inset; }
|
|
1613
1629
|
.query-actions {
|
|
@@ -1900,12 +1916,13 @@ onMounted(() => {
|
|
|
1900
1916
|
|
|
1901
1917
|
@media (max-width: 900px) {
|
|
1902
1918
|
.query-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
|
1919
|
+
.query-range-group { grid-column: span 2; grid-template-columns: repeat(2, minmax(0, 360px)); }
|
|
1903
1920
|
.edit-form__grid--three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
|
1904
1921
|
}
|
|
1905
1922
|
|
|
1906
1923
|
@media (max-width: 560px) {
|
|
1907
1924
|
.query-grid { grid-template-columns: 1fr; }
|
|
1908
|
-
.query-range-
|
|
1925
|
+
.query-range-group { grid-column: auto; grid-template-columns: 1fr; }
|
|
1909
1926
|
.edit-form__grid { grid-template-columns: 1fr; }
|
|
1910
1927
|
.edit-form__full { grid-column: auto; }
|
|
1911
1928
|
.dialog-heading small { display: none; }
|
|
@@ -287,10 +287,21 @@ watch(listRefreshKey, () => {
|
|
|
287
287
|
</script>
|
|
288
288
|
|
|
289
289
|
<template>
|
|
290
|
-
<section
|
|
290
|
+
<section
|
|
291
|
+
class="forecast-info-card forecast-info-card--flow"
|
|
292
|
+
aria-labelledby="foreign-currency-flow-info-title"
|
|
293
|
+
:aria-busy="loading"
|
|
294
|
+
>
|
|
291
295
|
<header class="forecast-info-card__header">
|
|
292
296
|
<div class="foreign-currency-settlement-title-group">
|
|
293
|
-
<
|
|
297
|
+
<span class="foreign-currency-settlement-step" aria-hidden="true">02</span>
|
|
298
|
+
<div class="foreign-currency-settlement-title-copy">
|
|
299
|
+
<h2 id="foreign-currency-flow-info-title" class="forecast-info-card__title">流水信息</h2>
|
|
300
|
+
<p>选择与预报匹配的银行流水</p>
|
|
301
|
+
</div>
|
|
302
|
+
<span class="foreign-currency-settlement-result-count" aria-live="polite">
|
|
303
|
+
{{ loading ? '查询中' : `共 ${total} 笔` }}
|
|
304
|
+
</span>
|
|
294
305
|
</div>
|
|
295
306
|
|
|
296
307
|
<div class="forecast-info-header-actions">
|
|
@@ -376,10 +376,21 @@ watch(listRefreshKey, () => {
|
|
|
376
376
|
</script>
|
|
377
377
|
|
|
378
378
|
<template>
|
|
379
|
-
<section
|
|
379
|
+
<section
|
|
380
|
+
class="forecast-info-card forecast-info-card--forecast"
|
|
381
|
+
aria-labelledby="foreign-currency-forecast-info-title"
|
|
382
|
+
:aria-busy="loading"
|
|
383
|
+
>
|
|
380
384
|
<header class="forecast-info-card__header">
|
|
381
385
|
<div class="foreign-currency-settlement-title-group">
|
|
382
|
-
<
|
|
386
|
+
<span class="foreign-currency-settlement-step" aria-hidden="true">01</span>
|
|
387
|
+
<div class="foreign-currency-settlement-title-copy">
|
|
388
|
+
<h2 id="foreign-currency-forecast-info-title" class="forecast-info-card__title">预报信息</h2>
|
|
389
|
+
<p>选择需要核销的外币预报</p>
|
|
390
|
+
</div>
|
|
391
|
+
<span class="foreign-currency-settlement-result-count" aria-live="polite">
|
|
392
|
+
{{ loading ? '查询中' : `共 ${total} 笔` }}
|
|
393
|
+
</span>
|
|
383
394
|
</div>
|
|
384
395
|
|
|
385
396
|
<div class="forecast-info-header-actions">
|
|
@@ -474,7 +485,7 @@ watch(listRefreshKey, () => {
|
|
|
474
485
|
</label>
|
|
475
486
|
|
|
476
487
|
<label v-if="layout === 'vertical'" class="forecast-info-filter__item">
|
|
477
|
-
<span
|
|
488
|
+
<span>核销状态</span>
|
|
478
489
|
<el-select
|
|
479
490
|
v-model="filterForm.verifyStatus"
|
|
480
491
|
:append-to="overlayContainer || undefined"
|
|
@@ -1087,3 +1087,204 @@
|
|
|
1087
1087
|
grid-template-columns: minmax(0, 1fr);
|
|
1088
1088
|
}
|
|
1089
1089
|
}
|
|
1090
|
+
|
|
1091
|
+
/* ---- 核销工作台视觉层级:区分预报与流水两步,并强化结果状态。 ---- */
|
|
1092
|
+
.forecast-info-page[data-page-scope="foreign-currency-settlement"].foreign-currency-settlement-page {
|
|
1093
|
+
--settlement-ink: #16243a;
|
|
1094
|
+
--settlement-muted: #718198;
|
|
1095
|
+
--settlement-line: #dbe4ef;
|
|
1096
|
+
--settlement-forecast: #1769e0;
|
|
1097
|
+
--settlement-flow: #087f7a;
|
|
1098
|
+
gap: 12px;
|
|
1099
|
+
background:
|
|
1100
|
+
radial-gradient(circle at 4% 0, rgba(23, 105, 224, .09), transparent 26%),
|
|
1101
|
+
radial-gradient(circle at 96% 100%, rgba(8, 127, 122, .075), transparent 24%),
|
|
1102
|
+
#f3f6fa;
|
|
1103
|
+
}
|
|
1104
|
+
|
|
1105
|
+
.foreign-currency-settlement-page .forecast-info-card {
|
|
1106
|
+
position: relative;
|
|
1107
|
+
border-color: var(--settlement-line);
|
|
1108
|
+
border-radius: 10px;
|
|
1109
|
+
box-shadow: 0 8px 24px rgba(31, 58, 92, .075);
|
|
1110
|
+
transition: border-color .18s ease, box-shadow .18s ease;
|
|
1111
|
+
}
|
|
1112
|
+
|
|
1113
|
+
.foreign-currency-settlement-page .forecast-info-card::before {
|
|
1114
|
+
position: absolute;
|
|
1115
|
+
z-index: 1;
|
|
1116
|
+
top: -1px;
|
|
1117
|
+
left: 18px;
|
|
1118
|
+
width: 54px;
|
|
1119
|
+
height: 3px;
|
|
1120
|
+
border-radius: 0 0 4px 4px;
|
|
1121
|
+
background: var(--panel-accent);
|
|
1122
|
+
content: "";
|
|
1123
|
+
}
|
|
1124
|
+
|
|
1125
|
+
.foreign-currency-settlement-page .forecast-info-card--forecast {
|
|
1126
|
+
--panel-accent: var(--settlement-forecast);
|
|
1127
|
+
--panel-accent-soft: #edf5ff;
|
|
1128
|
+
}
|
|
1129
|
+
|
|
1130
|
+
.foreign-currency-settlement-page .forecast-info-card--flow {
|
|
1131
|
+
--panel-accent: var(--settlement-flow);
|
|
1132
|
+
--panel-accent-soft: #eaf8f6;
|
|
1133
|
+
}
|
|
1134
|
+
|
|
1135
|
+
.foreign-currency-settlement-page .forecast-info-card:focus-within {
|
|
1136
|
+
border-color: #b8cbe2;
|
|
1137
|
+
box-shadow: 0 10px 28px rgba(31, 58, 92, .11);
|
|
1138
|
+
}
|
|
1139
|
+
|
|
1140
|
+
.foreign-currency-settlement-page .forecast-info-card__header {
|
|
1141
|
+
min-height: 34px;
|
|
1142
|
+
padding: 0 6px;
|
|
1143
|
+
}
|
|
1144
|
+
|
|
1145
|
+
.foreign-currency-settlement-page .foreign-currency-settlement-title-group {
|
|
1146
|
+
display: flex;
|
|
1147
|
+
min-width: 0;
|
|
1148
|
+
align-items: center;
|
|
1149
|
+
gap: 9px;
|
|
1150
|
+
}
|
|
1151
|
+
|
|
1152
|
+
.foreign-currency-settlement-page .foreign-currency-settlement-step {
|
|
1153
|
+
display: inline-flex;
|
|
1154
|
+
width: 27px;
|
|
1155
|
+
height: 27px;
|
|
1156
|
+
align-items: center;
|
|
1157
|
+
justify-content: center;
|
|
1158
|
+
flex: 0 0 auto;
|
|
1159
|
+
border: 1px solid #c9dced;
|
|
1160
|
+
border-radius: 8px;
|
|
1161
|
+
background: var(--panel-accent-soft);
|
|
1162
|
+
color: var(--panel-accent);
|
|
1163
|
+
font-size: 11px;
|
|
1164
|
+
font-weight: 800;
|
|
1165
|
+
font-variant-numeric: tabular-nums;
|
|
1166
|
+
letter-spacing: .02em;
|
|
1167
|
+
}
|
|
1168
|
+
|
|
1169
|
+
.foreign-currency-settlement-page .forecast-info-card--flow .foreign-currency-settlement-step {
|
|
1170
|
+
border-color: #b9dfda;
|
|
1171
|
+
}
|
|
1172
|
+
|
|
1173
|
+
.foreign-currency-settlement-page .foreign-currency-settlement-title-copy {
|
|
1174
|
+
display: flex;
|
|
1175
|
+
min-width: 0;
|
|
1176
|
+
flex-direction: column;
|
|
1177
|
+
gap: 3px;
|
|
1178
|
+
}
|
|
1179
|
+
|
|
1180
|
+
.foreign-currency-settlement-page .foreign-currency-settlement-title-copy p {
|
|
1181
|
+
margin: 0;
|
|
1182
|
+
overflow: hidden;
|
|
1183
|
+
color: var(--settlement-muted);
|
|
1184
|
+
font-size: 11px;
|
|
1185
|
+
line-height: 1;
|
|
1186
|
+
text-overflow: ellipsis;
|
|
1187
|
+
white-space: nowrap;
|
|
1188
|
+
}
|
|
1189
|
+
|
|
1190
|
+
.foreign-currency-settlement-page .forecast-info-card__title {
|
|
1191
|
+
color: var(--settlement-ink);
|
|
1192
|
+
font-size: 15px;
|
|
1193
|
+
line-height: 1;
|
|
1194
|
+
}
|
|
1195
|
+
|
|
1196
|
+
.foreign-currency-settlement-page .forecast-info-card__title::before {
|
|
1197
|
+
display: none;
|
|
1198
|
+
}
|
|
1199
|
+
|
|
1200
|
+
.foreign-currency-settlement-page .foreign-currency-settlement-result-count {
|
|
1201
|
+
display: inline-flex;
|
|
1202
|
+
min-width: 54px;
|
|
1203
|
+
height: 22px;
|
|
1204
|
+
align-items: center;
|
|
1205
|
+
justify-content: center;
|
|
1206
|
+
flex: 0 0 auto;
|
|
1207
|
+
padding: 0 8px;
|
|
1208
|
+
border: 1px solid #e0e7f0;
|
|
1209
|
+
border-radius: 999px;
|
|
1210
|
+
background: #f8fafc;
|
|
1211
|
+
color: #66768c;
|
|
1212
|
+
font-size: 11px;
|
|
1213
|
+
font-variant-numeric: tabular-nums;
|
|
1214
|
+
}
|
|
1215
|
+
|
|
1216
|
+
.foreign-currency-settlement-page .forecast-info-filter {
|
|
1217
|
+
margin-top: 10px;
|
|
1218
|
+
padding: 9px 10px;
|
|
1219
|
+
border: 1px solid #e4eaf2;
|
|
1220
|
+
border-radius: 8px;
|
|
1221
|
+
background: #f8fafc;
|
|
1222
|
+
}
|
|
1223
|
+
|
|
1224
|
+
.foreign-currency-settlement-page .forecast-info-filter__item > span {
|
|
1225
|
+
color: #52647c;
|
|
1226
|
+
font-size: 12px;
|
|
1227
|
+
font-weight: 650;
|
|
1228
|
+
}
|
|
1229
|
+
|
|
1230
|
+
.foreign-currency-settlement-page .forecast-info-filter__item .el-input__wrapper,
|
|
1231
|
+
.foreign-currency-settlement-page .forecast-info-filter__item .el-select__wrapper,
|
|
1232
|
+
.foreign-currency-settlement-page .forecast-info-filter__item .el-date-editor.el-input__wrapper {
|
|
1233
|
+
background: #fff;
|
|
1234
|
+
box-shadow: 0 0 0 1px #d8e1ec inset;
|
|
1235
|
+
transition: box-shadow .16s ease, background-color .16s ease;
|
|
1236
|
+
}
|
|
1237
|
+
|
|
1238
|
+
.foreign-currency-settlement-page .forecast-info-filter__item .el-input__wrapper:hover,
|
|
1239
|
+
.foreign-currency-settlement-page .forecast-info-filter__item .el-select__wrapper:hover,
|
|
1240
|
+
.foreign-currency-settlement-page .forecast-info-filter__item .el-date-editor.el-input__wrapper:hover {
|
|
1241
|
+
box-shadow: 0 0 0 1px #9fb9d8 inset;
|
|
1242
|
+
}
|
|
1243
|
+
|
|
1244
|
+
.foreign-currency-settlement-page .forecast-info-filter__actions .el-button {
|
|
1245
|
+
min-height: 28px;
|
|
1246
|
+
border-radius: 6px;
|
|
1247
|
+
}
|
|
1248
|
+
|
|
1249
|
+
.foreign-currency-settlement-page .forecast-info-filter__actions .el-button--primary {
|
|
1250
|
+
background: var(--panel-accent);
|
|
1251
|
+
border-color: var(--panel-accent);
|
|
1252
|
+
box-shadow: 0 4px 10px rgba(23, 105, 224, .18);
|
|
1253
|
+
}
|
|
1254
|
+
|
|
1255
|
+
.foreign-currency-settlement-page .forecast-info-card--flow .forecast-info-filter__actions .el-button--primary {
|
|
1256
|
+
box-shadow: 0 4px 10px rgba(8, 127, 122, .18);
|
|
1257
|
+
}
|
|
1258
|
+
|
|
1259
|
+
.foreign-currency-settlement-page .forecast-info-table-area {
|
|
1260
|
+
margin-top: 10px;
|
|
1261
|
+
padding-top: 9px;
|
|
1262
|
+
border-top-color: #e6ebf2;
|
|
1263
|
+
}
|
|
1264
|
+
|
|
1265
|
+
.foreign-currency-settlement-page .foreign-currency-settlement-table-shell .el-table-plus__toolbar {
|
|
1266
|
+
padding: 0 2px;
|
|
1267
|
+
}
|
|
1268
|
+
|
|
1269
|
+
.foreign-currency-settlement-page .foreign-currency-settlement-table {
|
|
1270
|
+
border: 1px solid #dce4ee;
|
|
1271
|
+
border-radius: 7px;
|
|
1272
|
+
}
|
|
1273
|
+
|
|
1274
|
+
.foreign-currency-settlement-page .foreign-currency-settlement-table .el-table__header th {
|
|
1275
|
+
background: #f3f6fa;
|
|
1276
|
+
color: #3e5068;
|
|
1277
|
+
box-shadow: 0 -1px 0 #dce4ee inset;
|
|
1278
|
+
}
|
|
1279
|
+
|
|
1280
|
+
.foreign-currency-settlement-page .foreign-currency-settlement-table .el-table__row:hover > td.el-table__cell,
|
|
1281
|
+
.foreign-currency-settlement-page .foreign-currency-settlement-table .el-table__row.current-row > td.el-table__cell {
|
|
1282
|
+
background: var(--panel-accent-soft);
|
|
1283
|
+
}
|
|
1284
|
+
|
|
1285
|
+
@media (max-width: 900px) {
|
|
1286
|
+
.foreign-currency-settlement-page .foreign-currency-settlement-title-copy p,
|
|
1287
|
+
.foreign-currency-settlement-page .foreign-currency-settlement-result-count {
|
|
1288
|
+
display: none;
|
|
1289
|
+
}
|
|
1290
|
+
}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import baseHttpClient, {
|
|
2
|
-
type HttpRequestOptions,
|
|
3
|
-
type TamResponse,
|
|
4
|
-
} from '@/utils/baseHttpClient'
|
|
1
|
+
import baseHttpClient, { type TamResponse } from '@/utils/baseHttpClient'
|
|
5
2
|
|
|
3
|
+
/** 未来现金缺口明细。 */
|
|
6
4
|
export type FutureCashGapRecord = {
|
|
7
5
|
curDate?: string
|
|
8
6
|
wlbdssrxjqk?: string
|
|
@@ -19,6 +17,7 @@ export type FutureCashGapBody = {
|
|
|
19
17
|
resultInfos?: FutureCashGapRecord[]
|
|
20
18
|
}
|
|
21
19
|
|
|
20
|
+
/** 现金流图表的区间及刷新信息。 */
|
|
22
21
|
export type FutureCashFlowSummary = {
|
|
23
22
|
max?: string
|
|
24
23
|
min?: string
|
|
@@ -81,6 +80,7 @@ export type InterbankIndicatorBody = {
|
|
|
81
80
|
resultInfoObj?: InterbankIndicatorRecord[]
|
|
82
81
|
}
|
|
83
82
|
|
|
83
|
+
/** 顶部四块资金指标的汇总数据。 */
|
|
84
84
|
export type FundCockpitSummaryBody = {
|
|
85
85
|
actualCollection?: string
|
|
86
86
|
actualPayment?: string
|
|
@@ -97,9 +97,13 @@ export type FundCockpitSummaryBody = {
|
|
|
97
97
|
reportedAmt?: string
|
|
98
98
|
}
|
|
99
99
|
|
|
100
|
+
/** 人行账户余额历史趋势。 */
|
|
100
101
|
export type PbocBalanceHistoryRecord = {
|
|
102
|
+
/** 跨境余额。 */
|
|
101
103
|
crossBorder?: string
|
|
104
|
+
/** 人行余额。 */
|
|
102
105
|
datBlance?: string
|
|
106
|
+
/** 数据日期。 */
|
|
103
107
|
mtDate?: string
|
|
104
108
|
}
|
|
105
109
|
|
|
@@ -107,6 +111,7 @@ export type PbocBalanceHistoryBody = {
|
|
|
107
111
|
resultInfoObj?: PbocBalanceHistoryRecord[]
|
|
108
112
|
}
|
|
109
113
|
|
|
114
|
+
/** 报备轧差与实际轧差历史趋势。 */
|
|
110
115
|
export type DeviationHistoryRecord = {
|
|
111
116
|
actualdeviation?: string
|
|
112
117
|
mtDate?: string
|
|
@@ -117,13 +122,21 @@ export type DeviationHistoryBody = {
|
|
|
117
122
|
resultInfoObj?: DeviationHistoryRecord[]
|
|
118
123
|
}
|
|
119
124
|
|
|
125
|
+
/** 报备、实际及预测收付款历史趋势。 */
|
|
120
126
|
export type PaymentReceiptHistoryRecord = {
|
|
127
|
+
/** 预测收款。 */
|
|
121
128
|
foreAmtIn?: string
|
|
129
|
+
/** 预测付款。 */
|
|
122
130
|
foreAmtOut?: string
|
|
131
|
+
/** 数据日期。 */
|
|
123
132
|
mtDate?: string
|
|
133
|
+
/** 报备收款。 */
|
|
124
134
|
predAmtIn?: string
|
|
135
|
+
/** 报备付款。 */
|
|
125
136
|
predAmtOut?: string
|
|
137
|
+
/** 实际收款。 */
|
|
126
138
|
tranAmtIn?: string
|
|
139
|
+
/** 实际付款。 */
|
|
127
140
|
tranAmtOut?: string
|
|
128
141
|
}
|
|
129
142
|
|
|
@@ -131,6 +144,7 @@ export type PaymentReceiptHistoryBody = {
|
|
|
131
144
|
resultInfoObj?: PaymentReceiptHistoryRecord[]
|
|
132
145
|
}
|
|
133
146
|
|
|
147
|
+
/** 流动性仪表盘指标。 */
|
|
134
148
|
export type LiquidityGaugeBody = {
|
|
135
149
|
curDate?: string
|
|
136
150
|
jwdzjbl?: string
|
|
@@ -141,59 +155,52 @@ export type LiquidityGaugeBody = {
|
|
|
141
155
|
ldxfglTime?: string
|
|
142
156
|
}
|
|
143
157
|
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
shibor: '/TAM/0001/140206004',
|
|
148
|
-
futureYearCashFlow: '/TAM/0001/140206005',
|
|
149
|
-
interbankIndicators: '/TAM/0001/140206006',
|
|
150
|
-
summary: '/TAM/0001/140206007',
|
|
151
|
-
pbocBalanceHistory: '/TAM/0001/140206008',
|
|
152
|
-
deviationHistory: '/TAM/0001/140206009',
|
|
153
|
-
paymentReceiptHistory: '/TAM/0001/140206010',
|
|
154
|
-
liquidityGauges: '/TAM/0001/140206017',
|
|
155
|
-
} as const
|
|
156
|
-
|
|
157
|
-
function post<T>(path: string, body: object, options?: HttpRequestOptions) {
|
|
158
|
-
return baseHttpClient.post<TamResponse<T>>(path, body, options)
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
export function queryFutureCashGap(options?: HttpRequestOptions) {
|
|
162
|
-
return post<FutureCashGapBody>(TRAN_CODES.futureCashGap, {}, options)
|
|
158
|
+
/** 查询未来现金缺口(140206002,无请求参数)。 */
|
|
159
|
+
export function queryFutureCashGap() {
|
|
160
|
+
return baseHttpClient.post<TamResponse<FutureCashGapBody>>('/TAM/0001/140206002', {})
|
|
163
161
|
}
|
|
164
162
|
|
|
165
|
-
|
|
166
|
-
|
|
163
|
+
/** 查询未来现金流(140206003,无请求参数)。 */
|
|
164
|
+
export function queryFutureCashFlow() {
|
|
165
|
+
return baseHttpClient.post<TamResponse<FutureCashFlowBody>>('/TAM/0001/140206003', {})
|
|
167
166
|
}
|
|
168
167
|
|
|
169
|
-
|
|
170
|
-
|
|
168
|
+
/** 查询指定数据日期的 SHIBOR 指标(140206004)。 */
|
|
169
|
+
export function queryShibor(queryDate: string) {
|
|
170
|
+
return baseHttpClient.post<TamResponse<ShiborBody>>('/TAM/0001/140206004', { queryDate })
|
|
171
171
|
}
|
|
172
172
|
|
|
173
|
-
|
|
174
|
-
|
|
173
|
+
/** 查询指定数据日期的未来一年现金流(140206005)。 */
|
|
174
|
+
export function queryFutureYearCashFlow(queryDate: string) {
|
|
175
|
+
return baseHttpClient.post<TamResponse<FutureYearCashFlowBody>>('/TAM/0001/140206005', { queryDate })
|
|
175
176
|
}
|
|
176
177
|
|
|
177
|
-
|
|
178
|
-
|
|
178
|
+
/** 查询指定数据日期的同业指标(140206006)。 */
|
|
179
|
+
export function queryInterbankIndicators(queryDate: string) {
|
|
180
|
+
return baseHttpClient.post<TamResponse<InterbankIndicatorBody>>('/TAM/0001/140206006', { queryDate })
|
|
179
181
|
}
|
|
180
182
|
|
|
181
|
-
|
|
182
|
-
|
|
183
|
+
/** 查询指定数据日期的顶部资金指标汇总(140206007)。 */
|
|
184
|
+
export function queryFundCockpitSummary(queryDate: string) {
|
|
185
|
+
return baseHttpClient.post<TamResponse<FundCockpitSummaryBody>>('/TAM/0001/140206007', { queryDate })
|
|
183
186
|
}
|
|
184
187
|
|
|
185
|
-
|
|
186
|
-
|
|
188
|
+
/** 查询指定数据日期的人行账户余额趋势(140206008)。 */
|
|
189
|
+
export function queryPbocBalanceHistory(queryDate: string) {
|
|
190
|
+
return baseHttpClient.post<TamResponse<PbocBalanceHistoryBody>>('/TAM/0001/140206008', { queryDate })
|
|
187
191
|
}
|
|
188
192
|
|
|
189
|
-
|
|
190
|
-
|
|
193
|
+
/** 查询指定数据日期的轧差趋势(140206009)。 */
|
|
194
|
+
export function queryDeviationHistory(queryDate: string) {
|
|
195
|
+
return baseHttpClient.post<TamResponse<DeviationHistoryBody>>('/TAM/0001/140206009', { queryDate })
|
|
191
196
|
}
|
|
192
197
|
|
|
193
|
-
|
|
194
|
-
|
|
198
|
+
/** 查询指定数据日期的收付款趋势(140206010)。 */
|
|
199
|
+
export function queryPaymentReceiptHistory(queryDate: string) {
|
|
200
|
+
return baseHttpClient.post<TamResponse<PaymentReceiptHistoryBody>>('/TAM/0001/140206010', { queryDate })
|
|
195
201
|
}
|
|
196
202
|
|
|
197
|
-
|
|
198
|
-
|
|
203
|
+
/** 查询指定数据日期的流动性仪表盘指标(140206017)。 */
|
|
204
|
+
export function queryLiquidityGauges(queryDate: string) {
|
|
205
|
+
return baseHttpClient.post<TamResponse<LiquidityGaugeBody>>('/TAM/0001/140206017', { queryDate })
|
|
199
206
|
}
|