|
|
@@ -174,8 +174,22 @@ const circleButtons = ref([
|
|
|
{ key: 'withdraw', label: 'Home.page_customer.item3', icon: 'crm-withdraw', action: 'withdraw', needDemo: isDemo.value, disabled: !closeFunctionOpen('2'), color: '#6c8595' },
|
|
|
{ key: 'transfer', label: 'Custom.Index.Transfer', icon: 'crm-transfer', action: 'transfer', needDemo: isDemo.value, disabled: !(closeFunctionOpen('5') && closeFunctionOpen('6') && closeFunctionOpen('3')), color: '#6c8595' }
|
|
|
])
|
|
|
+const isAfterJuly28 = () => {
|
|
|
+ const now = new Date();
|
|
|
+ const july28 = new Date(2025, 6, 28, 0, 0, 0); // 月份从0开始,所以7月是6
|
|
|
+ return now >= july28;
|
|
|
+}
|
|
|
+const typeMap = computed(() => ({
|
|
|
+ 1: t('AccountType.ClassicAccount'),
|
|
|
+ 2: t('AccountType.SeniorAccount'),
|
|
|
+ 3: !isAfterJuly28() ? t('AccountType.AgencyAccount') : '',
|
|
|
+ 5: t('AccountType.SpeedAccount'),
|
|
|
+ 6: t('AccountType.SpeedAccount'),
|
|
|
+ 7: t('AccountType.StandardAccount'),
|
|
|
+ 8: t('AccountType.CentAccount')
|
|
|
+}));
|
|
|
const fieldList = computed(() => ([
|
|
|
- { label: t('Custom.PaymentHistory.AccountType'), key: 'nickname', copyable: false },
|
|
|
+ { label: t('Custom.PaymentHistory.AccountType'), key: 'type', copyable: false,isEnum:true,enums:typeMap.value },
|
|
|
{ label: t('Label.Leverage'), key: 'actualLeverage', copyable: false },
|
|
|
{ label: t('Label.FloatingPL'), key: 'floatingPL', copyable: false },
|
|
|
{ label: t('Label.Balance'), key: 'balanceWithSymbol', copyable: false },
|