54 lines
1.4 KiB
TypeScript
54 lines
1.4 KiB
TypeScript
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')
|
|
};
|