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
7b1e3d7a
Commit
7b1e3d7a
authored
Aug 24, 2022
by
xxx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
ca455121
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
65 additions
and
1 deletion
+65
-1
Map.vue
src/components/mars3d/Map.vue
+48
-0
index.vue
...ews/MLargeScreen/components/startOrderReceiving/index.vue
+9
-1
index.vue
src/views/MLargeScreen/index.vue
+8
-0
No files found.
src/components/mars3d/Map.vue
View file @
7b1e3d7a
...
@@ -22,6 +22,10 @@ Vue.prototype.mars3d = mars3d
...
@@ -22,6 +22,10 @@ Vue.prototype.mars3d = mars3d
Vue
.
prototype
.
Cesium
=
mars3d
.
Cesium
Vue
.
prototype
.
Cesium
=
mars3d
.
Cesium
var
map
;
var
map
;
var
graphicLayerZ
;
var
graphicZ
;
var
graphicLayerX
;
var
graphicX
;
export
default
{
export
default
{
name
:
'
mars3dViewer
'
,
name
:
'
mars3dViewer
'
,
...
@@ -251,6 +255,50 @@ export default {
...
@@ -251,6 +255,50 @@ export default {
},
4000
)
},
4000
)
},
},
// 装车箭头线 graphicLayer.removeGraphic(graphic);
addArrowGraphic3
(
boo
)
{
if
(
boo
){
graphicLayerZ
=
new
mars3d
.
layer
.
GraphicLayer
();
map
.
addLayer
(
graphicLayerZ
);
graphicZ
=
new
mars3d
.
graphic
.
PolylineEntity
({
positions
:
[
[
117.662855
,
34.52912
,
500
],
[
117.662755
,
34.52729
,
500
]
],
style
:
{
width
:
10
,
color
:
'
#E47E1B
'
,
clampToGround
:
true
,
materialType
:
mars3d
.
MaterialType
.
PolylineArrow
,
},
})
graphicLayerZ
.
addGraphic
(
graphicZ
)
}
else
{
graphicLayerZ
.
removeGraphic
(
graphicZ
);
}
},
// 卸车箭头线 graphicLayer.removeGraphic(graphic);
addArrowGraphic4
(
boo
)
{
if
(
boo
){
graphicLayerX
=
new
mars3d
.
layer
.
GraphicLayer
();
map
.
addLayer
(
graphicLayerX
);
graphicX
=
new
mars3d
.
graphic
.
PolylineEntity
({
positions
:
[
[
117.662755
,
34.52729
,
500
]
[
117.660336
,
34.528271
,
500
]
],
style
:
{
width
:
10
,
color
:
'
#E47E1B
'
,
clampToGround
:
true
,
materialType
:
mars3d
.
MaterialType
.
PolylineArrow
,
},
})
graphicLayerX
.
addGraphic
(
graphicX
)
}
else
{
graphicLayerX
.
removeGraphic
(
graphicX
);
}
},
// 在图层绑定Popup弹窗
// 在图层绑定Popup弹窗
bindLayerPopup
(
graphicLayer
,
number
)
{
bindLayerPopup
(
graphicLayer
,
number
)
{
let
that
=
this
;
let
that
=
this
;
...
...
src/views/MLargeScreen/components/startOrderReceiving/index.vue
View file @
7b1e3d7a
...
@@ -74,6 +74,9 @@ export default {
...
@@ -74,6 +74,9 @@ export default {
this
.
btnShow2
=
true
;
this
.
btnShow2
=
true
;
this
.
carDestination
=
res
.
data
.
content
[
0
].
destination
;
this
.
carDestination
=
res
.
data
.
content
[
0
].
destination
;
this
.
dingDanId
=
res
.
data
.
content
[
0
].
id
;
this
.
dingDanId
=
res
.
data
.
content
[
0
].
id
;
//删除路径
this
.
$parent
.
zhixinglujing
(
false
);
this
.
$parent
.
zhixinglujing2
(
true
);
//查询指定目的地围栏以及判读该车是否在围栏里
//查询指定目的地围栏以及判读该车是否在围栏里
httpGet
(
screenMapSetUpQuery
,{
size
:
9999
,
name
:
this
.
carDestination
}).
then
((
resSon2
)
=>
{
httpGet
(
screenMapSetUpQuery
,{
size
:
9999
,
name
:
this
.
carDestination
}).
then
((
resSon2
)
=>
{
let
weilanArr1
=
[];
let
weilanArr1
=
[];
...
@@ -182,6 +185,8 @@ export default {
...
@@ -182,6 +185,8 @@ export default {
}
}
}
}
});
});
//执行路径
this
.
$parent
.
zhixinglujing
(
true
);
},
},
//拒绝派单
//拒绝派单
refusePaidanFn
(){
refusePaidanFn
(){
...
@@ -233,7 +238,10 @@ export default {
...
@@ -233,7 +238,10 @@ export default {
}
}
}
}
});
});
httpDelForJson
(
dingDanBiaoCaoZuo
,[
this
.
dingDanId
]).
then
((
res
)
=>
{});
httpDelForJson
(
dingDanBiaoCaoZuo
,[
this
.
dingDanId
]).
then
((
res
)
=>
{
this
.
$parent
.
zhixinglujing2
(
false
);
});
}
}
},
},
//获取当前时间
//获取当前时间
...
...
src/views/MLargeScreen/index.vue
View file @
7b1e3d7a
...
@@ -505,6 +505,14 @@ export default {
...
@@ -505,6 +505,14 @@ export default {
}
}
});
});
},
},
//执行路径
zhixinglujing
(
boo
){
this
.
$refs
.
mars3dViewerMapMethod
.
addArrowGraphic3
(
boo
);
},
//执行路径
zhixinglujing2
(
boo
){
this
.
$refs
.
mars3dViewerMapMethod
.
addArrowGraphic4
(
boo
);
},
},
},
beforeDestroy
(){
beforeDestroy
(){
this
.
$refs
.
voiceApplicationMethod
.
xintiaoCloseFn
();
this
.
$refs
.
voiceApplicationMethod
.
xintiaoCloseFn
();
...
...
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