Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Z
zhongtong-avi-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
中通客车项目
zhongtong-avi-web
Commits
fbe44e96
Commit
fbe44e96
authored
Oct 14, 2019
by
李志鸣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fea(密封防腐作业区): 功能联调(5%)
parent
4b3130c2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
1 deletion
+30
-1
SealedAnticorrosion.vue
src/views/Monitor/components/SealedAnticorrosion.vue
+30
-1
No files found.
src/views/Monitor/components/SealedAnticorrosion.vue
View file @
fbe44e96
...
...
@@ -121,7 +121,36 @@
<
script
>
export
default
{
data
()
{
return
{}
return
{
// 密封防腐作业区域实时数据
sealedAnticorrosionRealTime
:
{}
}
},
methods
:
{
// 解析车体类型及车体定位样式
judgeCarTypeAndCarStationStyle
(
carType
,
caeNumber
)
{},
// 获取密封防腐作业区实时数据
getSealedAnticorrosionRealTimeData
()
{
let
queryParams
=
{
areaNo
:
'3'
}
this
.
$fetch
(
'area-controller/realTime-get'
,
queryParams
).
then
(
response
=>
{
console
.
log
(
response
)
})
},
// 轮询查询区域实时信息
pollingGetAreaRealTimeData
()
{
// 获取密封防腐作业区实时数据
this
.
getSealedAnticorrosionRealTimeData
()
setInterval
(()
=>
{
// 获取密封防腐作业区实时数据
this
.
getSealedAnticorrosionRealTimeData
()
},
20000
)
}
},
mounted
()
{
setTimeout
(()
=>
{
// 轮询查询区域实时信息
this
.
pollingGetAreaRealTimeData
()
},
0
)
}
}
</
script
>
...
...
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