Commit 1e4e41ea authored by 赵茹林's avatar 赵茹林

实时数据基本信息

通话次数
parent 5792c118
......@@ -432,7 +432,7 @@
color: #666;
}
</style>
<style>
<style lang="less" scoped>
.disabled .el-upload--picture-card {
display: none !important;
}
......
......@@ -571,6 +571,9 @@
goToTeacherDetail(row){
// this.$router.push('/teacher/'+ row.id);
this.dialogDetail.id = row.id;
this.dialogDetail.alias = row.alias;
this.dialogDetail.name = row.name;
this.dialogDetail.adviser = row.adviser;
this.dialogDetail.show = true
}
......
This diff is collapsed.
......@@ -71,6 +71,9 @@
</el-card>
</div>
<el-tabs type="border-card" v-model="tabs">
<el-tab-pane label="客户管理" name="customer">
<customerDetail :customerObj="customerObj"></customerDetail>
</el-tab-pane>
<el-tab-pane label="今日任务" name="task">
<task :parentDetail="parentDetail"></task>
</el-tab-pane>
......@@ -505,6 +508,7 @@
import AddressArray from '../framework/address-picker/addr'
import task from './task'
import page from '../framework/page'
import customerDetail from './customer'
import sourceDialog from './sourceDialog'
import couponDialog from './couponDialog'
import refundDetail from './refundDetail'
......@@ -524,7 +528,8 @@
chooseGoodDialog,
couponDialog,
refundDetail,
sourceDialog
sourceDialog,
customerDetail
},
data() {
let nowDate = new Date();
......@@ -549,7 +554,7 @@
postModularParams: {},
modularList: [],
modularContent: [],
tabs: 'task',
tabs: 'customer',
nowDate: nowDate,
yunjiList: [],
searchFrom: {
......@@ -581,6 +586,11 @@
total: 0,
limit: 10,
nowPage: 1,
customerObj: {
alias: '',
name: '',
adviser: ''
},
userObj: {
classId: '',
title: '',
......@@ -1049,7 +1059,11 @@
return studentSource[val]
}
},
created() {
this.customerObj.alias = this.parentDetail ? this.parentDetail.alias : this.$route.params.alias;
this.customerObj.name = this.parentDetail ? this.parentDetail.name : this.$route.params.name;
this.customerObj.adviser = this.parentDetail ? this.parentDetail.adviser : this.$route.params.adviser;
},
mounted() {
this.id = this.parentDetail ? this.parentDetail.id : this.$route.params.id;
this.getTask4();
......
......@@ -95,6 +95,10 @@ export const postTransferTeacherApi = function (json) {
export const getRealTimeDataApi = function (data) {
return Vue.prototype.$fetch(`${_baseUrl}api/admin/teacher/todaydata/${data}`)
};
// 通话次数
export const getPhoneRecordApi = function (data) {
return Vue.prototype.$fetch(`${_baseUrl}api/admin/teacher/phonerecord/${data}`)
};
//获取课程列表
const getLessonUrl = `${_baseUrl}api/admin/course/list`;
export const getLessonApi = function (json) {
......
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