Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
K
kd_app_vue
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
zhanglw
kd_app_vue
Commits
2a61db1c
Commit
2a61db1c
authored
Aug 02, 2023
by
zhanglw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
地磅
parent
e90645d0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
9 deletions
+6
-9
Login.vue
src/views/Login.vue
+1
-3
index.vue
src/views/MLargeScreen/index.vue
+5
-6
No files found.
src/views/Login.vue
View file @
2a61db1c
...
@@ -78,9 +78,7 @@ export default {
...
@@ -78,9 +78,7 @@ export default {
bindingStatus
:
false
,
bindingStatus
:
false
,
//绑定的车牌号
//绑定的车牌号
bindingCar
:
""
,
bindingCar
:
""
,
userNameList
:
[
userNameList
:
[]
{
value
:
'
xxxxx
'
},
{
value
:
'
eeeeee
'
}
]
};
};
},
},
created
()
{
created
()
{
...
...
src/views/MLargeScreen/index.vue
View file @
2a61db1c
...
@@ -429,10 +429,6 @@ export default {
...
@@ -429,10 +429,6 @@ export default {
this
.
getAreaInformation
();
this
.
getAreaInformation
();
this
.
getRoadblockInformation
();
this
.
getRoadblockInformation
();
},
120000
);
},
120000
);
this
.
getAllOnlineCarPosition
();
this
.
posTimer
=
setInterval
(()
=>
{
this
.
getAllOnlineCarPosition
();
},
2000
);
this
.
drawNavigation
();
this
.
drawNavigation
();
},
},
getRoadblockInformation
()
{
getRoadblockInformation
()
{
...
@@ -556,6 +552,7 @@ export default {
...
@@ -556,6 +552,7 @@ export default {
});
});
},
},
getAllOnlineCarPosition
()
{
getAllOnlineCarPosition
()
{
let
that
=
this
httpGet
(
posGetAllOnlineCarPosition
).
then
((
res
)
=>
{
httpGet
(
posGetAllOnlineCarPosition
).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
if
(
res
.
code
==
200
)
{
const
layer
=
this
.
mapDom
.
getLayer
(
'
markerLayer
'
);
const
layer
=
this
.
mapDom
.
getLayer
(
'
markerLayer
'
);
...
@@ -791,11 +788,13 @@ export default {
...
@@ -791,11 +788,13 @@ export default {
this
.
equipmentName
=
res1
.
data
.
content
[
0
].
equipmentName
;
this
.
equipmentName
=
res1
.
data
.
content
[
0
].
equipmentName
;
//执行获取位置
//执行获取位置
if
(
this
.
equipmentName
)
{
if
(
this
.
equipmentName
)
{
this
.
getAllOnlineCarPosition
();
this
.
posTimer
=
setInterval
(()
=>
{
this
.
getAllOnlineCarPosition
();
},
2000
);
this
.
zongTimer3
=
setInterval
(()
=>
{
this
.
zongTimer3
=
setInterval
(()
=>
{
// this.getCarLoaction2();
this
.
getSerialReceiveIndex
();
this
.
getSerialReceiveIndex
();
},
2000
);
},
2000
);
// this.getCarLoaction1();
}
}
}
}
}
}
...
...
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