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; prop1?: string; placeholder1?: string; } export const EDIT_FORM_DATA: FormItem[] = [ { prop: "name", placeholder: "请输入", type: "input", label: "导航名称: " }, { prop: "desc", placeholder: "请输入", type: "input", label: " 导航介绍: " }, { prop: "nav_id", placeholder: "请输入", type: "select", label: "导航栏分类: ", options: [] }, { prop: "pid", placeholder: "请输入", type: "treeSelect", label: "导航级别: ", options: [] }, { prop: "sort", placeholder: "请输入", type: "inputNumber", label: "导航排序: " }, { prop: "status", placeholder: "", type: "radio", label: "是否显示: ", options: [ { label: "启用", value: 1 }, { label: "禁用", value: -1 } ] }, { prop: "blank", placeholder: "", type: "radio", label: "是否新窗口打开: ", options: [ { label: "启用", value: 1 }, { label: "禁用", value: 0 } ] }, { prop: "link", placeholder: "请输入", type: "treeSelectInput", label: "链接地址: ", placeholder1: "请选择", prop1: "link_to", options: [] }, { prop: "image", type: "upImg", label: "图片: " } ]; export const EDIT_RULE_FORM = { sort: 1 }; // editRuleForm: {}, //editFormData: [],