|
@@ -8,7 +8,7 @@
|
|
|
</view>
|
|
</view>
|
|
|
<template #content>
|
|
<template #content>
|
|
|
<text>{{ t("Tips.item1")
|
|
<text>{{ t("Tips.item1")
|
|
|
- }}<text style="color: red">{{ account.markDelTime }}</text>{{ t("Tips.item2") }}</text>
|
|
|
|
|
|
|
+ }}<text style="color: red">{{ account.markDelTime }}</text>{{ t("Tips.item2") }}</text>
|
|
|
</template>
|
|
</template>
|
|
|
</uni-tooltip>
|
|
</uni-tooltip>
|
|
|
<template v-if="account.del != 1">
|
|
<template v-if="account.del != 1">
|
|
@@ -26,8 +26,9 @@
|
|
|
<view class="btn-group">
|
|
<view class="btn-group">
|
|
|
<cwg-dropdown ref="dropdownRef" @open="onOpen" @close="onClose" :menu-list="customMenuList"
|
|
<cwg-dropdown ref="dropdownRef" @open="onOpen" @close="onClose" :menu-list="customMenuList"
|
|
|
@menuClick="handleCustomClick">
|
|
@menuClick="handleCustomClick">
|
|
|
- <button class="btn btn-white btn-sm btn-shadow btn-icon waves-effect dropdown-toggle"
|
|
|
|
|
- type="button">
|
|
|
|
|
|
|
+ <button
|
|
|
|
|
+ class="btn btn-white btn-sm btn-shadow btn-icon waves-effect dropdown-toggle cursor-pointer"
|
|
|
|
|
+ :data-tooltip="t('Btn.More')" type="button">
|
|
|
<cwg-icon name="crm-ellipsis-vertical" :size="18"
|
|
<cwg-icon name="crm-ellipsis-vertical" :size="18"
|
|
|
:color="!isDark ? '#6c8595' : '#fff'" />
|
|
:color="!isDark ? '#6c8595' : '#fff'" />
|
|
|
</button>
|
|
</button>
|
|
@@ -37,9 +38,11 @@
|
|
|
</view>
|
|
</view>
|
|
|
<view class="card-body p-3 pt-0">
|
|
<view class="card-body p-3 pt-0">
|
|
|
<view class="text-left mb-3">
|
|
<view class="text-left mb-3">
|
|
|
- <h5 class="fw-bold mb-3 cursor-pointer" :data-tooltip="t('vu.tooltip.t2')" data-placement="top" @click="copy(account.accountNumber)"># {{
|
|
|
|
|
- account.accountNumber }}</h5>
|
|
|
|
|
- <h4 class="mb-2 cursor-pointer" :data-tooltip="t('vu.tooltip.t2')" :data-placement="top" @click="copy(account.fwq)">{{ account.fwq }}</h4>
|
|
|
|
|
|
|
+ <h5 class="fw-bold mb-3 cursor-pointer" :data-tooltip="t('vu.tooltip.t2')" data-placement="top"
|
|
|
|
|
+ @click="copy(account.accountNumber)"># {{
|
|
|
|
|
+ account.accountNumber }}</h5>
|
|
|
|
|
+ <h4 class="mb-2 cursor-pointer" :data-tooltip="t('vu.tooltip.t2')" :data-placement="top"
|
|
|
|
|
+ @click="copy(account.fwq)">{{ account.fwq }}</h4>
|
|
|
<template v-for="(label, index) in account.labels" :key="index">
|
|
<template v-for="(label, index) in account.labels" :key="index">
|
|
|
<text v-if="label" class="badge text-danger1 bg-danger-subtle mx-1 mb-1">{{ label }}</text>
|
|
<text v-if="label" class="badge text-danger1 bg-danger-subtle mx-1 mb-1">{{ label }}</text>
|
|
|
</template>
|
|
</template>
|
|
@@ -165,7 +168,7 @@ const closeFunctionOpen = (code) => {
|
|
|
if (closeFunctions == null || closeFunctions === "") {
|
|
if (closeFunctions == null || closeFunctions === "") {
|
|
|
return true;
|
|
return true;
|
|
|
}
|
|
}
|
|
|
- console.log(closeFunctions, 12121,String(closeFunctions).indexOf(String(code)) === -1);
|
|
|
|
|
|
|
+ console.log(closeFunctions, 12121, String(closeFunctions).indexOf(String(code)) === -1);
|
|
|
|
|
|
|
|
return String(closeFunctions).indexOf(String(code)) === -1;
|
|
return String(closeFunctions).indexOf(String(code)) === -1;
|
|
|
}
|
|
}
|
|
@@ -175,21 +178,21 @@ const circleButtons = ref([
|
|
|
{ key: 'transfer', label: 'Custom.Index.Transfer', icon: 'crm-transfer', action: 'transfer', needDemo: isDemo.value, disabled: !(closeFunctionOpen('5') && closeFunctionOpen('6') && closeFunctionOpen('3')), 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 isAfterJuly28 = () => {
|
|
|
- const now = new Date();
|
|
|
|
|
- const july28 = new Date(2025, 6, 28, 0, 0, 0); // 月份从0开始,所以7月是6
|
|
|
|
|
- return now >= july28;
|
|
|
|
|
|
|
+ const now = new Date();
|
|
|
|
|
+ const july28 = new Date(2025, 6, 28, 0, 0, 0); // 月份从0开始,所以7月是6
|
|
|
|
|
+ return now >= july28;
|
|
|
}
|
|
}
|
|
|
const typeMap = computed(() => ({
|
|
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')
|
|
|
|
|
|
|
+ 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(() => ([
|
|
const fieldList = computed(() => ([
|
|
|
- { label: t('Custom.PaymentHistory.AccountType'), key: 'type', copyable: false,isEnum:true,enums:typeMap.value },
|
|
|
|
|
|
|
+ { 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.Leverage'), key: 'actualLeverage', copyable: false },
|
|
|
{ label: t('Label.FloatingPL'), key: 'floatingPL', copyable: false },
|
|
{ label: t('Label.FloatingPL'), key: 'floatingPL', copyable: false },
|
|
|
{ label: t('Label.Balance'), key: 'balanceWithSymbol', copyable: false },
|
|
{ label: t('Label.Balance'), key: 'balanceWithSymbol', copyable: false },
|