1
lzhe
2024-10-10 d1b6cd8e5270b15546c94587fe2648453d525eee
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
<template>
    <el-main>
        <el-card shadow="never">
            <el-tabs tab-position="top" class="custom-tabs" v-model="activeName">
                <el-tab-pane label="机器台账" name="1">
                    <Machine></Machine>
                </el-tab-pane>
                <el-tab-pane label="机器组" name="2">
                    <MachineGroup></MachineGroup>
                </el-tab-pane>
 
            </el-tabs>
        </el-card>
        <!-- <Dialog ref="dialog" @success="success" :option="{ types, status, group }"></Dialog> -->
    </el-main>
</template>
 
<script>
import pmsPng from '@/assets/pms.png'
// import Dialog from './Dialog.vue'
import MachineGroup from './MachineGroup.vue'
import Machine from './MachineTab.vue'
export default {
    name: 'system',
    components: {
        // Dialog,
        MachineGroup,
        Machine
    },
    data() {
        return {
            activeName: '1',
        }
    },
    watch: {
        activeName: {
            handler(val) {
                // this.queryList().then(() => {
                //     if (val == 1) {
                //         console.log('>>>>>>>>>>>>>>', this.treeCheckedNode)
                //         this.apiObj = this.$API.workstation.getList
                //         this.params = {
                //             groupId: this.treeCheckedNode.id,
                //             keyWord: '',
                //             status: 1,
                //             type: ''
                //         }
                //         this.groupClick1(this.treeCheckedNode)
                //     }
                // })
            },
            immediate: true
        },
    },
    created() {
        // this.init()
        // this.queryList()
    },
    methods: {
 
    }
}
</script>
 
<style lang="scss" scoped>
.show-info {
    list-style: none;
    font-size: 14px;
}
 
.preview-title {
    padding: 12px;
    margin-bottom: 14px;
    font-size: 16px;
}
 
.preview-content {
    font-size: 14px;
    display: flex;
    align-items: center;
 
    .img {
        width: 30%;
    }
 
    ul {
        list-style: none;
        display: flex;
        flex-wrap: wrap;
 
        li {
            width: 50%;
            flex: 1 0 auto;
            margin-bottom: 10px;
        }
    }
}
 
.workbench {
    list-style: none;
}
</style>