Commit fbff6b94 authored by 黄奎's avatar 黄奎

页面修改

parent 02702ce1
<template> <template>
<div class="page-content"> <div class="page-content">
<q-table :pagination="pageMsg" :loading="loading" no-data-label="暂无相关数据" flat <q-table :pagination="pageMsg" :loading="loading" no-data-label="暂无相关数据" flat
class="sticky-column-table sticky-right-column-table" separator="none" :data="data" :columns="columns" :visible-columns="visibleColumns" class="sticky-column-table sticky-right-column-table" separator="none" :data="data" :columns="columns"
row-key="name"> :visible-columns="visibleColumns" row-key="name">
<template v-slot:top="props"> <template v-slot:top>
<div class="col-2 q-table__title">试听班级管理</div> <div class="col-2 q-table__title">试听班级管理</div>
<q-space /> <q-space />
<div class="page-option"> <div class="page-option">
<q-btn color="accent" v-if="authObj&&authObj.isShowEdit" size="sm" class="q-mr-md" icon="add" label="添加试听" @click="editVisitor(null)" /> <q-btn color="accent" v-if="authObj&&authObj.isShowEdit" size="sm" class="q-mr-md" icon="add" label="添加试听"
@click="editVisitor(null)" />
</div> </div>
</template> </template>
<template v-slot:body-cell-TeacherName="props"> <template v-slot:body-cell-TeacherName="props">
...@@ -157,6 +158,18 @@ ...@@ -157,6 +158,18 @@
align: 'left', align: 'left',
field: 'JoinNum', field: 'JoinNum',
}, },
{
name: 'OrderCount',
label: '转订单人数',
align: 'left',
field: 'OrderCount',
},
{
name: 'ConversionRates',
label: '转化率',
align: 'left',
field: 'ConversionRates',
},
{ {
name: 'ClassContent', name: 'ClassContent',
label: '试讲内容', label: '试讲内容',
...@@ -177,7 +190,8 @@ ...@@ -177,7 +190,8 @@
], ],
//表格可见列 //表格可见列
visibleColumns: [ visibleColumns: [
'TeacherName', 'ClassDateStr', 'ClassTime', 'RoomName', 'LessonName', 'JoinNum', 'ClassContent', 'CreateByName', 'TeacherId' 'TeacherName', 'ClassDateStr', 'ClassTime', 'RoomName', 'LessonName', 'JoinNum', 'ClassContent',
'CreateByName', 'OrderCount','ConversionRates','TeacherId'
], //可见列 ], //可见列
reserveObj: {}, reserveObj: {},
isShowReserve: false, isShowReserve: false,
...@@ -189,6 +203,7 @@ ...@@ -189,6 +203,7 @@
created() { created() {
if (this.authObj && !this.authObj.isShowEdit) { if (this.authObj && !this.authObj.isShowEdit) {
this.visibleColumns.splice(this.visibleColumns.length - 1, 1); this.visibleColumns.splice(this.visibleColumns.length - 1, 1);
this.visibleColumns.splice(this.visibleColumns.length - 1, 1);
} }
}, },
mounted() { mounted() {
...@@ -221,7 +236,7 @@ ...@@ -221,7 +236,7 @@
this.OpenNewUrl(path, queryObj) this.OpenNewUrl(path, queryObj)
}, },
//跳转收支明细 //跳转收支明细
goAuditPayment(obj){ goAuditPayment(obj) {
this.OpenNewUrl('../../sale/AudiopaymentDetail', { this.OpenNewUrl('../../sale/AudiopaymentDetail', {
Id: 0 Id: 0
}) })
...@@ -258,9 +273,7 @@ ...@@ -258,9 +273,7 @@
} }
} }
</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