detail.vue
1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<template>
<layout-body>
<Tabs type="card" :animated="false">
<Tab-pane label="工单信息">
<order-info :data-list="orderInfo"></order-info>
</Tab-pane>
<Tab-pane label="工单差异">
<order-diff></order-diff>
</Tab-pane>
</Tabs>
</layout-body>
</template>
<script>
import {detail as diffDetail} from './store';
import {DiffService} from 'services/repository';
import OrderInfo from './components/order-info';
import OrderDiff from './components/order-diff';
export default {
data() {
return diffDetail.apply(this);
},
created() {
this.DiffService = new DiffService();
this.DiffService.list().then(res => {
this.$Loading.finish();
this.dataList = res.records;
});
},
methods: {
clearFilter() {
},
filterSearch() {
},
pageChange() {
}
},
components: {
OrderInfo,
OrderDiff
}
};
</script>
<style lang="scss">
</style>