Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
NLT-e-cigarette
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
张伯涛
NLT-e-cigarette
Commits
c40f924e
Commit
c40f924e
authored
Sep 06, 2022
by
张伯涛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
首页定时任务修改
parent
ba49601e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
9 deletions
+8
-9
homePageTable.vue
src/views/homePageTable.vue
+8
-9
No files found.
src/views/homePageTable.vue
View file @
c40f924e
...
...
@@ -714,9 +714,7 @@ export default {
}
},
created
()
{
this
.
intercal
=
setInterval
(
_
=>
{
this
.
getStaTable
()
},
2000
)
this
.
getStaTable
()
},
mounted
()
{
},
...
...
@@ -855,6 +853,11 @@ export default {
},
// 获取表数据
getStaTable
()
{
this
.
intercal
=
setInterval
(
_
=>
{
this
.
getStaTableChild
()
},
2000
)
},
getStaTableChild
()
{
clearInterval
(
this
.
intercal
)
const
params
=
{}
getTableData
(
params
).
then
(
res
=>
{
...
...
@@ -885,14 +888,10 @@ export default {
// this.monitoringData[i].tableData.push(row)
}
this
.
intercal
=
setInterval
(
_
=>
{
this
.
getStaTable
()
},
2000
)
console
.
log
(
'this.monitoringData'
,
this
.
monitoringData
)
this
.
getStaTable
()
}).
catch
(
_
=>
{
this
.
intercal
=
setInterval
(
_
=>
{
this
.
getStaTable
()
},
2000
)
this
.
getStaTable
()
})
},
openModel
(
row
,
item
,
data
)
{
...
...
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