export enum TimeTabEnum {
  DAY = 'day',
  WEEK = 'week',
  MONTH = 'month',
  RANGE = 'range',
}

export enum TimeEnum {
  DAY = 'day',
  WEEK = 'week',
  MONTH = 'month',
  QUARTER = 'quarter',
}

export const timeTypeList = [
  {
    label: '今日',
    value: TimeTabEnum.DAY,
  },
  {
    label: '本周',
    value: TimeTabEnum.WEEK,
  },
  {
    label: '本月',
    value: TimeTabEnum.MONTH,
  },
];

export const ScoreTimeList = [
  {
    label: '日',
    value: TimeEnum.DAY,
  },
  {
    label: '周',
    value: TimeEnum.WEEK,
  },
  {
    label: '月',
    value: TimeEnum.MONTH,
  },
  {
    label: '季度',
    value: TimeEnum.QUARTER,
  },
];

export enum ViolationHandleStat {
  // UNTREAT = 'untreat',
  // TREATED = 'treated',
  // OVERTIME = 'overtime',
  // LONGTIME = 'longtime',
  UNTREAT = '1',
  TREATED = '2',
  OVERTIME = '3',
  LONGTIME = '4',
}

export const violationHandleCounts = [
  { label: '未处理', value: ViolationHandleStat.UNTREAT, color: '#FAAD14' },
  { label: '已处理', value: ViolationHandleStat.TREATED, color: '#52C41A' },
  {
    label: '超期未处理',
    value: ViolationHandleStat.OVERTIME,
    color: '#FF4D4F',
  },
  {
    label: '长期未处理',
    value: ViolationHandleStat.LONGTIME,
    color: '#FF4D4F',
  },
];
