Commit 5f004039 authored by zhengke's avatar zhengke

修改

parent 0d35101e
...@@ -17,19 +17,19 @@ ...@@ -17,19 +17,19 @@
</div> </div>
<table v-if="dataList.DutyStatus==2" style="width:100%;margin:0 20px;font-size:18px;color:#000000;"> <table v-if="dataList.DutyStatus==2" style="width:100%;margin:0 20px;font-size:18px;color:#000000;">
<tr> <tr>
<td style="width:12%"> <td style="width:11%">
<span class="Sch_MainColor">本次值班信息</span> <span class="Sch_MainColor">本次值班信息</span>
</td> </td>
<td style="width:16%"> <td style="width:15%">
<span class="Scotop_little">校区</span>{{dataList.SchoolName}} <span class="Scotop_little">校区</span>{{dataList.SchoolName}}
</td> </td>
<td style="width:29%;"> <td style="width:32%;">
<span class="Scotop_little">时间</span> <span class="Scotop_little">时间</span>
<span v-if="dataList.PlanDate">{{dataList.PlanDate.replaceAll('-','.')}}</span> <span v-if="dataList.PlanDate">{{dataList.PlanDate.replaceAll('-','.')}}</span>
<span v-if="dataList.WeekDay"> {{dataList.WeekDay.replace('星期','周')}}</span> <span v-if="dataList.WeekDay"> {{dataList.WeekDay.replace('星期','周')}}</span>
{{dataList.StartTime}}-{{dataList.EndTime}} {{dataList.StartTime}}-{{dataList.EndTime}}
</td> </td>
<td style="width:25%;"> <td style="width:26%;">
<span class="Scotop_little">班次</span>{{dataList.ShiftName}} <span class="Scotop_little">班次</span>{{dataList.ShiftName}}
</td> </td>
<td> <td>
......
...@@ -47,6 +47,16 @@ ...@@ -47,6 +47,16 @@
</div> </div>
</q-td> </q-td>
</template> </template>
<template v-slot:body-cell-DutyStatusStr="props">
<q-td>
<div v-if="props.row.DutyStatus==0" style="color:blue">
{{props.row.DutyStatusStr}}</div>
<div v-if="props.row.DutyStatus==1" style="color:green">
{{props.row.DutyStatusStr}}</div>
<div v-if="props.row.DutyStatus==2" style="color:red">
{{props.row.DutyStatusStr}}</div>
</q-td>
</template>
<template v-slot:bottom> <template v-slot:bottom>
<q-pagination class="full-width justify-end" v-model="msg.pageIndex" color="primary" :max="pageCount" <q-pagination class="full-width justify-end" v-model="msg.pageIndex" color="primary" :max="pageCount"
:input="true" @input="changePage" /> :input="true" @input="changePage" />
......
...@@ -124,8 +124,6 @@ ...@@ -124,8 +124,6 @@
.sche_Topflex { .sche_Topflex {
display: flex; display: flex;
/* width: 90%; */
height: 80px;
align-items: center; align-items: center;
} }
......
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