@@ -1,4 +1,5 @@
import request from '@/utils/request'
+import Cookies from 'js-cookie'
// 事件来源,类型统计
export function getEventSourceAndTypeStatistics(param) {
@@ -23,7 +24,8 @@ export function selectDeviceType() {
return request({
url: '/center-monitor/camera/selectDeviceType',
method: 'post',
- data:{type:7}
+ data:{type:7,deptId:Cookies.get("deptId")}
+
})
}
// 设备分布
@@ -515,6 +515,18 @@
eventdetailsdialog,
firespread
},
+ metaInfo () {
+ return {
+ title:this.title,
+ meta:[{
+ charset: "utf-8"
+ },
+ {
+ name: "viewport",
+ content: "width=device-width, initial-scale=1.0,minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"
+ }]
+ }
created() {
/** ----------------------------------底部按钮公用组件开始------------------------------------- */
window.showDialog = this.showDialog
@@ -544,9 +556,13 @@
// this.initWebSocket()
/** ----------------------------------weosocket结束------------------------------------- */
this.bottomMenuList() //获取底部公共组件消息和任务
+ setTimeout(() => {
+ this.title = '四平市态势感知平台'
+ }, 1000)
data() {
return {
+ title:"",
//左侧资源
resourcesList: [],
iconCurrentIndex:"",