import { getYearList } from '@/views/demo/util'

export const yearOptions = getYearList();

export const proxyColumns = [
  {
    title: '项目名称',
    dataIndex: 'name',
  },
  {
    title: '项目编号',
    dataIndex: 'no',
  },
  {
    title: '招标类型',
    dataIndex: 'type',
  },
  {
    title: '招标金额（元）',
    dataIndex: 'money',
  },
  {
    title: '招标形式',
    dataIndex: 'form',
  },
  {
    title: '采购人',
    dataIndex: 'person',
  },
  {
    title: '报名截止',
    dataIndex: 'endtime',
  },
  {
    title: '开标时间',
    dataIndex: 'starttime',
  },
];
export const supplierColumns = [
  {
    title: '企业名称',
    dataIndex: 'name',
  },
  {
    title: '信用代码',
    dataIndex: 'no',
  },
  {
    title: '营业执照',
    dataIndex: 'businesslicense',
  },
  {
    title: '企业法人',
    dataIndex: 'legalPerson',
  },
  {
    title: '联系人',
    dataIndex: 'user',
  },
  {
    title: '联系方式',
    dataIndex: 'usernumber',
  },
  {
    title: '企业资质',
    dataIndex: 'certification',
  },
  {
    title: '操作',
    dataIndex: 'operate',
  },
];
export const proprietorColumns = [
  {
    title: '企业名称',
    dataIndex: 'name',
  },
  {
    title: '信用代码',
    dataIndex: 'no',
  },
  {
    title: '营业执照',
    dataIndex: 'businesslicense',
  },
  {
    title: '企业法人',
    dataIndex: 'legalPerson',
  },
  {
    title: '联系人',
    dataIndex: 'user',
  },
  {
    title: '联系方式',
    dataIndex: 'usernumber',
  },
  {
    title: '账号状态',
    dataIndex: 'status',
  },
  {
    title: '企业资质',
    dataIndex: 'certification',
  },
  {
    title: '操作',
    dataIndex: 'operate',
  },
];
export const data = [
  {
    key: '1',
    name: 'XXXX有限公司',
    no: '91110302****015136',
    businesslicense: '文件名.jpg/png/pdf…',
    legalPerson: '李XX',
    user: '李XX',
    usernumber: '1877999966',
    certification: '材料类/工程类/服务类',
    status: '正常',
  },
  {
    key: '2',
    name: 'XXXX有限公司',
    no: '91110302****015136',
    businesslicense: '文件名.jpg/png/pdf…',
    legalPerson: '李XX',
    user: '李XX',
    usernumber: '1877999966',
    certification: '材料类/工程类/服务类',
    status: '禁用',
  },
  {
    key: '3',
    name: 'XXXX有限公司',
    no: '91110302****015136',
    businesslicense: '文件名.jpg/png/pdf…',
    legalPerson: '李XX',
    user: '李XX',
    usernumber: '1877999966',
    certification: '材料类/工程类/服务类',
    status: '正常',
  },
  {
    key: '4',
    name: 'XXXX有限公司',
    no: '91110302****015136',
    businesslicense: '文件名.jpg/png/pdf…',
    legalPerson: '李XX',
    user: '李XX',
    usernumber: '1877999966',
    certification: '材料类/工程类/服务类',
    status: '禁用',
  },
  {
    key: '5',
    name: 'XXXX有限公司',
    no: '91110302****015136',
    businesslicense: '文件名.jpg/png/pdf…',
    legalPerson: '李XX',
    user: '李XX',
    usernumber: '1877999966',
    certification: '材料类/工程类/服务类',
    status: '正常',
  },
  {
    key: '6',
    name: 'XXXX有限公司',
    no: '91110302****015136',
    businesslicense: '文件名.jpg/png/pdf…',
    legalPerson: '李XX',
    user: '李XX',
    usernumber: '1877999966',
    certification: '材料类/工程类/服务类',
    status: '禁用',
  },
];