Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CRM
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
华国豪
CRM
Commits
9683dce4
Commit
9683dce4
authored
Sep 08, 2022
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
ea641c19
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
37 deletions
+34
-37
DrainageRankingStatistics.vue
src/views/workstatistics/DrainageRankingStatistics.vue
+34
-37
No files found.
src/views/workstatistics/DrainageRankingStatistics.vue
View file @
9683dce4
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<h1>
引流排名统计
</h1>
<h1>
引流排名统计
</h1>
</div>
</div>
<div
class=
"rightmenu"
>
<div
class=
"rightmenu"
>
<el-button
type=
"primary"
@
click=
"download"
>
导出
</el-button>
<el-button
type=
"primary"
size=
"mini"
@
click=
"download"
>
导出
</el-button>
</div>
</div>
</div>
</div>
<div
class=
"query-box"
>
<div
class=
"query-box"
>
...
@@ -14,6 +14,7 @@
...
@@ -14,6 +14,7 @@
<span
class=
"font-size-12"
style=
"padding-right: 10px;flex-shrink: 0;"
>
期数:
</span>
<span
class=
"font-size-12"
style=
"padding-right: 10px;flex-shrink: 0;"
>
期数:
</span>
<el-date-picker
<el-date-picker
v-model=
"times"
v-model=
"times"
clearable
type=
"daterange"
type=
"daterange"
value-format=
"yyyy-MM-dd"
value-format=
"yyyy-MM-dd"
range-separator=
"至"
range-separator=
"至"
...
@@ -42,59 +43,41 @@
...
@@ -42,59 +43,41 @@
<template
v-if=
"i.Name=='小红书'"
>
<template
v-if=
"i.Name=='小红书'"
>
<span
v-for=
"(itemOne,indexs) in scope.row.oneArr"
:key=
"indexs"
>
<span
v-for=
"(itemOne,indexs) in scope.row.oneArr"
:key=
"indexs"
>
<template
v-if=
"index==indexs"
>
<template
v-if=
"index==indexs"
>
{{
itemOne
>
0
?
itemOne
:
''
}}
<span
class=
"activeNum"
>
{{
itemOne
>
0
?
itemOne
:
''
}}
</span>
</
template
>
</
template
>
</span>
</span>
</template>
</template>
<
template
v-if=
"i.Name=='微博'"
>
<
template
v-if=
"i.Name=='微博'"
>
<span
v-for=
"(itemOne,indexs) in scope.row.twoArr"
:key=
"indexs"
>
<span
v-for=
"(itemOne,indexs) in scope.row.twoArr"
:key=
"indexs"
>
<template
v-if=
"index==indexs"
>
<template
v-if=
"index==indexs"
>
{{
itemOne
>
0
?
itemOne
:
''
}}
<span
class=
"activeNum"
>
{{
itemOne
>
0
?
itemOne
:
''
}}
</span>
</
template
>
</
template
>
</span>
</span>
</template>
</template>
<
template
v-if=
"i.Name=='抖音'"
>
<
template
v-if=
"i.Name=='抖音'"
>
<span
v-for=
"(itemOne,indexs) in scope.row.threeArr"
:key=
"indexs"
>
<span
v-for=
"(itemOne,indexs) in scope.row.threeArr"
:key=
"indexs"
>
<template
v-if=
"index==indexs"
>
<template
v-if=
"index==indexs"
>
{{
itemOne
>
0
?
itemOne
:
''
}}
<span
class=
"activeNum"
>
{{
itemOne
>
0
?
itemOne
:
''
}}
</span>
</
template
>
</
template
>
</span>
</span>
</template>
</template>
</template>
</template>
</el-table-column>
</el-table-column>
</el-table-column>
</el-table-column>
<!-- <el-table-column label="微博" align="center">
<el-table-column
fixed=
"right"
prop=
"TotalNum"
label=
"合计"
>
<el-table-column
<
template
slot-scope=
"scope"
>
v-for="item in ModuleTypeList"
<span
class=
"activeNumB"
>
prop="province"
{{
scope
.
row
.
TotalNum
>
0
?
scope
.
row
.
TotalNum
:
''
}}
:label="item.Name"
</span>
width="80">
<template slot-scope="scope">
</
template
>
<template v-for="items in scope.row.wb">
<template v-if="item.Name==items.name">
{{items.num}}
</template>
</template>
</template>
</el-table-column>
</el-table-column>
</el-table-column>
<el-table-column label="抖音" align="center">
<el-table-column
v-for="item in ModuleTypeList"
prop="province"
:label="item.Name"
width="80">
<template slot-scope="scope">
<template v-for="items in scope.row.dy">
<template v-if="item.Name==items.name">
{{items.num}}
</template>
</template>
</template>
</el-table-column>
</el-table-column> -->
<el-table-column
fixed=
"right"
prop=
"TotalNum"
label=
"合计"
></el-table-column>
</el-table>
</el-table>
</div>
</div>
...
@@ -289,8 +272,14 @@
...
@@ -289,8 +272,14 @@
},
},
methods
:
{
methods
:
{
getTime
(){
getTime
(){
this
.
msg
.
StartTime
=
this
.
times
[
0
]
if
(
this
.
times
){
this
.
msg
.
EndTime
=
this
.
times
[
1
]
this
.
msg
.
StartTime
=
this
.
times
[
0
]
this
.
msg
.
EndTime
=
this
.
times
[
1
]
}
else
{
this
.
msg
.
StartTime
=
''
this
.
msg
.
EndTime
=
''
}
this
.
init
()
},
},
getEnumerate
(){
getEnumerate
(){
// 平台枚举
// 平台枚举
...
@@ -386,6 +375,14 @@
...
@@ -386,6 +375,14 @@
</
script
>
</
script
>
<
style
>
<
style
>
@import
"../../assets/css/customerManage.css"
;
@import
"../../assets/css/customerManage.css"
;
.activeNumB
{
/* color: #66b1ff; */
font-size
:
16px
;
}
.activeNum
{
/* color: red; */
font-size
:
16px
;
}
.customerManage.border
.el-table--border
td
{
.customerManage.border
.el-table--border
td
{
border-right
:
1px
solid
#EBEEF5
!important
;
border-right
:
1px
solid
#EBEEF5
!important
;
}
}
...
...
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