gaoshp
2024-11-19 f29900986f01cf5d39b5755cec674825cef27961
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
<!--
 * @Date: 2024-04-04 21:51:24
 * @LastEditors: Sneed
 * @LastEditTime: 2024-05-05 20:56:40
 * @FilePath: /belleson-frontend/Users/mache/Documents/demo/cps-web/src/views/console/base/shift-calendar.vue
-->
<template>
    <el-main>
        <el-card shadow="never">
            <el-tabs tab-position="top" class="custom-tabs" v-model="activeName">
                <el-tab-pane label="生产日历" name="1">
                    <CalenderTab></CalenderTab>
                </el-tab-pane>
                <el-tab-pane label="班制" name="2">
                    <ShiftsystemVue v-if="activeName == 2"></ShiftsystemVue>
                </el-tab-pane>
            </el-tabs>
        </el-card>
    </el-main>
</template>
<script>
import CalenderTab from './CalenderTab.vue';
import ShiftsystemVue from './Shiftsystem.vue';
export default {
    components: {
        CalenderTab,
        ShiftsystemVue
    },
    data() {
        return {
            activeName: '1'
        }
    }
}
</script>
<style lang="scss" scoped>
.el-tabs--card {
    // height: calc(100vh - 110px - 56px);
    /* overflow-y: auto; */
}
 
.el-tab-pane {
    // height: calc(100vh - 110px - 56px);
    // overflow-y: auto;
}
 
// .custom-tabs {
//     height: 500px;
//     overflow: scroll;
// }</style>