// 表单配置 - 从 JSON 文件转换而来 export default { "fields": [ { "__config__": { "changeTag": true, "customConfig": { "dbColumnLength": 255, "dbColumnType": "VARCHAR", "dbDefaultValue": "", "dbNullable": true, "exportConvert": true, "exportFormatter": "none", "exportLabel": "", "exportOrder": 0, "exportWidth": 20, "fieldKey": "field101", "isExport": true, "isListShow": true, "isMasked": false, "isSearchable": false, "listAlign": "left", "listFixed": "", "listFormatter": "none", "listFormatterParam": "", "listMinWidth": 100, "listOrder": 0, "listOverflow": "tooltip", "listSortable": false, "listWidth": 0, "maskCustomRule": "", "maskRule": "", "searchDefaultValue": "", "searchOrder": 0, "searchPlaceholder": "", "searchType": "LIKE", "searchWidth": 200 }, "document": "https://element.eleme.cn/#/zh-CN/component/input", "formId": 101, "label": "单行文本", "labelWidth": null, "layout": "colFormItem", "regList": [], "renderKey": "1011769148485798", "required": true, "showLabel": true, "span": 24, "tag": "el-input", "tagIcon": "input" }, "__slot__": { "append": "", "prepend": "" }, "__vModel__": "field101", "clearable": true, "disabled": false, "maxlength": null, "placeholder": "请输入单行文本", "prefix-icon": "", "readonly": false, "show-word-limit": false, "style": { "width": "100%" }, "suffix-icon": "" }, { "__config__": { "changeTag": true, "customConfig": { "dbColumnLength": 255, "dbColumnType": "VARCHAR", "dbDefaultValue": "", "dbNullable": true, "exportConvert": true, "exportFormatter": "none", "exportLabel": "", "exportOrder": 0, "exportWidth": 20, "fieldKey": "field103", "isExport": true, "isListShow": true, "isMasked": false, "isSearchable": false, "listAlign": "left", "listFixed": "", "listFormatter": "none", "listFormatterParam": "", "listMinWidth": 100, "listOrder": 0, "listOverflow": "tooltip", "listSortable": false, "listWidth": 0, "maskCustomRule": "", "maskRule": "", "searchDefaultValue": "", "searchOrder": 0, "searchPlaceholder": "", "searchType": "LIKE", "searchWidth": 200 }, "document": "https://element.eleme.cn/#/zh-CN/component/input", "formId": 103, "label": "密码", "labelWidth": null, "layout": "colFormItem", "regList": [], "renderKey": "1031769148487426", "required": true, "showLabel": true, "span": 24, "tag": "el-input", "tagIcon": "password" }, "__slot__": { "append": "", "prepend": "" }, "__vModel__": "field103", "clearable": true, "disabled": false, "maxlength": null, "placeholder": "请输入密码", "prefix-icon": "", "readonly": false, "show-password": true, "show-word-limit": false, "style": { "width": "100%" }, "suffix-icon": "" }, { "__config__": { "changeTag": true, "customConfig": { "dbColumnLength": null, "dbColumnType": "INT", "dbDefaultValue": "", "dbNullable": true, "exportConvert": true, "exportFormatter": "none", "exportLabel": "", "exportOrder": 0, "exportWidth": 20, "fieldKey": "field104", "isExport": true, "isListShow": true, "isMasked": false, "isSearchable": false, "listAlign": "left", "listFixed": "", "listFormatter": "none", "listFormatterParam": "", "listMinWidth": 100, "listOrder": 0, "listOverflow": "tooltip", "listSortable": false, "listWidth": 0, "maskCustomRule": "", "maskRule": "", "searchDefaultValue": "", "searchOrder": 0, "searchPlaceholder": "", "searchType": "LIKE", "searchWidth": 200 }, "document": "https://element.eleme.cn/#/zh-CN/component/input-number", "formId": 104, "label": "计数器", "labelWidth": null, "layout": "colFormItem", "regList": [], "renderKey": "1041769148488690", "required": true, "showLabel": true, "span": 24, "tag": "el-input-number", "tagIcon": "number" }, "__vModel__": "field104", "controls-position": "", "disabled": false, "placeholder": "计数器", "step": 1, "step-strictly": false }, { "__config__": { "changeTag": true, "customConfig": { "dbColumnLength": 255, "dbColumnType": "VARCHAR", "dbDefaultValue": "", "dbNullable": true, "exportConvert": true, "exportFormatter": "none", "exportLabel": "", "exportOrder": 0, "exportWidth": 20, "fieldKey": "field105", "isExport": true, "isListShow": true, "isMasked": false, "isSearchable": false, "listAlign": "left", "listFixed": "", "listFormatter": "none", "listFormatterParam": "", "listMinWidth": 100, "listOrder": 0, "listOverflow": "tooltip", "listSortable": false, "listWidth": 0, "maskCustomRule": "", "maskRule": "", "searchDefaultValue": "", "searchOrder": 0, "searchPlaceholder": "", "searchType": "LIKE", "searchWidth": 200 }, "document": "https://element.eleme.cn/#/zh-CN/component/select", "formId": 105, "label": "下拉选择", "labelWidth": null, "layout": "colFormItem", "regList": [], "renderKey": "1051769148490140", "required": true, "showLabel": true, "span": 24, "tag": "el-select", "tagIcon": "select" }, "__slot__": { "options": [ { "label": "选项一", "value": 1 }, { "label": "选项二", "value": 2 } ] }, "__vModel__": "field105", "clearable": true, "disabled": false, "filterable": false, "multiple": false, "placeholder": "请选择下拉选择", "style": { "width": "100%" } }, { "__config__": { "changeTag": true, "customConfig": { "dbColumnLength": 255, "dbColumnType": "VARCHAR", "dbDefaultValue": "", "dbNullable": true, "exportConvert": true, "exportFormatter": "none", "exportLabel": "", "exportOrder": 0, "exportWidth": 20, "fieldKey": "field102", "isExport": true, "isListShow": true, "isMasked": false, "isSearchable": false, "listAlign": "left", "listFixed": "", "listFormatter": "none", "listFormatterParam": "", "listMinWidth": 100, "listOrder": 0, "listOverflow": "tooltip", "listSortable": false, "listWidth": 0, "maskCustomRule": "", "maskRule": "", "searchDefaultValue": "", "searchOrder": 0, "searchPlaceholder": "", "searchType": "LIKE", "searchWidth": 200 }, "document": "https://element.eleme.cn/#/zh-CN/component/input", "formId": 102, "label": "多行文本", "labelWidth": null, "layout": "colFormItem", "regList": [], "renderKey": "1021769148486625", "required": true, "showLabel": true, "span": 24, "tag": "el-input", "tagIcon": "textarea" }, "__vModel__": "field102", "autosize": { "maxRows": 4, "minRows": 4 }, "disabled": false, "maxlength": null, "placeholder": "请输入多行文本", "readonly": false, "show-word-limit": false, "style": { "width": "100%" }, "type": "textarea" }, { "__config__": { "border": false, "changeTag": true, "customConfig": { "dbColumnLength": 255, "dbColumnType": "VARCHAR", "dbDefaultValue": "", "dbNullable": true, "exportConvert": true, "exportFormatter": "none", "exportLabel": "", "exportOrder": 0, "exportWidth": 20, "fieldKey": "field106", "isExport": true, "isListShow": true, "isMasked": false, "isSearchable": false, "listAlign": "left", "listFixed": "", "listFormatter": "none", "listFormatterParam": "", "listMinWidth": 100, "listOrder": 0, "listOverflow": "tooltip", "listSortable": false, "listWidth": 0, "maskCustomRule": "", "maskRule": "", "searchDefaultValue": "", "searchOrder": 0, "searchPlaceholder": "", "searchType": "LIKE", "searchWidth": 200 }, "document": "https://element.eleme.cn/#/zh-CN/component/radio", "formId": 106, "label": "单选框组", "labelWidth": null, "layout": "colFormItem", "optionType": "default", "regList": [], "renderKey": "1061769148491043", "required": true, "showLabel": true, "span": 24, "tag": "el-radio-group", "tagIcon": "radio" }, "__slot__": { "options": [ { "label": "选项一", "value": 1 }, { "label": "选项二", "value": 2 } ] }, "__vModel__": "field106", "disabled": false, "size": "medium", "style": {} }, { "__config__": { "border": false, "changeTag": true, "customConfig": { "dbColumnLength": 255, "dbColumnType": "VARCHAR", "dbDefaultValue": "", "dbNullable": true, "exportConvert": true, "exportFormatter": "none", "exportLabel": "", "exportOrder": 0, "exportWidth": 20, "fieldKey": "field107", "isExport": true, "isListShow": true, "isMasked": false, "isSearchable": false, "listAlign": "left", "listFixed": "", "listFormatter": "none", "listFormatterParam": "", "listMinWidth": 100, "listOrder": 0, "listOverflow": "tooltip", "listSortable": false, "listWidth": 0, "maskCustomRule": "", "maskRule": "", "searchDefaultValue": "", "searchOrder": 0, "searchPlaceholder": "", "searchType": "LIKE", "searchWidth": 200 }, "defaultValue": [], "document": "https://element.eleme.cn/#/zh-CN/component/checkbox", "formId": 107, "label": "多选框组", "labelWidth": null, "layout": "colFormItem", "optionType": "default", "regList": [], "renderKey": "1071769148492223", "required": true, "showLabel": true, "span": 24, "tag": "el-checkbox-group", "tagIcon": "checkbox" }, "__slot__": { "options": [ { "label": "选项一", "value": 1 }, { "label": "选项二", "value": 2 } ] }, "__vModel__": "field107", "disabled": false, "size": "medium", "style": {} }, { "__config__": { "changeTag": true, "customConfig": { "dbColumnLength": 255, "dbColumnType": "VARCHAR", "dbDefaultValue": "", "dbNullable": true, "exportConvert": true, "exportFormatter": "none", "exportLabel": "", "exportOrder": 0, "exportWidth": 20, "fieldKey": "field109", "isExport": true, "isListShow": true, "isMasked": false, "isSearchable": false, "listAlign": "left", "listFixed": "", "listFormatter": "none", "listFormatterParam": "", "listMinWidth": 100, "listOrder": 0, "listOverflow": "tooltip", "listSortable": false, "listWidth": 0, "maskCustomRule": "", "maskRule": "", "searchDefaultValue": "", "searchOrder": 0, "searchPlaceholder": "", "searchType": "LIKE", "searchWidth": 200 }, "defaultValue": null, "document": "https://element.eleme.cn/#/zh-CN/component/time-picker", "formId": 109, "label": "时间选择", "labelWidth": null, "layout": "colFormItem", "regList": [], "renderKey": "1091769148494476", "required": true, "showLabel": true, "span": 24, "tag": "el-time-picker", "tagIcon": "time" }, "__vModel__": "field109", "clearable": true, "disabled": false, "format": "HH:mm:ss", "picker-options": { "selectableRange": "00:00:00-23:59:59" }, "placeholder": "请选择时间选择", "style": { "width": "100%" }, "value-format": "HH:mm:ss" }, { "__config__": { "changeTag": true, "customConfig": { "dbColumnLength": null, "dbColumnType": "TINYINT", "dbDefaultValue": "", "dbNullable": true, "exportConvert": true, "exportFormatter": "none", "exportLabel": "", "exportOrder": 0, "exportWidth": 20, "fieldKey": "field108", "isExport": true, "isListShow": true, "isMasked": false, "isSearchable": false, "listAlign": "left", "listFixed": "", "listFormatter": "none", "listFormatterParam": "", "listMinWidth": 100, "listOrder": 0, "listOverflow": "tooltip", "listSortable": false, "listWidth": 0, "maskCustomRule": "", "maskRule": "", "searchDefaultValue": "", "searchOrder": 0, "searchPlaceholder": "", "searchType": "LIKE", "searchWidth": 200 }, "defaultValue": false, "document": "https://element.eleme.cn/#/zh-CN/component/switch", "formId": 108, "label": "开关", "labelWidth": null, "layout": "colFormItem", "regList": [], "renderKey": "1081769148493243", "required": true, "showLabel": true, "span": 24, "tag": "el-switch", "tagIcon": "switch" }, "__vModel__": "field108", "active-color": null, "active-text": "", "active-value": true, "disabled": false, "inactive-color": null, "inactive-text": "", "inactive-value": false, "style": {} }, { "__config__": { "changeTag": true, "customConfig": { "dbColumnLength": 255, "dbColumnType": "VARCHAR", "dbDefaultValue": "", "dbNullable": true, "exportConvert": true, "exportFormatter": "none", "exportLabel": "", "exportOrder": 0, "exportWidth": 20, "fieldKey": "field110", "isExport": true, "isListShow": true, "isMasked": false, "isSearchable": false, "listAlign": "left", "listFixed": "", "listFormatter": "none", "listFormatterParam": "", "listMinWidth": 100, "listOrder": 0, "listOverflow": "tooltip", "listSortable": false, "listWidth": 0, "maskCustomRule": "", "maskRule": "", "searchDefaultValue": "", "searchOrder": 0, "searchPlaceholder": "", "searchType": "LIKE", "searchWidth": 200 }, "defaultValue": null, "document": "https://element.eleme.cn/#/zh-CN/component/time-picker", "formId": 110, "label": "时间选择", "labelWidth": null, "layout": "colFormItem", "regList": [], "renderKey": "1101769148497460", "required": true, "showLabel": true, "span": 24, "tag": "el-time-picker", "tagIcon": "time" }, "__vModel__": "field110", "clearable": true, "disabled": false, "format": "HH:mm:ss", "picker-options": { "selectableRange": "00:00:00-23:59:59" }, "placeholder": "请选择时间选择", "style": { "width": "100%" }, "value-format": "HH:mm:ss" }, { "__config__": { "changeTag": true, "customConfig": { "dbColumnLength": 255, "dbColumnType": "VARCHAR", "dbDefaultValue": "", "dbNullable": true, "exportConvert": true, "exportFormatter": "none", "exportLabel": "", "exportOrder": 0, "exportWidth": 20, "fieldKey": "field111", "isExport": true, "isListShow": true, "isMasked": false, "isSearchable": false, "listAlign": "left", "listFixed": "", "listFormatter": "none", "listFormatterParam": "", "listMinWidth": 100, "listOrder": 0, "listOverflow": "tooltip", "listSortable": false, "listWidth": 0, "maskCustomRule": "", "maskRule": "", "searchDefaultValue": "", "searchOrder": 0, "searchPlaceholder": "", "searchType": "LIKE", "searchWidth": 200 }, "defaultValue": [ "14:08:25", "15:08:25" ], "document": "https://element.eleme.cn/#/zh-CN/component/time-picker", "formId": 111, "label": "时间范围", "labelWidth": null, "layout": "colFormItem", "regList": [], "renderKey": "1111769148499332", "required": true, "showLabel": true, "span": 24, "tag": "el-time-picker", "tagIcon": "time-range" }, "__vModel__": "field111", "clearable": true, "disabled": false, "end-placeholder": "结束时间", "format": "HH:mm:ss", "is-range": true, "range-separator": "至", "start-placeholder": "开始时间", "style": { "width": "100%" }, "value-format": "HH:mm:ss" }, { "__config__": { "changeTag": true, "customConfig": { "dbColumnLength": null, "dbColumnType": "DATE", "dbDefaultValue": "", "dbNullable": true, "exportConvert": true, "exportFormatter": "none", "exportLabel": "", "exportOrder": 0, "exportWidth": 20, "fieldKey": "field112", "isExport": true, "isListShow": true, "isMasked": false, "isSearchable": false, "listAlign": "left", "listFixed": "", "listFormatter": "none", "listFormatterParam": "", "listMinWidth": 100, "listOrder": 0, "listOverflow": "tooltip", "listSortable": false, "listWidth": 0, "maskCustomRule": "", "maskRule": "", "searchDefaultValue": "", "searchOrder": 0, "searchPlaceholder": "", "searchType": "LIKE", "searchWidth": 200 }, "defaultValue": null, "document": "https://element.eleme.cn/#/zh-CN/component/date-picker", "formId": 112, "label": "日期选择", "labelWidth": null, "layout": "colFormItem", "regList": [], "renderKey": "1121769148501493", "required": true, "showLabel": true, "span": 24, "tag": "el-date-picker", "tagIcon": "date" }, "__vModel__": "field112", "clearable": true, "disabled": false, "format": "yyyy-MM-dd", "placeholder": "请选择日期选择", "readonly": false, "style": { "width": "100%" }, "type": "date", "value-format": "yyyy-MM-dd" }, { "__config__": { "changeTag": true, "customConfig": { "dbColumnLength": null, "dbColumnType": "DATE", "dbDefaultValue": "", "dbNullable": true, "exportConvert": true, "exportFormatter": "none", "exportLabel": "", "exportOrder": 0, "exportWidth": 20, "fieldKey": "field113", "isExport": true, "isListShow": true, "isMasked": false, "isSearchable": false, "listAlign": "left", "listFixed": "", "listFormatter": "none", "listFormatterParam": "", "listMinWidth": 100, "listOrder": 0, "listOverflow": "tooltip", "listSortable": false, "listWidth": 0, "maskCustomRule": "", "maskRule": "", "searchDefaultValue": "", "searchOrder": 0, "searchPlaceholder": "", "searchType": "LIKE", "searchWidth": 200 }, "defaultValue": null, "document": "https://element.eleme.cn/#/zh-CN/component/date-picker", "formId": 113, "label": "日期范围", "labelWidth": null, "layout": "colFormItem", "regList": [], "renderKey": "1131769148503377", "required": true, "showLabel": true, "span": 24, "tag": "el-date-picker", "tagIcon": "date-range" }, "__vModel__": "field113", "clearable": true, "disabled": false, "end-placeholder": "结束日期", "format": "yyyy-MM-dd", "range-separator": "至", "readonly": false, "start-placeholder": "开始日期", "style": { "width": "100%" }, "type": "daterange", "value-format": "yyyy-MM-dd" }, { "__config__": { "changeTag": true, "customConfig": { "dbColumnLength": null, "dbColumnType": "INT", "dbDefaultValue": "", "dbNullable": true, "exportConvert": true, "exportFormatter": "none", "exportLabel": "", "exportOrder": 0, "exportWidth": 20, "fieldKey": "field114", "isExport": true, "isListShow": true, "isMasked": false, "isSearchable": false, "listAlign": "left", "listFixed": "", "listFormatter": "none", "listFormatterParam": "", "listMinWidth": 100, "listOrder": 0, "listOverflow": "tooltip", "listSortable": false, "listWidth": 0, "maskCustomRule": "", "maskRule": "", "searchDefaultValue": "", "searchOrder": 0, "searchPlaceholder": "", "searchType": "LIKE", "searchWidth": 200 }, "defaultValue": 0, "document": "https://element.eleme.cn/#/zh-CN/component/rate", "formId": 114, "label": "评分", "labelWidth": null, "layout": "colFormItem", "regList": [], "renderKey": "1141769148508876", "required": true, "showLabel": true, "span": 24, "tag": "el-rate", "tagIcon": "rate" }, "__vModel__": "field114", "allow-half": false, "disabled": false, "max": 5, "show-score": false, "show-text": false, "style": {} }, { "__config__": { "buttonText": "点击上传", "changeTag": true, "customConfig": { "dbColumnLength": null, "dbColumnType": "TEXT", "dbDefaultValue": "", "dbNullable": true, "exportConvert": true, "exportFormatter": "none", "exportLabel": "", "exportOrder": 0, "exportWidth": 20, "fieldKey": "field115", "isExport": true, "isListShow": true, "isMasked": false, "isSearchable": false, "listAlign": "left", "listFixed": "", "listFormatter": "none", "listFormatterParam": "", "listMinWidth": 100, "listOrder": 0, "listOverflow": "tooltip", "listSortable": false, "listWidth": 0, "maskCustomRule": "", "maskRule": "", "searchDefaultValue": "", "searchOrder": 0, "searchPlaceholder": "", "searchType": "LIKE", "searchWidth": 200 }, "defaultValue": null, "document": "https://element.eleme.cn/#/zh-CN/component/upload", "fileSize": 2, "formId": 115, "label": "上传", "labelWidth": null, "layout": "colFormItem", "regList": [], "renderKey": "1151769148510443", "required": true, "showLabel": true, "showTip": false, "sizeUnit": "MB", "span": 24, "tag": "el-upload", "tagIcon": "upload" }, "__slot__": { "list-type": true }, "__vModel__": "field115", "accept": "", "action": "https://jsonplaceholder.typicode.com/posts/", "auto-upload": true, "disabled": false, "list-type": "text", "multiple": false, "name": "file" } ], "formBtns": true, "formModel": "formData", "formRef": "elForm", "formRules": "rules", "gutter": 15, "labelPosition": "right", "labelWidth": 100, "size": "medium", "span": 24 }