Commit f5be70e8 authored by zhengke's avatar zhengke

修改

parent bafb2897
...@@ -122,7 +122,12 @@ ...@@ -122,7 +122,12 @@
</template> </template>
<template v-slot:body-cell-TeacherName="props"> <template v-slot:body-cell-TeacherName="props">
<q-td auto-width :props="props"> <q-td auto-width :props="props">
<span style="color:#3FC4FF;">{{props.row.TeacherName}}</span> <template v-if="props.row.Teacher_Id==0">
<span style="color:red">未指定</span>
</template>
<template v-else>
<span style="color:#3FC4FF;">{{props.row.TeacherName}}</span>
</template>
</q-td> </q-td>
</template> </template>
<template v-slot:body-cell-ClassPersion="props"> <template v-slot:body-cell-ClassPersion="props">
......
...@@ -114,15 +114,20 @@ ...@@ -114,15 +114,20 @@
<div class="d2"> <div class="d2">
<div class="row" style="align-items: center ;margin:0;padding:0;"> <div class="row" style="align-items: center ;margin:0;padding:0;">
<span class="d2-n">带课老师</span> <span class="d2-n">带课老师</span>
<q-avatar rounded size="sm" v-if="item.TeacherHead&&item.TeacherHead!=''"> <template v-if="item.Teacher_Id==0">
<img :src="item.TeacherHead" /> <span style="color:red">未指定</span>
</q-avatar> </template>
<q-avatar v-else rounded size="sm" color="teal-10" text-color="white"> <template v-else>
<template v-if="item.TeacherName&&item.TeacherName!=''"> <q-avatar rounded size="sm" v-if="item.TeacherHead&&item.TeacherHead!=''">
{{item.TeacherName.substr(0,1)}} <img :src="item.TeacherHead" />
</template> </q-avatar>
</q-avatar> <q-avatar v-else rounded size="sm" color="teal-10" text-color="white">
&nbsp;{{item.TeacherName}} <template v-if="item.TeacherName&&item.TeacherName!=''">
{{item.TeacherName.substr(0,1)}}
</template>
</q-avatar>
&nbsp;{{item.TeacherName}}
</template>
</div> </div>
<div><span class="d2-n">上课教室</span>{{item.RoomName}}</div> <div><span class="d2-n">上课教室</span>{{item.RoomName}}</div>
<div><span class="d2-n">上课时间</span><span <div><span class="d2-n">上课时间</span><span
......
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