Commit f5be70e8 authored by zhengke's avatar zhengke

修改

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