| | |
| | | <template>
|
| | | <view>
|
| | | <workOrderInfo :orederMessage="{proUserList:[]}" />
|
| | | <workOrderInfo :orederMessage="info" />
|
| | | <view class="bg_cate">
|
| | | <view @click="clickIten(index)" :class="typeView == index ? 'bg_cate_item active' : 'bg_cate_item'"
|
| | | v-for="(item, index) in cate" :key="index">{{ item.name }}</view>
|
| | |
| | | </template>
|
| | |
|
| | | <script>
|
| | | import workOrderInfo from '@/components/workOrderInfo.vue'
|
| | | import workOrderInfo from '@/components/workOrderInfo.vue' |
| | | import { |
| | | queryById, |
| | | createMaterial, |
| | | createMaterialStandard |
| | | } from '@/util/api/WorkOrderAPI'
|
| | | export default {
|
| | | components: {
|
| | | workOrderInfo
|
| | |
| | | duration: 0,
|
| | | type: 0,
|
| | | index: 0
|
| | | },
|
| | | }, |
| | | info: {},
|
| | | TimeShow: false,
|
| | | badShow: false,
|
| | | typeView: 0,
|
| | |
| | | // return Number(from.qualified) * infoBox.value.salary;
|
| | | }
|
| | | }
|
| | | }, |
| | | onLoad(obj) { |
| | | this.workorderId = obj.id |
| | | queryById(this.workorderId) |
| | | .then(res => { |
| | | if (res.code === 200) { |
| | | this.info = res.data |
| | | this.deviceId = res.data.pgmodel.id |
| | | } |
| | | }) |
| | | },
|
| | | methods: {
|
| | | click() {
|