You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

48 lines
696 B

12 months ago
<template>
<view class="">
<text :class="statusStyle(status)"
style="padding-top: 5rpx;padding-bottom: 5rpx;padding-left: 15rpx;padding-right: 15rpx;">{{statusDesc(status)}}</text>
</view>
</template>
<script>
import {
getContainerStatusInfo
} from '@/common/directory.js';
export default {
components: {
},
data() {
return {
};
},
props: {
dataContent: {
type: Object,
default: {},
},
status: {
type: String,
default: "",
},
},
methods: {
statusDesc(value) {
return getContainerStatusInfo(value).name
},
statusStyle(value) {
return getContainerStatusInfo(value).remark;
},
}
}
</script>
<style>
</style>