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;
    defaultProps?: any;
}
export const EDIT_FORM_DATA: FormItem[] = [
    {
        prop: "title",
        placeholder: "请输入",
        type: "input",
        label: "菜单名称: "
    },
    {
        prop: "name",
        placeholder: "请输入",
        type: "input",
        label: "路由Name: "
    },
    {
        prop: "sort",
        placeholder: "请输入",
        type: "inputNumber",
        label: "菜单排序: "
    },
    {
        prop: "pid",
        placeholder: "默认值(默认等于一级菜单)",
        type: "treeSelect",
        label: "上级菜单: ",
        options: []
        // defaultProps: {
        //     children: "children",
        //     label: "title"
        // }
    },
    {
        prop: "keep_alive",
        placeholder: "",
        type: "radio",
        label: "KeepAlive: ",
        options: [
            {
                label: "否",
                value: 0
            },
            {
                label: "是",
                value: 1
            }
        ]
    },
    {
        prop: "component",
        placeholder: "请输入",
        type: "input",
        label: "组件路径: "
    },
    {
        prop: "path",
        placeholder: "请输入",
        type: "input",
        label: "访问路径: "
    },
    {
        prop: "hidden",
        placeholder: "",
        type: "radio",
        label: "是否显示: ",
        options: [
            {
                label: "否",
                value: 0
            },
            {
                label: "是",
                value: 1
            }
        ]
    },
    {
        prop: "status",
        placeholder: "",
        type: "radio",
        label: "是否启用: ",
        options: [
            {
                label: "否",
                value: -1
            },
            {
                label: "是",
                value: 1
            }
        ]
    },
    {
        prop: "icon",
        placeholder: "请输入",
        type: "inputButton",
        label: "菜单栏图标: "
    }
];
export const EDIT_RULE_FORM = {
    sort: 1
};
// editRuleForm: {},
//editFormData: [],
