verce-vue-test 0.0.95 → 0.0.96
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/views/foreign-currency-fund-allocation/api.ts +28 -32
- package/src/views/foreign-currency-fund-allocation/index.vue +1051 -297
- package/src/views/foreign-currency-fund-allocation/options.ts +25 -13
- package/src/views/foreign-currency-fund-allocation/types.ts +8 -0
package/package.json
CHANGED
|
@@ -1,87 +1,83 @@
|
|
|
1
|
-
import baseHttpClient
|
|
2
|
-
type HttpRequestOptions,
|
|
3
|
-
type TamResponse,
|
|
4
|
-
} from '@/utils/baseHttpClient'
|
|
1
|
+
import baseHttpClient from '@/utils/baseHttpClient'
|
|
5
2
|
import type {
|
|
6
3
|
ForeignCurrencyFundAllocationCreateBody,
|
|
7
|
-
ForeignCurrencyFundAllocationCreateResponseBody,
|
|
8
|
-
ForeignCurrencyFundAllocationExportResponseBody,
|
|
9
4
|
ForeignCurrencyFundAllocationFilter,
|
|
10
|
-
ForeignCurrencyFundAllocationResponseBody,
|
|
11
5
|
ForeignCurrencyFundAllocationReviewType,
|
|
12
6
|
ForeignCurrencyFundAllocationUpdateBody,
|
|
13
7
|
} from './types'
|
|
14
8
|
|
|
15
|
-
|
|
16
|
-
export const FOREIGN_CURRENCY_FUND_ALLOCATION_CREATE_PATH = '/TAM/0001/120206001'
|
|
17
|
-
export const FOREIGN_CURRENCY_FUND_ALLOCATION_UPDATE_PATH = '/TAM/0001/120206002'
|
|
18
|
-
export const FOREIGN_CURRENCY_FUND_ALLOCATION_DELETE_PATH = '/TAM/0001/120206003'
|
|
19
|
-
export const FOREIGN_CURRENCY_FUND_ALLOCATION_REVIEW_PATH = '/TAM/0001/120206004'
|
|
20
|
-
export const FOREIGN_CURRENCY_FUND_ALLOCATION_EXPORT_PATH = '/TAM/0001/140206019'
|
|
21
|
-
|
|
9
|
+
/** 查询外币资金调拨列表(140206001)。 */
|
|
22
10
|
export function queryForeignCurrencyFundAllocations(
|
|
23
11
|
params: ForeignCurrencyFundAllocationFilter,
|
|
24
|
-
options?:
|
|
12
|
+
options?: any,
|
|
25
13
|
) {
|
|
26
|
-
return baseHttpClient.post<
|
|
27
|
-
|
|
14
|
+
return baseHttpClient.post<any>(
|
|
15
|
+
'/TAM/0001/140206001',
|
|
28
16
|
params,
|
|
29
17
|
options,
|
|
30
18
|
)
|
|
31
19
|
}
|
|
32
20
|
|
|
21
|
+
/** 新增外币资金调拨,可通过 status 区分保存草稿和提交审批(120206001)。 */
|
|
33
22
|
export function createForeignCurrencyFundAllocation(
|
|
34
23
|
params: ForeignCurrencyFundAllocationCreateBody,
|
|
35
|
-
options?:
|
|
24
|
+
options?: any,
|
|
36
25
|
) {
|
|
37
|
-
return baseHttpClient.post<
|
|
38
|
-
|
|
26
|
+
return baseHttpClient.post<any>(
|
|
27
|
+
'/TAM/0001/120206001',
|
|
39
28
|
params,
|
|
40
29
|
options,
|
|
41
30
|
)
|
|
42
31
|
}
|
|
43
32
|
|
|
33
|
+
/** 导出外币资金调拨,查询条件与列表查询保持一致(140206019)。 */
|
|
44
34
|
export function exportForeignCurrencyFundAllocations(
|
|
45
35
|
params: ForeignCurrencyFundAllocationFilter,
|
|
46
|
-
options?:
|
|
36
|
+
options?: any,
|
|
47
37
|
) {
|
|
48
|
-
return baseHttpClient.post<
|
|
49
|
-
|
|
38
|
+
return baseHttpClient.post<any>(
|
|
39
|
+
'/TAM/0001/140206019',
|
|
50
40
|
params,
|
|
51
41
|
options,
|
|
52
42
|
)
|
|
53
43
|
}
|
|
54
44
|
|
|
45
|
+
/** 修改外币资金调拨,可通过 status 区分保存草稿和提交审批(120206002)。 */
|
|
55
46
|
export function updateForeignCurrencyFundAllocation(
|
|
56
47
|
params: ForeignCurrencyFundAllocationUpdateBody,
|
|
57
|
-
options?:
|
|
48
|
+
options?: any,
|
|
58
49
|
) {
|
|
59
|
-
return baseHttpClient.post<
|
|
60
|
-
|
|
50
|
+
return baseHttpClient.post<any>(
|
|
51
|
+
'/TAM/0001/120206002',
|
|
61
52
|
params,
|
|
62
53
|
options,
|
|
63
54
|
)
|
|
64
55
|
}
|
|
65
56
|
|
|
57
|
+
/** 根据调拨单号删除外币资金调拨(120206003)。 */
|
|
66
58
|
export function deleteForeignCurrencyFundAllocation(
|
|
67
59
|
refNo: string,
|
|
68
|
-
options?:
|
|
60
|
+
options?: any,
|
|
69
61
|
) {
|
|
70
|
-
return baseHttpClient.post<
|
|
71
|
-
|
|
62
|
+
return baseHttpClient.post<any>(
|
|
63
|
+
'/TAM/0001/120206003',
|
|
72
64
|
{ refNos: refNo },
|
|
73
65
|
options,
|
|
74
66
|
)
|
|
75
67
|
}
|
|
76
68
|
|
|
69
|
+
/**
|
|
70
|
+
* 审批外币资金调拨(120206004)。
|
|
71
|
+
* type 为 Y 时审批通过;为 N 时审批拒绝,并提交拒绝原因。
|
|
72
|
+
*/
|
|
77
73
|
export function reviewForeignCurrencyFundAllocation(
|
|
78
74
|
refNo: string,
|
|
79
75
|
type: ForeignCurrencyFundAllocationReviewType,
|
|
80
76
|
approveRjctReason = '',
|
|
81
|
-
options?:
|
|
77
|
+
options?: any,
|
|
82
78
|
) {
|
|
83
|
-
return baseHttpClient.post<
|
|
84
|
-
|
|
79
|
+
return baseHttpClient.post<any>(
|
|
80
|
+
'/TAM/0001/120206004',
|
|
85
81
|
{
|
|
86
82
|
refNos: refNo,
|
|
87
83
|
type,
|