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;
}
export const FORM_DATA: FormItem[] = [
    {
        prop: "name",
        placeholder: "请输入",
        type: "input",
        isArray: true,
        label: "导航名称: "
    },

    {
        prop: "nav_id",
        placeholder: "请选择",
        type: "select",
        isArray: true,
        label: "导航栏分类: ",
        options: [
            {
                value: "1",
                label: "Level one 1"
            },
            {
                value: "2",
                label: "Level one 2"
            }
        ]
    },
    {
        prop: "Time",
        type: "daterange",
        options: [],
        startPlaceholder: "开始日期",
        endPlaceholder: "结束日期",
        startDate: "created_at",
        // endDate: "createEndDate",
        label: "提交时间: "
    }
];

export const RULE_FORM = {
    page: 1,
    size: 50
};
