yudao-dev/src/views/group/Schedule/subStatus.vue
2025-10-19 00:38:48 +08:00

32 lines
521 B
Vue

<!--
* @Author: zwq
* @Date: 2025-10-13 16:40:08
* @LastEditors: zwq
* @LastEditTime: 2025-10-13 16:43:11
* @Description:
-->
<template>
<el-tag
v-if="injectData.status"
size="medium"
:type="['', '', 'success', 'warning'][injectData.status]">
{{ ['', '草稿', '已确认', '已作废'][injectData.status] }}
</el-tag>
</template>
<script>
export default {
props: {
injectData: {
type: Object,
default: () => ({}),
},
},
data() {
return {};
},
created() {},
methods: {},
};
</script>