Commit f1209590 authored by zhengke's avatar zhengke

修改

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