Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
A
admin-base
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
new-sing
admin-base
Commits
1e4e41ea
Commit
1e4e41ea
authored
Aug 19, 2019
by
赵茹林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
实时数据基本信息
通话次数
parent
5792c118
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
404 additions
and
4 deletions
+404
-4
dialog.vue
src/components/lesson/dialog.vue
+1
-1
index.vue
src/components/teacher/index.vue
+3
-0
customer.vue
src/components/teacherDetail/customer.vue
+379
-0
index.vue
src/components/teacherDetail/index.vue
+17
-3
api.js
src/service/api.js
+4
-0
No files found.
src/components/lesson/dialog.vue
View file @
1e4e41ea
...
...
@@ -432,7 +432,7 @@
color: #666;
}
</
style
>
<
style
>
<
style
lang=
"less"
scoped
>
.disabled .el-upload--picture-card {
display: none !important;
}
...
...
src/components/teacher/index.vue
View file @
1e4e41ea
...
...
@@ -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
}
...
...
src/components/teacherDetail/customer.vue
0 → 100644
View file @
1e4e41ea
This diff is collapsed.
Click to expand it.
src/components/teacherDetail/index.vue
View file @
1e4e41ea
...
...
@@ -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
();
...
...
src/service/api.js
View file @
1e4e41ea
...
...
@@ -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
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment