// 查询字段对应：1-姓名，2-工号，3-部门，4-调阅位置
export enum FIELDTYPE {
  NAME = '1',
  JOB_NUMBER = '2',
  DEPARTMENT_NAME = '3',
  ACCESS_LOCATION = '4',
}

export const FIELD_CONTENT = {
  [FIELDTYPE.NAME]: '姓名',
  [FIELDTYPE.JOB_NUMBER]: '工号',
  [FIELDTYPE.DEPARTMENT_NAME]: '部门',
  [FIELDTYPE.ACCESS_LOCATION]: '调阅位置',
};

export const surveillanceQueryOptions = [
  {
    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,
  },
  {
    label: FIELD_CONTENT[FIELDTYPE.ACCESS_LOCATION],
    value: FIELDTYPE.ACCESS_LOCATION,
  },
];

// 是否拷贝选项
export const COPY_OPTIONS = [
  { label: '否', value: 0 },
  { label: '是', value: 1 },
];

// 调阅状态选项
export const ACCESS_STATUS_OPTIONS = [
  { label: '待调阅', value: 0 },
  { label: '已调阅', value: 1 },
];
