Commit 19e43348 authored by 罗超's avatar 罗超

Merge branch 'master' of http://gitlab.oytour.com/luochao/confucius into master

parents e6f124b0 5bb78f4c
...@@ -101,8 +101,6 @@ ...@@ -101,8 +101,6 @@
} }
.MainPlan .plan_Tdiv { .MainPlan .plan_Tdiv {
/* min-width:126px;
white-space: nowrap; */
text-overflow: ellipsis; text-overflow: ellipsis;
overflow: hidden; overflow: hidden;
word-break: break-all; word-break: break-all;
......
...@@ -47,14 +47,18 @@ ...@@ -47,14 +47,18 @@
</div> </div>
</div> </div>
</div> </div>
<q-table :pagination="msg" :loading="loading" no-data-label="暂无相关数据" flat <q-table :pagination="msg" :loading="loading" no-data-label="暂无相关数据" flat
class="sticky-column-table sticky-right-column-table" separator="none" :data="dataList" :columns="columns" class="sticky-column-table sticky-right-column-table" separator="none" :data="dataList" :columns="columns"
row-key="name"> row-key="name">
<template v-slot:top="props"> <template v-slot:top="props">
<div class="col-2 q-table__title">约课管理</div> <div class="col-2 q-table__title">我的约课</div>
<q-space /> <q-space />
</template> </template>
<template v-slot:body-cell-ClassTime="props">
<q-td :props="props">
{{props.row.ClassTime}}-{{props.row.EndTime}}
</q-td>
</template>
<template v-slot:body-cell-OrderId="props"> <template v-slot:body-cell-OrderId="props">
<q-td :props="props"> <q-td :props="props">
<template v-if="props.row.OrderId && props.row.OrderId>0"> <template v-if="props.row.OrderId && props.row.OrderId>0">
...@@ -147,7 +151,7 @@ ...@@ -147,7 +151,7 @@
import appodetailForm from '../../components/schedul/appodetail-form' import appodetailForm from '../../components/schedul/appodetail-form'
export default { export default {
meta: { meta: {
title: "约课管理" title: "我的约课"
}, },
components: { components: {
yuekeForm, yuekeForm,
...@@ -185,16 +189,10 @@ ...@@ -185,16 +189,10 @@
}, },
{ {
name: 'ClassTime', name: 'ClassTime',
label: '开始时间', label: '约课时间',
field: 'ClassTime', field: 'ClassTime',
align: 'left' align: 'left'
}, },
{
name: 'EndTime',
label: '结束时间',
field: 'EndTime',
align: 'left'
},
{ {
name: 'TeacherName', name: 'TeacherName',
label: '老师', label: '老师',
......
...@@ -51,10 +51,24 @@ ...@@ -51,10 +51,24 @@
</div> </div>
</q-td> </q-td>
</template> </template>
<template v-slot:body-cell-ClassTime="props">
<q-td :props="props">
{{props.row.ClassTime}}-{{props.row.EndTime}}
</q-td>
</template>
<template v-slot:body-cell-CreateByName="props">
<q-td :props="props">
{{props.row.CreateByName}}<br />
{{props.row.CreateTimeStr}}
</q-td>
</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;" :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>
<q-popup-proxy v-if="props.row.VisitorList&&props.row.VisitorList.length>0"> <q-popup-proxy v-if="props.row.VisitorList&&props.row.VisitorList.length>0">
<div style="min-width:360px;max-width:360px;"> <div style="min-width:360px;max-width:360px;">
<q-banner> <q-banner>
...@@ -131,31 +145,26 @@ ...@@ -131,31 +145,26 @@
}, },
{ {
name: 'ClassTime', name: 'ClassTime',
label: '开始时间', label: '试听时间',
align: 'left', align: 'left',
field: 'ClassTime', field: 'ClassTime',
}, },
{
name: 'EndTime',
label: '结束时间',
align: 'left',
field: 'EndTime',
},
{ {
name: 'RoomName', name: 'RoomName',
label: '教室', label: '教室',
align: 'left', align: 'left',
field: 'RoomName', field: 'RoomName',
}, },
{ // {
name: 'RoomNum', // name: 'RoomNum',
label: '人数', // label: '人数',
align: 'left', // align: 'left',
field: 'RoomNum', // field: 'RoomNum',
}, // },
{ {
name: 'JoinNum', name: 'JoinNum',
label: '报名人数', label: '试听人数',
align: 'left', align: 'left',
field: 'JoinNum', field: 'JoinNum',
}, },
...@@ -165,6 +174,12 @@ ...@@ -165,6 +174,12 @@
align: 'left', align: 'left',
field: 'ClassContent', field: 'ClassContent',
}, },
{
name: 'CreateByName',
label: '创建人',
align: 'left',
field: 'CreateByName',
},
{ {
name: 'TeacherId', name: 'TeacherId',
label: '操作', label: '操作',
......
...@@ -13,10 +13,10 @@ ...@@ -13,10 +13,10 @@
class="sticky-column-table sticky-right-column-table" separator="none" :data="dataList" :columns="columns" class="sticky-column-table sticky-right-column-table" separator="none" :data="dataList" :columns="columns"
row-key="name"> row-key="name">
<template v-slot:top="props"> <template v-slot:top="props">
<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" size="sm" class="q-mr-md" icon="add" label="添加访客" @click="editVisitor(null)" /> <q-btn color="accent" size="sm" class="q-mr-md" icon="add" label="添加客户" @click="editVisitor(null)" />
</div> </div>
</template> </template>
<template v-slot:body-cell-VisitorStatus="props"> <template v-slot:body-cell-VisitorStatus="props">
...@@ -69,7 +69,7 @@ ...@@ -69,7 +69,7 @@
import appointForm from '../../components/schedul/appoint-form' import appointForm from '../../components/schedul/appoint-form'
export default { export default {
meta: { meta: {
title: "访客登记" title: "客户资料信息"
}, },
components: { components: {
schedulFanke, schedulFanke,
......
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