detail.vue 1.05 KB
<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>