Commit 266db9d0 authored by zhengke's avatar zhengke

修改

parent 65027114
<template> <template>
<q-dialog v-model="persistent" persistent content-class="bg-grey-1" transition-show="scale" <q-dialog v-model="persistent" persistent content-class="bg-grey-1" transition-show="scale"
transition-hide="scale" class="addactivetype"> transition-hide="scale" class="addactivetype">
<q-card style="width: 450px;max-width:450px;"> <q-card style="width: 500px;max-width:500px;">
<q-card-section> <q-card-section>
<div class="text-h6"> <div class="text-h6">
<span v-if="postMsg.ChangeType==1">批量修改老师</span> <span v-if="postMsg.ChangeType==1">批量修改老师</span>
......
<style> <style>
.OCourseTable { .OCourseTable {
width: 400px; width: 450px;
text-align: center; text-align: center;
} }
...@@ -71,12 +71,14 @@ ...@@ -71,12 +71,14 @@
<q-banner> <q-banner>
<table class="OCourseTable" style="border-collapse:collapse;"> <table class="OCourseTable" style="border-collapse:collapse;">
<tr> <tr>
<th>班级</th>
<th>日期</th> <th>日期</th>
<th>老师</th> <th>老师</th>
<th>教室</th> <th>教室</th>
<th>上课时段</th> <th>上课时段</th>
</tr> </tr>
<tr v-for="(subItem,subIndex) in props.row.PlanRepeatList" :key="subIndex"> <tr v-for="(subItem,subIndex) in props.row.PlanRepeatList" :key="subIndex">
<td>{{subItem.ClassName}}</td>
<td>{{subItem.ClassDate}}</td> <td>{{subItem.ClassDate}}</td>
<td :class="{'resStyle':props.row.TeacherId==subItem.TeacherId}">{{subItem.TeacherName}}</td> <td :class="{'resStyle':props.row.TeacherId==subItem.TeacherId}">{{subItem.TeacherName}}</td>
<td> <td>
...@@ -200,6 +202,11 @@ ...@@ -200,6 +202,11 @@
data() { data() {
return { return {
columns: [{ columns: [{
name: "ClassName",
label: "班级",
field: "ClassName",
align: "left"
},{
name: "ClassDate", name: "ClassDate",
label: "日期", label: "日期",
field: "ClassDate", field: "ClassDate",
...@@ -272,6 +279,10 @@ ...@@ -272,6 +279,10 @@
}; };
}, },
mounted() { mounted() {
if (this.$route.query && this.$route.query.ClassId) {
this.msg.ClassId = this.$route.query.ClassId;
this.selectObj.ClassId = this.$route.query.ClassId;
}
this.GetTeacherList(); this.GetTeacherList();
this.getClassRoomList(); this.getClassRoomList();
this.getList(); this.getList();
......
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