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

页面修改

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