Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cust_web
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
张伯涛
cust_web
Commits
14de890f
Commit
14de890f
authored
Feb 14, 2025
by
罗林杰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改点击量时间搜索
parent
da45106e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
6 deletions
+16
-6
index.vue
src/views/operationsManagement/memClick/index.vue
+16
-6
No files found.
src/views/operationsManagement/memClick/index.vue
View file @
14de890f
...
@@ -29,6 +29,7 @@
...
@@ -29,6 +29,7 @@
range-separator=
"至"
range-separator=
"至"
start-placeholder=
"开始日期"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
end-placeholder=
"结束日期"
:clearable=
"false"
/>
/>
</el-form-item>
</el-form-item>
<el-form-item>
<el-form-item>
...
@@ -56,15 +57,13 @@
...
@@ -56,15 +57,13 @@
{{
scope
.
row
.
nickName
||
'-'
}}
{{
scope
.
row
.
nickName
||
'-'
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"访问量"
prop=
"
m
emTraffic"
:show-overflow-tooltip=
"true"
>
<el-table-column
label=
"访问量"
prop=
"
totalM
emTraffic"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
m
emTraffic
||
'0'
}}
{{
scope
.
row
.
totalM
emTraffic
||
'0'
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"访问日期"
prop=
"createDate"
:show-overflow-tooltip=
"true"
>
<el-table-column
label=
"访问日期"
prop=
"dateRange"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
<span>
{{ getDateRange() }}
</span>
{{
scope
.
row
.
createDate
||
'-'
}}
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
</div>
</div>
...
@@ -196,6 +195,17 @@ export default {
...
@@ -196,6 +195,17 @@ export default {
}
}
this
.
dateRange
=
this
.
nowDayRange
this
.
dateRange
=
this
.
nowDayRange
this
.
handleQuery
()
this
.
handleQuery
()
},
getDateRange
()
{
if
(
this
.
dateRange
&&
this
.
dateRange
.
length
>
0
)
{
if
(
this
.
dateRange
[
0
]
===
this
.
dateRange
[
1
])
{
return
this
.
dateRange
[
0
]
}
else
{
return
this
.
dateRange
[
0
]
+
' ~ '
+
this
.
dateRange
[
1
]
}
}
else
{
return
'-'
}
}
}
}
}
}
}
...
...
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