// 查询字段对应：1-车牌号,2-姓名，3-工号，4-部门
export enum FIELDTYPE {
  VEHICLE_NUMBER = '1',
  NAME = '2',
  JOB_NUMBER = '3',
  DEPARTMENT_NAME = '4',
}

export const FIELD_CONTENT = {
  [FIELDTYPE.VEHICLE_NUMBER]: '车牌号',
  [FIELDTYPE.NAME]: '姓名',
  [FIELDTYPE.JOB_NUMBER]: '工号',
  [FIELDTYPE.DEPARTMENT_NAME]: '部门',
};

export const vehicleQueryOptions = [
  {
    label: FIELD_CONTENT[FIELDTYPE.VEHICLE_NUMBER],
    value: FIELDTYPE.VEHICLE_NUMBER,
  },
  {
    label: FIELD_CONTENT[FIELDTYPE.NAME],
    value: FIELDTYPE.NAME,
  },
  {
    label: FIELD_CONTENT[FIELDTYPE.JOB_NUMBER],
    value: FIELDTYPE.JOB_NUMBER,
  },
  {
    label: FIELD_CONTENT[FIELDTYPE.DEPARTMENT_NAME],
    value: FIELDTYPE.DEPARTMENT_NAME,
  },
];
