<template>
  <el-tag :type="TicketStatus[value]&&TicketStatus[value].type">
    {{ TicketStatus[value]&&TicketStatus[value].label || value }}
  </el-tag>
</template>

<script>
import { TicketStatus } from '@/assets/staticData'
export default {
  data () {
    return {
      TicketStatus
    }
  },
  props: {
    value: {
      type: String,
      default: ''
    }
  }
}
</script>

<style lang="scss" scoped>

</style>
