gaoshp
2024-04-28 f39fb3a2d0c2d66f1a8af4f6a253afc34c254e7d
src/views/console/base/shift-calendar.vue
@@ -1,11 +1,12 @@
<!--
 * @Date: 2024-04-04 21:51:24
 * @LastEditors: Sneed
 * @LastEditTime: 2024-04-09 20:19:15
 * @LastEditTime: 2024-04-28 23:45:46
 * @FilePath: /belleson-frontend/Users/mache/Documents/demo/cps-web/src/views/console/base/shift-calendar.vue
-->
<template>
    <el-main style="height: 100%;background-color: #fff;">
    <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>
@@ -14,6 +15,7 @@
                    <ShiftsystemVue></ShiftsystemVue>
                </el-tab-pane>
            </el-tabs>
        </el-card>
    </el-main>
</template>
<script>
@@ -26,22 +28,23 @@
        },
        data () {
            return {
                activeName: '1'
            activeName: '2'
            }
        }
    }
</script>
<style lang="scss" scoped>
.el-tabs--card {
  height: calc(100vh - 110px - 56px);
    // height: calc(100vh - 110px - 56px);
  /* overflow-y: auto; */
}
.el-tab-pane {
  height: calc(100vh - 110px - 56px);
  overflow-y: auto;
    // height: calc(100vh - 110px - 56px);
    // overflow-y: auto;
}
    // .custom-tabs {
    //     height: 500px;
    //     overflow: scroll;
    // }
</style>
// }</style>