interface FormItem { prop: string; label?: string; placeholder?: string; type: string; isCopy?: boolean; optionProps?: any; startPlaceholder?: string; endPlaceholder?: string; options?: any; isArray?: boolean; startDate?: string; //开始时间(传入后台需要的参数) endDate?: string; //结束时间(传入后台需要的参数) startProp?: string; endProp?: string; isInteger?: boolean; disabled?: boolean; fileList?: any; prompt?: any; } export const EDIT_FORM_DATA: FormItem[] = [ { prop: "name", placeholder: "以“.”分隔,可对同分组内配置再次分组,支持多维", type: "input", label: "配置标识: " }, { prop: "title", type: "input", placeholder: "请输入", label: "配置标题: " }, { prop: "sort", type: "inputNumber", placeholder: "请输入", label: "配置排序: " }, { prop: "type", placeholder: "请输入", type: "select", label: "配置类型: ", options: [] }, { prop: "group_id", placeholder: "请输入", type: "select", label: "配置分组: ", options: [] }, { prop: "value", placeholder: "请输入", type: "input", label: "配置值: " }, { prop: "extra", type: "textarea", label: "配置项: ", placeholder: "选项型配置时:选项值:选项名['联动配置项的“配置标识”', ......],联动配置项为可选" }, { prop: "remark", type: "textarea", label: "配置说明: " } ]; export const EDIT_RULE_FORM = { sort: 1 }; // editRuleForm: {}, //editFormData: [],