Commit 4ea6386e authored by 黄奎's avatar 黄奎

页面修改

parent df2a23fb
......@@ -3,7 +3,6 @@
background: transparent !important;
border: 0 !important;
}
</style>
<template>
<div class="page-body">
......@@ -52,7 +51,7 @@
<template>
{{props.row.TeacherName}}
</template>
</q-td>
</q-td>
</template>
<template v-slot:body-cell-ClassContent="props">
<q-td :props="props">
......@@ -74,7 +73,8 @@
</template>
<template v-slot:body-cell-JoinNum="props">
<q-td auto-width :props="props" style="width:25%">
<span style="color:red;cursor:pointer":class="{'underLine':(props.row.VisitorList&&props.row.VisitorList.length>0)}">
<span style="color:red;cursor:pointer"
:class="{'underLine':(props.row.VisitorList&&props.row.VisitorList.length>0)}">
{{props.row.JoinNum}}
<q-tooltip :offset="[10, 10]">
点击查看名单
......@@ -92,8 +92,7 @@
</template>
<template v-slot:body-cell-TeacherId="props">
<q-td :props="props">
<q-btn flat size="xs" color="accent" @click="goUrl(props.row)" style="font-weight:400"
label="学员名单" />
<q-btn flat size="xs" color="accent" @click="goUrl(props.row)" style="font-weight:400" label="学员名单" />
<q-btn flat size="xs" icon="edit" color="accent" @click="editVisitor(props.row)" style="font-weight:400"
label="修改" />
<q-btn flat size="xs" icon="delete" @click="deleteReserve(props.row)" color="negative" style="font-weight:400"
......@@ -161,30 +160,24 @@
align: 'left',
field: 'ClassTime',
},
{
name: 'RoomName',
label: '教室',
align: 'left',
field: 'RoomName',
},
// {
// name: 'RoomNum',
// label: '人数',
// align: 'left',
// field: 'RoomNum',
// },
{
name: 'JoinNum',
label: '试听人数',
name: 'LessonName',
label: '试听课程',
align: 'left',
field: 'JoinNum',
field: 'LessonName',
},
{
name: 'ClassContent',
label: '主讲内容',
name: 'JoinNum',
label: '试听人数',
align: 'left',
field: 'ClassContent',
field: 'JoinNum',
},
{
name: 'CreateByName',
......@@ -237,7 +230,7 @@
//获取教师下拉
GetTeacherList() {
getTeacherDropDownList({
IsQLeave:0
IsQLeave: 0
}).then(res => {
if (res.Code == 1) {
this.TeacherList = res.Data;
......@@ -298,21 +291,19 @@
refreshPage() {
this.getList();
},
goUrl(i) {
let path="/sale/reserveStudentList"
let queryObj={
classId:i.ReserveClassId ,
name:i.TeacherName,
date:i.ClassDateStr
goUrl(i) {
let path = "/sale/reserveStudentList"
let queryObj = {
classId: i.ReserveClassId,
name: i.TeacherName,
date: i.ClassDateStr
}
this.OpenNewUrl(path, queryObj)
}
}
}
</script>
<style lang="sass">
@import url('~assets/css/table.sass')
</style>
</style>
\ No newline at end of file
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