verce-vue-test 0.0.133 → 0.0.134

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.
Files changed (24) hide show
  1. package/package.json +1 -1
  2. package/src/views/foreign-currency-authorization/api.ts +1 -1
  3. package/src/views/foreign-currency-authorization/index.vue +5 -5
  4. package/src/views/foreign-currency-authorization/types.ts +14 -29
  5. package/src/views/foreign-currency-fund-allocation/index.vue +18 -20
  6. package/src/views/foreign-currency-fund-allocation/types.ts +5 -5
  7. package/src/views/foreign-currency-position-forecast/api.ts +31 -97
  8. package/src/views/foreign-currency-position-forecast/components/ForeignPositionForecastEditor.vue +29 -50
  9. package/src/views/foreign-currency-position-forecast/currency.ts +1 -1
  10. package/src/views/foreign-currency-position-forecast/editor.ts +3 -36
  11. package/src/views/foreign-currency-position-forecast/index.vue +3 -6
  12. package/src/views/foreign-currency-position-forecast/model.ts +14 -14
  13. package/src/views/foreign-currency-position-forecast/store.ts +3 -3
  14. package/src/views/rmb-position-estimation/DetailedList.vue +3 -7
  15. package/src/views/rmb-position-estimation/api.ts +2 -2
  16. package/src/views/rmb-position-estimation/index.vue +12 -21
  17. package/src/views/rmb-position-estimation/types.ts +14 -23
  18. package/src/views/rmb-position-forecast/api.ts +1 -1
  19. package/src/views/rmb-position-forecast/components/RmbPositionForecastEditor.vue +5 -8
  20. package/src/views/rmb-position-forecast/detail.vue +1 -2
  21. package/src/views/rmb-position-forecast/form.vue +4 -12
  22. package/src/views/rmb-position-forecast/index.vue +10 -18
  23. package/src/views/rmb-position-forecast/model.ts +41 -71
  24. package/src/views/rmb-position-forecast/runtime.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "verce-vue-test",
