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.
 
 
 
 

46 lines
610 B

<template>
<view >
<text :class="statusStyle(receiveStatus)">
{{ receiveStatusInfo.label}}
</text>
</view>
</template>
<script>
import {
getReceiveStateInfo,
getJobStateInfo
} from '@/common/directory.js';
export default {
components: {
},
data() {
return {
receiveStatusInfo: {}
};
},
watch: {},
props: {
receiveStatus: {
type: String,
default: ""
}
},
mounted() {},
methods: {
statusStyle(value) {
this.receiveStatusInfo = getReceiveStateInfo(value);
return getReceiveStateInfo(value).remark
}
}
}
</script>
<style>
</style>