You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

76 lines
1.8 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

export const userStatusOptions = [
{ label: '正常', value: 0 },
{ label: '禁用', value: 1 },
{ label: '审核中', value: 2 },
{ label: '拒绝', value: 3 },
{ label: '忽略', value: 4 },
]
export const attachmentTypeOptions = [
{ label: '未知', value: 0 },
{ label: '头像', value: 1 },
{ label: '文档', value: 2 },
{ label: '文章', value: 3 },
{ label: '评论', value: 4 },
{ label: '横幅', value: 5 },
{ label: '分类封面', value: 6 },
{ label: '配置', value: 7 },
]
export const documentStatusOptions = [
{ label: '待转换', value: 0, type: 'info' },
{ label: '转换中', value: 1, type: 'primary' },
{ label: '已转换', value: 2, type: 'success' },
{ label: '转换失败', value: 3, type: 'warning' },
{ label: '已禁用', value: 4, type: 'danger' },
]
// 0 网站横幅1 小程序横幅2 APP横幅
export const bannerTypeOptions = [
{ label: '网站横幅', value: 0, type: 'primary' },
{ label: '小程序横幅', value: 1, type: 'success' },
{ label: 'APP横幅', value: 2, type: 'warning' },
]
export const boolOptions = [
{ label: '是', value: true, type: 'success' },
{ label: '否', value: false, type: 'danger' },
]
export const reportOptions = [
{ label: '垃圾广告', value: 1 },
{ label: '淫秽色情', value: 2 },
{ label: '虚假中奖', value: 3 },
{ label: '敏感信息', value: 4 },
{ label: '人身攻击', value: 5 },
{ label: '骚扰他人', value: 6 },
]
export const methodOptions = [
{
label: 'GET',
value: 'GET',
type: 'success',
},
{
label: 'POST',
value: 'POST',
type: 'primary',
},
{
label: 'PUT',
value: 'PUT',
type: 'warning',
},
{
label: 'DELETE',
value: 'DELETE',
type: 'danger',
},
{
label: 'GRPC',
value: 'GRPC',
type: 'primary',
},
]