<template>
	<view style="margin: 10rpx;">
		<text class="request_state_un-doing">
			{{ jobStatusInfo.name}}
		</text>
	</view>
</template>

<script>
	import {
		getRequestStateInfo
	} from '@/common/directory.js';

	export default {
		components: {

		},
		data() {
			return {
				jobStatusInfo: {}
			};
		},
		watch: {},

		props: {
			jobStatus: {
				type: String,
				default: "-1"
			}
		},

		mounted() {
			this.statusStyle(this.jobStatus)
		},

		methods: {
			statusStyle(value) {
				this.jobStatusInfo = getRequestStateInfo(value);
				return getRequestStateInfo(value).remark
			},
		}
	}
</script>


<style>
</style>
