| | |
| | | import zhCN from '@/locales/zh-CN/share.js' |
| | | import enUS from '@/locales/en-US/share.js' |
| | | import nortable from '@/assets/img/normaltable.jpg' |
| | | import mainsubtable from '@/assets/img/mainsubtable.jpg' |
| | | // import mainsubtable from '@/assets/img/mainsubtable.jpg' |
| | | import treepage from '@/assets/img/treepage.jpg' |
| | | import calendar from '@/assets/img/calendar.jpg' |
| | | import customImg from '@/assets/img/custom.jpg' |
| | | import newpage from '@/assets/img/newpage.jpg' |
| | | import rolemanage from '@/assets/img/rolemanage.jpg' |
| | | |
| | | const _dict = sessionStorage.getItem('lang') !== 'en-US' ? zhCN : enUS |
| | | |
| | | // 表单校验规则 |
| | | export const formRule = { |
| | |
| | | formMessage: '最多@max个字符。', // 文本表单最大提示 |
| | | numbermsg: '请输入数字!', |
| | | lettermsg: '请输入字母!', |
| | | letternummsg: '请输入数字或字母!', |
| | | funcname: '请输入数字、字母、汉字以及_' |
| | | }, |
| | | field: { // 字段名 |
| | |
| | | baseconfig: '', |
| | | isSystem: true |
| | | }, |
| | | // { |
| | | // title: '基础表格(新)', |
| | | // type: 'BaseTable', |
| | | // url: nortable, |
| | | // baseconfig: '', |
| | | // isSystem: true |
| | | // }, |
| | | // { |
| | | // title: '主子表表格', |
| | | // type: 'CommonTable', |
| | | // url: mainsubtable, |
| | | // baseconfig: '', |
| | | // isSystem: true, |
| | | // isSubtable: true |
| | | // }, |
| | | { |
| | | title: '主子表表格', |
| | | type: 'CommonTable', |
| | | url: mainsubtable, |
| | | title: '自定义', |
| | | type: 'CustomPage', |
| | | url: customImg, |
| | | baseconfig: '', |
| | | isSystem: true, |
| | | isSubtable: true |
| | | isSystem: true |
| | | }, |
| | | { |
| | | title: '树形页面', |
| | | type: 'TreePage', |
| | | url: treepage, |
| | | baseconfig: '', |
| | | isSystem: true |
| | | }, |
| | | { |
| | | title: '日历', |
| | | type: 'CalendarPage', |
| | | url: calendar, |
| | | baseconfig: '', |
| | | isSystem: true |
| | | }, |
| | | { |
| | | title: '外部页面', |
| | | type: 'NewPage', |
| | | url: newpage, |
| | | baseconfig: '', |
| | | isSystem: true |
| | | }, |
| | | { |
| | | title: '角色权限分配', |
| | | type: 'RolePermission', |
| | | url: rolemanage, |
| | | isSystem: true, |
| | | hidden: true |
| | | isSystem: true |
| | | } |
| | | ] |
| | | |
| | | // 图表色系 |
| | | export const chartColors = ['rgb(91, 143, 249)', 'rgb(90, 216, 166)', 'rgb(93, 112, 146)', 'rgb(246, 189, 22)', 'rgb(232, 100, 82)', 'rgb(109, 200, 236)', 'rgb(148, 95, 185)', 'rgb(205, 221, 253)', 'rgb(248, 208, 203)', 'rgb(145, 213, 255)', 'rgb(211, 173, 247)'] |
| | | |
| | | // 日期默认值选择范围 |
| | | export const dateOptions = { |
| | | date: [ |
| | | {value: '', text: _dict['date.empty']}, |
| | | {value: '0', text: '当天'}, |
| | | {value: '', text: '空'}, |
| | | {value: '0', text: '今天'}, |
| | | {value: 1, text: '昨天'}, |
| | | {value: 2, text: '前天'}, |
| | | {value: 3, text: '前三天'}, |
| | | {value: 7, text: '前七天'}, |
| | | {value: 30, text: '前30天'}, |
| | | {value: 90, text: '前90天'}, |
| | | {value: 7300, text: '前20年'}, |
| | | {value: -1, text: '明天'}, |
| | | {value: -2, text: '后天'} |
| | | {value: -2, text: '后天'}, |
| | | {value: -3, text: '后三天'}, |
| | | {value: -7, text: '后七天'}, |
| | | {value: -30, text: '后30天'}, |
| | | {value: -90, text: '后90天'}, |
| | | {value: -180, text: '后半年'}, |
| | | {value: -365, text: '后1年'}, |
| | | {value: -1095, text: '后3年'}, |
| | | {value: -1825, text: '后5年'}, |
| | | {value: -3650, text: '后10年'}, |
| | | {value: -7300, text: '后20年'}, |
| | | ], |
| | | dateweek: [ |
| | | {value: '', text: _dict['date.empty']}, |
| | | {value: '', text: '空'}, |
| | | {value: '0', text: '本周'}, |
| | | {value: 1, text: '上周'}, |
| | | {value: 3, text: '前三周'}, |
| | |
| | | {value: -1, text: '下周'} |
| | | ], |
| | | datemonth: [ |
| | | {value: '', text: _dict['date.empty']}, |
| | | {value: '', text: '空'}, |
| | | {value: '0', text: '本月'}, |
| | | {value: 1, text: '上月'}, |
| | | {value: 3, text: '前三月'}, |
| | |
| | | {value: -1, text: '下月'} |
| | | ], |
| | | daterange: [ |
| | | {value: '', text: _dict['date.empty']}, |
| | | {value: '', text: '空'}, |
| | | {value: '[0, 0]', text: '今天'}, |
| | | {value: '[1, 1]', text: '昨天'}, |
| | | {value: '[3, 0]', text: '近三天'}, |
| | |
| | | {value: '[30, -30]', text: '前后30天'}, |
| | | {value: '[90, -90]', text: '前后90天'}, |
| | | {value: '[-1, -1]', text: '明天'}, |
| | | {value: '[-2, -2]', text: '后天'} |
| | | {value: '[-2, -2]', text: '后天'}, |
| | | {value: 'week', text: '本周'}, |
| | | {value: 'month', text: '本月'}, |
| | | ], |
| | | datetime: [ |
| | | {value: '', text: _dict['date.empty']}, |
| | | {value: '0', text: '现在'}, |
| | | {value: '', text: '空'}, |
| | | {value: '0', text: '当前'}, |
| | | {value: 1, text: '昨天'}, |
| | | {value: 3, text: '前三天'}, |
| | | {value: 7, text: '前七天'}, |
| | | {value: 30, text: '前30天'}, |
| | | {value: 90, text: '前90天'}, |
| | | {value: 7300, text: '前20年'}, |
| | | {value: -1, text: '明天'}, |
| | | {value: -2, text: '后天'} |
| | | {value: -2, text: '后天'}, |
| | | {value: -3, text: '后三天'}, |
| | | {value: -7, text: '后七天'}, |
| | | {value: -30, text: '后30天'}, |
| | | {value: -90, text: '后90天'}, |
| | | {value: -180, text: '后半年'}, |
| | | {value: -365, text: '后1年'}, |
| | | {value: -1095, text: '后3年'}, |
| | | {value: -1825, text: '后5年'}, |
| | | {value: -3650, text: '后10年'}, |
| | | {value: -7300, text: '后20年'}, |
| | | ] |
| | | } |
| | | |
| | |
| | | }, { |
| | | value: '=', |
| | | text: '=' |
| | | }, { |
| | | value: '>', |
| | | text: '>' |
| | | }, { |
| | | value: '<', |
| | | text: '<' |
| | | }, { |
| | | value: '>=', |
| | | text: '>=' |
| | | }, { |
| | | value: '<=', |
| | | text: '<=' |
| | | }], |
| | | multiselect: [{ |
| | | value: 'like', |
| | |
| | | text: 'not like' |
| | | }], |
| | | select: [{ |
| | | value: '=', |
| | | text: '=' |
| | | }, { |
| | | value: 'like', |
| | | text: 'like' |
| | | }, { |
| | | value: 'not like', |
| | | text: 'not like' |
| | | }, { |
| | | value: '=', |
| | | text: '=' |
| | | }, { |
| | | value: '>', |
| | | text: '>' |
| | | }, { |
| | | value: '<', |
| | | text: '<' |
| | | }, { |
| | | value: '>=', |
| | | text: '>=' |
| | | }, { |
| | | value: '<=', |
| | | text: '<=' |
| | | }], |
| | | date: [{ |
| | | value: '>=', |
| | |
| | | |
| | | // 按钮图标集 |
| | | export const btnIcons = [{ |
| | | value: '', |
| | | text: 'unset' |
| | | }, { |
| | | value: 'plus', |
| | | text: 'plus' |
| | | }, { |
| | |
| | | }, { |
| | | value: 'unlock', |
| | | text: 'unlock' |
| | | }, { |
| | | value: 'right', |
| | | text: 'right' |
| | | }, { |
| | | value: 'left', |
| | | text: 'left' |
| | | }, { |
| | | value: 'double-right', |
| | | text: 'double-right' |
| | | }, { |
| | | value: 'double-left', |
| | | text: 'double-left' |
| | | }, { |
| | | value: 'search', |
| | | text: 'search' |
| | | }] |
| | | |
| | | // 按钮颜色集 |
| | |
| | | text: '白底紫框' |
| | | }] |
| | | |
| | | // 按钮颜色集 |
| | | export const btnCustomClasses = [{ |
| | | value: 'primary', |
| | | text: '蓝色' |
| | | }, { |
| | | value: 'yellow', |
| | | text: '黄色' |
| | | }, { |
| | | value: 'orange', |
| | | text: '橙色' |
| | | }, { |
| | | value: 'danger', |
| | | text: '红色' |
| | | }, { |
| | | value: 'green', |
| | | text: '绿色' |
| | | }, { |
| | | value: 'dgreen', |
| | | text: '深绿色' |
| | | }, { |
| | | value: 'purple', |
| | | text: '紫色' |
| | | }, { |
| | | value: 'cyan', |
| | | text: '青色' |
| | | }, { |
| | | value: 'gray', |
| | | text: '灰色' |
| | | }] |
| | | |
| | | export const calendarColors = [ |
| | | {name: 'red', value: '#d0021b'}, |
| | | {name: 'orange', value: '#f5a623'}, |
| | | {name: 'yellow', value: '#f8e71c'}, |
| | | {name: 'green', value: '#7ed321'}, |
| | | {name: 'cyan', value: '#50e3c2'}, |
| | | {name: 'blue', value: '#1890ff'}, |
| | | {name: 'purple', value: '#bd10e0'}, |
| | | {name: 'gray', value: '#9b9b9b'}, |
| | | ] |
| | | |
| | | // 显示列标记色系 |
| | | export const colorTransform = { |
| | | 'dust-red-1': '#fff1f0', |
| | | 'dust-red-2': '#ffccc7', |
| | | 'dust-red-3': '#ffa39e', |
| | | 'dust-red-4': '#ff7875', |
| | | 'dust-red-5': '#ff4d4f', |
| | | 'dust-red-6': '#f5222d', |
| | | 'dust-red-7': '#cf1322', |
| | | 'dust-red-8': '#a8071a', |
| | | 'dust-red-9': '#820014', |
| | | 'dust-red-10': '#5c0011', |
| | | 'volcano-1': '#fff2e8', |
| | | 'volcano-2': '#ffd8bf', |
| | | 'volcano-3': '#ffbb96', |
| | | 'volcano-4': '#ff9c6e', |
| | | 'volcano-5': '#ff7a45', |
| | | 'volcano-6': '#fa541c', |
| | | 'volcano-7': '#d4380d', |
| | | 'volcano-8': '#ad2102', |
| | | 'volcano-9': '#871400', |
| | | 'volcano-10': '#610b00', |
| | | 'orange-1': '#fff7e6', |
| | | 'orange-2': '#ffe7ba', |
| | | 'orange-3': '#ffd591', |
| | | 'orange-4': '#ffc069', |
| | | 'orange-5': '#ffa940', |
| | | 'orange-6': '#fa8c16', |
| | | 'orange-7': '#d46b08', |
| | | 'orange-8': '#ad4e00', |
| | | 'orange-9': '#873800', |
| | | 'orange-10': '#612500', |
| | | 'gold-1': '#fffbe6', |
| | | 'gold-2': '#fff1b8', |
| | | 'gold-3': '#ffe58f', |
| | | 'gold-4': '#ffd666', |
| | | 'gold-5': '#ffc53d', |
| | | 'gold-6': '#faad14', |
| | | 'gold-7': '#d48806', |
| | | 'gold-8': '#ad6800', |
| | | 'gold-9': '#874d00', |
| | | 'gold-10': '#613400', |
| | | 'yellow-1': '#feffe6', |
| | | 'yellow-2': '#ffffb8', |
| | | 'yellow-3': '#fffb8f', |
| | | 'yellow-4': '#fff566', |
| | | 'yellow-5': '#ffec3d', |
| | | 'yellow-6': '#fadb14', |
| | | 'yellow-7': '#d4b106', |
| | | 'yellow-8': '#ad8b00', |
| | | 'yellow-9': '#876800', |
| | | 'yellow-10': '#614700', |
| | | 'lime-1': '#fcffe6', |
| | | 'lime-2': '#f4ffb8', |
| | | 'lime-3': '#eaff8f', |
| | | 'lime-4': '#d3f261', |
| | | 'lime-5': '#bae637', |
| | | 'lime-6': '#a0d911', |
| | | 'lime-7': '#7cb305', |
| | | 'lime-8': '#5b8c00', |
| | | 'lime-9': '#3f6600', |
| | | 'lime-10': '#254000', |
| | | 'green-1': '#f6ffed', |
| | | 'green-2': '#d9f7be', |
| | | 'green-3': '#b7eb8f', |
| | | 'green-4': '#95de64', |
| | | 'green-5': '#73d13d', |
| | | 'green-6': '#52c41a', |
| | | 'green-7': '#389e0d', |
| | | 'green-8': '#237804', |
| | | 'green-9': '#135200', |
| | | 'green-10': '#092b00', |
| | | 'cyan-1': '#e6fffb', |
| | | 'cyan-2': '#b5f5ec', |
| | | 'cyan-3': '#87e8de', |
| | | 'cyan-4': '#5cdbd3', |
| | | 'cyan-5': '#36cfc9', |
| | | 'cyan-6': '#13c2c2', |
| | | 'cyan-7': '#08979c', |
| | | 'cyan-8': '#006d75', |
| | | 'cyan-9': '#00474f', |
| | | 'cyan-10': '#002329', |
| | | 'blue-1': '#e6f7ff', |
| | | 'blue-2': '#bae7ff', |
| | | 'blue-3': '#91d5ff', |
| | | 'blue-4': '#69c0ff', |
| | | 'blue-5': '#40a9ff', |
| | | 'blue-6': '#1890ff', |
| | | 'blue-7': '#096dd9', |
| | | 'blue-8': '#0050b3', |
| | | 'blue-9': '#003a8c', |
| | | 'blue-10': '#002766', |
| | | 'geekblue-1': '#f0f5ff', |
| | | 'geekblue-2': '#d6e4ff', |
| | | 'geekblue-3': '#adc6ff', |
| | | 'geekblue-4': '#85a5ff', |
| | | 'geekblue-5': '#597ef7', |
| | | 'geekblue-6': '#2f54eb', |
| | | 'geekblue-7': '#1d39c4', |
| | | 'geekblue-8': '#10239e', |
| | | 'geekblue-9': '#061178', |
| | | 'geekblue-10': '#030852', |
| | | 'purple-1': '#f9f0ff', |
| | | 'purple-2': '#efdbff', |
| | | 'purple-3': '#d3adf7', |
| | | 'purple-4': '#b37feb', |
| | | 'purple-5': '#9254de', |
| | | 'purple-6': '#722ed1', |
| | | 'purple-7': '#531dab', |
| | | 'purple-8': '#391085', |
| | | 'purple-9': '#22075e', |
| | | 'purple-10': '#120338', |
| | | 'magenta-1': '#fff0f6', |
| | | 'magenta-2': '#ffd6e7', |
| | | 'magenta-3': '#ffadd2', |
| | | 'magenta-4': '#ff85c0', |
| | | 'magenta-5': '#f759ab', |
| | | 'magenta-6': '#eb2f96', |
| | | 'magenta-7': '#c41d7f', |
| | | 'magenta-8': '#9e1068', |
| | | 'magenta-9': '#780650', |
| | | 'magenta-10': '#520339', |
| | | 'transparent': 'transparent', |
| | | 'gray-1': '#f5f5f5', |
| | | 'gray-2': '#f0f0f0', |
| | | 'gray-3': '#d9d9d9', |
| | | 'gray-4': '#bfbfbf', |
| | | 'gray-5': '#8c8c8c', |
| | | 'gray-6': '#595959', |
| | | 'gray-7': '#434343', |
| | | 'gray-8': '#262626', |
| | | 'gray-9': '#1f1f1f', |
| | | 'gray-10': '#141414', |
| | | } |
| | | |
| | | export const minkeColorSystem = [ |
| | | { |
| | | value: 'DustRed', |
| | | label: '薄暮', |
| | | children: [ |
| | | { value: 'dust-red-1', label: 'dust-red-1' }, |
| | | { value: 'dust-red-2', label: 'dust-red-2' }, |
| | | { value: 'dust-red-3', label: 'dust-red-3' }, |
| | | { value: 'dust-red-4', label: 'dust-red-4' }, |
| | | { value: 'dust-red-5', label: 'dust-red-5' }, |
| | | { value: 'dust-red-6', label: 'dust-red-6' }, |
| | | { value: 'dust-red-7', label: 'dust-red-7' }, |
| | | { value: 'dust-red-8', label: 'dust-red-8' }, |
| | | { value: 'dust-red-9', label: 'dust-red-9' }, |
| | | { value: 'dust-red-10', label: 'dust-red-10' } |
| | | ] |
| | | }, |
| | |
| | | value: 'Volcano', |
| | | label: '火山', |
| | | children: [ |
| | | { value: 'volcano-1', label: 'volcano-1' }, |
| | | { value: 'volcano-2', label: 'volcano-2' }, |
| | | { value: 'volcano-3', label: 'volcano-3' }, |
| | | { value: 'volcano-4', label: 'volcano-4' }, |
| | | { value: 'volcano-5', label: 'volcano-5' }, |
| | | { value: 'volcano-6', label: 'volcano-6' }, |
| | | { value: 'volcano-7', label: 'volcano-7' }, |
| | | { value: 'volcano-8', label: 'volcano-8' }, |
| | | { value: 'volcano-9', label: 'volcano-9' }, |
| | | { value: 'volcano-10', label: 'volcano-10' } |
| | | ], |
| | | }, |
| | |
| | | value: 'SunsetOrange', |
| | | label: '日暮', |
| | | children: [ |
| | | { value: 'orange-1', label: 'orange-1' }, |
| | | { value: 'orange-2', label: 'orange-2' }, |
| | | { value: 'orange-3', label: 'orange-3' }, |
| | | { value: 'orange-4', label: 'orange-4' }, |
| | | { value: 'orange-5', label: 'orange-5' }, |
| | | { value: 'orange-6', label: 'orange-6' }, |
| | | { value: 'orange-7', label: 'orange-7' }, |
| | | { value: 'orange-8', label: 'orange-8' }, |
| | | { value: 'orange-9', label: 'orange-9' }, |
| | | { value: 'orange-10', label: 'orange-10' } |
| | | ] |
| | | }, |
| | |
| | | value: 'CalendulaGold', |
| | | label: '金盏花', |
| | | children: [ |
| | | { value: 'gold-1', label: 'gold-1' }, |
| | | { value: 'gold-2', label: 'gold-2' }, |
| | | { value: 'gold-3', label: 'gold-3' }, |
| | | { value: 'gold-4', label: 'gold-4' }, |
| | | { value: 'gold-5', label: 'gold-5' }, |
| | | { value: 'gold-6', label: 'gold-6' }, |
| | | { value: 'gold-7', label: 'gold-7' }, |
| | | { value: 'gold-8', label: 'gold-8' }, |
| | | { value: 'gold-9', label: 'gold-9' }, |
| | | { value: 'gold-10', label: 'gold-10' } |
| | | ] |
| | | }, |
| | |
| | | value: 'SunriseYellow', |
| | | label: '日出', |
| | | children: [ |
| | | { value: 'yellow-1', label: 'yellow-1' }, |
| | | { value: 'yellow-2', label: 'yellow-2' }, |
| | | { value: 'yellow-3', label: 'yellow-3' }, |
| | | { value: 'yellow-4', label: 'yellow-4' }, |
| | | { value: 'yellow-5', label: 'yellow-5' }, |
| | | { value: 'yellow-6', label: 'yellow-6' }, |
| | | { value: 'yellow-7', label: 'yellow-7' }, |
| | | { value: 'yellow-8', label: 'yellow-8' }, |
| | | { value: 'yellow-9', label: 'yellow-9' }, |
| | | { value: 'yellow-10', label: 'yellow-10' } |
| | | ] |
| | | }, |
| | |
| | | value: 'Lime', |
| | | label: '青柠', |
| | | children: [ |
| | | { value: 'lime-1', label: 'lime-1' }, |
| | | { value: 'lime-2', label: 'lime-2' }, |
| | | { value: 'lime-3', label: 'lime-3' }, |
| | | { value: 'lime-4', label: 'lime-4' }, |
| | | { value: 'lime-5', label: 'lime-5' }, |
| | | { value: 'lime-6', label: 'lime-6' }, |
| | | { value: 'lime-7', label: 'lime-7' }, |
| | | { value: 'lime-8', label: 'lime-8' }, |
| | | { value: 'lime-9', label: 'lime-9' }, |
| | | { value: 'lime-10', label: 'lime-10' } |
| | | ] |
| | | }, |
| | |
| | | value: 'PolarGreen', |
| | | label: '极光绿', |
| | | children: [ |
| | | { value: 'green-1', label: 'green-1' }, |
| | | { value: 'green-2', label: 'green-2' }, |
| | | { value: 'green-3', label: 'green-3' }, |
| | | { value: 'green-4', label: 'green-4' }, |
| | | { value: 'green-5', label: 'green-5' }, |
| | | { value: 'green-6', label: 'green-6' }, |
| | | { value: 'green-7', label: 'green-7' }, |
| | | { value: 'green-8', label: 'green-8' }, |
| | | { value: 'green-9', label: 'green-9' }, |
| | | { value: 'green-10', label: 'green-10' } |
| | | ] |
| | | }, |
| | |
| | | value: 'Cyan', |
| | | label: '明青', |
| | | children: [ |
| | | { value: 'cyan-1', label: 'cyan-1' }, |
| | | { value: 'cyan-2', label: 'cyan-2' }, |
| | | { value: 'cyan-3', label: 'cyan-3' }, |
| | | { value: 'cyan-4', label: 'cyan-4' }, |
| | | { value: 'cyan-5', label: 'cyan-5' }, |
| | | { value: 'cyan-6', label: 'cyan-6' }, |
| | | { value: 'cyan-7', label: 'cyan-7' }, |
| | | { value: 'cyan-8', label: 'cyan-8' }, |
| | | { value: 'cyan-9', label: 'cyan-9' }, |
| | | { value: 'cyan-10', label: 'cyan-10' } |
| | | ] |
| | | }, |
| | |
| | | value: 'DaybreakBlue', |
| | | label: '拂晓蓝', |
| | | children: [ |
| | | { value: 'blue-1', label: 'blue-1' }, |
| | | { value: 'blue-2', label: 'blue-2' }, |
| | | { value: 'blue-3', label: 'blue-3' }, |
| | | { value: 'blue-4', label: 'blue-4' }, |
| | | { value: 'blue-5', label: 'blue-5' }, |
| | | { value: 'blue-6', label: 'blue-6' }, |
| | | { value: 'blue-7', label: 'blue-7' }, |
| | | { value: 'blue-8', label: 'blue-8' }, |
| | | { value: 'blue-9', label: 'blue-9' }, |
| | | { value: 'blue-10', label: 'blue-10' } |
| | | ] |
| | | }, |
| | |
| | | value: 'GeekBlue', |
| | | label: '极客蓝', |
| | | children: [ |
| | | { value: 'geekblue-1', label: 'geekblue-1' }, |
| | | { value: 'geekblue-2', label: 'geekblue-2' }, |
| | | { value: 'geekblue-3', label: 'geekblue-3' }, |
| | | { value: 'geekblue-4', label: 'geekblue-4' }, |
| | | { value: 'geekblue-5', label: 'geekblue-5' }, |
| | | { value: 'geekblue-6', label: 'geekblue-6' }, |
| | | { value: 'geekblue-7', label: 'geekblue-7' }, |
| | | { value: 'geekblue-8', label: 'geekblue-8' }, |
| | | { value: 'geekblue-9', label: 'geekblue-9' }, |
| | | { value: 'geekblue-10', label: 'geekblue-10' } |
| | | ] |
| | | }, |
| | |
| | | value: 'GoldenPurple', |
| | | label: '酱紫', |
| | | children: [ |
| | | { value: 'purple-1', label: 'purple-1' }, |
| | | { value: 'purple-2', label: 'purple-2' }, |
| | | { value: 'purple-3', label: 'purple-3' }, |
| | | { value: 'purple-4', label: 'purple-4' }, |
| | | { value: 'purple-5', label: 'purple-5' }, |
| | | { value: 'purple-6', label: 'purple-6' }, |
| | | { value: 'purple-7', label: 'purple-7' }, |
| | | { value: 'purple-8', label: 'purple-8' }, |
| | | { value: 'purple-9', label: 'purple-9' }, |
| | | { value: 'purple-10', label: 'purple-10' } |
| | | ] |
| | | }, |
| | |
| | | value: 'Magenta', |
| | | label: '法式洋红', |
| | | children: [ |
| | | { value: 'magenta-1', label: 'magenta-1' }, |
| | | { value: 'magenta-2', label: 'magenta-2' }, |
| | | { value: 'magenta-3', label: 'magenta-3' }, |
| | | { value: 'magenta-4', label: 'magenta-4' }, |
| | | { value: 'magenta-5', label: 'magenta-5' }, |
| | | { value: 'magenta-6', label: 'magenta-6' }, |
| | | { value: 'magenta-7', label: 'magenta-7' }, |
| | | { value: 'magenta-8', label: 'magenta-8' }, |
| | | { value: 'magenta-9', label: 'magenta-9' }, |
| | | { value: 'magenta-10', label: 'magenta-10' } |
| | | ] |
| | | }, |
| | |
| | | value: 'Gray', |
| | | label: '中性色', |
| | | children: [ |
| | | { value: 'gray-1', label: 'gray-1' }, |
| | | { value: 'transparent', label: 'transparent' }, |
| | | { value: 'gray-2', label: 'gray-2' }, |
| | | { value: 'gray-3', label: 'gray-3' }, |
| | | { value: 'gray-4', label: 'gray-4' }, |
| | | { value: 'gray-5', label: 'gray-5' }, |
| | | { value: 'gray-6', label: 'gray-6' }, |
| | | { value: 'gray-7', label: 'gray-7' }, |
| | | { value: 'gray-8', label: 'gray-8' }, |
| | | { value: 'gray-9', label: 'gray-9' }, |
| | | { value: 'gray-10', label: 'gray-10' } |
| | | ] |
| | | } |
| | | ] |
| | | |
| | | export const queryTableSql = 'select TbName,Remark from (select TbName,Remark from sDataDictb where appkey= @appkey@ and Deleted=0 union select a.TbName,Remark from (select TbName,Remark from sDataDictb where appkey= \'\' and Deleted=0 ) a left join (select TbName from sDataDictb where appkey= @appkey@ and Deleted=0 ) b on a.TbName=b.TbName where b.TbName is null ) t' |
| | | export const minkeIconSystem = { |
| | | direction: [ |
| | | 'arrow-up', |
| | | 'arrow-down', |
| | | 'arrow-left', |
| | | 'arrow-right', |
| | | 'down', |
| | | 'up', |
| | | 'left', |
| | | 'right', |
| | | 'download', |
| | | 'upload', |
| | | 'step-backward', |
| | | 'step-forward', |
| | | 'double-right', |
| | | 'double-left', |
| | | 'rollback', |
| | | 'enter', |
| | | 'retweet', |
| | | 'swap', |
| | | 'play-circle', |
| | | 'login', |
| | | 'logout', |
| | | 'search', |
| | | 'fullscreen', |
| | | 'fullscreen-exit', |
| | | ], |
| | | hint: [ |
| | | 'plus', |
| | | 'plus-circle', |
| | | 'pause-circle', |
| | | 'minus', |
| | | 'minus-circle', |
| | | 'question', |
| | | 'question-circle', |
| | | 'info-circle', |
| | | 'exclamation-circle', |
| | | 'close', |
| | | 'close-circle', |
| | | 'check', |
| | | 'check-circle', |
| | | 'clock-circle', |
| | | 'warning', |
| | | 'stop' |
| | | ], |
| | | edit: [ |
| | | 'edit', |
| | | 'form', |
| | | 'copy', |
| | | 'scissor', |
| | | 'delete', |
| | | 'snippets', |
| | | 'highlight', |
| | | 'redo', |
| | | 'undo', |
| | | 'zoom-in', |
| | | 'zoom-out', |
| | | 'dash', |
| | | 'sort-ascending', |
| | | 'sort-descending' |
| | | ], |
| | | data: [ |
| | | 'area-chart', |
| | | 'pie-chart', |
| | | 'bar-chart', |
| | | 'dot-chart', |
| | | 'line-chart', |
| | | 'radar-chart', |
| | | 'fall', |
| | | 'rise', |
| | | 'stock', |
| | | ], |
| | | normal: [ |
| | | 'user', |
| | | 'account-book', |
| | | 'alert', |
| | | 'api', |
| | | 'appstore', |
| | | 'audio', |
| | | 'bank', |
| | | 'bell', |
| | | 'scan', |
| | | 'bug', |
| | | 'calendar', |
| | | 'camera', |
| | | 'cloud', |
| | | 'compass', |
| | | 'credit-card', |
| | | 'customer-service', |
| | | 'dashboard', |
| | | 'ellipsis', |
| | | 'more', |
| | | 'database', |
| | | 'dislike', |
| | | 'environment', |
| | | 'eye-invisible', |
| | | 'eye', |
| | | 'file', |
| | | 'filter', |
| | | 'fire', |
| | | 'flag', |
| | | 'folder-add', |
| | | 'folder', |
| | | 'folder-open', |
| | | 'heart', |
| | | 'home', |
| | | 'hourglass', |
| | | 'idcard', |
| | | 'like', |
| | | 'lock', |
| | | 'mail', |
| | | 'message', |
| | | 'mobile', |
| | | 'phone', |
| | | 'picture', |
| | | 'red-envelope', |
| | | 'setting', |
| | | 'tool', |
| | | 'smile', |
| | | 'star', |
| | | 'thunderbolt', |
| | | 'unlock', |
| | | 'barcode', |
| | | 'key', |
| | | 'man', |
| | | 'woman', |
| | | 'team', |
| | | 'poweroff', |
| | | 'shopping-cart', |
| | | 'link', |
| | | 'aim', |
| | | 'apartment', |
| | | 'appstore-add', |
| | | 'audio-mute', |
| | | 'audit', |
| | | 'bars', |
| | | 'block', |
| | | 'book', |
| | | 'bulb', |
| | | 'border', |
| | | 'number', |
| | | 'branches', |
| | | 'build', |
| | | 'calculator', |
| | | 'car', |
| | | 'carry-out', |
| | | 'ci', |
| | | 'clear', |
| | | 'cloud-download', |
| | | 'cloud-server', |
| | | 'cloud-sync', |
| | | 'cloud-upload', |
| | | 'cluster', |
| | | 'code', |
| | | 'coffee', |
| | | 'comment', |
| | | 'compress', |
| | | 'control', |
| | | 'copyright', |
| | | 'crown', |
| | | 'delete-column', |
| | | 'delete-row', |
| | | 'delivered-procedure', |
| | | 'deployment-unit', |
| | | 'desktop', |
| | | 'disconnect', |
| | | 'dollar', |
| | | 'euro', |
| | | 'expand', |
| | | 'export', |
| | | 'file-add', |
| | | 'file-done', |
| | | 'file-image', |
| | | 'file-pdf', |
| | | 'file-ppt', |
| | | 'file-text', |
| | | 'file-unknown', |
| | | 'file-word', |
| | | 'file-zip', |
| | | 'fork', |
| | | 'frown', |
| | | 'funnel-plot', |
| | | 'gateway', |
| | | 'gif', |
| | | 'gift', |
| | | 'global', |
| | | 'gold', |
| | | 'import', |
| | | 'laptop', |
| | | 'loading', |
| | | 'medicine-box', |
| | | 'meh', |
| | | 'menu', |
| | | 'paper-clip', |
| | | 'partition', |
| | | 'pay-circle', |
| | | 'printer', |
| | | 'pushpin', |
| | | 'qrcode', |
| | | 'reload', |
| | | 'rest', |
| | | 'robot', |
| | | 'rotate-left', |
| | | 'rotate-right', |
| | | 'safety-certificate', |
| | | 'save', |
| | | 'send', |
| | | 'shake', |
| | | 'share-alt', |
| | | 'shop', |
| | | 'shopping', |
| | | 'sound', |
| | | 'sync', |
| | | 'tag', |
| | | 'tags', |
| | | 'trademark', |
| | | 'trophy', |
| | | 'usb', |
| | | 'user-add', |
| | | 'user-delete', |
| | | 'user-switch', |
| | | 'video-camera', |
| | | 'wifi', |
| | | 'table', |
| | | 'apple', |
| | | 'dingding', |
| | | 'weibo', |
| | | 'wechat', |
| | | 'taobao', |
| | | 'qq', |
| | | 'alipay', |
| | | ] |
| | | } |
| | | |
| | | export const queryTableSql = 'select top 999999 TbName,Remark from (select TbName,Remark from sDataDictb where appkey= @appkey@ and Deleted=0 union select a.TbName,Remark from (select TbName,Remark from sDataDictb where appkey= \'\' and Deleted=0 ) a left join (select TbName from sDataDictb where appkey= @appkey@ and Deleted=0 ) b on a.TbName=b.TbName where b.TbName is null ) t order by TbName' |