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