Commit 74e3d81e authored by zhengke's avatar zhengke

修改显示

parent 9e2c5c3c
...@@ -172,7 +172,9 @@ ...@@ -172,7 +172,9 @@
.lesson_Form .el-calendar__header { .lesson_Form .el-calendar__header {
display: none; display: none;
} }
.lesson_Form .on-left{
margin-right:5px;
}
</style> </style>
<template> <template>
<div v-if="!isShowSign"> <div v-if="!isShowSign">
...@@ -246,7 +248,7 @@ ...@@ -246,7 +248,7 @@
</div> </div>
<template v-if="checkedType===1"> <template v-if="checkedType===1">
<q-table style="margin:20px;" :pagination="msg" no-data-label="暂无相关数据" flat class="sticky-column-table" <q-table style="margin:20px;" :pagination="msg" no-data-label="暂无相关数据" flat class="sticky-column-table sticky-right-column-table"
separator="none" :data="calendarData" :columns="columns" row-key="name"> separator="none" :data="calendarData" :columns="columns" row-key="name">
<template v-slot:body-cell-TimeList="props"> <template v-slot:body-cell-TimeList="props">
<q-td auto-width :props="props"> <q-td auto-width :props="props">
...@@ -255,6 +257,11 @@ ...@@ -255,6 +257,11 @@
</div> </div>
</q-td> </q-td>
</template> </template>
<template v-slot:body-cell-CheckNum="props">
<q-td>
<span style="color:green;">{{props.row.CheckNum}}</span>/<span style="color:red;">{{props.row.NoCheckNum}}</span>
</q-td>
</template>
<template v-slot:body-cell-optioned="props"> <template v-slot:body-cell-optioned="props">
<q-td :props="props" style="width:15%;"> <q-td :props="props" style="width:15%;">
<q-btn flat size="xs" icon="edit" color="accent" style="font-weight:400" label="编辑" <q-btn flat size="xs" icon="edit" color="accent" style="font-weight:400" label="编辑"
...@@ -582,6 +589,12 @@ ...@@ -582,6 +589,12 @@
field: 'TimeList', field: 'TimeList',
align: 'left' align: 'left'
}, },
{
name: 'CheckNum',
label: '签到人数/缺勤人数',
field: 'CheckNum',
align: 'left'
},
{ {
name: 'optioned', name: 'optioned',
label: '操作', label: '操作',
...@@ -871,6 +884,7 @@ ...@@ -871,6 +884,7 @@
addClassCheck(signMsg).then(res => { addClassCheck(signMsg).then(res => {
if (res.Code == 1) { if (res.Code == 1) {
this.isShowSign = false; this.isShowSign = false;
this.getClassPlan();
} }
}) })
} }
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
</div> </div>
</div> </div>
<div class="page-content"> <div class="page-content">
<q-table :pagination='qMsg' :loading="loading" no-data-label="暂无相关数据" flat class="sticky-column-table" <q-table :pagination='qMsg' :loading="loading" no-data-label="暂无相关数据" flat class="sticky-right-column-table"
separator="none" :data="dataList" :columns="columns" row-key="name"> separator="none" :data="dataList" :columns="columns" row-key="name">
<template v-slot:top="props"> <template v-slot:top="props">
<div class="col-2 q-table__title">值班事项管理</div> <div class="col-2 q-table__title">值班事项管理</div>
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
<template v-slot:body="props"> <template v-slot:body="props">
<q-tr :props="props"> <q-tr :props="props">
<q-td key="ItemName" :props="props"> <q-td key="ItemName" :props="props">
{{props.row.ItemName}} <div style="width:500px;word-break:break-word;white-space:normal;">{{props.row.ItemName}}</div>
</q-td> </q-td>
<q-td key="ItemType" :props="props"> <q-td key="ItemType" :props="props">
{{props.row.ItemType==1?'选择':'手动填写'}} {{props.row.ItemType==1?'选择':'手动填写'}}
......
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