import { RenderScope } from "@/components/ProTable/interface";
export const COLUMNS = [
    {
        align: "center",
        fixed: true,
        label: "提交时间",
        prop: "created_at"
    },
    {
        align: "center",
        label: "IP定位",
        prop: "ip"
    },
    {
        align: "left",
        label: "公司名称",
        prop: "corp_name"
    },
    {
        align: "left",
        label: "姓名",
        prop: "first_name",
        render: (scope: RenderScope<any>): VNode | string | any => {
            return scope.row.first_name + scope.row.last_name;
        }
    },
    {
        align: "left",
        label: "邮箱",
        prop: "email"
    },
    {
        align: "left",
        label: "手机号码",
        prop: "phone"
    },
    {
        align: "left",
        label: "想采购的产品",
        prop: "interested"
    },
    {
        align: "left",
        label: "询问内容",
        prop: "message"
    }
];
