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:
@@ -2,6 +2,7 @@ export default {
|
||||
'common.loading': '加载中...',
|
||||
'common.content.noRules': '暂无规则',
|
||||
'common.content.noData': '暂无数据',
|
||||
'table.platformAccess': '平台配额',
|
||||
'table.group': '所属组',
|
||||
'table.operatorRecords': '操作记录',
|
||||
'table.operatorAction': '操作动作',
|
||||
@@ -569,6 +570,10 @@ export default {
|
||||
'pages.email.availableEmails.tips': '在服务商已验证的邮箱,多个用逗号分隔',
|
||||
'pages.email.status.normal': '正常',
|
||||
'pages.email.status.disabled': '停用',
|
||||
'pages.email.platformAccess': '平台接入权限',
|
||||
'pages.email.platformAccessEnable': '接入',
|
||||
'pages.email.platformMax': '最大数量上限',
|
||||
'pages.email.platformAssigned': '已配',
|
||||
'pages.email.notification': '邮件通知配置',
|
||||
'pages.email.notificationEmail': '通知邮箱',
|
||||
'pages.email.notificationEmail.tips':
|
||||
|
||||
Reference in New Issue
Block a user