Commit e70bbd70 authored by zhengke's avatar zhengke

修改

parent 44b1d80b
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
height: 40px; height: 40px;
} }
.MainPlan td { .planClass-table td {
vertical-align: top; vertical-align: top;
padding: 5px; padding: 5px;
width: 14%; width: 14%;
...@@ -126,7 +126,7 @@ ...@@ -126,7 +126,7 @@
</thead> </thead>
</table> </table>
<div class="planTabDiv" ref="planTabDiv"> <div class="planTabDiv" ref="planTabDiv">
<table class="ClassPlanTable" ref="PlanTable" style="border-collapse:collapse;margin-top:0;"> <table class="ClassPlanTable planClass-table" ref="PlanTable" style="border-collapse:collapse;margin-top:0;">
<tbody> <tbody>
<tr v-for="(item,index) in dataList.fridayList" :key="index"> <tr v-for="(item,index) in dataList.fridayList" :key="index">
<td> <td>
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
</thead> </thead>
</table> </table>
<div class="planTabDiv" ref="planTabDiv"> <div class="planTabDiv" ref="planTabDiv">
<table class="ClassPlanTable" ref="PlanTable" style="border-collapse:collapse;margin-top:0;"> <table class="ClassPlanTable planClass-table" ref="PlanTable" style="border-collapse:collapse;margin-top:0;">
<tbody> <tbody>
<tr v-for="(item,index) in tbodayData.fridayList" :key="index"> <tr v-for="(item,index) in tbodayData.fridayList" :key="index">
<td> <td>
...@@ -116,7 +116,7 @@ ...@@ -116,7 +116,7 @@
height: 40px; height: 40px;
} }
.MainPlan td { .planClass-table td {
vertical-align: top; vertical-align: top;
padding: 5px; padding: 5px;
width: 14%; width: 14%;
......
<template> <template>
<div class="page-body MainPlan"> <div class="page-body MainPlan">
<div class="col row wrap q-col-gutter-md"> <div class="col row wrap q-col-gutter-md">
<!-- <div class="col-2">
<el-select v-model="msg.TeacherId" style="width:100%;" placeholder="教师团队" size="small" @change="getTypeWay()">
<el-option v-for="item in TeacherList" :key="item.TeacherName" :label="item.TeacherName" :value="item.TId">
</el-option>
</el-select>
</div> -->
<div class="col-2"> <div class="col-2">
<el-select v-model="msg.ClassRoomId" style="width:100%;" placeholder="教室" size="small" @change="getTypeWay()"> <el-select v-model="msg.ClassRoomId" style="width:100%;" placeholder="教室" size="small" @change="getTypeWay()">
<el-option v-for="item in ClassRoomList" :key="item.RoomName" :label="item.RoomName" :value="item.RoomId"> <el-option v-for="item in ClassRoomList" :key="item.RoomName" :label="item.RoomName" :value="item.RoomId">
...@@ -34,7 +28,7 @@ ...@@ -34,7 +28,7 @@
</el-select> </el-select>
</div> </div>
<div class="col-2"> <div class="col-2">
<q-btn color="accent" size="sm" class="q-mr-md" @click="exchangeType" :label="typeName" /> <q-btn color="accent" size="sm" class="q-mr-md" style="margin-top:2px;" @click="exchangeType" :label="typeName" />
</div> </div>
</div> </div>
<classmateForm :dataList="dataList" v-if="commonType==1"></classmateForm> <classmateForm :dataList="dataList" v-if="commonType==1"></classmateForm>
...@@ -63,7 +57,6 @@ ...@@ -63,7 +57,6 @@
}, },
data() { data() {
return { return {
TeacherList: [], //教师团队
ClassRoomList: [], // ClassRoomList: [], //
StartTime: "", StartTime: "",
EndTime: '', EndTime: '',
...@@ -102,7 +95,6 @@ ...@@ -102,7 +95,6 @@
this.msg.TeacherId = userinfo.AccountId; this.msg.TeacherId = userinfo.AccountId;
this.tabMsg.TeacherId = userinfo.AccountId; this.tabMsg.TeacherId = userinfo.AccountId;
this.GetTeacherList();
this.getClassRoomList(); this.getClassRoomList();
}, },
mounted() { mounted() {
...@@ -119,19 +111,6 @@ ...@@ -119,19 +111,6 @@
}) })
}, },
//获取教师下拉
GetTeacherList() {
getTeacherDropDownList({}).then(res => {
if (res.Code == 1) {
this.TeacherList = res.Data;
var obj = {
TeacherName: '请选择',
TId: 0
}
this.TeacherList.unshift(obj);
}
})
},
//获取教室下拉 //获取教室下拉
getClassRoomList() { getClassRoomList() {
queryClassRoomList({}).then(res => { queryClassRoomList({}).then(res => {
......
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