<template>
	<view class="">
		<text :class="statusStyle(type)" style="padding-top: 5rpx;padding-bottom: 5rpx;padding-left: 15rpx;padding-right: 15rpx;">{{statusDesc(type)}}</text>
	</view>
</template>

<script>
	import {
		getLocationTypeInfo
	} from '@/common/directory.js';
	export default {
		components: {

		},
		data() {
			return {


			};
		},
		props: {
			dataContent: {
				type: Object,
				default: {},
			},
			type: {
				type: String,
				default: "",
			},
		},

		methods: {
			statusDesc(code) {
				return getLocationTypeInfo(code).label
			},
			statusStyle(code) {
				
				return getLocationTypeInfo(code).remark;
				
			},
		}
	}
</script>

<style>
</style>
