lyc-dev #80

Merged
lyc merged 10 commits from lyc-dev into main 2024-07-29 14:13:14 +08:00
3 changed files with 11 additions and 8 deletions
Showing only changes of commit e3016b5aff - Show all commits

View File

@ -1,5 +1,5 @@
<template> <template>
<el-card style="width: 100%"> <el-card style="width: 100%;height: 100%">
<template #header> <template #header>
<div style="text-align: left"> <div style="text-align: left">
<el-button v-if="classInfo.teacher.length > 0" type="danger" @click="deleteClassRoom">删除班级</el-button> <el-button v-if="classInfo.teacher.length > 0" type="danger" @click="deleteClassRoom">删除班级</el-button>

View File

@ -15,12 +15,15 @@
</el-aside> </el-aside>
<el-main :style="{'min-height': (viewportHeight - 160) + 'px'}"> <el-main :style="{'min-height': (viewportHeight - 160) + 'px'}">
<!-- <router-view :style="{'height': (viewportHeight - 120) + 'px','overflow-y': 'auto'}" :key="route.path"></router-view>--> <!-- <router-view :style="{'height': (viewportHeight - 120) + 'px','overflow-y': 'auto'}" :key="route.path"></router-view>-->
<!-- 班级概况--> <div :style="{'height': (viewportHeight - 120) + 'px','overflow-y': 'auto'}">
<ClassInfo v-if="currentIndex==0" :classId="classId"></ClassInfo> <!-- 班级概况-->
<!-- 学生列表--> <ClassInfo v-if="currentIndex==0" :classId="classId"></ClassInfo>
<StudentList v-else-if="currentIndex==1" :classId="classId"></StudentList> <!-- 学生列表-->
<!-- 分组情况--> <StudentList v-else-if="currentIndex==1" :classId="classId"></StudentList>
<BasicGroup v-else-if="currentIndex==2" :classId="classId"></BasicGroup> <!-- 分组情况-->
<BasicGroup v-else-if="currentIndex==2" :classId="classId"></BasicGroup>
</div>
</el-main> </el-main>
</el-container> </el-container>
</div> </div>

View File

@ -1,5 +1,5 @@
<template> <template>
<div> <div style="height: 100%">
<el-card style="width: 100%;height: 100%"> <el-card style="width: 100%;height: 100%">
<template #header> <template #header>
<div style="text-align: left;display: flex;justify-content: space-between"> <div style="text-align: left;display: flex;justify-content: space-between">