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
c0596a85
Commit
c0596a85
authored
Sep 04, 2019
by
赵茹林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
ec5a3fa3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
48 additions
and
8 deletions
+48
-8
dialog.vue
src/components/team/dialog.vue
+46
-6
index.vue
src/components/team/index.vue
+2
-2
No files found.
src/components/team/dialog.vue
View file @
c0596a85
...
@@ -5,9 +5,14 @@
...
@@ -5,9 +5,14 @@
<div></div>
<div></div>
<el-table
:data=
"list"
>
<el-table
:data=
"list"
>
<el-table-column
prop=
"month_order_rate"
>
<el-table-column
label=
"销售顾问"
prop=
"month_order_rate"
></el-table-column>
<el-table-column
label=
"老师名"
prop=
"month_order_rate"
></el-table-column>
</el-table-column>
<el-table-column
label=
"UID"
prop=
"month_order_rate"
v-if=
"dialogObj.type == 'callback'"
></el-table-column>
<el-table-column
label=
"客户微信昵称"
prop=
"month_order_rate"
></el-table-column>
<el-table-column
label=
"电话号码"
prop=
"month_order_rate"
></el-table-column>
<el-table-column
label=
"意向度"
prop=
"month_order_rate"
></el-table-column>
<el-table-column
label=
"最近备注时间"
prop=
"month_order_rate"
></el-table-column>
<el-table-column
label=
"下次回访时间"
prop=
"month_order_rate"
></el-table-column>
</el-table>
</el-table>
<page
:total=
"total"
:limit=
"limit"
@
pageChange=
"onPageChange"
@
sizeChange=
"onSizeChange"
/>
<page
:total=
"total"
:limit=
"limit"
@
pageChange=
"onPageChange"
@
sizeChange=
"onSizeChange"
/>
...
@@ -62,19 +67,42 @@
...
@@ -62,19 +67,42 @@
}
}
}
}
},
},
getAchievement
()
{
getData
()
{
let
json
=
{
teacher_id
:
this
.
dialogObj
.
teacher_id
,
start_at
:
this
.
dialogObj
.
start_at
,
page
:
this
.
nowPage
,
limit
:
this
.
limit
};
},
getVisited
()
{
let
json
=
{
let
json
=
{
teacher_id
:
this
.
dialogObj
.
teacher_id
,
teacher_id
:
this
.
dialogObj
.
teacher_id
,
start_at
:
this
.
dialogObj
.
start_at
,
start_at
:
this
.
dialogObj
.
start_at
,
page
:
this
.
nowPage
,
page
:
this
.
nowPage
,
limit
:
this
.
limit
limit
:
this
.
limit
}
}
get
Achievement
Api
(
json
).
then
(
res
=>
{
get
Visited
Api
(
json
).
then
(
res
=>
{
this
.
loading
=
false
;
this
.
loading
=
false
;
console
.
log
(
res
)
console
.
log
(
res
)
})
})
},
},
getVisited
()
{
getValidchat
()
{
let
json
=
{
teacher_id
:
this
.
dialogObj
.
teacher_id
,
start_at
:
this
.
dialogObj
.
start_at
,
page
:
this
.
nowPage
,
limit
:
this
.
limit
}
getVisitedApi
(
json
).
then
(
res
=>
{
this
.
loading
=
false
;
console
.
log
(
res
)
})
},
getPhonerecord
()
{
let
json
=
{
let
json
=
{
teacher_id
:
this
.
dialogObj
.
teacher_id
,
teacher_id
:
this
.
dialogObj
.
teacher_id
,
start_at
:
this
.
dialogObj
.
start_at
,
start_at
:
this
.
dialogObj
.
start_at
,
...
@@ -98,6 +126,18 @@
...
@@ -98,6 +126,18 @@
console
.
log
(
res
)
console
.
log
(
res
)
})
})
},
},
getAchievement
()
{
let
json
=
{
teacher_id
:
this
.
dialogObj
.
teacher_id
,
start_at
:
this
.
dialogObj
.
start_at
,
page
:
this
.
nowPage
,
limit
:
this
.
limit
}
getAchievementApi
(
json
).
then
(
res
=>
{
this
.
loading
=
false
;
console
.
log
(
res
)
})
},
onPageChange
(
val
)
{
onPageChange
(
val
)
{
this
.
nowPage
=
val
this
.
nowPage
=
val
...
...
src/components/team/index.vue
View file @
c0596a85
...
@@ -88,7 +88,7 @@
...
@@ -88,7 +88,7 @@
<
/el-tooltip
>
<
/el-tooltip
>
<
/template
>
<
/template
>
<
template
slot
-
scope
=
"scope"
>
<
template
slot
-
scope
=
"scope"
>
<
el
-
link
@
click
=
"dialogToggle(scope.row, '
callback
')"
>
{{
scope
.
row
.
valid_chat_contact_count
}}
<
/el-link
>
<
el
-
link
@
click
=
"dialogToggle(scope.row, '
validchat
')"
>
{{
scope
.
row
.
valid_chat_contact_count
}}
<
/el-link
>
<
/template
>
<
/template
>
<
/el-table-column
>
<
/el-table-column
>
<
el
-
table
-
column
prop
=
"valid_phone_counts"
>
<
el
-
table
-
column
prop
=
"valid_phone_counts"
>
...
@@ -100,7 +100,7 @@
...
@@ -100,7 +100,7 @@
<
/el-tooltip
>
<
/el-tooltip
>
<
/template
>
<
/template
>
<
template
slot
-
scope
=
"scope"
>
<
template
slot
-
scope
=
"scope"
>
<
el
-
link
@
click
=
"dialogToggle(scope.row, '
callback
')"
>
{{
scope
.
row
.
valid_phone_counts
}}
<
/el-link
>
<
el
-
link
@
click
=
"dialogToggle(scope.row, '
phonerecord
')"
>
{{
scope
.
row
.
valid_phone_counts
}}
<
/el-link
>
<
/template
>
<
/template
>
<
/el-table-column
>
<
/el-table-column
>
<
el
-
table
-
column
prop
=
"phone_total_time"
>
<
el
-
table
-
column
prop
=
"phone_total_time"
>
...
...
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