@jdlinker/ui
Version:
jdLinker UI库,基于ant-design-vue封装
126 lines (120 loc) • 1.88 kB
text/typescript
export const DataTypeList: { label: string; value: string }[] = [
{
value: 'int',
label: 'int(整数型)'
},
{
value: 'long',
label: 'long(长整数型)'
},
{
value: 'float',
label: 'float(单精度浮点型)'
},
{
value: 'double',
label: 'double(双精度浮点数)'
},
{
value: 'string',
label: 'text(字符串)'
},
{
value: 'boolean',
label: 'boolean(布尔型)'
},
{
value: 'date',
label: 'date(时间型)'
},
{
value: 'enum',
label: 'enum(枚举)'
},
{
value: 'array',
label: 'array(数组)'
},
{
value: 'object',
label: 'object(结构体)'
},
{
value: 'file',
label: 'file(文件)'
},
{
value: 'password',
label: 'password(密码)'
},
{
value: 'geoPoint',
label: 'geoPoint(地理位置)'
}
];
export const PropertySource: { label: string; value: string }[] = [
{
value: 'device',
label: '设备'
},
{
value: 'manual',
label: '手动'
},
{
value: 'rule',
label: '规则'
}
];
export const FileTypeList: { label: string; value: string }[] = [
{
label: 'URL(链接)',
value: 'url'
},
{
label: 'Base64(Base64编码)',
value: 'base64'
},
{
label: 'binary',
value: 'Binary(二进制)'
}
];
export const EventLevel: { label: string; value: string }[] = [
{
label: '普通',
value: 'ordinary'
},
{
label: '警告',
value: 'warn'
},
{
value: 'urgent',
label: '紧急'
}
];
export const DateTypeList = [
{
label: 'yyyy-MM-dd',
value: 'yyyy-MM-dd'
},
{
label: 'yyyy-MM-DD HH:mm:ss',
value: 'yyyy-MM-DD HH:mm:ss'
}
];
export const ExpandsTypeList = [
{
label: '读',
value: 'read'
},
{
label: '写',
value: 'write'
},
{
label: '上报',
value: 'report'
}
];