Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
卡
卡车调度系统
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
caicaicai
卡车调度系统
Commits
93f987cf
Commit
93f987cf
authored
Aug 25, 2022
by
xxx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
0845cae7
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
4 deletions
+5
-4
tttt1.png
src/assets/images/cutGraph/tttt1.png
+0
-0
Map.vue
src/components/mars3d/Map.vue
+2
-1
Map2.vue
src/components/mars3d/Map2.vue
+1
-1
index.vue
src/views/MLargeScreen/index.vue
+2
-2
No files found.
src/assets/images/cutGraph/tttt1.png
0 → 100644
View file @
93f987cf
24.1 KB
src/components/mars3d/Map.vue
View file @
93f987cf
...
@@ -200,7 +200,8 @@ export default {
...
@@ -200,7 +200,8 @@ export default {
//模型配置
//模型配置
const
graphic
=
new
mars3d
.
graphic
.
ModelPrimitive
({
const
graphic
=
new
mars3d
.
graphic
.
ModelPrimitive
({
style
:
{
style
:
{
url
:
carclass
==
'
铲车
'
?
'
//data.mars3d.cn/gltf/mars/car/wajueji.glb
'
:
'
//data.mars3d.cn/gltf/imap/1d4f63111fc9499dac5cee2286ad7bb3/gltf/gltf2.gltf
'
,
//url: carclass == '铲车' ? '//data.mars3d.cn/gltf/mars/car/wajueji.glb' : '//data.mars3d.cn/gltf/imap/1d4f63111fc9499dac5cee2286ad7bb3/gltf/gltf2.gltf',
url
:
carclass
==
'
铲车
'
?
'
//data.mars3d.cn/gltf/mars/car/wajueji.glb
'
:
'
//data.mars3d.cn/gltf/mars/car/tufangche.glb
'
,
scale
:
2
,
scale
:
2
,
minimumPixelSize
:
50
,
minimumPixelSize
:
50
,
// 高亮时的样式(默认为鼠标移入,也可以指定type:'click'单击高亮),构造后也可以openHighlight、closeHighlight方法来手动调用
// 高亮时的样式(默认为鼠标移入,也可以指定type:'click'单击高亮),构造后也可以openHighlight、closeHighlight方法来手动调用
...
...
src/components/mars3d/Map2.vue
View file @
93f987cf
...
@@ -236,7 +236,7 @@ export default {
...
@@ -236,7 +236,7 @@ export default {
pixelOffset
:
new
Cesium
.
Cartesian2
(
10
,
-
25
),
//偏移量
pixelOffset
:
new
Cesium
.
Cartesian2
(
10
,
-
25
),
//偏移量
},
},
model
:
{
model
:
{
url
:
'
//data.mars3d.cn/gltf/
imap/1d4f63111fc9499dac5cee2286ad7bb3/gltf/gltf2.gltf
'
,
url
:
'
//data.mars3d.cn/gltf/
mars/car/tufangche.glb
'
,
scale
:
1
,
scale
:
1
,
minimumPixelSize
:
50
,
minimumPixelSize
:
50
,
},
},
...
...
src/views/MLargeScreen/index.vue
View file @
93f987cf
...
@@ -35,7 +35,7 @@
...
@@ -35,7 +35,7 @@
</div>
</div>
<!-- 嵌入三维地图页面 -->
<!-- 嵌入三维地图页面 -->
<!--
<iframe
src=
"http://8.143.203.103:9092/#/Index"
frameborder=
"0"
class=
"mapcontainer1"
></iframe>
-->
<!--
<iframe
src=
"http://8.143.203.103:9092/#/Index"
frameborder=
"0"
class=
"mapcontainer1"
></iframe>
-->
<
iframe
src=
"http://192.168.0.100:3003/#/Index"
frameborder=
"0"
class=
"mapcontainer1"
></iframe
>
<
!--
<iframe
src=
"http://192.168.0.101:3003/#/Index"
frameborder=
"0"
class=
"mapcontainer1"
></iframe>
--
>
<!-- 单个车辆视频监控 -->
<!-- 单个车辆视频监控 -->
<div
class=
"monitorCover1"
v-show=
"monitorCover1Show"
>
<div
class=
"monitorCover1"
v-show=
"monitorCover1Show"
>
<div
class=
"monitorCover1_closePic"
@
click=
"closeMonitorCoverFn"
></div>
<div
class=
"monitorCover1_closePic"
@
click=
"closeMonitorCoverFn"
></div>
...
@@ -97,7 +97,7 @@ export default {
...
@@ -97,7 +97,7 @@ export default {
this
.
timer
=
setInterval
(()
=>
{
this
.
timer
=
setInterval
(()
=>
{
this
.
setNowTimes
();
this
.
setNowTimes
();
},
1000
)
},
1000
)
window
.
addEventListener
(
'
message
'
,
this
.
handleMessage
);
//
window.addEventListener('message', this.handleMessage);
},
},
methods
:
{
methods
:
{
loadData
()
{
loadData
()
{
...
...
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