verce-vue-test 0.0.147 → 0.0.148

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "verce-vue-test",
3
- "version": "0.0.147",
3
+ "version": "0.0.148",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "scripts": {
package/src/App.vue CHANGED
@@ -53,6 +53,7 @@ const searchableMenus: MenuSearchItem[] = [
53
53
  { value: '外币授权', path: '/foreign-currency-authorization' },
54
54
  { value: '外币手工核销', path: '/foreign-currency-settlement' },
55
55
  { value: '外币资金调拨', path: '/foreign-currency-fund-allocation' },
56
+ { value: '起点金额维护', path: '/foreign-currency-starting-amount-maintenance' },
56
57
  { value: '城银清手工核销', path: '/city-bank-clearing-settlement' },
57
58
  { value: '自贸区机构管理', path: '/free-trade-zone-organization-management' },
58
59
  { value: '预报员页看板', path: '/position-forecast-execution' },
@@ -217,6 +218,14 @@ function toggleCollapse() {
217
218
  <el-menu-item index="/foreign-currency-fund-allocation">
218
219
  <span>外币资金调拨</span>
219
220
  </el-menu-item>
221
+ <el-sub-menu index="foreign-currency-parameter-management">
222
+ <template #title>
223
+ <span>参数管理</span>
224
+ </template>
225
+ <el-menu-item index="/foreign-currency-starting-amount-maintenance">
226
+ <span>起点金额维护</span>
227
+ </el-menu-item>
228
+ </el-sub-menu>
220
229
  </el-sub-menu>
221
230
  <el-sub-menu index="city-bank-clearing-position">
222
231
  <template #title>
@@ -32,8 +32,8 @@ const props = withDefaults(
32
32
  defineProps<{
33
33
  // 表格数据源
34
34
  data: any[]
35
- // 行唯一标识字段
36
- rowKey?: string
35
+ // 行唯一标识字段或复合键生成函数,与 Element Plus 的 row-key 保持一致
36
+ rowKey?: string | ((row: any) => string)
37
37
  // 多表格区分 key(用于本地存储)
38
38
  tableKey?: string
39
39
  // 完全自定义缓存 key,优先级最高
@@ -101,6 +101,11 @@ const router = createRouter({
101
101
  name: 'foreignCurrencyFundAllocation',
102
102
  component: () => import('../views/foreign-currency-fund-allocation/index.vue'),
103
103
  },
104
+ {
105
+ path: '/foreign-currency-starting-amount-maintenance',
106
+ name: 'foreignCurrencyStartingAmountMaintenance',
107
+ component: () => import('../views/foreign-currency-starting-amount-maintenance/index.vue'),
108
+ },
104
109
  {
105
110
  path: '/city-bank-clearing-settlement',
106
111
  name: 'cityBankClearingSettlement',
@@ -0,0 +1,47 @@
1
+ import baseHttpClient, { type HttpRequestOptions } from '@/utils/baseHttpClient'
2
+ import type {
3
+ StartingAmountBatchUpdateBody,
4
+ StartingAmountCreateBody,
5
+ StartingAmountDeleteBody,
6
+ StartingAmountFilter,
7
+ StartingAmountReviewBody,
8
+ StartingAmountUpdateBody,
9
+ } from './types'
10
+
11
+ /** 查询起点金额维护列表(140205003)。 */
12
+ export function queryStartingAmounts(
13
+ params: StartingAmountFilter,
14
+ options?: HttpRequestOptions,
15
+ ) {
16
+ return baseHttpClient.post<any>('/TAM/0001/140205003', params, options)
17
+ }
18
+
19
+ /** 新增起点金额维护记录(120205007)。 */
20
+ export function createStartingAmount(params: StartingAmountCreateBody) {
21
+ return baseHttpClient.post<any>('/TAM/0001/120205007', params)
22
+ }
23
+
24
+ /** 修改单条起点金额维护记录(120205008)。 */
25
+ export function updateStartingAmount(params: StartingAmountUpdateBody) {
26
+ return baseHttpClient.post<any>('/TAM/0001/120205008', params)
27
+ }
28
+
29
+ /** 批量修改起点金额维护记录(120205008)。 */
30
+ export function batchUpdateStartingAmounts(params: StartingAmountBatchUpdateBody) {
31
+ return baseHttpClient.post<any>('/TAM/0001/120205008', params)
32
+ }
33
+
34
+ /** 审批通过或拒绝起点金额维护记录(120205009)。 */
35
+ export function reviewStartingAmounts(params: StartingAmountReviewBody) {
36
+ return baseHttpClient.post<any>('/TAM/0001/120205009', params)
37
+ }
38
+
39
+ /** 删除起点金额维护记录(120205010)。 */
40
+ export function deleteStartingAmounts(params: StartingAmountDeleteBody) {
41
+ return baseHttpClient.post<any>('/TAM/0001/120205010', params)
42
+ }
43
+
44
+ /** 查询机构选择数据,复用系统现有 UAA 机构树。 */
45
+ export function queryOrganizationTree(options?: HttpRequestOptions) {
46
+ return baseHttpClient.get<any>('/uaa/org/tree', options)
47
+ }