3
- "version": "0.0.133",
3
+ "version": "0.0.134",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "scripts": {
@@ -22,7 +22,7 @@ const API = {
22
22
  reviewAPI: (
23
23
  params: ForeignCurrencyAuthorizationReviewRequestBody,
24
24
  options?: HttpRequestOptions,
25
- ) => baseHttpClient.post<TamResponse<Record<string, unknown>>>(
25
+ ) => baseHttpClient.post<TamResponse<any>>(
26
26
  '/TAM/0001/120207001',
27
27
  params,
28
28
  options,
@@ -42,15 +42,15 @@ const currentPage = ref(1)
42
42
  const pageSize = ref(10)
43
43
  const isLoading = ref(false)
44
44
  const isQuerying = ref(false)
45
- const pageMode = ref<'list' | 'detail'>('list')
46
- const detailRecord = ref<ForeignCurrencyAuthorizationRow | null>(null)
45
+ const pageMode = ref<any>('list')
46
+ const detailRecord = ref<any>(null)
47
47
  const detailEditForm = reactive({
48
48
  author: '',
49
49
  nostro: '',
50
50
  valueDate: '',
51
51
  rejectReason: '',
52
52
  })
53
- const reviewAction = ref<'approve' | 'reject' | null>(null)
53
+ const reviewAction = ref<any>(null)
54
54
  const accountBankOptions = ref<AccountBankOption[]>([])
55
55
  const accountBankLoading = ref(false)
56
56
 
@@ -77,7 +77,7 @@ function reviewStatusLabel(status: ForeignCurrencyAuthorizationRow['reviewStatus
77
77
 
78
78
  function reviewStatusTagType(
79
79
  status: ForeignCurrencyAuthorizationRow['reviewStatus'],
80
- ): 'success' | 'danger' | 'warning' {
80
+ ): string {
81
81
  if (status === 'approved') return 'success'
82
82
  if (status === 'rejected') return 'danger'
83
83
  return 'warning'
@@ -198,7 +198,7 @@ async function handleAccountBankVisibleChange(visible: boolean) {
198
198
  }
199
199
  }
200
200
 
201
- async function handleReview(action: 'approve' | 'reject') {
201
+ async function handleReview(action: any) {
202
202
  const row = detailRecord.value
203
203
  if (!row || reviewAction.value) return
204
204
 
@@ -1,37 +1,30 @@
1
1
  /** 客户分类:对公、对私居民、对私非居民。 */
2
- export type ForeignAuthorizationCustomerKind = '01' | '02' | '03'
2
+ export type ForeignAuthorizationCustomerKind = string
3
3
 
4
4
  /** 外币授权业务类型。 */
5
- export type ForeignAuthorizationBusinessType =
6
- | '01'
7
- | '02'
8
- | '03'
9
- | '04'
10
- | '05'
11
- | '06'
12
- | '07'
5
+ export type ForeignAuthorizationBusinessType = string
13
6
 
14
7
  /** 业务渠道:柜面、企业网银、银企直连。 */
15
- export type ForeignAuthorizationBusinessChannel = '10' | '50' | '70'
8
+ export type ForeignAuthorizationBusinessChannel = string
16
9
 
17
10
  /** 是否退汇。 */
18
- export type ForeignAuthorizationReturnFlag = '01' | '02'
11
+ export type ForeignAuthorizationReturnFlag = string
19
12
 
20
13
  /** 证件类型编码。 */
21
- export type ForeignAuthorizationIdType = '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7'
14
+ export type ForeignAuthorizationIdType = string
22
15
 
23
16
  /** 通用是否标识。 */
24
- export type ForeignAuthorizationYesNo = '0' | '1'
17
+ export type ForeignAuthorizationYesNo = string
25
18
 
26
19
  /** 授权审核状态。 */
27
- export type ForeignAuthorizationReviewStatus = 'pending' | 'approved' | 'rejected'
20
+ export type ForeignAuthorizationReviewStatus = string
28
21
 
29
22
  /** 外币授权查询条件。 */
30
23
  export type ForeignCurrencyAuthorizationFilter = {
31
24
  posDate: string
32
25
  planDate: string
33
- refType: '' | ForeignAuthorizationBusinessType
34
- custType: '' | ForeignAuthorizationCustomerKind
26
+ refType: string
27
+ custType: string
35
28
  custCode: string
36
29
  orgId: string
37
30
  currency: string
@@ -72,22 +65,14 @@ export type ForeignCurrencyAuthorizationRow = {
72
65
  posRemark: string
73
66
  }
74
67
 
75
- /** 140207001 返回的原始协议行。 */
76
- export type ForeignCurrencyAuthorizationApiRow = Partial<Omit<
77
- ForeignCurrencyAuthorizationRow,
78
- 'id' | 'forecastAmt' | 'reviewStatus' | 'rejectReason'
79
- >> & {
80
- id?: string | number
81
- forecastAmt?: string | number
82
- oposStausCode?: string
83
- refuseRemark?: string
84
- }
68
+ /** 140207001 原始协议行,具体字段由 adapter 统一转换。 */
69
+ export type ForeignCurrencyAuthorizationApiRow = Record<string, any>
85
70
 
86
71
  /** 140207001 业务响应体。 */
87
72
  export type ForeignCurrencyAuthorizationQueryResponseBody = {
88
73
  resultList?: ForeignCurrencyAuthorizationApiRow[]
89
- totalCount?: string | number
90
- totalPage?: string | number
74
+ totalCount?: any
75
+ totalPage?: any
91
76
  }
92
77
 
93
78
  /** 120207001 业务请求体。 */
@@ -95,7 +80,7 @@ export type ForeignCurrencyAuthorizationReviewRequestBody = {
95
80
  author: string
96
81
  id: string
97
82
  nostro: string
98
- oposStausCode: '00' | '99'
83
+ oposStausCode: string
99
84
  refType: ForeignAuthorizationBusinessType
100
85
  refuseRemark: string
101
86
  valueDate: string
@@ -40,18 +40,16 @@ import {
40
40
  type ForeignCurrencyFundAllocationUpdateBody,
41
41
  } from './types'
42
42
 
43
- type RowAction = 'delete' | 'approve' | 'reject'
44
- type AllocationFormMode = 'create' | 'edit'
45
- type AllocationAccountType = '01' | '02'
46
- type CreateAction = 'save' | 'submit'
47
- type EditAction = 'save' | 'submit'
43
+ type RowAction = string
44
+ type AllocationFormMode = string
45
+ type AllocationAccountType = string
46
+ type CreateAction = string
47
+ type EditAction = string
48
48
 
49
49
  /** 账户类型注入点:01-总行账户,02-分支行账户。后续可由登录上下文修改该变量。 */
50
50
  const injectedAccountType = ref<AllocationAccountType>('01')
51
51
  /** 发起信息注入点:字段名与 120206001 保持一致,由登录上下文赋值。 */
52
- const injectedInitiator = reactive<Pick<ForeignCurrencyFundAllocationCreateBody,
53
- 'createDept' | 'createDeptNmae' | 'createUser' | 'createUserName'
54
- >>({
52
+ const injectedInitiator = reactive<any>({
55
53
  createDept: String(import.meta.env.VITE_TAM_BRANCH_ID || ''),
56
54
  createDeptNmae: '',
57
55
  createUser: String(import.meta.env.VITE_TAM_USER_ID || ''),
@@ -104,22 +102,22 @@ function createDefaultFundAllocationFilter(): ForeignCurrencyFundAllocationFilte
104
102
  const filterForm = reactive<ForeignCurrencyFundAllocationFilter>(
105
103
  createDefaultFundAllocationFilter(),
106
104
  )
107
- const filterAmountRange = computed<[number | null, number | null]>({
108
- get: (): [number | null, number | null] => [
105
+ const filterAmountRange = computed<any>({
106
+ get: (): any => [
109
107
  parseFilterAmount(filterForm.startAmt),
110
108
  parseFilterAmount(filterForm.endAmt),
111
109
  ],
112
- set: ([startAmt, endAmt]: [number | null, number | null]) => {
110
+ set: ([startAmt, endAmt]: any) => {
113
111
  filterForm.startAmt = startAmt === null ? '' : String(startAmt)
114
112
  filterForm.endAmt = endAmt === null ? '' : String(endAmt)
115
113
  },
116
114
  })
117
- const filterValueDateRange = computed<[string | null, string | null]>({
118
- get: (): [string | null, string | null] => [
115
+ const filterValueDateRange = computed<any>({
116
+ get: (): any => [
119
117
  filterForm.startValueDate || null,
120
118
  filterForm.endValueDate || null,
121
119
  ],
122
- set: ([startValueDate, endValueDate]: [string | null, string | null]) => {
120
+ set: ([startValueDate, endValueDate]: any) => {
123
121
  filterForm.startValueDate = startValueDate || ''
124
122
  filterForm.endValueDate = endValueDate || ''
125
123
  },
@@ -137,15 +135,15 @@ const loading = ref(false)
137
135
  const querying = ref(false)
138
136
  const filterCollapsed = ref(false)
139
137
  const detailVisible = ref(false)
140
- const detailRecord = ref<ForeignCurrencyFundAllocationRow | null>(null)
138
+ const detailRecord = ref<any>(null)
141
139
  const createVisible = ref(false)
142
140
  const createSubmitting = ref(false)
143
- const createSubmittingAction = ref<CreateAction | null>(null)
141
+ const createSubmittingAction = ref<any>(null)
144
142
  const createFormRef = ref<FormInstance>()
145
143
  const createForm = reactive<ForeignCurrencyFundAllocationCreateBody>(createDefaultAllocationForm())
146
144
  const editVisible = ref(false)
147
145
  const editSubmitting = ref(false)
148
- const editSubmittingAction = ref<EditAction | null>(null)
146
+ const editSubmittingAction = ref<any>(null)
149
147
  const editRejectReason = ref('')
150
148
  const editFormRef = ref<FormInstance>()
151
149
  const editForm = reactive<ForeignCurrencyFundAllocationUpdateBody>({
@@ -177,7 +175,7 @@ const editAmountInput = computed({
177
175
  editForm.amtEdit = sanitizeAmountInput(value)
178
176
  },
179
177
  })
180
- const activeBatchAction = ref<RowAction | null>(null)
178
+ const activeBatchAction = ref<any>(null)
181
179
  const accountBankOptions = ref<AccountBankOption[]>([])
182
180
  const accountBankLoading = ref(false)
183
181
  const columnComponentMap: Record<string, string> = {
@@ -291,7 +289,7 @@ function createDefaultAllocationForm(): ForeignCurrencyFundAllocationCreateBody
291
289
  }
292
290
 
293
291
  /** 严格按 120206001 文档组装新增请求体,保留 createDeptNmae 原协议拼写。 */
294
- function createAllocationRequestBody(status: 'C' | '2'): ForeignCurrencyFundAllocationCreateBody {
292
+ function createAllocationRequestBody(status: string): ForeignCurrencyFundAllocationCreateBody {
295
293
  return {
296
294
  acctType: createForm.acctType.trim(),
297
295
  alocDate: createForm.alocDate,
@@ -352,7 +350,7 @@ function statusLabel(status: string) {
352
350
  return labels[statusCode(text)] || text
353
351
  }
354
352
 
355
- function statusTagType(status: string): 'success' | 'warning' | 'danger' | 'info' {
353
+ function statusTagType(status: string): string {
356
354
  const code = statusCode(status)
357
355
  if (code === 'Y') return 'success'
358
356
  if (code === '1' || code === '2') return 'warning'
@@ -37,13 +37,13 @@ export type ForeignCurrencyFundAllocationRow = {
37
37
  /** 140206001 列表查询响应体。 */
38
38
  export type ForeignCurrencyFundAllocationResponseBody = {
39
39
  fileName?: string
40
- totalPage?: string | number
41
- totalCount?: string | number
42
- resultInfos?: Partial<ForeignCurrencyFundAllocationRow>[]
40
+ totalPage?: any
41
+ totalCount?: any
42
+ resultInfos?: any[]
43
43
  }
44
44
 
45
45
  /** 120206004 审批类型:Y-审批通过,N-审批拒绝。 */
46
- export type ForeignCurrencyFundAllocationReviewType = 'Y' | 'N'
46
+ export type ForeignCurrencyFundAllocationReviewType = string
47
47
 
48
48
  /** 120206001 文档定义的新增请求字段,保留 createDeptNmae 原协议拼写。 */
49
49
  export type ForeignCurrencyFundAllocationCreateBody = {
@@ -96,7 +96,7 @@ export type ForeignCurrencyFundAllocationUpdateBody = {
96
96
 
97
97
  /** 将接口返回的可选字段统一转换为页面可直接使用的字符串字段。 */
98
98
  export function normalizeFundAllocationRow(
99
- source: Partial<ForeignCurrencyFundAllocationRow>,
99
+ source: any,
100
100
  ): ForeignCurrencyFundAllocationRow {
101
101
  return {
102
102
  refNo: String(source.refNo ?? ''),
@@ -14,106 +14,40 @@ import type { ForecastEditorValue } from './editor'
14
14
 
15
15
  export type ForeignPositionForecastQuery = {
16
16
  valueDate: string
17
- payDirection: '' | PaymentDirection
17
+ payDirection: string
18
18
  forecastStatuses: ForecastStatus[]
19
- foreignExchangeType: '' | ForeignExchangeType
20
- forecastWay: '' | ForecastWay
19
+ foreignExchangeType: string
20
+ forecastWay: string
21
21
  verifyStatuses: VerifyStatus[]
22
22
  organizationName: string
23
23
  clientName: string
24
- businessType: '' | BusinessType
24
+ businessType: string
25
25
  currencies: string[]
26
- authirization: '' | '1' | '0'
27
- ftuFilter: '' | '1' | '0'
28
- minAmount: number | null
29
- maxAmount: number | null
26
+ authirization: string
27
+ ftuFilter: string
28
+ minAmount: any
29
+ maxAmount: any
30
30
  }
31
31
 
32
32
  export type ForeignPositionForecastSort = {
33
- amtOrder: '' | '1' | '2'
34
- predOrder: '' | '1' | '2'
35
- timeOrder: '' | '1' | '2'
33
+ amtOrder: string
34
+ predOrder: string
35
+ timeOrder: string
36
36
  }
37
37
 
38
38
  export type ForeignPositionForecastSearchParams = ForeignPositionForecastQuery & ForeignPositionForecastSort
39
39
 
40
- type TamResultInfo = {
41
- predRefNo?: string
42
- predWay?: string
43
- predStatus?: string
44
- predType?: string
45
- groundBranch?: string
46
- groundBranchName?: string
47
- payDirec?: string
48
- bankAcct?: string
49
- paymentRoute?: string
50
- ccy?: string
51
- predAmt?: string
52
- tranDate?: string
53
- verifyStatus?: string
54
- verifyAmt?: string
55
- tranType?: string
56
- clientType?: string
57
- clientName?: string
58
- clientAcct?: string
59
- competName?: string
60
- competAcct?: string
61
- rcvBank?: string
62
- rcvBankSc?: string
63
- originalForeign?: string
64
- predDate?: string
65
- updateTime?: string
66
- competAcctSc?: string
67
- docbusinessno?: string
68
- docBusinessno?: string
69
- midBankSc?: string
70
- predName?: string
71
- predCode?: string
72
- predDept?: string
73
- phoneNo?: string
74
- authorization?: string
75
- purpose?: string
76
- remark?: string
77
- }
78
-
40
+ // TAM 原始字段会随交易和历史版本变化,只在这里使用宽松类型,页面数据仍统一成前端模型。
41
+ type TamRecord = Record<string, any>
79
42
  type TamResponse = {
80
43
  head?: {
81
- retStatus?: string
82
- retCode?: string
83
44
  retMsg?: string
84
45
  }
85
- body?: {
86
- totalPage?: string | number
87
- totalCount?: string | number
88
- resultInfos?: TamResultInfo[]
89
- }
90
- }
91
-
92
- type TamDetailResponse = {
93
- head?: TamResponse['head']
94
- body?: TamResultInfo
95
- }
96
-
97
- type TamAccountBankResponse = {
98
- head?: TamResponse['head']
99
- body?: {
100
- bankAcctList?: unknown[]
101
- }
46
+ body?: any
102
47
  }
103
48
 
104
49
  type ForeignPositionForecastOperationResponse = {
105
- success: boolean
106
- message: string
107
- resultList: ForeignPositionForecast[]
108
- }
109
-
110
- type ForeignPositionForecastMutationResponse = {
111
- head: {
112
- retStatus?: string
113
- retCode?: string
114
- retMsg?: string
115
- }
116
- body: Record<string, never>
50
+ message?: string
117
51
  }
118
52
 
119
53
  export type ForeignPositionForecastQueryResult = {
@@ -123,7 +57,7 @@ export type ForeignPositionForecastQueryResult = {
123
57
  }
124
58
 
125
59
  /** 将前端状态码数组转换为 TAM 接口要求的逗号分隔数字。 */
126
- function toProtocolStatusList(values: string[], prefix: 'PS' | 'VS') {
60
+ function toProtocolStatusList(values: string[], prefix: string) {
127
61
  return values
128
62
  .map((value) => value.replace(prefix, ''))
129
63
  .map((value) => String(Number(value)))
@@ -137,12 +71,12 @@ function toNumber(value: unknown) {
137
71
  }
138
72
 
139
73
  /** 将接口预报方式转换为前端枚举。 */
140
- function toForecastWay(value: string | undefined): ForecastWay {
74
+ function toForecastWay(value: any): ForecastWay {
141
75
  return value === 'PW02' || value === 'PW03' ? value : 'PW01'
142
76
  }
143
77
 
144
78
  /** 将接口预报状态转换为前端枚举。 */
145
- function toForecastStatus(value: string | undefined): ForecastStatus {
79
+ function toForecastStatus(value: any): ForecastStatus {
146
80
  const number = Number(String(value || '').replace(/^PS/i, ''))
147
81
  return number >= 1 && number <= 8
148
82
  ? `PS${String(number).padStart(2, '0')}` as ForecastStatus
@@ -150,12 +84,12 @@ function toForecastStatus(value: string | undefined): ForecastStatus {
150
84
  }
151
85
 
152
86
  /** 将接口预报类型转换为前端枚举。 */
153
- function toForecastType(value: string | undefined): ForecastType {
87
+ function toForecastType(value: any): ForecastType {
154
88
  return value === 'PT02' || value === 'PT03' ? value : 'PT01'
155
89
  }
156
90
 
157
91
  /** 将接口核销状态转换为前端枚举。 */
158
- function toVerifyStatus(value: string | undefined): VerifyStatus {
92
+ function toVerifyStatus(value: any): VerifyStatus {
159
93
  const number = Number(String(value || '').replace(/^VS/i, ''))
160
94
  return number >= 1 && number <= 3
161
95
  ? `VS${String(number).padStart(2, '0')}` as VerifyStatus
@@ -163,31 +97,31 @@ function toVerifyStatus(value: string | undefined): VerifyStatus {
163
97
  }
164
98
 
165
99
  /** 将接口业务类型转换为前端枚举。 */
166
- function toBusinessType(value: string | undefined): BusinessType {
100
+ function toBusinessType(value: any): BusinessType {
167
101
  return value === '11' || value === '12' || value === '13' ? value : '10'
168
102
  }
169
103
 
170
104
  /** 将接口原币购汇类型转换为前端枚举。 */
171
- function toForeignExchangeType(value: string | undefined): '' | ForeignExchangeType {
105
+ function toForeignExchangeType(value: any): ForeignExchangeType {
172
106
  return value === '01' || value === '02' || value === '03' ? value : ''
173
107
  }
174
108
 
175
109
  /** 兼容接口客户类型的数字值和前端枚举值。 */
176
- function toClientType(value: string | undefined): '' | ClientType {
110
+ function toClientType(value: any): ClientType {
177
111
  if (value === 'CT01' || value === '1') return 'CT01'
178
112
  if (value === 'CT02' || value === '2') return 'CT02'
179
113
  return ''
180
114
  }
181
115
 
182
116
  /** 兼容接口汇款路线的数字值和前端枚举值。 */
183
- function toPaymentRoute(value: string | undefined): ForeignPositionForecast['paymentRoute'] {
117
+ function toPaymentRoute(value: any): ForeignPositionForecast['paymentRoute'] {
184
118
  if (value === '02' || value === '2') return '02'
185
119
  if (value === '03' || value === '3') return '03'
186
120
  return '01'
187
121
  }
188
122
 
189
123
  /** 将接口日期转换为前端展示日期。 */
190
- function toFrontendDate(value: string | undefined) {
124
+ function toFrontendDate(value: any) {
191
125
  const text = String(value || '').trim()
192
126
  if (/^\d{8}$/.test(text)) {
193
127
  return `${text.slice(0, 4)}-${text.slice(4, 6)}-${text.slice(6, 8)}`
@@ -196,7 +130,7 @@ function toFrontendDate(value: string | undefined) {
196
130
  }
197
131
 
198
132
  /** 将 TAM 返回记录转换为页面使用的预报数据。 */
199
- function toFrontendRow(row: TamResultInfo): ForeignPositionForecast {
133
+ function toFrontendRow(row: TamRecord): ForeignPositionForecast {
200
134
  const organizationCode = String(row.groundBranch || '')
201
135
  const clientName = String(row.clientName || '')
202
136
 
@@ -249,7 +183,7 @@ function getResponseMessage(payload: TamResponse, fallback: string) {
249
183
  /** 查询指定编号的外币头寸预报详情。 */
250
184
  export async function getForeignPositionForecast(predRefNo: string, signal?: AbortSignal) {
251
185
  const normalizedPredRefNo = predRefNo.trim()
252
- const payload = await baseHttpClient.post<TamDetailResponse>(
186
+ const payload = await baseHttpClient.post<TamResponse>(
253
187
  '/TAM/0001/140201004',
254
188
  { predRefNo: normalizedPredRefNo },
255
189
  { signal },
@@ -267,7 +201,7 @@ export async function getForeignPositionForecast(predRefNo: string, signal?: Abo
267
201
 
268
202
  /** 查询当前用户可用的 UAA 机构树。 */
269
203
  export function queryForeignPositionOrganizationTree(signal?: AbortSignal) {
270
- return baseHttpClient.get<{ data?: unknown }>('/uaa/org/tree', { signal })
204
+ return baseHttpClient.get<any>('/uaa/org/tree', { signal })
271
205
  }
272
206
 
273
207
  export type ForeignPositionAccountBankOption = {
@@ -284,7 +218,7 @@ export async function queryForeignPositionAccountBanks(
284
218
  },
285
219
  signal?: AbortSignal,
286
220
  ) {
287
- const payload = await baseHttpClient.post<TamAccountBankResponse>(
221
+ const payload = await baseHttpClient.post<TamResponse>(
288
222
  '/TAM/0001/140201002',
289
223
  {
290
224
  ccy: params.ccy.trim(),
@@ -351,7 +285,7 @@ function buildForeignPositionForecastMutationBody(value: ForecastEditorValue) {
351
285
 
352
286
  /** 新增外币头寸预报。 */
353
287
  export function createForeignPositionForecast(value: ForecastEditorValue) {
354
- return baseHttpClient.post<ForeignPositionForecastMutationResponse>(
288
+ return baseHttpClient.post<any>(
355
289
  '/TAM/0001/120201001',
356
290
  {
357
291
  authoFlag: '',
@@ -362,7 +296,7 @@ export function createForeignPositionForecast(value: ForecastEditorValue) {
362
296
 
363
297
  /** 修改指定编号的外币头寸预报。 */
364
298
  export function updateForeignPositionForecast(predRefNo: string, value: ForecastEditorValue) {
365
- return baseHttpClient.post<ForeignPositionForecastMutationResponse>(
299
+ return baseHttpClient.post<any>(
366
300
  '/TAM/0001/120201002',
367
301
  {
368
302
  ...buildForeignPositionForecastMutationBody(value),