1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62
| export const FormJson = { id: 'form', rules: {}, labelWidth: '100px', size: 'mini', className: 'el-form-component', fieldList: [ { label: '名称:', value: 'name', type: 'el-select', clearable: true, list: 'nameList', }, { label: '来源:', value: 'source', type: 'el-select', clearable: true, list: 'formSelect1', }, { label: '主体:', value: 'subject', type: 'el-input', }, { label: '分类:', value: 'nature', type: 'el-select', clearable: true, list: 'formSelect2', }, { label: '日期:', value: 'date', type: 'el-date-picker', dataType: 'daterange', valueFormat: 'yyyy-MM-dd', startPlaceholder: '开始日期', endPlaceholder: '结束日期', rangeSeparator: '至', clearable: true, }, { label: '状态:', value: 'status', type: 'el-select', clearable: true, list: 'projectStatus', }, { label: '', value: 'btn', type: 'slot', colWidth: 18, className: 'text-right', }, ], };
|