Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
template_vue
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
胡宝山
template_vue
Commits
98e7c597
Commit
98e7c597
authored
Dec 01, 2023
by
cat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
饼图
parent
8e371627
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
control.vue
src/views/controlPlatform/control.vue
+9
-1
No files found.
src/views/controlPlatform/control.vue
View file @
98e7c597
...
...
@@ -268,6 +268,7 @@ export default {
this
.
handGetUserNum
()
//
this
.
getVisitorDate
()
this
.
getVisitorDate1
()
this
.
handleGetJudgeMessageData
()
this
.
handleGetStatisticsData
()
this
.
startInterval
()
...
...
@@ -329,6 +330,7 @@ export default {
this
.
getSumUpdateList
()
// 先立刻执行一次
this
.
getSumList
()
this
.
getPtypeList
()
this
.
getUpdateList
()
this
.
intervalId
=
setInterval
(()
=>
{
if
(
this
.
stopTimer
===
true
)
{
clearInterval
(
this
.
intervalId
)
...
...
@@ -336,8 +338,9 @@ export default {
this
.
getSumUpdateList
()
this
.
getSumList
()
this
.
getPtypeList
()
this
.
getUpdateList
()
}
},
10
000
)
// 间隔 2 秒调用一次,根据实际需求调整间隔时间
},
3
000
)
// 间隔 2 秒调用一次,根据实际需求调整间隔时间
},
stopInterval
()
{
clearInterval
(
this
.
intervalId
)
// 清除计时器
...
...
@@ -453,6 +456,11 @@ export default {
this
.
getVisitorData
()
// })
},
/** 访客数据图*/
getVisitorDate1
()
{
this
.
getVisitorData1
()
// })
},
/** 获取立案数量*/
handleGetCauseNum
()
{
},
...
...
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