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.
47 lines
610 B
47 lines
610 B
10 months ago
|
<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>
|