gaoshp
2024-04-07 f95cb3403f98d2202343832f37b514ba48f755e2
src/views/console/base/CalenderTab.vue
@@ -1,7 +1,7 @@
<!--
 * @Date: 2024-04-04 22:45:43
 * @LastEditors: Sneed
 * @LastEditTime: 2024-04-05 00:10:43
 * @LastEditTime: 2024-04-07 20:31:00
 * @FilePath: /belleson-frontend/Users/mache/Documents/demo/cps-web/src/views/console/base/CalenderTab.vue
-->
<template>
@@ -15,15 +15,34 @@
                        <p>应用年份: {{item.year}}</p>
                    </el-card>
                </div>
            </el-aside>
            <el-container>
                <el-header>
                    <el-button type="primary">关联工位</el-button>
                    <el-button type="primary">编辑日历</el-button>
                    <el-button type="primary">删除</el-button>
                </el-header>
                <el-main>
                    <Calendar :rows="12" disable-page-swipe :nav-visibility="''" :attributes='attributes'/>
                </el-main>
            </el-container>
        </el-container>
</template>
<script>
import { Calendar, DatePicker } from 'v-calendar';
import 'v-calendar/style.css';
export default {
    components: {
        Calendar,
        DatePicker
    },
    data() {
        return {
            attributes: [
            ],
            current: 0,
            total: 1,
            caleList: []
@@ -56,8 +75,12 @@
}
</script>
<style lang="scss" scoped>
<style lang="scss">
.card {
    cursor: pointer;
    margin: 12px 12px 12px 0;
}
.vc-arrow {
    display: none!important;;
}
</style>