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
633 B

12 months ago
<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>