Commit 942387a6 authored by 黄奎's avatar 黄奎

页面修改

parent 4d8b4c86
......@@ -6,23 +6,25 @@
.OCourseTable tr td {
height: 40px;
color:#000;
color: #000;
}
.OCourseTable tr th {
height: 40px;
background-color: rgb(238, 238, 239);
}
.resStyle{
color:red;
.resStyle {
color: red;
}
</style>
<template>
<div class="page-body">
<div class="page-content">
<q-table :pagination="pMsg" :loading="loading" no-data-label="暂无相关数据" selection="multiple" flat
:selected.sync="selected" class="sticky-column-table" separator="none"
:data="dataList" :columns="columns" row-key="ClassPlanId" hide-bottom>
:selected.sync="selected" class="sticky-column-table" separator="none" :data="dataList" :columns="columns"
row-key="ClassPlanId" hide-bottom>
<template v-slot:top="props">
<div class="col-2 q-table__title">上课计划冲突调整</div>
<q-space />
......@@ -59,7 +61,8 @@
<td>{{subItem.ClassDate}}</td>
<td :class="{'resStyle':props.row.TeacherId==subItem.TeacherId}">{{subItem.TeacherName}}</td>
<td>
<span :class="{'resStyle':props.row.ClassRoomId==subItem.ClassRoomId}">{{subItem.RoomName}}</span>
<span
:class="{'resStyle':props.row.ClassRoomId==subItem.ClassRoomId}">{{subItem.RoomName}}</span>
</td>
<td>
<template v-if="subItem.PlanTimeList&&subItem.PlanTimeList.length>0">
......@@ -97,7 +100,6 @@
field: "ClassDate",
align: "left"
},
{
name: "TeacherName",
label: "老师",
......@@ -130,6 +132,20 @@
},
msg: {
ClassId: 53
},
//提交参数
postMsg: {
ClassId: 0, //班级编号
MoveType: 1, //调动选项(1-固定日期,2-全局调整)
ChangeType: 2, //调动类型(1-老师,2-教室,3-时段)
PlanList: [], //固定日期调整
ClassRoomId: 0, //全局调整--教室编号
TeacherId: 0, //全局调整--教师编号
TimeList: [{
StartTime: "", //开始时间
EndTime: "", //结束时间
TimeHour: 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