feat(platform): add platform access control with quota management

- Add userPlatform hook to derive available platforms from company config
- Add platform access section in company popup with MT4/MT5 switch and quota limits
- Add platform access column in company list showing quota usage
- Replace hardcoded platform options with dynamic userPlatform in account/alert/data-source pages
- Add getPlatformList API and extend CompanyListItem typings
- Add i18n translations for platform access related keys
- Update dev proxy target port to 8082

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-06-12 17:57:25 +08:00
parent 43d6e9207a
commit dfcba94cf5
13 changed files with 178 additions and 35 deletions

View File

@@ -15,7 +15,8 @@ export default {
'/api': {
// The address to proxy
// target: 'http://2333z061l7.51mypc.cn',
target: 'http://172.20.177.121:8080',
// target: 'http://172.20.177.121:8080',
target: 'http://172.20.177.121:8082',
changeOrigin: true,
pathRewrite: {
'^/api': '',