| | |
| | | key: 'field', |
| | | label: Formdict['header.form.field'], |
| | | initVal: card.field || '', |
| | | tooltip: '字段名可以使用逗号分隔,进行多字段综合搜索,注:综合搜索仅在文本类型时有效', |
| | | tooltipClass: 'middle', |
| | | required: true, |
| | | readonly: false |
| | |
| | | }, { |
| | | value: 'daterange', |
| | | text: Formdict['header.form.daterange'] |
| | | }, { |
| | | value: 'group', |
| | | text: '日期(组合)' |
| | | }] |
| | | }, |
| | | { |
| | | type: 'text', |
| | | key: 'datefield', |
| | | label: '时间字段', |
| | | initVal: card.datefield || '', |
| | | required: true, |
| | | readonly: false |
| | | }, |
| | | { |
| | | type: 'text', |
| | |
| | | initVal: card.options || [], |
| | | required: true, |
| | | readonly: false |
| | | }, |
| | | { |
| | | type: 'checkbox', |
| | | key: 'items', |
| | | label: '选项', |
| | | initVal: card.items || ['day', 'week', 'month', 'quarter', 'year', 'customized'], |
| | | required: true, |
| | | readonly: false, |
| | | options: [{ |
| | | value: 'day', |
| | | label: '日' |
| | | }, { |
| | | value: 'week', |
| | | label: '周' |
| | | }, { |
| | | value: 'month', |
| | | label: '月' |
| | | }, { |
| | | value: 'quarter', |
| | | label: '季' |
| | | }, { |
| | | value: 'year', |
| | | label: '年' |
| | | }, { |
| | | value: 'customized', |
| | | label: '自' |
| | | }] |
| | | }, |
| | | { |
| | | type: 'text', |
| | |
| | | initVal: card.blacklist || [], |
| | | required: false, |
| | | options: roleList || [] |
| | | }, |
| | | { |
| | | type: 'radio', |
| | | key: 'transfer', |
| | | label: '传递', |
| | | initVal: card.transfer || 'false', |
| | | tooltip: '数据查询时,类型字段是否作为参数传递。', |
| | | options: [{ |
| | | value: 'true', |
| | | text: Formdict['header.form.true'] |
| | | }, { |
| | | value: 'false', |
| | | text: Formdict['header.form.false'] |
| | | }] |
| | | } |
| | | ] |
| | | } |