verce-vue-test 0.0.95 → 0.0.97
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/env.d.ts +3 -1
- package/package.json +1 -1
- package/src/components/business/Public/TokenTag.vue +16 -12
- package/src/components/element-rewrite/DateRange.vue +368 -0
- package/src/components/element-rewrite/ElInputThousandth.vue +7 -7
- package/src/components/index.ts +8 -0
- package/src/utils/formatters.ts +1 -1
- package/src/views/EmployeeView.vue +1 -1
- package/src/views/foreign-currency-fund-allocation/api.ts +22 -38
- package/src/views/foreign-currency-fund-allocation/index.vue +1140 -369
- package/src/views/foreign-currency-fund-allocation/options.ts +25 -13
- package/src/views/foreign-currency-fund-allocation/types.ts +7 -12
- package/src/views/foreign-currency-settlement/api.ts +1 -1
- package/src/views/foreign-currency-settlement/components/ForeignSettlementFlowPanel.vue +1 -1
- package/src/views/foreign-currency-settlement/components/ForeignSettlementForecastPanel.vue +1 -1
|
@@ -4,20 +4,32 @@ export type FundAllocationOption = {
|
|
|
4
4
|
}
|
|
5
5
|
|
|
6
6
|
export const currencyOptions: FundAllocationOption[] = [
|
|
7
|
-
{ value: '
|
|
8
|
-
{ value: '
|
|
9
|
-
{ value: 'HKD', label: 'HKD
|
|
10
|
-
{ value: '
|
|
11
|
-
{ value: '
|
|
12
|
-
{ value: '
|
|
13
|
-
{ value: '
|
|
14
|
-
{ value: '
|
|
15
|
-
{ value: '
|
|
7
|
+
{ value: 'CNY', label: 'CNY-人民币' },
|
|
8
|
+
{ value: 'USD', label: 'USD-美元' },
|
|
9
|
+
{ value: 'HKD', label: 'HKD-港元' },
|
|
10
|
+
{ value: 'EUR', label: 'EUR-欧元' },
|
|
11
|
+
{ value: 'AUD', label: 'AUD-澳大利亚元' },
|
|
12
|
+
{ value: 'CHF', label: 'CHF-瑞士法郎' },
|
|
13
|
+
{ value: 'GBP', label: 'GBP-英镑' },
|
|
14
|
+
{ value: 'CAD', label: 'CAD-加拿大元' },
|
|
15
|
+
{ value: 'NZD', label: 'NZD-新西兰元' },
|
|
16
|
+
{ value: 'SGD', label: 'SGD-新加坡元' },
|
|
17
|
+
{ value: 'JPY', label: 'JPY-日元' },
|
|
18
|
+
{ value: 'SEK', label: 'SEK-瑞典克朗' },
|
|
19
|
+
{ value: 'NOK', label: 'NOK-挪威克朗' },
|
|
20
|
+
{ value: 'DKK', label: 'DKK-丹麦克朗' },
|
|
21
|
+
{ value: 'KZT', label: 'KZT-哈萨克斯坦坚戈' },
|
|
16
22
|
]
|
|
17
23
|
|
|
18
|
-
|
|
24
|
+
export const allocationTypeOptions: FundAllocationOption[] = [
|
|
25
|
+
{ value: '01', label: '总行同名划转' },
|
|
26
|
+
{ value: '02', label: '分行头寸下划' },
|
|
27
|
+
]
|
|
28
|
+
|
|
29
|
+
/** 查询仍提交状态码,页面只显示状态名称。 */
|
|
19
30
|
export const allocationStatusOptions: FundAllocationOption[] = [
|
|
20
|
-
{ value: '
|
|
21
|
-
{ value: '
|
|
22
|
-
{ value: '
|
|
31
|
+
{ value: 'C', label: '草稿' },
|
|
32
|
+
{ value: '2', label: '待审批' },
|
|
33
|
+
{ value: 'Y', label: '审批已通过' },
|
|
34
|
+
{ value: 'N', label: '审批未通过' },
|
|
23
35
|
]
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/** 140206001 列表查询条件,同时供导出接口复用。 */
|
|
1
2
|
export type ForeignCurrencyFundAllocationFilter = {
|
|
2
3
|
ccy: string
|
|
3
4
|
startAmt: string
|
|
@@ -8,6 +9,7 @@ export type ForeignCurrencyFundAllocationFilter = {
|
|
|
8
9
|
tranDate: string
|
|
9
10
|
}
|
|
10
11
|
|
|
12
|
+
/** 外币资金调拨列表记录及详情展示数据。 */
|
|
11
13
|
export type ForeignCurrencyFundAllocationRow = {
|
|
12
14
|
refNo: string
|
|
13
15
|
alocType: string
|
|
@@ -32,6 +34,7 @@ export type ForeignCurrencyFundAllocationRow = {
|
|
|
32
34
|
remark: string
|
|
33
35
|
}
|
|
34
36
|
|
|
37
|
+
/** 140206001 列表查询响应体。 */
|
|
35
38
|
export type ForeignCurrencyFundAllocationResponseBody = {
|
|
36
39
|
fileName?: string
|
|
37
40
|
totalPage?: string | number
|
|
@@ -39,6 +42,7 @@ export type ForeignCurrencyFundAllocationResponseBody = {
|
|
|
39
42
|
resultInfos?: Partial<ForeignCurrencyFundAllocationRow>[]
|
|
40
43
|
}
|
|
41
44
|
|
|
45
|
+
/** 120206004 审批类型:Y-审批通过,N-审批拒绝。 */
|
|
42
46
|
export type ForeignCurrencyFundAllocationReviewType = 'Y' | 'N'
|
|
43
47
|
|
|
44
48
|
/** 120206001 文档定义的新增请求字段,保留 createDeptNmae 原协议拼写。 */
|
|
@@ -61,10 +65,12 @@ export type ForeignCurrencyFundAllocationCreateBody = {
|
|
|
61
65
|
zmqFlag: string
|
|
62
66
|
}
|
|
63
67
|
|
|
68
|
+
/** 120206001 新增成功响应体,返回生成的调拨单号。 */
|
|
64
69
|
export type ForeignCurrencyFundAllocationCreateResponseBody = {
|
|
65
70
|
transFerInstruct: string
|
|
66
71
|
}
|
|
67
72
|
|
|
73
|
+
/** 140206019 导出响应体,返回导出文件路径。 */
|
|
68
74
|
export type ForeignCurrencyFundAllocationExportResponseBody = {
|
|
69
75
|
filePath: string
|
|
70
76
|
}
|
|
@@ -88,18 +94,7 @@ export type ForeignCurrencyFundAllocationUpdateBody = {
|
|
|
88
94
|
zmqFlagEdit: string
|
|
89
95
|
}
|
|
90
96
|
|
|
91
|
-
|
|
92
|
-
return {
|
|
93
|
-
ccy: '',
|
|
94
|
-
startAmt: '',
|
|
95
|
-
endAmt: '',
|
|
96
|
-
startValueDate: '',
|
|
97
|
-
endValueDate: '',
|
|
98
|
-
status: '',
|
|
99
|
-
tranDate: '',
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
|
|
97
|
+
/** 将接口返回的可选字段统一转换为页面可直接使用的字符串字段。 */
|
|
103
98
|
export function normalizeFundAllocationRow(
|
|
104
99
|
source: Partial<ForeignCurrencyFundAllocationRow>,
|
|
105
100
|
): ForeignCurrencyFundAllocationRow {
|
|
@@ -14,7 +14,7 @@ function normalizeListBody(body: any, errorMessage: string): any {
|
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
return {
|
|
17
|
-
resultList: body.resultInfos.map((row) => ({ ...row })),
|
|
17
|
+
resultList: body.resultInfos.map((row: any) => ({ ...row })),
|
|
18
18
|
totalCount: normalizeCount(body.totalCount, body.resultInfos.length),
|
|
19
19
|
totalPage: normalizeCount(body.totalPage, 0),
|
|
20
20
|
}
|
|
@@ -78,7 +78,7 @@ const activeMoreFilterCount = computed(() => [
|
|
|
78
78
|
filterForm.bankCode,
|
|
79
79
|
filterForm.branchCode.trim(),
|
|
80
80
|
filterForm.branchName.trim(),
|
|
81
|
-
filterForm.amountRange.some((amount) => amount !== null) ? 'amountRange' : '',
|
|
81
|
+
filterForm.amountRange.some((amount: number | null) => amount !== null) ? 'amountRange' : '',
|
|
82
82
|
].filter(Boolean).length)
|
|
83
83
|
const columnComponentMap: Record<string, string> = {
|
|
84
84
|
ccy: 'TokenTag',
|
|
@@ -85,7 +85,7 @@ const activeMoreFilterCount = computed(() => [
|
|
|
85
85
|
filterForm.bankCode,
|
|
86
86
|
filterForm.branchCode.trim(),
|
|
87
87
|
filterForm.branchName.trim(),
|
|
88
|
-
filterForm.amountRange.some((amount) => amount !== null) ? 'amountRange' : '',
|
|
88
|
+
filterForm.amountRange.some((amount: number | null) => amount !== null) ? 'amountRange' : '',
|
|
89
89
|
].filter(Boolean).length)
|
|
90
90
|
const columnComponentMap: Record<string, string> = {
|
|
91
91
|
ccy: 'TokenTag',
|