verce-vue-test 0.0.97 → 0.0.99
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/ForecastInfo/RmbPositionSettlement.vue +1688 -41
- package/src/views/ForecastInfo/api.ts +108 -17
- 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/src/views/ForecastInfo/components/FlowInfoPanel.vue +0 -556
- package/src/views/ForecastInfo/components/ForecastInfoPanel.vue +0 -1008
- package/src/views/ForecastInfo/store.ts +0 -758
|
@@ -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
|
}
|