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;
}
export const EDIT_FORM_DATA: FormItem[] = [
    {
        prop: "desc",
        placeholder: "请输入",
        type: "input",
        label: "产品介绍: "
    },

    {
        prop: "category_id1",
        placeholder: "请选择",
        type: "select",
        label: "分类名称: ",
        options: []
    },
    {
        prop: "link",
        placeholder: "请输入",
        type: "input",
        label: "链接: "
    },
    {
        prop: "sort",
        placeholder: "请输入",
        type: "inputNumber",
        label: "排序: "
    },
    {
        prop: "disabled",
        placeholder: "",
        type: "radio",
        label: "是否启用: ",
        options: [
            {
                label: "是",
                value: 0
            },
            {
                label: "否",
                value: 1
            }
        ]
    },
    {
        prop: "image",
        type: "upImg",
        label: "图片: "
    }
];
export const EDIT_RULE_FORM = {
    disabled: 0,
    sort: 1
};
// editRuleForm: {},
//editFormData: [],
