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,9 +57,11 @@ ...@@ -54,9 +57,11 @@
{{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">
<th :key="`r_teacher_`+rootIndex+index" style="width:100px;"> <template v-if="item.Dept_Id==8">
{{item.TeacherName}} <th :key="`r_teacher_`+rootIndex+index" style="width:100px;">
</th> {{item.TeacherName}}
</th>
</template>
</template> </template>
</tr> </tr>
</thead> </thead>
...@@ -69,21 +74,23 @@ ...@@ -69,21 +74,23 @@
{{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">
<td :key="`r_a_`+rootIndex+aIndex" style="width:100px;cursor:pointer;" <template v-if="aItem.Dept_Id==8">
@click="showDetail(aItem,rootItem.ClassDate,aItem.TeacherId,timeItem)" <td :key="`r_a_`+rootIndex+aIndex" style="width:100px;cursor:pointer;"
:class="getAppointItemClass(aItem,timeItem)"> @click="showDetail(aItem,rootItem.ClassDate,aItem.TeacherId,timeItem)"
<template v-if="getAppointItem(aItem,timeItem)&&getAppointItem(aItem,timeItem).CourseId"> :class="getAppointItemClass(aItem,timeItem)">
<font style="font-weight:bold;">{{getAppointItem(aItem,timeItem).ChapterName}}</font> <template v-if="getAppointItem(aItem,timeItem)&&getAppointItem(aItem,timeItem).CourseId">
<br /> <font style="font-weight:bold;">{{getAppointItem(aItem,timeItem).ChapterName}}</font>
<div style="display: flex;flex-wrap: wrap;"> <br />
<template v-for="(gItem,gIndex) in getAppointItem(aItem,timeItem).GuestList"> <div style="display: flex;flex-wrap: wrap;">
<div :key="`r_g_`+rootIndex+timeIndex+aIndex+gIndex" <template v-for="(gItem,gIndex) in getAppointItem(aItem,timeItem).GuestList">
style="flex-basis:30px;margin:3px; flex-grow: 0;flex-shrink: 0;"> <div :key="`r_g_`+rootIndex+timeIndex+aIndex+gIndex"
{{gItem.GuestName}}</div> style="flex-basis:30px;margin:3px; flex-grow: 0;flex-shrink: 0;">
</template> {{gItem.GuestName}}</div>
</div> </template>
</template> </div>
</td> </template>
</td>
</template>
</template> </template>
</tr> </tr>
</template> </template>
......
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