Files
smart-admin/smart-admin-web-javascript/src/constants/support/dict-const.js

56 lines
1.1 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/**
* 字典key 编码 常量
*
* 该常量来自于 字典管理中的数据,写在该文件目的是为了统一引用,将来好修改
*
* @Author: 1024创新实验室-主任:卓大
* @Date: 2024-09-03 22:09:10
* @Wechat: zhuda1024
* @Email: lab1024@163.com
* @Copyright 1024创新实验室 https://1024lab.net Since 2012
*/
export const DICT_SPLIT = ',';
export const DICT_CODE_ENUM = {
GOODS_PLACE: 'GOODS_PLACE',
};
export const DICT_DATA_STYLE_ENUM = {
DEFAULT: {
value: 'default',
desc: '默认',
color: 'colorText',
},
PRIMARY: {
value: 'primary',
desc: '主要',
color: 'colorPrimary',
},
SUCCESS: {
value: 'success',
desc: '成功',
color: 'colorSuccess',
},
INFO: {
value: 'info',
desc: '信息',
color: 'colorInfo',
},
WARNING: {
value: 'warning',
desc: '警告',
color: 'colorWarning',
},
DANGER: {
value: 'danger',
desc: '危险',
color: 'colorError',
},
};
export default {
DICT_CODE_ENUM,
DICT_DATA_STYLE_ENUM,
};