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
62910a8e
Commit
62910a8e
authored
Sep 05, 2019
by
赵茹林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
ce78bdba
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
34 additions
and
23 deletions
+34
-23
App.vue
src/App.vue
+21
-8
dialog.vue
src/components/team/dialog.vue
+5
-3
index.vue
src/components/team/index.vue
+8
-12
No files found.
src/App.vue
View file @
62910a8e
...
...
@@ -283,6 +283,27 @@
border-radius: 50%;
height: 50px;
}
.table-refresh-header {
display: inline-block;
cursor: help;
i {
color: #409eff;
}
}
.cell-link {
display: inline-block;
margin: 0 -6px;
padding: 0px 8px;
border-radius: 3px;
text-decoration: underline;
transition: color 240ms, background-color 240ms;
&:hover {
background-color: #cce4ff;
color: #007fff;
}
}
}
.update-time {
...
...
@@ -313,14 +334,6 @@
}
}
.table-refresh-header {
display: inline-block;
cursor: help;
i {
color: #409eff;
}
}
// 修复样式
.el-tree-node__content {
.el-checkbox {
...
...
src/components/team/dialog.vue
View file @
62910a8e
...
...
@@ -129,7 +129,7 @@
<
/el-table
>
<!--
业绩
结束
-->
<!--
todo
分页有问题
-->
<
page
v
-
if
=
"total"
:
total
=
"total"
:
limit
=
"limit"
@
pageChange
=
"onPageChange"
@
sizeChange
=
"onSizeChange"
/>
<
/div
>
...
...
@@ -233,8 +233,10 @@
limit
:
this
.
limit
}
getPhoneRecordApi
(
json
.
alias
,
json
).
then
(
res
=>
{
this
.
list
=
res
.
phone_record_list
.
page_data
;
this
.
total
=
res
.
phone_record_list
.
total
;
if
(
Object
.
keys
(
res
).
length
&&
res
.
phone_record_list
)
{
this
.
list
=
res
.
phone_record_list
.
page_data
||
[];
this
.
total
=
res
.
phone_record_list
.
total
||
0
;
}
this
.
loading
=
false
;
}
)
}
,
...
...
src/components/team/index.vue
View file @
62910a8e
...
...
@@ -77,7 +77,7 @@
<
/el-tooltip
>
<
/template
>
<
template
slot
-
scope
=
"scope"
>
<
el
-
link
@
click
=
"dialogToggle(scope.row, 'callback')"
>
{{
scope
.
row
.
over_visit_num
}}
<
/el-link
>
<
span
class
=
"cell-link"
@
click
=
"dialogToggle(scope.row, 'callback')"
>
{{
scope
.
row
.
over_visit_num
}}
<
/span
>
<
/template
>
<
/el-table-column
>
...
...
@@ -100,7 +100,7 @@
<
/el-tooltip
>
<
/template
>
<
template
slot
-
scope
=
"scope"
>
<
el
-
link
@
click
=
"dialogToggle(scope.row, 'validchat')"
>
{{
scope
.
row
.
valid_chat_contact_count
}}
<
/el-link
>
<
span
class
=
"cell-link"
@
click
=
"dialogToggle(scope.row, 'validchat')"
>
{{
scope
.
row
.
valid_chat_contact_count
}}
<
/span
>
<
/template
>
<
/el-table-column
>
...
...
@@ -113,7 +113,7 @@
<
/el-tooltip
>
<
/template
>
<
template
slot
-
scope
=
"scope"
>
<
el
-
link
@
click
=
"dialogToggle(scope.row, 'phonerecord')"
>
{{
scope
.
row
.
valid_phone_counts
}}
<
/el-link
>
<
span
class
=
"cell-link"
@
click
=
"dialogToggle(scope.row, 'phonerecord')"
>
{{
scope
.
row
.
valid_phone_counts
}}
<
/span
>
<
/template
>
<
/el-table-column
>
...
...
@@ -137,7 +137,7 @@
<
/el-tooltip
>
<
/template
>
<
template
slot
-
scope
=
"scope"
>
<
el
-
link
@
click
=
"dialogToggle(scope.row, 'class')"
>
{{
scope
.
row
.
lately_class_num
}}
<
/el-link
>
<
span
class
=
"cell-link"
@
click
=
"dialogToggle(scope.row, 'class')"
>
{{
scope
.
row
.
lately_class_num
}}
<
/span
>
<
/template
>
<
/el-table-column
>
...
...
@@ -150,7 +150,7 @@
<
/el-tooltip
>
<
/template
>
<
template
slot
-
scope
=
"scope"
>
<
el
-
link
@
click
=
"dialogToggle(scope.row, 'achievement')"
>
{{
scope
.
row
.
month_order_num
}}
<
/el-link
>
<
span
class
=
"cell-link"
@
click
=
"dialogToggle(scope.row, 'achievement')"
>
{{
scope
.
row
.
month_order_num
}}
<
/span
>
<
/template
>
<
/el-table-column
>
...
...
@@ -163,9 +163,9 @@
<
/el-tooltip
>
<
/template
>
<
template
slot
-
scope
=
"scope"
>
<
el
-
link
@
click
=
"dialogToggle(scope.row, 'achievement')"
>
<
span
class
=
"cell-link"
@
click
=
"dialogToggle(scope.row, 'achievement')"
>
{{
transRate
(
scope
.
row
.
month_trans_order_num
,
scope
.
row
.
month_trans_user_num
)
}}
<
/
el-link
>
<
/
span
>
<
/template
>
<
/el-table-column
>
...
...
@@ -178,7 +178,7 @@
<
/el-tooltip
>
<
/template
>
<
template
slot
-
scope
=
"scope"
>
<
el
-
link
@
click
=
"dialogToggle(scope.row, 'achievement')"
>
{{
scope
.
row
.
order_money_count
}}
<
/el-link
>
<
span
class
=
"cell-link"
@
click
=
"dialogToggle(scope.row, 'achievement')"
>
{{
scope
.
row
.
order_money_count
}}
<
/span
>
<
/template
>
<
/el-table-column
>
<
/el-table
>
...
...
@@ -335,10 +335,6 @@
<
style
lang
=
"less"
>
.
team
-
table
{
.
el
-
link
{
font
-
weight
:
normal
;
text
-
decoration
:
underline
;
}
.
primary
-
row
{
background
:
#
f5f7fa
;
}
...
...
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