更新班组
This commit is contained in:
36
src/views/group/Schedule/propSpan.vue
Normal file
36
src/views/group/Schedule/propSpan.vue
Normal file
@@ -0,0 +1,36 @@
|
||||
<!--
|
||||
* @Author: zwq
|
||||
* @Date: 2025-10-13 16:18:41
|
||||
* @LastEditors: zwq
|
||||
* @LastEditTime: 2025-10-21 13:54:52
|
||||
* @Description:
|
||||
-->
|
||||
<template>
|
||||
<span>
|
||||
<el-tag
|
||||
v-if="injectData.work"
|
||||
size="small"
|
||||
:type="['', 'success', 'warning'][injectData.sort]">
|
||||
{{ injectData[injectData.prop] }}
|
||||
</el-tag>
|
||||
<el-tag v-else effect="dark" size="small" type="info">
|
||||
{{ injectData[injectData.prop] }}
|
||||
</el-tag>
|
||||
</span>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
props: {
|
||||
injectData: {
|
||||
type: Object,
|
||||
default: () => ({}),
|
||||
},
|
||||
},
|
||||
data() {
|
||||
return {};
|
||||
},
|
||||
created() {},
|
||||
methods: {},
|
||||
};
|
||||
</script>
|
||||
Reference in New Issue
Block a user