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,
	},
};

export const PERMISSIONS = [
	{
		label: '海外先机',
		value: 1, // 0:不可见;1:可见
		name: 'hwxj',
	},
	{
		label: '编辑精选',
		value: 1,
		name: 'bjjx',
	},
	{
		label: '宏观知微',
		value: 1,
		name: 'hgzw',
	},
	{
		label: '智能资讯榜',
		value: 1,
		name: 'znzx',
	},
	{
		label: '热门行业',
		value: 1,
		name: 'rthx',
	},
	{
		label: '风口概念',
		value: 1,
		name: 'fkgn',
	},
];
