feat: 初始化
This commit is contained in:
53
utils/options.ts
Normal file
53
utils/options.ts
Normal 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')
|
||||
};
|
Reference in New Issue
Block a user