export const tableSet = () => {
  return [
    {
      title: "基本信息",
      listLabel: [
        { label: "姓名", value: "staffName" },
        { label: "身份证号", value: "idCard" },
        { label: "手机号码", value: "telephone", type: "img" },
        { label: "邮箱", value: "email" },
        { label: "性别", value: "sex", type: "key", options: { 1: '男', 2: '女'} },
        { label: "出生日期", value: "birthday", type: 'time' },
        { label: "民族", value: "nation" },
        { label: "政治面貌", value: "politicsFace" },
        { label: "户口所在地", value: "hkLocation" },
      ],
    },
    {
      title: "工作信息",
      listLabel: [
        { label: "员工编号", value: "staffNumber" },
        { label: "所属企业", value: "companyName" },
        { label: "所在部门", value: "departmentName" },
        { label: "岗位名称", value: "position" },
        { label: "岗位状态", value: "positionStatus", type: 'key', options: { 1:'全职', 2:'离职', 3:'编外' } },
        { label: "招聘渠道", value: "recruitmentChannel", long: 'recommendFlag', longText: '内荐'  },
        { label: "参与工作时间", value: "workDate", type: 'time' },
        { label: "入职时间", value: "entryDate", type: 'time' },
        { label: "离职时间", value: "leaveDate", type: 'time' },
      ],
    },
    {
      title: "身份证",
      listLabel: [
        { label: "签发机关", value: "issuingOrganization" },
        { label: "开始期限", value: "startDate", type: 'time' },
        { label: "结束期限", value: "endDate", type: 'time', long: 'longFlag' },
        { label: "身份证正面", value: "frontCard", type: "img" },
        { label: "身份证反面", value: "oppositeCard", type: "img" },
      ],
    },
    {
      title: "教育背景",
      listLabel: [
        { label: "开始日期", value: "startDate", type: 'time' },
        { label: "结束日期", value: "endDate", type: 'time' },
        { label: "毕业学校", value: "graduationSchool" },
        { label: "专业", value: "major" },
        { label: "学习类型", value: "learningType", type: 'key', options: { 1:'全日制', 2:'非全日制' } },
        { 
          label: "学历/学位",
          value: "degree",
          type: 'key',
          options: { 1:'小学',2:'中学',3:'职高',4:'高中',5:'专科',6:'本科',7:'硕士研究生',8:'博士研究生' }
        },
        { label: "毕业证书", value: "graduationCertificate", type: "img" },
        { label: "学信网验证", value: "validate", type: "img" },
      ],
    },
    {
      title: "紧急联系人",
      listLabel: [
        { label: "关系", value: "relation" },
        { label: "姓名", value: "contactName" },
        { label: "联系电话", value: "contactTelephone" },
      ],
    },
    {
      title: "银行信息",
      listLabel: [
        { label: "开户名", value: "openName" },
        { label: "开户行", value: "openBank" },
        { label: "卡号", value: "bankNumber" },
      ],
    },
    {
      title: "合同档案",
      listLabel: [
        { label: "编号", value: "archivesNumber" },
        { label: "名称", value: "archivesName" },
        { label: "类型", value: "archivesType", type: 'key', options: { 1:'劳动合同', 2:'编外合同', 3:'其他合同' } },
        { label: "签署时间", value: "signingDate", type: 'time' },
        { label: "生效时间", value: "effectiveDate", type: 'time' },
        { label: "终止时间", value: "endDate", type: 'time'},
        { label: "电子档案", value: "electronicArchives", type: "download" },
      ],
    },
  ];
};
