verce-vue-test 0.0.75 → 0.0.76

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 CHANGED
@@ -1,5 +1,19 @@
1
1
  /// <reference types="vite/client" />
2
2
 
3
+ declare global {
4
+ interface ImportMetaEnv {
5
+ readonly VITE_API_BASE_URL?: string
6
+ readonly VITE_SYSTEM_WORK_DATE?: string
7
+ readonly VITE_TAM_BRANCH_ID?: string
8
+ readonly VITE_TAM_USER_ID?: string
9
+ readonly VITE_TAM_CLIENT_IP?: string
10
+ }
11
+
12
+ interface ImportMeta {
13
+ readonly env: ImportMetaEnv
14
+ }
15
+ }
16
+
3
17
  declare module 'vue' {
4
18
  export interface GlobalComponents {
5
19
  ElButtonPro: typeof import('./src/components/ElButtonPro.vue')['default']
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "verce-vue-test",
3
- "version": "0.0.75",
3
+ "version": "0.0.76",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "scripts": {
package/src/App.vue CHANGED
@@ -43,6 +43,7 @@ const searchableMenus: MenuSearchItem[] = [
43
43
  { value: '外币头寸预报', path: '/foreign-currency-position-forecast' },
44
44
  { value: '头寸预报执行', path: '/position-forecast-execution' },
45
45
  { value: '预报信息', path: '/forecast-info' },
46
+ { value: '人民币头寸匡算', path: '/rmb-position-estimation' },
46
47
  { value: '总行管理员首页', path: '/executive-management' },
47
48
  { value: '资金驾驶舱', path: '/fund-cockpit' },
48
49
  { value: '通知公告', path: '/notice-announcement' },
@@ -143,6 +144,10 @@ function toggleCollapse() {
143
144
  <el-icon><DataLine /></el-icon>
144
145
  <span>预报信息</span>
145
146
  </el-menu-item>
147
+ <el-menu-item index="/rmb-position-estimation">
148
+ <el-icon><DataLine /></el-icon>
149
+ <span>人民币头寸匡算</span>
150
+ </el-menu-item>
146
151
  <el-menu-item index="/executive-management">
147
152
  <el-icon><TrendCharts /></el-icon>
148
153
  <span>总行管理员首页</span>
@@ -73,7 +73,7 @@ const router = createRouter({
73
73
  {
74
74
  path: '/foreign-currency-position-forecast',
75
75
  name: 'foreignCurrencyPositionForecast',
76
- component: () => import('../views/ForeignCurrencyPositionForecastView.vue'),
76
+ component: () => import('../views/foreign-currency-position-forecast/index.vue'),
77
77
  },
78
78
  {
79
79
  path: '/position-forecast-execution',
@@ -85,6 +85,11 @@ const router = createRouter({
85
85
  name: 'forecastInfo',
86
86
  component: () => import('../views/ForecastInfo/RmbPositionSettlement.vue'),
87
87
  },
88
+ {
89
+ path: '/rmb-position-estimation',
90
+ name: 'rmbPositionEstimation',
91
+ component: () => import('../views/RmbPositionEstimationView.vue'),
92
+ },
88
93
  {
89
94
  path: '/executive-management',
90
95
  name: 'executiveManagement',
@@ -639,7 +639,7 @@ async function queryForecastInfoList(
639
639
 
640
640
  // TODO: 在这里对接预报信息列表查询接口。
641
641
  // 示例:
642
- // return request.post<ForecastInfoListResponse>('/forecast/info/list', {
642
+ // return request.post<ForecastInfoListResponse>('/oms/forecast/info/list', {
643
643
  // ...params,
644
644
  // pageNum: pageParams.page,
645
645
  // pageSize: pageParams.pageSize,
@@ -666,7 +666,7 @@ async function queryFlowInfoList(
666
666
 
667
667
  // TODO: 在这里对接流水信息列表查询接口。
668
668
  // 示例:
669
- // return request.post<FlowInfoListResponse>('/flow/info/list', {
669
+ // return request.post<FlowInfoListResponse>('/oms/flow/info/list', {
670
670
  // ...params,
671
671
  // pageNum: pageParams.page,
672
672
  // pageSize: pageParams.pageSize,