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;
}
export const EDIT_FORM_DATA: FormItem[] = [
    {
        prop: "attr_name",
        placeholder: "请输入",
        type: "input",
        label: "属性: ",
        disabled: false
    },
    {
        prop: "propsStr",
        placeholder: "请输入",
        type: "input",
        label: "属性值: ",
        disabled: true
    },
    {
        prop: "addAttribute",
        placeholder: "请输入",
        type: "input",
        label: "新增属性值: "
    }
];

export const ADD_FORM_DATA: FormItem[] = [
    {
        prop: "attr_name",
        placeholder: "请输入",
        type: "input",
        label: "属性: "
    },
    {
        prop: "propsStr",
        placeholder: "请输入",
        type: "input",
        label: "属性值: ",
        disabled: false
    }
];

export const EDIT_RULE_FORM = {
    attr_name: "", //属性
    propsStr: "", //属性值
    addAttribute: "" //新增
};
