Commit 29450d3c authored by 沈翠玲's avatar 沈翠玲

排班日历去除首页以及去除工作单元的全部查询

parent cabdab9a
<template>
<div class="app-container">
<el-tabs type="border-card">
<el-tab-pane label="首页">
<!-- <el-tab-pane label="首页">
<CalendarTypeView></CalendarTypeView>
</el-tab-pane>
</el-tab-pane> -->
<el-tab-pane label="工作单元">
<TeamView></TeamView>
</el-tab-pane>
......@@ -15,11 +15,12 @@
</template>
<script>
import CalendarTypeView from "./calendarType.vue"
// import CalendarTypeView from "./calendarType.vue"
import TeamView from "./team.vue"
import UserView from "./person.vue"
export default {
components:{CalendarTypeView,TeamView,UserView},
// components:{CalendarTypeView,TeamView,UserView},
components:{TeamView,UserView},
data(){
return {
......
<template>
<div class="app-container">
<el-container>
<el-aside width="200px">
<el-container class="el-container-cal">
<el-aside width="200px" class="el-aside-cal">
<el-radio-group v-model="selectedType" class="x-fillitem el-group-list" @change="onSelected">
<el-radio-button
v-for="(item, index) in teamList"
......@@ -59,7 +59,7 @@ export default {
data(){
return {
// 遮罩层
loading: true,
loading: false,
date: new Date(),
teamList: [], //所有的班组
holidayList:[],//假日
......@@ -85,7 +85,7 @@ export default {
}
},
created() {
this.getList();
// this.getList();
this.getTeams();
},
methods:{
......@@ -156,6 +156,9 @@ export default {
}
</script>
<style>
.el-aside-cal {
max-height: 700px;
}
.grid-content{
padding: 5px 0;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment