parent
0ba4d3fe26
commit
ac798f3f94
@ -0,0 +1,57 @@ |
||||
<!-- 接待人员详情页 --> |
||||
<template> |
||||
<div class="app-container"> |
||||
<el-form v-show="showSearch" ref="queryForm" :model="queryParams" size="small" :inline="true" label-width="68px"> |
||||
<el-form-item> |
||||
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button> |
||||
</el-form-item> |
||||
</el-form> |
||||
|
||||
<el-table v-loading="loading" :data="coachList"> |
||||
<el-table-column type="index" width="55" align="center" /> |
||||
<el-table-column label="学员姓名" align="center" prop="schoolName" /> |
||||
<el-table-column label="联系方式" align="center" prop="placeName" /> |
||||
<el-table-column label="到场状态" align="center" prop="coachName" /> |
||||
<el-table-column label="备注" align="center" prop="phone" /> |
||||
<!-- <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> |
||||
<template slot-scope="scope"> |
||||
<el-button v-hasPermi="['sch:coach:edit']" size="mini" type="text" icon="el-icon-edit" @click="handleAddAndUpdate(scope.row)">修改</el-button> |
||||
<el-button v-hasPermi="['sch:coach:remove']" size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)">删除</el-button> |
||||
</template> |
||||
</el-table-column> --> |
||||
</el-table> |
||||
</div> |
||||
</template> |
||||
|
||||
<script> |
||||
import { listCoach, getCoach, delCoach } from '@/api/sch/coach'; |
||||
export default { |
||||
data() { |
||||
return { |
||||
// 遮罩层 |
||||
loading: true, |
||||
// 显示搜索条件 |
||||
showSearch: true, |
||||
// 总条数 |
||||
total: 0, |
||||
// 教练表格数据 |
||||
coachList: [], |
||||
// 查询参数 |
||||
queryParams: { |
||||
type: null, // 1本日统计 2本月统计 |
||||
placeId: null, |
||||
coachName: null, |
||||
phone: null |
||||
} |
||||
}; |
||||
}, |
||||
created() { |
||||
}, |
||||
methods: { |
||||
/** 查询教练列表 */ |
||||
getList() { |
||||
|
||||
} |
||||
} |
||||
}; |
||||
</script> |
@ -0,0 +1,63 @@ |
||||
<template> |
||||
<!-- 接待人统计页面 --> |
||||
<div class="app-container" style="max-width: 600px; margin: auto;"> |
||||
<el-form v-show="showSearch" ref="queryForm" :model="queryParams" size="small" :inline="true" label-width="68px"> |
||||
<el-form-item label="联系方式" prop="phone"> |
||||
<el-input v-model="queryParams.phone" placeholder="请输入联系方式" clearable @keyup.enter.native="handleQuery" /> |
||||
</el-form-item> |
||||
<el-form-item label="验证码" prop="code"> |
||||
<el-input v-model="queryParams.code" placeholder="请输入验证码" clearable @keyup.enter.native="handleQuery" /> |
||||
</el-form-item> |
||||
<el-form-item> |
||||
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">查询</el-button> |
||||
</el-form-item> |
||||
</el-form> |
||||
|
||||
<el-card class="box-card"> |
||||
<div slot="header" class="clearfix"> |
||||
<span>接待统计</span> |
||||
</div> |
||||
<div> |
||||
<div><span>今日接到人数:100</span></div> |
||||
<div><span>今日成交人数:69</span></div> |
||||
<div><span>今日未成交人数:31</span> |
||||
<router-link :to="'/coach/count/detail'"> 详情</router-link> |
||||
</div> |
||||
</div> |
||||
<div> |
||||
<div><span>本月接到人数:200</span></div> |
||||
<div><span>本月成交人数:169</span></div> |
||||
<div><span>本月未成交人数:31</span></div> |
||||
</div> |
||||
</el-card> |
||||
</div> |
||||
</template> |
||||
|
||||
<script> |
||||
import { listCoach, delCoach } from '@/api/sch/coach'; |
||||
|
||||
export default { |
||||
name: 'Count', |
||||
data() { |
||||
return { |
||||
// 遮罩层 |
||||
loading: true, |
||||
// 查询参数 |
||||
queryParams: { |
||||
phone: null, |
||||
code: null |
||||
}, |
||||
countInfo: {} |
||||
}; |
||||
}, |
||||
created() { |
||||
|
||||
}, |
||||
methods: { |
||||
/** 查询统计结果 */ |
||||
getList() { |
||||
this.loading = true; |
||||
} |
||||
} |
||||
}; |
||||
</script> |
Loading…
Reference in new issue