Commit 592038e5 authored by 黄奎's avatar 黄奎

页面修改

parent 8f2d2ccb
...@@ -28,7 +28,10 @@ ...@@ -28,7 +28,10 @@
</div> </div>
</div> </div>
<div class="row justify-center items-center q-mt-sm"> <div class="row justify-center items-center q-mt-sm">
<font style="color:blue;">{{msg.StartDate}}~{{msg.EndDate}} 排课计划</font> <font style="background:#eb3b5a;">待确认</font>&nbsp;
<font style="background:yellow;">待上课</font>&nbsp;
<font style="background:#20bf6b;">已上课</font>&nbsp;
<font style="color:blue;">{{msg.StartDate}}~{{msg.EndDate}} 排课计划</font>&nbsp;
<q-btn dense text-color="primary" flat unelevated :label="viewType == 'day' ? '上一天' : '上一周'" <q-btn dense text-color="primary" flat unelevated :label="viewType == 'day' ? '上一天' : '上一周'"
@click="calendarPrev" /> @click="calendarPrev" />
<q-separator vertical /> <q-separator vertical />
...@@ -54,10 +57,12 @@ ...@@ -54,10 +57,12 @@
{{rootItem.ClassDate}}<br />({{rootItem.WeekStr}}) {{rootItem.ClassDate}}<br />({{rootItem.WeekStr}})
</th> </th>
<template v-for="(item, index) in rootItem.RList"> <template v-for="(item, index) in rootItem.RList">
<template v-if="item.Dept_Id==8">
<th :key="`r_teacher_`+rootIndex+index" style="width:100px;"> <th :key="`r_teacher_`+rootIndex+index" style="width:100px;">
{{item.TeacherName}} {{item.TeacherName}}
</th> </th>
</template> </template>
</template>
</tr> </tr>
</thead> </thead>
<tbody :key="`r_tb_`+rootIndex"> <tbody :key="`r_tb_`+rootIndex">
...@@ -69,6 +74,7 @@ ...@@ -69,6 +74,7 @@
{{timeItem.StartTime}}~{{timeItem.EndTime}} {{timeItem.StartTime}}~{{timeItem.EndTime}}
</td> </td>
<template v-for="(aItem, aIndex) in rootItem.RList"> <template v-for="(aItem, aIndex) in rootItem.RList">
<template v-if="aItem.Dept_Id==8">
<td :key="`r_a_`+rootIndex+aIndex" style="width:100px;cursor:pointer;" <td :key="`r_a_`+rootIndex+aIndex" style="width:100px;cursor:pointer;"
@click="showDetail(aItem,rootItem.ClassDate,aItem.TeacherId,timeItem)" @click="showDetail(aItem,rootItem.ClassDate,aItem.TeacherId,timeItem)"
:class="getAppointItemClass(aItem,timeItem)"> :class="getAppointItemClass(aItem,timeItem)">
...@@ -85,6 +91,7 @@ ...@@ -85,6 +91,7 @@
</template> </template>
</td> </td>
</template> </template>
</template>
</tr> </tr>
</template> </template>
</tbody> </tbody>
......
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