const info = [
  // 第一行
  {
    label: "省市区",
    name: "areaIds",
    value: [],
    type: "slot",
    slotName: "areaSelect",
    search: true,
  },
  {
    label: "分配学校",
    name: "assignSchoolId",
    value: "",
    type: "select",
    option: [],
    optionLabel: "name",
    optionValue: "id",
    search: true,
  },
  {
    label: "注册学校",
    name: "registerSchoolId",
    value: "",
    type: "select",
    option: [],
    optionLabel: "name",
    optionValue: "id",
    search: true,
  },
  {
    label: "培训学校",
    name: "campusId",
    value: "",
    type: "select",
    option: [],
    optionLabel: "name",
    optionValue: "id",
    search: true,
  },
  {
    label: "代理商",
    name: "agentId",
    value: "",
    type: "select",
    option: [],
    optionLabel: "name",
    optionValue: "id",
    search: true,
  },

  // 第二行
  {
    label: "账号",
    name: "cardNo",
    value: "",
    type: "text",
    search: true,
  },
  {
    label: "卡号段",
    name: "cardNoRange",
    value: "",
    type: "range",
    search: true,
    placeholder: "请选择卡号段",
    startPlaceholder: "开始卡号",
    endPlaceholder: "结束卡号",
    beginField: "begin",
    endField: "end",
  },
  {
    label: "卡类型",
    name: "type",
    value: "",
    type: "select",
    option: [],
    optionLabel: "label",
    optionValue: "value",
    search: true,
  },
  {
    label: "分配考生类别",
    name: "studentCategory",
    value: "",
    type: "select",
    option: [],
    optionLabel: "label",
    optionValue: "value",
    search: true,
  },

  // 第三行
  {
    label: "分配状态",
    name: "distributeStatus",
    value: "",
    type: "select",
    option: [],
    optionLabel: "label",
    optionValue: "value",
    search: true,
  },
  {
    label: "使用状态",
    name: "status",
    value: "",
    type: "select",
    option: [],
    optionLabel: "label",
    optionValue: "value",
    search: true,
  },
  {
    label: "过期状态",
    name: "timeStatus",
    value: "",
    type: "select",
    option: [],
    optionLabel: "label",
    optionValue: "value",
    search: true,
  },
  {
    label: "结算状态",
    name: "isSettlement",
    value: "",
    type: "select",
    option: [
      { label: "是", value: 1 },
      { label: "否", value: 0 },
    ],
    optionLabel: "label",
    optionValue: "value",
    search: true,
  },

  // 其他字段（不在搜索表单显示但保留的）
  {
    label: "卡号",
    name: "cardNo",
    value: "",
    type: "text",
    search: false,
  },
  {
    label: "密码",
    name: "password",
    value: "",
    type: "text",
    search: false,
  },
  {
    label: "末级代理商ID",
    name: "leftAgentId",
    value: "",
    type: "select",
    option: [],
    optionLabel: "name",
    optionValue: "id",
    search: false,
  },
  {
    label: "学校班级ID",
    name: "schoolId",
    value: "",
    type: "text",
    search: false,
  },
  {
    label: "班级ID",
    name: "classId",
    value: "",
    type: "text",
    search: false,
  },
  {
    label: "入学年份",
    name: "year",
    value: "",
    type: "text",
    search: false,
  },
  {
    label: "高考年份",
    name: "endYear",
    value: "",
    type: "text",
    search: false,
  },
  {
    label: "开卡ID",
    name: "openId",
    value: "",
    type: "text",
    search: false,
  },
  {
    label: "分配时间",
    name: "distributeTime",
    value: "",
    type: "date",
    dateType: "date",
    valueFormat: "YYYY-MM-DD",
    search: false,
  },
  {
    label: "过期时间",
    name: "outDate",
    value: "",
    type: "date",
    dateType: "date",
    valueFormat: "YYYY-MM-DD",
    search: false,
  },
  {
    label: "开卡时间",
    name: "openTime",
    value: "",
    type: "date",
    dateType: "date",
    valueFormat: "YYYY-MM-DD",
    search: false,
  },
  {
    label: "缴费时间",
    name: "payTime",
    value: "",
    type: "date",
    dateType: "date",
    valueFormat: "YYYY-MM-DD",
    search: false,
  },
  {
    label: "激活时间",
    name: "activeTime",
    value: "",
    type: "date",
    dateType: "date",
    valueFormat: "YYYY-MM-DD",
    search: false,
  },
  {
    label: "结算时间",
    name: "settlementTime",
    value: "",
    type: "date",
    dateType: "date",
    valueFormat: "YYYY-MM-DD",
    search: false,
  },
  {
    label: "退费时间",
    name: "refundTime",
    value: "",
    type: "date",
    dateType: "date",
    valueFormat: "YYYY-MM-DD",
    search: false,
  },
  {
    label: "关卡时间",
    name: "closeTime",
    value: "",
    type: "date",
    dateType: "date",
    valueFormat: "YYYY-MM-DD",
    search: false,
  },
  {
    label: "创建时间",
    name: "createTime",
    value: "",
    type: "date",
    dateType: "date",
    valueFormat: "YYYY-MM-DD",
    search: false,
  },
  {
    label: "更新时间",
    name: "updateTime",
    value: "",
    type: "date",
    dateType: "date",
    valueFormat: "YYYY-MM-DD",
    search: false,
  },
];

const formInfo = {
  info,
};

export default formInfo;
