export const MandateClass = [
  {
    value: 1,
    label: '生产调度类',
    MandateType: 1,
    OrderType: 1,
  },
  {
    value: 2,
    label: '成本节约类',
    MandateType: 1,
    OrderType: 1,
  },
  {
    value: 3,
    label: '设备自检',
    MandateType: 2,
    OrderType: 2,
  },
  {
    value: 4,
    label: '工艺自检',
    MandateType: 2,
    OrderType: 1,
  },
  {
    value: 5,
    label: '电气检测',
    MandateType: 2,
    OrderType: 2,
  },
  {
    value: 6,
    label: '环境检测',
    MandateType: 2,
    OrderType: 2,
  },
  {
    value: 7,
    label: '安防检测',
    MandateType: 2,
    OrderType: 2,
  },
  {
    value: 8,
    label: '密闭空间检测',
    MandateType: 2,
    OrderType: 2,
  },
  {
    value: 9,
    label: '设备保养',
    MandateType: 3,
    OrderType: 3,
  },
  {
    value: 10,
    label: '设备维修',
    MandateType: 3,
    OrderType: 2,
  },
  {
    value: 11,
    label: '故障上报',
    MandateType: 3,
    OrderType: 2,
  },
  {
    value: 12,
    label: '工艺数据',
    MandateType: 3,
    OrderType: 2,
  },
  {
    value: 13,
    label: '设备巡检',
    MandateType: 3,
    OrderType: 2,
  },
  {
    value: 14,
    label: '数据超限',
    MandateType: 3,
    OrderType: 2,
  },
  {
    label: '现场巡检',
    MandateType: 3,
    value: 15,
  },
  {
    label: '备品/盘点',
    MandateType: 3,
    value: 16,
  },
  {
    label: '集团任务',
    MandateType: 4,
    value: 17,
  },
];

export const MandateType = [
  {
    value: 1,
    label: '工况任务',
  },
  {
    value: 2,
    label: '系统自检任务',
  },
  {
    value: 3,
    label: '生产任务',
  },
  {
    value: 4,
    label: '集团任务',
  },
];

export const MandateStatus = [
  {
    value: 0,
    label: '未处理',
  },
  {
    value: 2,
    label: '已完成',
  },
  {
    value: 4,
    label: '已忽略',
  },
  {
    value: 5,
    label: '已派遣',
  },
];

export const OrderType = [
  {
    value: 1,
    label: '工艺工单',
  },
  {
    value: 2,
    label: '维修工单',
  },
  {
    value: 3,
    label: '保养工单',
  },
  {
    label: '巡检工单',
    value: 4,
  },
  {
    label: '加药工单',
    value: 5,
  },
  {
    label: '备品备件',
    value: 6,
  },
  {
    label: '盘点工单',
    value: 7,
  },
];

export const OrderStatus = [
  {
    value: 0,
    label: '处理中',
  },
  {
    value: 1,
    label: '已提交',
  },
  {
    value: 2,
    label: '已完成',
  },
  {
    value: 3,
    label: '已拒绝',
  },
];

export const RepairOrderStatus = [
  {
    value: 0,
    label: '维修中',
  },
  {
    value: 1,
    label: '已提交',
  },
  {
    value: 2,
    label: '已维修',
  },
];

export const MaintainOrderStatus = [
  {
    value: 1,
    label: '已提交',
  },
  {
    value: 2,
    label: '已保养',
  },
];

export const CraftOrderStatus = [
  {
    value: 0,
    label: '进行中',
  },
  {
    value: 1,
    label: '已提交',
  },
  {
    value: 2,
    label: '已通过',
  },
];

export const ignoreReason = [
  {
    label: '误报',
    value: 0,
  },
  {
    label: '不影响正常生产',
    value: 1,
  },
  {
    label: '已解决，无需处理',
    value: 2,
  },
  {
    label: '已派单',
    value: 3,
  },
  {
    label: '其他',
    value: 4,
  },
];
