Commit f1209590 authored by zhengke's avatar zhengke

修改

parent 97c9e26c
......@@ -178,6 +178,12 @@
margin-right: 5px;
}
.lesson_Form .lessForm_Class{
border-bottom:1px dashed #EEE;
}
.lesson_Form .q-btn__wrapper{
padding: 4px 5px;
}
</style>
<template>
<div v-if="!isShowSign">
......@@ -252,20 +258,28 @@
row-key="name">
<template v-slot:body-cell-TimeList="props">
<q-td auto-width :props="props">
<div v-for="(item,index) in props.row.TimeList">
<div v-for="(item,index) in props.row.TimeList" class="lessForm_Class">
{{index+1}}节课 {{item.StartTime}}-{{item.EndTime}}
</div>
</q-td>
</template>
<template v-slot:body-cell-CheckNum="props">
<q-td>
<div v-for="(item,index) in props.row.TimeList">
<div v-for="(item,index) in props.row.TimeList" class="lessForm_Class">
<span style="color:green;">{{item.CheckNum}}</span>/<span style="color:red;">{{item.NoCheckNum}}</span>
</div>
</q-td>
</template>
<template v-slot:body-cell-signUser="props">
<q-td>
<div v-for="(item,index) in props.row.TimeList" class="lessForm_Class">
<q-btn flat size="xs" icon="edit" color="accent" style="font-weight:400" label="签到"
@click.stop="getClicked(props.row,item)"></q-btn>
</div>
</q-td>
</template>
<template v-slot:body-cell-optioned="props">
<q-td :props="props" style="width:15%;">
<q-td :props="props" style="width:10%;">
<q-btn flat size="xs" icon="edit" color="accent" style="font-weight:400" label="编辑"
@click="getInfo(props.row)">
<q-popup-proxy>
......@@ -320,16 +334,10 @@
</q-banner>
</q-popup-proxy>
</q-btn>
<q-btn flat size="xs" icon="edit" color="negative" style="font-weight:400" label="删除"
<q-btn flat size="xs" icon="delete" color="negative" style="font-weight:400" label="删除"
@click.stop="delInfo(props.row)"></q-btn>
</q-td>
</template>
<template v-slot:body-cell-signUser="props">
<div v-for="(item,index) in props.row.TimeList">
<q-btn flat size="xs" icon="iconfont icon-View" color="accent" style="font-weight:400" label="签到"
@click.stop="getClicked(props.row,item)"></q-btn>
</div>
</template>
<template v-slot:bottom>
</template>
</q-table>
......@@ -606,17 +614,17 @@
field: 'CheckNum',
align: 'left'
},
{
name: 'optioned',
label: '操作',
field: 'QuestionId',
align: 'center'
},
{
name: 'signUser',
label: '签到',
field: 'signUser',
align: 'center'
},
{
name: 'optioned',
label: '操作',
field: 'QuestionId',
align: 'center'
}
],
msg: {
......
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