Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
NewTruckTerminalSyetem
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
SQL_Mou
NewTruckTerminalSyetem
Commits
6b51ceb7
Commit
6b51ceb7
authored
Aug 25, 2022
by
xxx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
0fb2034f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
13 deletions
+19
-13
Map.vue
src/components/mars3d/Map.vue
+6
-6
index.vue
src/views/MLargeScreen/index.vue
+13
-7
No files found.
src/components/mars3d/Map.vue
View file @
6b51ceb7
...
@@ -262,11 +262,11 @@ export default {
...
@@ -262,11 +262,11 @@ export default {
map
.
addLayer
(
graphicLayerZ
);
map
.
addLayer
(
graphicLayerZ
);
graphicZ
=
new
mars3d
.
graphic
.
PolylineEntity
({
graphicZ
=
new
mars3d
.
graphic
.
PolylineEntity
({
positions
:
[
positions
:
[
[
117.66
2855
,
34.5291
2
,
500
],
[
117.66
302
,
34.5303
2
,
500
],
[
117.66
2755
,
34.52729
,
500
]
[
117.66
36
,
34.5295
,
500
]
],
],
style
:
{
style
:
{
width
:
1
0
,
width
:
2
0
,
color
:
'
#E47E1B
'
,
color
:
'
#E47E1B
'
,
clampToGround
:
true
,
clampToGround
:
true
,
materialType
:
mars3d
.
MaterialType
.
PolylineArrow
,
materialType
:
mars3d
.
MaterialType
.
PolylineArrow
,
...
@@ -284,11 +284,11 @@ export default {
...
@@ -284,11 +284,11 @@ export default {
map
.
addLayer
(
graphicLayerX
);
map
.
addLayer
(
graphicLayerX
);
graphicX
=
new
mars3d
.
graphic
.
PolylineEntity
({
graphicX
=
new
mars3d
.
graphic
.
PolylineEntity
({
positions
:
[
positions
:
[
[
117.66
2755
,
34.52729
,
500
]
[
117.66
36
,
34.5295
,
500
]
[
117.66
0336
,
34.528271
,
500
]
[
117.66
31
,
34.5277
,
500
]
],
],
style
:
{
style
:
{
width
:
1
0
,
width
:
2
0
,
color
:
'
#E47E1B
'
,
color
:
'
#E47E1B
'
,
clampToGround
:
true
,
clampToGround
:
true
,
materialType
:
mars3d
.
MaterialType
.
PolylineArrow
,
materialType
:
mars3d
.
MaterialType
.
PolylineArrow
,
...
...
src/views/MLargeScreen/index.vue
View file @
6b51ceb7
...
@@ -133,6 +133,8 @@ export default {
...
@@ -133,6 +133,8 @@ export default {
//电量显示
//电量显示
IsCharge
:
true
,
IsCharge
:
true
,
batteryEnegy
:
0
,
batteryEnegy
:
0
,
//判断卸车1
boo1
:
false
,
}
}
},
},
mounted
(){
mounted
(){
...
@@ -163,12 +165,12 @@ export default {
...
@@ -163,12 +165,12 @@ export default {
if
(
res1
.
code
==
200
){
if
(
res1
.
code
==
200
){
res1
.
data
.
forEach
((
item
,
index
)
=>
{
res1
.
data
.
forEach
((
item
,
index
)
=>
{
this
.
notifyPromise
=
this
.
notifyPromise
.
then
(
this
.
$nextTick
).
then
(()
=>
{
this
.
notifyPromise
=
this
.
notifyPromise
.
then
(
this
.
$nextTick
).
then
(()
=>
{
this
.
$notify
({
//
this.$notify({
title
:
(
item
.
type
==
1
?
"
限入
"
:
item
.
type
==
2
?
'
限出
'
:
(
item
.
type
==
3
&&
this
.
carclass
!=
'
铲车
'
)
?
'
无故停车
'
:
item
.
type
==
4
?
'
防碰撞
'
:
''
)
+
(
item
.
areaName
==
undefined
?
''
:
item
.
areaName
)
+
'
报警
'
,
//
title: (item.type == 1 ? "限入" : item.type == 2 ? '限出' : (item.type == 3 && this.carclass != '铲车') ? '无故停车' : item.type == 4 ? '防碰撞' : '') + (item.areaName == undefined ? '' : item.areaName) + '报警',
type
:
'
warning
'
,
//
type: 'warning',
duration
:
10000
,
//
duration: 10000,
dangerouslyUseHTMLString
:
true
,
//
dangerouslyUseHTMLString: true,
});
//
});
});
});
});
});
}
}
...
@@ -511,7 +513,11 @@ export default {
...
@@ -511,7 +513,11 @@ export default {
},
},
//执行路径
//执行路径
zhixinglujing2
(
boo
){
zhixinglujing2
(
boo
){
if
(
!
this
.
boo1
){
this
.
boo1
=
boo
;
this
.
$refs
.
mars3dViewerMapMethod
.
addArrowGraphic4
(
boo
);
this
.
$refs
.
mars3dViewerMapMethod
.
addArrowGraphic4
(
boo
);
}
},
},
},
},
beforeDestroy
(){
beforeDestroy
(){
...
...
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