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.
|
|
|
<template>
|
|
|
|
<view class="task_top">
|
|
|
|
<view class="uni-flex space-between u-col-center">
|
|
|
|
<job-number :number="dataContent.number"></job-number>
|
|
|
|
<job-status :jobStatus="dataContent.status"></job-status>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
import jobNumber from '@/mycomponents/job/jobNumber.vue'
|
|
|
|
import jobStatus from '@/mycomponents/job/jobStatus.vue'
|
|
|
|
export default {
|
|
|
|
components: {
|
|
|
|
jobNumber,
|
|
|
|
jobStatus
|
|
|
|
},
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
|
|
|
|
};
|
|
|
|
},
|
|
|
|
watch: {},
|
|
|
|
|
|
|
|
props: {
|
|
|
|
dataContent: {
|
|
|
|
type: Object,
|
|
|
|
default: {}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
methods: {
|
|
|
|
openDetail(item) {
|
|
|
|
this.$emit("openDetail", this.dataContent);
|
|
|
|
},
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="scss">
|
|
|
|
</style>
|