<template>
  <span>
     <el-tag v-if="status == 0" type="primary" effect="dark" size="small" style="width:68px;padding-left: 12px;padding-right: 12px;">进行中</el-tag>
     <el-tag v-else-if="status == 1" type="success" effect="dark" size="small">任务完成</el-tag>
     <el-tag v-else type="danger" effect="dark" size="small">任务失败</el-tag>
  </span>
</template>

<script>
    export default {
        name: "TaskStatus",
        props: ["status"]
    }
</script>

<style scoped>

</style>
