| | |
| | | {value: '[7, -7]', text: '前后七天'}, |
| | | {value: '[30, -30]', text: '前后30天'}, |
| | | {value: '[90, -90]', text: '前后90天'}, |
| | | {value: '[180, -180]', label: '前后180天'}, |
| | | {value: '[365, -365]', label: '前后365天'}, |
| | | {value: '[-1, -1]', text: '明天'}, |
| | | {value: '[-2, -2]', text: '后天'}, |
| | | {value: 'week', text: '本周'}, |
| | |
| | | |
| | | // 匹配规则 |
| | | export const matchReg = { |
| | | text: [{ |
| | | class1: [{ |
| | | value: 'like', |
| | | text: 'like' |
| | | }, { |
| | |
| | | value: '<=', |
| | | text: '<=' |
| | | }], |
| | | multiselect: [{ |
| | | value: 'like', |
| | | text: 'like' |
| | | }, { |
| | | value: 'not like', |
| | | text: 'not like' |
| | | }], |
| | | select: [{ |
| | | value: 'like', |
| | | text: 'like' |
| | | }, { |
| | | value: 'not like', |
| | | text: 'not like' |
| | | }, { |
| | | class2: [{ |
| | | value: '=', |
| | | text: '=' |
| | | }, { |
| | |
| | | value: '<=', |
| | | text: '<=' |
| | | }], |
| | | date: [{ |
| | | class3: [{ |
| | | value: 'like', |
| | | text: 'like' |
| | | }, { |
| | | value: 'not like', |
| | | text: 'not like' |
| | | }], |
| | | class4: [{ |
| | | value: '>=', |
| | | text: '>=' |
| | | }, { |
| | |
| | | value: '=', |
| | | text: '=' |
| | | }], |
| | | datemonth: [{ |
| | | value: 'between', |
| | | text: 'between' |
| | | }], |
| | | daterange: [{ |
| | | class5: [{ |
| | | value: 'between', |
| | | text: 'between' |
| | | }] |
| | |
| | | }, { |
| | | value: 'border-purple', |
| | | 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 = [ |