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
7a749835
Commit
7a749835
authored
Aug 18, 2022
by
xxx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
e629ab40
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
47 deletions
+12
-47
index.vue
src/views/MLargeScreen/index.vue
+12
-47
No files found.
src/views/MLargeScreen/index.vue
View file @
7a749835
...
@@ -38,10 +38,6 @@
...
@@ -38,10 +38,6 @@
<!--
<div
class=
"carExample"
@
click=
"showSpecificInforFn()"
>
<!--
<div
class=
"carExample"
@
click=
"showSpecificInforFn()"
>
<span
class=
"el-icon-location"
></span>
<span
class=
"el-icon-location"
></span>
</div>
-->
</div>
-->
<!-- 地图区域 -->
<!--
<div
id=
"centerDiv"
class=
"mapcontainer1"
>
<mars3dViewerMap
:url=
"configUrl"
@
onload=
"onMapload"
/>
</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>
</div>
</div>
</
template
>
</
template
>
...
@@ -53,7 +49,6 @@ import carManagement from './components/carManagement/index.vue' //车辆管理
...
@@ -53,7 +49,6 @@ import carManagement from './components/carManagement/index.vue' //车辆管理
import
intelligentSchedul
from
'
./components/intelligentSchedul/index.vue
'
//智能调度
import
intelligentSchedul
from
'
./components/intelligentSchedul/index.vue
'
//智能调度
import
dataAnalysis
from
'
./components/dataAnalysis/index.vue
'
//数据分析
import
dataAnalysis
from
'
./components/dataAnalysis/index.vue
'
//数据分析
import
carSpecificInfor
from
'
./components/carSpecificInfor/index.vue
'
//车辆信息弹框
import
carSpecificInfor
from
'
./components/carSpecificInfor/index.vue
'
//车辆信息弹框
// import mars3dViewerMap from '../../components/mars3d/Map.vue' //地图
import
carsEZUIKitJs
from
'
../../components/ezuikit/carsEZUIKitJs.vue
'
//车辆监控
import
carsEZUIKitJs
from
'
../../components/ezuikit/carsEZUIKitJs.vue
'
//车辆监控
import
kaungEZUIKitJs
from
'
../../components/ezuikit/EZUIKitJs.vue
'
//矿山监控
import
kaungEZUIKitJs
from
'
../../components/ezuikit/EZUIKitJs.vue
'
//矿山监控
...
@@ -64,15 +59,11 @@ export default {
...
@@ -64,15 +59,11 @@ export default {
intelligentSchedul
,
intelligentSchedul
,
dataAnalysis
,
dataAnalysis
,
carSpecificInfor
,
carSpecificInfor
,
//mars3dViewerMap,
carsEZUIKitJs
,
carsEZUIKitJs
,
kaungEZUIKitJs
,
kaungEZUIKitJs
,
},
},
data
()
{
data
()
{
const
basePathUrl
=
window
.
basePathUrl
||
''
return
{
return
{
//地图图片
configUrl
:
basePathUrl
+
'
config/config.json
'
,
//时间
//时间
timer
:
null
,
timer
:
null
,
currentTime
:
''
,
currentTime
:
''
,
...
@@ -104,6 +95,7 @@ export default {
...
@@ -104,6 +95,7 @@ export default {
this
.
timer
=
setInterval
(()
=>
{
this
.
timer
=
setInterval
(()
=>
{
this
.
setNowTimes
();
this
.
setNowTimes
();
},
1000
)
},
1000
)
window
.
addEventListener
(
'
message
'
,
this
.
handleMessage
);
},
},
methods
:
{
methods
:
{
loadData
()
{
loadData
()
{
...
@@ -277,44 +269,17 @@ export default {
...
@@ -277,44 +269,17 @@ export default {
let
week
=
weeks
[
wk
];
let
week
=
weeks
[
wk
];
this
.
currentTime
=
yy
+
'
/
'
+
mm
+
'
/
'
+
dd
+
'
'
+
hou
+
'
:
'
+
min
;
this
.
currentTime
=
yy
+
'
/
'
+
mm
+
'
/
'
+
dd
+
'
'
+
hou
+
'
:
'
+
min
;
},
},
// 地图构造完成回调
//与iframe的页面进行数据交互
// onMapload(map) {
handleMessage
(
event
){
//event.data为传递的参数
// // 以下为演示代码
//这里的判断是因为此方法会多次触发,通过参数是否存在可以判断是否为子页面传递的参数,再做出相应的操作
if
(
event
.
data
.
data
.
hasOwnProperty
(
"
url
"
)){
// // 创建entity图层
if
(
event
.
data
.
data
.
url
==
'
监控
'
){
// const graphicLayer = new this.mars3d.layer.GraphicLayer()
console
.
log
(
'
监控
'
,
event
.
data
.
data
.
data
);
// map.addLayer(graphicLayer)
}
else
if
(
event
.
data
.
data
.
url
==
'
轨迹回放
'
){
console
.
log
(
'
轨迹回放
'
,
event
.
data
.
data
.
data
);
// // 2.在layer上绑定监听事件
}
// graphicLayer.on(this.mars3d.EventType.click, function (event) {
}
// console.log('监听layer,单击了矢量对象', event)
},
// })
// graphicLayer.on(this.mars3d.EventType.mouseOver, function (event) {
// console.log('监听layer,鼠标移入了矢量对象', event)
// })
// graphicLayer.on(this.mars3d.EventType.mouseOut, function (event) {
// console.log('监听layer,鼠标移出了矢量对象', event)
// })
// // 可在图层上绑定popup,对所有加到这个图层的矢量数据都生效
// graphicLayer.bindPopup('我是layer上绑定的Popup', {
// anchor: [0, -10]
// })
// // 可在图层绑定右键菜单,对所有加到这个图层的矢量数据都生效
// graphicLayer.bindContextMenu([
// {
// text: '删除对象',
// iconCls: 'fa fa-trash-o',
// callback: function (e) {
// const graphic = e.graphic
// if (graphic) {
// graphicLayer.removeGraphic(graphic)
// }
// }
// }
// ])
// },
},
},
beforeDestroy
(){
beforeDestroy
(){
this
.
$refs
.
intelligentSchedulMethod
.
xintiaoCloseFn
();
this
.
$refs
.
intelligentSchedulMethod
.
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