feat: 初始化

This commit is contained in:
George
2025-07-07 16:05:18 +08:00
commit c169958240
986 changed files with 132574 additions and 0 deletions

53
utils/options.ts Normal file
View File

@ -0,0 +1,53 @@
import { i18n } from '@/locale/index.ts';
const t: any = i18n.global.t;
export const depositStatusOptions = {
'0': t('form.status.apply'),
'1': t('form.status.approved'),
'2': t('form.status.rejected'),
'-1': t('form.status.wait'),
'-2': t('form.status.canceled')
};
export const withdrawStatusOptions = {
'0': t('form.status.apply'),
'1': t('form.status.approved'),
'2': t('form.status.rejected'),
'3': t('form.status.breakUp'),
'-1': t('form.status.wait'),
'-2': t('form.status.canceled'),
'-3': t('form.status.waitWallet')
};
export const transferStatusOptions = {
'0': t('form.status.apply'),
'1': t('form.status.approved'),
'2': t('form.status.rejected'),
'3': t('form.status.depositFailed'),
'-2': t('form.status.canceled')
};
export const fundOutStatusOptions = {
'0': t('form.status.apply'),
'1': t('form.status.approved'),
'2': t('form.status.rejected'),
'3': t('form.status.breakUp'),
'-1': t('form.status.wait'),
'-2': t('form.status.canceled'),
'-3': t('form.status.waitWallet')
};
export const fundTransferStatusOptions = {
'0': t('form.status.apply'),
'1': t('form.status.approved'),
'2': t('form.status.rejected'),
'3': t('form.status.breakUp'),
'-1': t('form.status.wait'),
'-2': t('form.status.canceled'),
'-3': t('form.status.waitWallet')
};
export const userTypeOptions = {
'0': t('form.userType.emp'),
'1': t('form.userType.ib'),
'2': t('form.userType.customer')
};