Commit 48320f1b authored by 黄奎's avatar 黄奎

新增页面判断

parent 3c3fc762
......@@ -58,7 +58,7 @@
{{rootItem.ClassDate}}<br />({{rootItem.WeekStr}})
</th>
<template v-for="(item, index) in rootItem.RList">
<template v-if="item.Dept_Id==8||item.TeacherId==0">
<template v-if="rootItem.ShowDeptIdList.indexOf(item.Dept_Id) !=-1 ||item.TeacherId==0">
<th :key="`r_teacher_`+rootIndex+index" style="width:100px;">
{{item.TeacherName}}
</th>
......@@ -78,7 +78,7 @@
({{timeItem.ClassHours}}课时)
</td>
<template v-for="(aItem, aIndex) in rootItem.RList">
<template v-if="aItem.Dept_Id==8||aItem.TeacherId==0">
<template v-if="rootItem.ShowDeptIdList.indexOf(aItem.Dept_Id) !=-1||aItem.TeacherId==0">
<td :key="`r_a_`+rootIndex+aIndex" style="width:100px;cursor:pointer;"
@click="showDetail(aItem,rootItem.ClassDate,aItem.TeacherId,timeItem)"
:class="getAppointItemClass(aItem,timeItem)">
......
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