Commit 6b21216ddf80b3db0f63a20bb1b14e5e3c37e2c8

Authored by 柏杨
1 parent c1f5be77

fix: bug修复

src/router/routes/modules/project/finance.ts
... ... @@ -74,7 +74,7 @@ const finance: AppRouteModule = {
74 74 name: 'ServiceProfit',
75 75 meta: {
76 76 title: '业务研发净利润分析',
77   - roles: [RoleEnum.ADMIN, RoleEnum.FINANCE, RoleEnum.TRACKER, RoleEnum.BUSINESS],
  77 + roles: [RoleEnum.ADMIN, RoleEnum.FINANCE],
78 78 ignoreKeepAlive: false,
79 79 },
80 80 children: [
... ... @@ -83,7 +83,7 @@ const finance: AppRouteModule = {
83 83 name: 'ServiceProfit',
84 84 meta: {
85 85 title: '业务研发净利润分析表',
86   - roles: [RoleEnum.ADMIN, RoleEnum.FINANCE, RoleEnum.TRACKER, RoleEnum.BUSINESS],
  86 + roles: [RoleEnum.ADMIN, RoleEnum.FINANCE],
87 87 ignoreKeepAlive: false,
88 88 },
89 89 component: () =>
... ... @@ -96,7 +96,7 @@ const finance: AppRouteModule = {
96 96 name: 'PackageProfit',
97 97 meta: {
98 98 title: '包装费用明细表',
99   - roles: [RoleEnum.ADMIN, RoleEnum.FINANCE, RoleEnum.TRACKER, RoleEnum.BUSINESS],
  99 + roles: [RoleEnum.ADMIN, RoleEnum.FINANCE],
100 100 ignoreKeepAlive: false,
101 101 },
102 102 component: () =>
... ... @@ -111,7 +111,7 @@ const finance: AppRouteModule = {
111 111 name: 'ProductProfit',
112 112 meta: {
113 113 title: '内部生产净利润分析',
114   - roles: [RoleEnum.ADMIN, RoleEnum.FINANCE, RoleEnum.TRACKER, RoleEnum.BUSINESS],
  114 + roles: [RoleEnum.ADMIN, RoleEnum.FINANCE],
115 115 ignoreKeepAlive: false,
116 116 },
117 117 children: [
... ... @@ -120,7 +120,7 @@ const finance: AppRouteModule = {
120 120 name: 'InnerProduce',
121 121 meta: {
122 122 title: '内部生产净利润分析表',
123   - roles: [RoleEnum.ADMIN, RoleEnum.FINANCE, RoleEnum.TRACKER, RoleEnum.BUSINESS],
  123 + roles: [RoleEnum.ADMIN, RoleEnum.FINANCE],
124 124 ignoreKeepAlive: false,
125 125 },
126 126 component: () =>
... ... @@ -133,7 +133,7 @@ const finance: AppRouteModule = {
133 133 name: 'InnerData',
134 134 meta: {
135 135 title: '内部生产明细表',
136   - roles: [RoleEnum.ADMIN, RoleEnum.FINANCE, RoleEnum.TRACKER, RoleEnum.BUSINESS],
  136 + roles: [RoleEnum.ADMIN, RoleEnum.FINANCE],
137 137 ignoreKeepAlive: false,
138 138 },
139 139 component: () =>
... ...
vite.config.ts
... ... @@ -30,7 +30,7 @@ export default defineApplicationConfig({
30 30 },
31 31 },
32 32 '/basic-api/order': {
33   - target: 'http://47.104.8.35:8000',
  33 + target: 'http://47.104.8.35:18000',
34 34 // target: 'http://localhost:18000',
35 35 // target: 'http://39.108.227.113:8000',
36 36 // target: 'http://localhost:8000',
... ... @@ -41,7 +41,7 @@ export default defineApplicationConfig({
41 41 rewrite: (path) => path.replace(new RegExp(`^/basic-api`), ''),
42 42 },
43 43 '/basic-api/project': {
44   - target: 'http://47.104.8.35:8000',
  44 + target: 'http://47.104.8.35:18000',
45 45 // target: 'http://localhost:18000',
46 46 // target: 'http://39.108.227.113:8000',
47 47 // target: 'http://localhost:8000',
... ... @@ -52,7 +52,7 @@ export default defineApplicationConfig({
52 52 rewrite: (path) => path.replace(new RegExp(`^/basic-api`), ''),
53 53 },
54 54 '/api/localStorage/upload': {
55   - target: 'http://47.104.8.35:8000',
  55 + target: 'http://47.104.8.35:18000',
56 56 // target: 'http://localhost:18000',
57 57 // target: 'http://39.108.227.113:8000',
58 58 // target: '192.168.31.250:18000',
... ...