|
@@ -16,7 +16,7 @@
|
|
|
<el-form-item>
|
|
|
<div style="width:220px!important">
|
|
|
<a href="#"
|
|
|
- style="width:120px!important; text-align: right;"> 学生列表>></a>
|
|
|
+ class="studentTitle"> 学生列表>></a>
|
|
|
</div>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="主教老师"
|
|
@@ -120,19 +120,29 @@
|
|
|
<el-button type="primary"
|
|
|
@click="submitResetClass">确 定</el-button>
|
|
|
</div>
|
|
|
+ <el-dialog title="学员列表"
|
|
|
+ append-to-body
|
|
|
+ :visible.sync="studentListModalVisible"
|
|
|
+ destroy-on-close>
|
|
|
+ <viewStudentList :list="studentListModal"
|
|
|
+ @close="studentListModalVisible = false" />
|
|
|
+ </el-dialog>
|
|
|
</div>
|
|
|
</template>
|
|
|
<script>
|
|
|
import { diffTimerFormMinute, addTimerFormMinute } from '@/utils/date'
|
|
|
import { getTeacher, resetCourse, getCourseScheduleDetail } from "@/api/buildTeam";
|
|
|
+import viewStudentList from '../components/modals/view-student-list'
|
|
|
import { getTeachSchool } from "@/api/teacherManager";
|
|
|
import cleanDeep from 'clean-deep'
|
|
|
import dayjs from 'dayjs';
|
|
|
export default {
|
|
|
props: ["show", "id", "isDisabled"],
|
|
|
+ components: { viewStudentList },
|
|
|
data () {
|
|
|
return {
|
|
|
courseVisible: false,
|
|
|
+ studentListModalVisible: false,
|
|
|
maskForm: {
|
|
|
teacher: null,
|
|
|
assistant: null,
|
|
@@ -152,7 +162,8 @@ export default {
|
|
|
endTime: [{ required: true, message: '请选择上课结束时间', trigger: 'blur' },],
|
|
|
},
|
|
|
teacherList: [],
|
|
|
- schoolList: []
|
|
|
+ schoolList: [],
|
|
|
+ studentListModal: []
|
|
|
}
|
|
|
},
|
|
|
mounted () {
|
|
@@ -297,4 +308,10 @@ export default {
|
|
|
flex-direction: row;
|
|
|
justify-content: flex-end;
|
|
|
}
|
|
|
+.studentTitle {
|
|
|
+ width: 120px !important;
|
|
|
+ text-align: right;
|
|
|
+ display: inline-block;
|
|
|
+ color: #409eff;
|
|
|
+}
|
|
|
</style>
|