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;
}
export const EDIT_FORM_DATA: FormItem[] = [
    {
        prop: "username",
        placeholder: "请输入",
        type: "input",
        label: "用户名: "
    },
    {
        prop: "email",
        type: "input",
        placeholder: "请输入",
        label: "邮箱: "
    },

    {
        prop: "role_id",
        placeholder: "请输入",
        type: "select",
        label: "所属角色: ",
        options: []
    },
    {
        prop: "status",
        placeholder: "",
        type: "radio",
        label: "状态: ",
        options: [
            {
                label: "启用",
                value: 1
            },
            {
                label: "禁用",
                value: -1
            }
        ]
    },
    {
        prop: "password",
        placeholder: "请输入",
        type: "input",
        label: "用户密码: "
    },
    {
        prop: "repassword",
        type: "input",
        label: "确认密码: "
    }
];
export const EDIT_RULE_FORM = {};
