Commit 7d73bb27 authored by caicaicai's avatar caicaicai

修改

parent 709e01cc
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
卡车调度系统矿山监控视频 卡车调度系统矿山监控视频
</el-header> </el-header>
<el-container> <el-container>
<el-aside width="230px" style="height: 79vh"> <el-aside width="230px" style="height: 82vh">
<el-tree <el-tree
:data="videoData" :data="videoData"
:props="defaultProps" :props="defaultProps"
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
</el-tree> </el-tree>
</el-aside> </el-aside>
<el-main id="elMain"> <el-main id="elMain" style="height: 82vh">
<div v-if="isChildren1" class="iframeList"> <div v-if="isChildren1" class="iframeList">
<div v-for="(item,index) in itemList" :key="index" class="videoChildren"> <div v-for="(item,index) in itemList" :key="index" class="videoChildren">
...@@ -410,11 +410,18 @@ export default { ...@@ -410,11 +410,18 @@ export default {
winSize(){ winSize(){
let elMain = document.getElementById('elMain'); let elMain = document.getElementById('elMain');
let elMainWight = parseInt(getComputedStyle(elMain).width) ; let elMainWight = parseInt(getComputedStyle(elMain).width) ;
// if(elMainWight > 1650){
// let twelveVideo = document.getElementsByClassName('twelveVideo');
// for(let i = 0;i < twelveVideo.length;i++){
// twelveVideo[i].width = 450;
// twelveVideo[i].height = 320;
// }
// }
if(elMainWight > 1650){ if(elMainWight > 1650){
let twelveVideo = document.getElementsByClassName('twelveVideo'); let twelveVideo = document.getElementsByClassName('twelveVideo');
for(let i = 0;i < twelveVideo.length;i++){ for(let i = 0;i < twelveVideo.length;i++){
twelveVideo[i].width = 450; twelveVideo[i].width = 390;
twelveVideo[i].height = 320; twelveVideo[i].height = 250;
} }
} }
...@@ -485,7 +492,6 @@ export default { ...@@ -485,7 +492,6 @@ export default {
background-color: white; background-color: white;
color: #333; color: #333;
text-align: center; text-align: center;
height: 79vh;
overflow:hidden; overflow:hidden;
width: 73vw; width: 73vw;
} }
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
卡车调度系统车辆监控视频 卡车调度系统车辆监控视频
</el-header> </el-header>
<el-container> <el-container>
<el-aside width="230px" style="height: 79vh"> <el-aside width="230px" style="height: 82vh">
<el-tree <el-tree
:data="videoData" :data="videoData"
:props="defaultProps" :props="defaultProps"
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
</el-tree> </el-tree>
</el-aside> </el-aside>
<el-main id="elMain"> <el-main id="elMain" style="height: 82vh">
<div v-if="isChildren1" class="iframeList"> <div v-if="isChildren1" class="iframeList">
<div v-for="(item,index) in itemList" :key="index" class="videoChildren"> <div v-for="(item,index) in itemList" :key="index" class="videoChildren">
...@@ -277,8 +277,8 @@ export default { ...@@ -277,8 +277,8 @@ export default {
if(elMainWight > 1650){ if(elMainWight > 1650){
let twelveVideo = document.getElementsByClassName('twelveVideo'); let twelveVideo = document.getElementsByClassName('twelveVideo');
for(let i = 0;i < twelveVideo.length;i++){ for(let i = 0;i < twelveVideo.length;i++){
twelveVideo[i].width = 450; twelveVideo[i].width = 390;
twelveVideo[i].height = 320; twelveVideo[i].height = 250;
} }
} }
...@@ -349,7 +349,6 @@ export default { ...@@ -349,7 +349,6 @@ export default {
background-color: white; background-color: white;
color: #333; color: #333;
text-align: center; text-align: center;
height: 79vh;
overflow:hidden; overflow:hidden;
width: 73vw; width: 73vw;
} }
......
...@@ -888,9 +888,9 @@ export default { ...@@ -888,9 +888,9 @@ export default {
.driverInforListStyle{ .driverInforListStyle{
text-align: center; text-align: center;
} }
.table-box{ /* .table-box{
margin-top: -10px; margin-top: -10px;
} } */
dl{ dl{
display:table; display:table;
width:100%; width:100%;
......
...@@ -17,6 +17,10 @@ ...@@ -17,6 +17,10 @@
<!-- 时间 --> <!-- 时间 -->
<div class="currentTimeStyle">{{currentTime}}</div> <div class="currentTimeStyle">{{currentTime}}</div>
</div> </div>
<div class="videoSelectView" v-show="videoSelect1">
<div @click="lookFn1()">矿山监控</div>
<div @click="lookFn2()">车辆监控</div>
</div>
<!-- 内容 --> <!-- 内容 -->
<div class="content_view"> <div class="content_view">
<dataScreening ref="dataScreeningMethod" v-show="selectModule == 'dataScreening'"/> <dataScreening ref="dataScreeningMethod" v-show="selectModule == 'dataScreening'"/>
...@@ -25,12 +29,19 @@ ...@@ -25,12 +29,19 @@
<dataAnalysis ref="dataAnalysisMethod" v-show="selectModule == 'dataAnalysis'"/> <dataAnalysis ref="dataAnalysisMethod" v-show="selectModule == 'dataAnalysis'"/>
<carSpecificInfor ref="carSpecificInforMethod" v-show="selectModule == 'carSpecificInfor'"/> <carSpecificInfor ref="carSpecificInforMethod" v-show="selectModule == 'carSpecificInfor'"/>
</div> </div>
<!-- 监控区域 -->
<div class="jiankongView">
<carsEZUIKitJs v-if="carsEZUIKitJsShow"/>
<kaungEZUIKitJs v-if="kaungEZUIKitJsShow"/>
</div>
<!-- 车事例 -->
<!-- <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"> <!-- 地图区域 -->
<div id="centerDiv" class="mapcontainer1">
<mars3dViewerMap :url="configUrl" @onload="onMapload"/> <mars3dViewerMap :url="configUrl" @onload="onMapload"/>
</div> --> </div>
</div> </div>
</template> </template>
...@@ -42,6 +53,8 @@ import intelligentSchedul from './components/intelligentSchedul/index.vue' //智 ...@@ -42,6 +53,8 @@ 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 mars3dViewerMap from '../../components/mars3d/Map.vue' //地图
import carsEZUIKitJs from '../../components/ezuikit/carsEZUIKitJs.vue'//车辆监控
import kaungEZUIKitJs from '../../components/ezuikit/EZUIKitJs.vue'//矿山监控
export default { export default {
components: { components: {
...@@ -51,6 +64,8 @@ export default { ...@@ -51,6 +64,8 @@ export default {
dataAnalysis, dataAnalysis,
carSpecificInfor, carSpecificInfor,
mars3dViewerMap, mars3dViewerMap,
carsEZUIKitJs,
kaungEZUIKitJs,
}, },
data() { data() {
const basePathUrl = window.basePathUrl || '' const basePathUrl = window.basePathUrl || ''
...@@ -76,7 +91,10 @@ export default { ...@@ -76,7 +91,10 @@ export default {
carName:'4001', carName:'4001',
//司机用户名 //司机用户名
driverUserName:'lisan', driverUserName:'lisan',
//监控选择
videoSelect1:false,
carsEZUIKitJsShow:false,
kaungEZUIKitJsShow:false,
} }
}, },
mounted() { mounted() {
...@@ -122,6 +140,9 @@ export default { ...@@ -122,6 +140,9 @@ export default {
this.$refs.carManagementMethod.loadData(false); this.$refs.carManagementMethod.loadData(false);
this.$refs.intelligentSchedulMethod.loadData(false); this.$refs.intelligentSchedulMethod.loadData(false);
this.$refs.dataAnalysisMethod.loadData(false); this.$refs.dataAnalysisMethod.loadData(false);
this.videoSelect1 = false;
this.kaungEZUIKitJsShow = false;
this.carsEZUIKitJsShow = false;
} }
if(item.componentName == 'carManagement'){ if(item.componentName == 'carManagement'){
if(this.isShow.carManagement == false){ if(this.isShow.carManagement == false){
...@@ -137,6 +158,9 @@ export default { ...@@ -137,6 +158,9 @@ export default {
this.$refs.dataScreeningMethod.loadData(false); this.$refs.dataScreeningMethod.loadData(false);
this.$refs.intelligentSchedulMethod.loadData(false); this.$refs.intelligentSchedulMethod.loadData(false);
this.$refs.dataAnalysisMethod.loadData(false); this.$refs.dataAnalysisMethod.loadData(false);
this.videoSelect1 = false;
this.kaungEZUIKitJsShow = false;
this.carsEZUIKitJsShow = false;
} }
if(item.componentName == 'intelligentSchedul'){ if(item.componentName == 'intelligentSchedul'){
if(this.isShow.intelligentSchedul == false){ if(this.isShow.intelligentSchedul == false){
...@@ -152,6 +176,9 @@ export default { ...@@ -152,6 +176,9 @@ export default {
this.$refs.dataScreeningMethod.loadData(false); this.$refs.dataScreeningMethod.loadData(false);
this.$refs.carManagementMethod.loadData(false); this.$refs.carManagementMethod.loadData(false);
this.$refs.dataAnalysisMethod.loadData(false); this.$refs.dataAnalysisMethod.loadData(false);
this.videoSelect1 = false;
this.kaungEZUIKitJsShow = false;
this.carsEZUIKitJsShow = false;
} }
if(item.componentName == 'dataAnalysis'){ if(item.componentName == 'dataAnalysis'){
if(this.isShow.dataAnalysis == false){ if(this.isShow.dataAnalysis == false){
...@@ -167,6 +194,9 @@ export default { ...@@ -167,6 +194,9 @@ export default {
this.$refs.dataScreeningMethod.loadData(false); this.$refs.dataScreeningMethod.loadData(false);
this.$refs.carManagementMethod.loadData(false); this.$refs.carManagementMethod.loadData(false);
this.$refs.intelligentSchedulMethod.loadData(false); this.$refs.intelligentSchedulMethod.loadData(false);
this.videoSelect1 = false;
this.kaungEZUIKitJsShow = false;
this.carsEZUIKitJsShow = false;
} }
if(item.componentName == 'backstage'){ if(item.componentName == 'backstage'){
this.isShow.dataScreening = false; this.isShow.dataScreening = false;
...@@ -183,6 +213,9 @@ export default { ...@@ -183,6 +213,9 @@ export default {
}); });
window.open(routeUrl.href, '_blank'); window.open(routeUrl.href, '_blank');
}) })
this.videoSelect1 = false;
this.kaungEZUIKitJsShow = false;
this.carsEZUIKitJsShow = false;
} }
if(item.componentName == 'toVideoSurveillance'){ if(item.componentName == 'toVideoSurveillance'){
this.isShow.dataScreening = false; this.isShow.dataScreening = false;
...@@ -193,13 +226,25 @@ export default { ...@@ -193,13 +226,25 @@ export default {
this.$refs.carManagementMethod.loadData(false); this.$refs.carManagementMethod.loadData(false);
this.$refs.intelligentSchedulMethod.loadData(false); this.$refs.intelligentSchedulMethod.loadData(false);
this.$refs.dataAnalysisMethod.loadData(false); this.$refs.dataAnalysisMethod.loadData(false);
this.$nextTick(()=>{ if(this.videoSelect1 == false){
let routeUrl = this.$router.resolve({ this.videoSelect1 = true;
path: "/monitoringManagement/mineVideo", }else{
}); this.videoSelect1 = false;
window.open(routeUrl.href, '_blank'); this.kaungEZUIKitJsShow = false;
}) this.carsEZUIKitJsShow = false;
} }
}
},
//矿山监控
lookFn1(){
this.kaungEZUIKitJsShow = true;
this.carsEZUIKitJsShow = false;
},
//车辆监控
lookFn2(){
this.kaungEZUIKitJsShow = false;
this.carsEZUIKitJsShow = true;
}, },
//车辆信息弹框 //车辆信息弹框
showSpecificInforFn(){ showSpecificInforFn(){
...@@ -274,6 +319,10 @@ export default { ...@@ -274,6 +319,10 @@ export default {
</script> </script>
<style scope> <style scope>
*{
margin: 0;
padding: 0;
}
.mapcontainer1 { .mapcontainer1 {
height: 100vh; height: 100vh;
width: 100vw; width: 100vw;
...@@ -304,6 +353,29 @@ export default { ...@@ -304,6 +353,29 @@ export default {
position: relative; position: relative;
bottom: 0px; bottom: 0px;
} }
.videoSelectView{
position: absolute;
top: 5.5vh;
z-index: 1;
width: 100%;
height: 5.5vh;
background-color: rgb(102,204,255);
display: flex;
justify-content: space-evenly;
align-items: center;
font-size: 25px;
color: white;
font-weight: 600;
}
.videoSelectView>div{
cursor: pointer;
}
.jiankongView{
position: absolute;
top: 11vh;
z-index: 1;
width: 100%;
}
.top_titl_left{ .top_titl_left{
display: flex; display: flex;
justify-content: space-evenly; justify-content: space-evenly;
...@@ -317,8 +389,8 @@ export default { ...@@ -317,8 +389,8 @@ export default {
justify-content: space-evenly; justify-content: space-evenly;
position: absolute; position: absolute;
top: 2vh; top: 2vh;
right: 15vw; right: 12vw;
width: 20%; width: 23%;
font-size: 22px; font-size: 22px;
} }
.top_titl_left_textStyle1{ .top_titl_left_textStyle1{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment