export const papersType = {
  'ID_CARD': '身份证',
  'ERTONG': '儿童无证件',
  'SHIBING': '士兵证',
  'JUNGUAN': '军官证',
  'HUZHAO': '护照',
  'GANGAO': '港澳通行证',
  'TAIBAO': '台湾通行证',
  'TAIBAOZHENG': '台胞证',
  'HUKOUBO': '户口薄',
  'HUIXIANG': '回乡证',
  'CHUSHENGZHENGMING': '出生证明',
  'YONGJIUJULIU': '外国人永久居留身份证',
  'OTHER': '其他'
}

export const IDENTIFY_TYPES = {
  0: '身份证',
  1: '护照',
  2: '军官证',
  3: '台胞证',
  4: '港澳通行证',
  5: '大陆居民往来台湾通行证',
  6: '港澳居民来往内地通行证',
  7: '外国人永久居留身份证',
  8: '港澳台居民居住证',
  9: '其他'
}

export const orderStatusDic = [
  {
    value: 'WAIT_PAY',
    label: '待支付'
  },
  {
    value: 'WAIT_USE',
    label: '待使用'
  },
  {
    value: 'PART_USE',
    label: '部分使用'
  },
  {
    value: 'COMPLETE',
    label: '已完成'
  },
  {
    value: 'CANCELED',
    label: '已取消'
  },
  {
    value: 'PART_CANCEL',
    label: '部分取消'
  },
  {
    value: 'CLOSED',
    label: '已关闭'
  }
]

export const orderCategories = [
  {
    id: 'ticket',
    name: '景区门票'
  },
  {
    id: 'batch',
    name: '场次售票'
  },
  {
    id: 'member',
    name: '年卡次卡'
  }
]

export const ticketStatusDic = [
  {
    value: 'WAIT_USE',
    label: '待使用'
  },
  {
    value: 'USED',
    label: '已核销'
  },
  {
    value: 'REFUNDING',
    label: '退款中'
  },
  // {
  //   value: 'OUTOFDATE',
  //   label: '已过期'
  // },
  {
    value: 'CANCELED',
    label: '已取消'
  },
  {
    value: 'CLOSED',
    label: '已关闭'
  }
]

export const checkWayList = [
  { name: '一码一人', val: 1 },
  { name: '一码多人', val: 2 },
  { name: '预印票', val: 5 }
]

export const channelList = {
  1: {
    label: '线下',
    type: ''
  },
  2: {
    label: '线上',
    type: 'success'
  }
}

export const OrderStatus = {
  WAIT_PAY: {
    label: '待支付',
    type: ''
  },
  WAIT_USE: {
    label: '待使用',
    type: 'success'
  },
  PART_USE: {
    label: '部分使用',
    type: 'warning'
  },
  USED: {
    label: '已检票',
    type: ''
  },
  COMPLETE: {
    label: '已完成',
    type: ''
  },
  CANCELED: {
    label: '已取消',
    type: 'danger'
  },
  PART_CANCEL: {
    label: '部分取消',
    type: 'danger'
  },
  OUTOFDATE: {
    label: '已过期',
    type: 'info'
  },
  REFUNDING: {
    label: '退款中',
    type: 'info'
  },
  CLOSED: {
    label: '已关闭',
    type: 'info'
  },
  '': {
    label: '其它',
    type: 'info'
  }
}

export const TicketStatus = {
  WAIT_PAY: {
    label: '待支付',
    type: ''
  },
  WAIT_USE: {
    label: '待使用',
    type: 'success'
  },
  PART_USE: {
    label: '部分使用',
    type: 'warning'
  },
  USED: {
    label: '已核销',
    type: ''
  },
  COMPLETE: {
    label: '已完成',
    type: ''
  },
  CANCELED: {
    label: '已取消',
    type: 'danger'
  },
  PART_CANCEL: {
    label: '部分取消',
    type: 'danger'
  },
  OUTOFDATE: {
    label: '已过期',
    type: 'info'
  },
  REFUNDING: {
    label: '退款中',
    type: 'info'
  },
  CLOSED: {
    label: '已关闭',
    type: 'info'
  },
  '': {
    label: '其它',
    type: 'info'
  }
}

export const memberTradeTypeList = [
  { label: '全部', value: '' },
  { label: '办理', value: 1 },
  { label: '充值', value: 2 },
  { label: '退卡', value: 3 },
  { label: '补卡', value: 4 },
  { label: '入库', value: 5 },
  { label: '激活', value: 6 },
  { label: '出库', value: 7 },
  { label: '消费', value: 8 },
  { label: '升级', value: 9 }

]

export const strategyMap = [
  { label: '日常', value: 'basic' },
  { label: '周期性', value: 'week' },
  { label: '日期段', value: 'date' }
]

export const weekdayMap = ['星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六']
