cankao-admin/src/views/pages/tenant/constant.ts

50 lines
634 B
TypeScript

type IValue = {
label: string;
value: number;
};
export const COMPANYTYPE_CONST: Record<string, IValue> = {
'0': {
label: '内部',
value: 0,
},
'1': {
label: '银行',
value: 1,
},
'2': {
label: '券商',
value: 2,
},
'3': {
label: '上市公司',
value: 3,
},
'4': {
label: '其他机构',
value: 4,
},
};
export const ACCOUNTTYPE_CONST: Record<string, IValue> = {
'0': {
label: '试用',
value: 0,
},
'1': {
label: '正式',
value: 1,
},
};
export const STATUS_CONST: Record<string, IValue> = {
'0': {
label: '启用',
value: 0,
},
'1': {
label: '禁用',
value: 1,
},
};