This commit is contained in:
gongjiale 2022-11-25 16:21:33 +08:00
commit 42b6acf3a4
4 changed files with 23 additions and 18 deletions

View File

@ -133,7 +133,10 @@
</el-tree> </el-tree>
</div> </div>
<div class="site-content-right"> <div class="site-content-right">
<div><span>视频监控</span></div>
<video-play
:key="channelCode" :channel-id="[channelCode]"
></video-play>
</div> </div>
</div> </div>
<div class="site-content-people" v-show="selectedIndex == 2"> <div class="site-content-people" v-show="selectedIndex == 2">
@ -241,6 +244,7 @@
</div> </div>
</template> </template>
<script> <script>
import VideoPlay from './VideoPlay'
import bus from "@/views/layout/bus"; import bus from "@/views/layout/bus";
import 'viewerjs/dist/viewer.css' import 'viewerjs/dist/viewer.css'
import { directive as viewer } from "v-viewer" import { directive as viewer } from "v-viewer"
@ -286,13 +290,6 @@ export default {
channelCode: returnData[0].channelCode channelCode: returnData[0].channelCode
}) })
} }
})
getCameraAllLabel().then((res) => {
this.tabList = res.data.data
});
getCameraAll().then((res) => {
this.cameraAllData = res.data
// this.addResourceTomap('cameraAll',res.data);
}) })
getCameraAllOrgan({parentId:'S4NbecfYB1DBH8HNULGS34'}).then((res) => { getCameraAllOrgan({parentId:'S4NbecfYB1DBH8HNULGS34'}).then((res) => {
this.cameraTree = res.data.data this.cameraTree = res.data.data
@ -343,11 +340,12 @@ export default {
selectedFacilitiesType:"",// selectedFacilitiesType:"",//
facilitiesTypeOption:[{label:"设施类型",value:"1"}], facilitiesTypeOption:[{label:"设施类型",value:"1"}],
facilitiesDataResource:[{facilitiesType:"设施类型1",address:"李沧",manageMan:"张山",telePhone:"1334650987"}], facilitiesDataResource:[{facilitiesType:"设施类型1",address:"李沧",manageMan:"张山",telePhone:"1334650987"}],
cameraAllData:[],
cameraTreeIsShow:true, cameraTreeIsShow:true,
cameraTreeSingle: [], cameraTreeSingle: [],
checkStatus: '2', checkStatus: '2',
cameraTree:[], cameraTree:[],
channelCode:"3701222749350945",
}; };
}, },
methods: { methods: {

View File

@ -232,7 +232,7 @@ export default {
selectByAreaEvent(params).then((res) => { selectByAreaEvent(params).then((res) => {
this.eventListData = res.data.data.events; this.eventListData = res.data.data.events;
this.total = res.data.data.sum; this.total = res.data.data.sum;
this.$parent.allListDataNum = res.data.data.sum; // this.$parent.allListDataNum = res.data.data.sum;
}); });
}, },
beforeCreate() {}, // - beforeCreate() {}, // -

View File

@ -8,7 +8,7 @@
</div> </div>
<header> <header>
<div class="title">重点区域监控平台</div> <div class="title">重点区域精细化管理</div>
<div></div> <div></div>
</header> </header>
@ -36,13 +36,13 @@
</el-autocomplete> </el-autocomplete>
</div> </div>
<div class="eventNum"> <!-- <div class="eventNum">
累计事件数量(2022.05.25-至今) 累计事件数量(2022.05.25-至今)
<p> <p>
<span>{{ allListDataNum }}</span <span>{{ allListDataNum }}</span
> >
</p> </p>
</div> </div> -->
<!-- 事件感知 --> <!-- 事件感知 -->
<div class="complaintContent"> <div class="complaintContent">
@ -75,10 +75,10 @@
</div> </div>
<!-- 热力图图例 --> <!-- 热力图图例 -->
<div class="legend"></div> <!-- <div class="legend"></div> -->
<!-- 时间轴 --> <!-- 时间轴 -->
<div class="timerShaft"> <!-- <div class="timerShaft">
<HorizonTimeLine <HorizonTimeLine
:timelineData="timelineData" :timelineData="timelineData"
@timeId="timeIdData" @timeId="timeIdData"
@ -86,7 +86,7 @@
@hotName="hotName" @hotName="hotName"
/> />
<span></span> <span></span>
</div> </div> -->
<div class="changeLayer"> <div class="changeLayer">
<div class="title">地图显示</div> <div class="title">地图显示</div>
<div class="change-btn-box"> <div class="change-btn-box">
@ -126,6 +126,7 @@
<el-radio label="all">全市</el-radio> <el-radio label="all">全市</el-radio>
<el-radio label="local">本地</el-radio> <el-radio label="local">本地</el-radio>
<el-radio label="noLocal">外地</el-radio> <el-radio label="noLocal">外地</el-radio>
<el-radio label="clear">清除热力图</el-radio>
</el-radio-group> </el-radio-group>
</div> </div>
</div> </div>
@ -480,6 +481,7 @@ export default {
}, },
layerHandleChange(item) { layerHandleChange(item) {
console.log("地图显示等",item);
if (this.changeLayerBtnGroup.indexOf(item) !== -1) { if (this.changeLayerBtnGroup.indexOf(item) !== -1) {
switch (item) { switch (item) {
case "AI事件": case "AI事件":
@ -703,6 +705,11 @@ export default {
"thermodynamic" "thermodynamic"
); );
break; break;
case "clear":
this.hiMapFun.removeLayerByLayerName("types");
this.hiMapFun.removeLayerByLayerName("thermodynamic");
this.thermodynamicPeopleType = "";
break;
} }
}, },
removeRoadCauseAnalysis() { removeRoadCauseAnalysis() {
@ -768,7 +775,7 @@ export default {
font-family: 'Tensentype-ZhiHeiJ-W5'; font-family: 'Tensentype-ZhiHeiJ-W5';
} }
.title::before { .title::before {
content: '重点区域监控平台'; content: '重点区域精细化管理';
text-shadow: 0px 3px 10px rgba(0,0,0,.9); text-shadow: 0px 3px 10px rgba(0,0,0,.9);
position: absolute; position: absolute;
z-index: -1; z-index: -1;

View File

@ -150,7 +150,7 @@ export default {
openVideo: false, openVideo: false,
newImageUrl: "", newImageUrl: "",
resourceType:"resource", resourceType:"resource",
channelCode:["3701222749350945"] channelCode:"3701222749350945"
}; };
}, },