|
@@ -1,34 +1,9 @@
|
|
|
<template>
|
|
<template>
|
|
|
<div>
|
|
<div>
|
|
|
- <el-dialog title="电视墙" :visible.sync="TVWallVisible" v-if="TVWallVisible" width="80%" @close="cancelEventLocationShow()">
|
|
|
|
|
- <div class="event-info">
|
|
|
|
|
- <div class="event-info-con">
|
|
|
|
|
- <div class="e-location-left">
|
|
|
|
|
- <el-tabs v-model="activeName">
|
|
|
|
|
- <el-tab-pane label="视频列表" name="tv">
|
|
|
|
|
- <div class="forthis">
|
|
|
|
|
- <div class="i-list-con overflow-y" style="height: 50vh;">
|
|
|
|
|
- <div class="d-l-con d-evnet-list-con" v-for="(item,index) in 5"
|
|
|
|
|
- v-on:click="preview()">
|
|
|
|
|
- <!-- <img :src="" v-if="item.picturePath!=null&&item.picturePath!=''" class="event-list-img"> -->
|
|
|
|
|
- <img :src="item.picturePath" v-if="item.picturePath!=null&&item.picturePath!=''"
|
|
|
|
|
- class="event-list-img">
|
|
|
|
|
- <img src="@/assets/images/visual/img-sample.png" v-else class="event-list-img">
|
|
|
|
|
- <div class="event-list-text">
|
|
|
|
|
- <h3>列表</h3>
|
|
|
|
|
- </div>
|
|
|
|
|
- </div>
|
|
|
|
|
- </div>
|
|
|
|
|
- </div>
|
|
|
|
|
- </el-tab-pane>
|
|
|
|
|
- </el-tabs>
|
|
|
|
|
- </div>
|
|
|
|
|
- </div>
|
|
|
|
|
- <div class="dom" style="width:100%;height:350px;position:relative;">
|
|
|
|
|
- <div id="dom1" class="dom1"></div>
|
|
|
|
|
- <div id="dom2" class="dom2"></div>
|
|
|
|
|
- <div id="dom3" class="dom3"></div>
|
|
|
|
|
- </div>
|
|
|
|
|
|
|
+ <el-dialog title="电视墙" :visible.sync="TVWallVisible" v-if="TVWallVisible" width="770px" style="height: 700px;"
|
|
|
|
|
+ @close="cancelEventLocationShow()">
|
|
|
|
|
+ <div style="width:100%;height:400px;position:relative;">
|
|
|
|
|
+ <div id="dom1" class="dom1"></div>
|
|
|
</div>
|
|
</div>
|
|
|
</el-dialog>
|
|
</el-dialog>
|
|
|
</div>
|
|
</div>
|
|
@@ -37,32 +12,93 @@
|
|
|
|
|
|
|
|
<script>
|
|
<script>
|
|
|
/** ----------------------------------摄像头预览开始------------------------------------- */
|
|
/** ----------------------------------摄像头预览开始------------------------------------- */
|
|
|
- import { getDahuaVideoServer } from '@/api/dahua/dahua'
|
|
|
|
|
|
|
+ import { getDahuaVideoServer, getTVWallList } from '@/api/dahua/dahua'
|
|
|
import DHWs from '@/dahua/lib/DHWs'
|
|
import DHWs from '@/dahua/lib/DHWs'
|
|
|
|
|
|
|
|
/** ----------------------------------摄像头预览结束------------------------------------- */
|
|
/** ----------------------------------摄像头预览结束------------------------------------- */
|
|
|
export default {
|
|
export default {
|
|
|
dicts: ['event_source'],
|
|
dicts: ['event_source'],
|
|
|
- components: {
|
|
|
|
|
- },
|
|
|
|
|
|
|
+ components: {},
|
|
|
data() {
|
|
data() {
|
|
|
return {
|
|
return {
|
|
|
|
|
+ tvListJson: [{
|
|
|
|
|
+ 'switchTab': '1',
|
|
|
|
|
+ 'treeLabels': [
|
|
|
|
|
+ {
|
|
|
|
|
+ 'labelCode': '123456',
|
|
|
|
|
+ 'labelName': '视频场景',
|
|
|
|
|
+ 'parentLabelCode': null
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ 'labelCode': '5a81d1bd499b4940a21fc63ca51f4dfa',
|
|
|
|
|
+ 'labelName': '标签2',
|
|
|
|
|
+ 'parentLabelCode': 123456
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ 'labelCode': 'd941adbbd3e64dac92cc448dec5293cd',
|
|
|
|
|
+ 'labelName': '标签1',
|
|
|
|
|
+ 'parentLabelCode': 123456
|
|
|
|
|
+ }
|
|
|
|
|
+ ],
|
|
|
|
|
+ 'labelChannels': [{
|
|
|
|
|
+ 'channelDates': [{
|
|
|
|
|
+ 'channelCode': '6044981090191552',
|
|
|
|
|
+ 'channelName': '复兴大桥中段-交通事故',
|
|
|
|
|
+ 'channelSn': null,
|
|
|
|
|
+ 'cameraType': 0,
|
|
|
|
|
+ 'online': 1
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ 'channelCode': 'ZgVzqsjwA1DTF561VGHK5E',
|
|
|
|
|
+ 'channelName': '北京7青羊东二路77号2通道1',
|
|
|
|
|
+ 'channelSn': null,
|
|
|
|
|
+ 'cameraType': 1,
|
|
|
|
|
+ 'online': 1
|
|
|
|
|
+ }
|
|
|
|
|
+ ],
|
|
|
|
|
+ 'labelCode': 'd941adbbd3e64dac92cc448dec5293cd'
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ 'channelDates': [{
|
|
|
|
|
+ 'channelCode': 'ZgVzqsjwA1DTF561VGHKK7',
|
|
|
|
|
+ 'channelName': '北京7青羊东二路77号2通道2',
|
|
|
|
|
+ 'channelSn': null,
|
|
|
|
|
+ 'cameraType': 2,
|
|
|
|
|
+ 'online': 0
|
|
|
|
|
+ }],
|
|
|
|
|
+ 'labelCode': '5a81d1bd499b4940a21fc63ca51f4dfa'
|
|
|
|
|
+ }
|
|
|
|
|
+ ]
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ 'switchTab': '2',
|
|
|
|
|
+ 'labelChannels': [{
|
|
|
|
|
+ 'channelDates': [{
|
|
|
|
|
+ 'channelCode': 'ZgVzqsjwA1DTF561VGHK5E',
|
|
|
|
|
+ 'channelName': '北京7青羊东二路77号2通道1',
|
|
|
|
|
+ 'channelSn': null,
|
|
|
|
|
+ 'cameraType': 1,
|
|
|
|
|
+ 'online': 1
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ 'channelCode': 'ZgVzqsjwA1DTF561VGHKK7',
|
|
|
|
|
+ 'channelName': '北京7青羊东二路77号2通道2',
|
|
|
|
|
+ 'channelSn': null,
|
|
|
|
|
+ 'cameraType': 2,
|
|
|
|
|
+ 'online': 0
|
|
|
|
|
+ }
|
|
|
|
|
+ ]
|
|
|
|
|
+ }]
|
|
|
|
|
+ }
|
|
|
|
|
+ ],
|
|
|
TVWallVisible: false,
|
|
TVWallVisible: false,
|
|
|
activeName: 'tv',
|
|
activeName: 'tv',
|
|
|
- channelId:["ZgVzqsjwA1DTF561VHG69F"],
|
|
|
|
|
|
|
+ channelId: ['ZgVzqsjwA1DTF561VHG69F'],
|
|
|
/** ----------------------------------摄像头预览开始------------------------------------- */
|
|
/** ----------------------------------摄像头预览开始------------------------------------- */
|
|
|
showModal: true,
|
|
showModal: true,
|
|
|
activePanel: 'key1',
|
|
activePanel: 'key1',
|
|
|
isLogin: false,
|
|
isLogin: false,
|
|
|
loginType: '1',
|
|
loginType: '1',
|
|
|
- // loginIp: '10.1.240.10',
|
|
|
|
|
- // userName: 'yanshi',
|
|
|
|
|
- // userPwd: 'dahua123',
|
|
|
|
|
- // loginPort: '8320',
|
|
|
|
|
- loginIp: '202.111.178.254',
|
|
|
|
|
- userName: 'system',
|
|
|
|
|
- userPwd: 'Admin@123',
|
|
|
|
|
- loginPort: '7902',
|
|
|
|
|
token: '',
|
|
token: '',
|
|
|
ctrlType: 'playerWin',
|
|
ctrlType: 'playerWin',
|
|
|
https: 1,
|
|
https: 1,
|
|
@@ -74,7 +110,7 @@
|
|
|
{
|
|
{
|
|
|
value: 1,
|
|
value: 1,
|
|
|
label: 1
|
|
label: 1
|
|
|
- },
|
|
|
|
|
|
|
+ }
|
|
|
],
|
|
],
|
|
|
ctrlTypeList: [{
|
|
ctrlTypeList: [{
|
|
|
value: 'playerWin',
|
|
value: 'playerWin',
|
|
@@ -154,7 +190,7 @@
|
|
|
{
|
|
{
|
|
|
value: 1,
|
|
value: 1,
|
|
|
label: 'avi'
|
|
label: 'avi'
|
|
|
- },{
|
|
|
|
|
|
|
+ }, {
|
|
|
value: 2,
|
|
value: 2,
|
|
|
label: 'mp4'
|
|
label: 'mp4'
|
|
|
}],
|
|
}],
|
|
@@ -190,16 +226,12 @@
|
|
|
value: false,
|
|
value: false,
|
|
|
label: '否'
|
|
label: '否'
|
|
|
}],
|
|
}],
|
|
|
- cutPosX: 10,
|
|
|
|
|
- cutPosY: 10,
|
|
|
|
|
- cutWidth: 100,
|
|
|
|
|
- cutHeight: 100,
|
|
|
|
|
crtPosX: 0,
|
|
crtPosX: 0,
|
|
|
crtPosY: 0,
|
|
crtPosY: 0,
|
|
|
- crtWidth: 700,
|
|
|
|
|
|
|
+ crtWidth: 740,
|
|
|
crtHeight: 400,
|
|
crtHeight: 400,
|
|
|
- domId:"dom1",
|
|
|
|
|
- mixedVideoDisplayMode:2,
|
|
|
|
|
|
|
+ domId: 'dom1',
|
|
|
|
|
+ mixedVideoDisplayMode: 2,
|
|
|
isShowTipe: true
|
|
isShowTipe: true
|
|
|
/** ----------------------------------摄像头预览结束------------------------------------- */
|
|
/** ----------------------------------摄像头预览结束------------------------------------- */
|
|
|
}
|
|
}
|
|
@@ -210,11 +242,11 @@
|
|
|
this.ws = DHWsInstance
|
|
this.ws = DHWsInstance
|
|
|
console.log(this.ws)
|
|
console.log(this.ws)
|
|
|
this.ws.addEventListener('connectStateChange', data => {
|
|
this.ws.addEventListener('connectStateChange', data => {
|
|
|
- if(data){
|
|
|
|
|
- console.log("连接成功");
|
|
|
|
|
- }else{
|
|
|
|
|
- console.log("连接失败,下载客户端");
|
|
|
|
|
- this.alertReinstall();
|
|
|
|
|
|
|
+ if (data) {
|
|
|
|
|
+ console.log('连接成功')
|
|
|
|
|
+ } else {
|
|
|
|
|
+ console.log('连接失败,下载客户端')
|
|
|
|
|
+ this.alertReinstall()
|
|
|
// this.isShowTipe && this.$modal.confirm({
|
|
// this.isShowTipe && this.$modal.confirm({
|
|
|
// title: '下载客户端',
|
|
// title: '下载客户端',
|
|
|
// content: '检测到您未安装部分插件,将影响部分功能使用,请下载后使用?',
|
|
// content: '检测到您未安装部分插件,将影响部分功能使用,请下载后使用?',
|
|
@@ -227,17 +259,19 @@
|
|
|
// }
|
|
// }
|
|
|
// });
|
|
// });
|
|
|
}
|
|
}
|
|
|
- });
|
|
|
|
|
|
|
+ })
|
|
|
/** ----------------------------------摄像头预览结束------------------------------------- */
|
|
/** ----------------------------------摄像头预览结束------------------------------------- */
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
cancelEventLocationShow() {
|
|
cancelEventLocationShow() {
|
|
|
this.activeName = 'tv'
|
|
this.activeName = 'tv'
|
|
|
- this.TVWallVisible=false
|
|
|
|
|
- },
|
|
|
|
|
- showTVWall() {
|
|
|
|
|
- this.TVWallVisible = true
|
|
|
|
|
|
|
+ this.TVWallVisible = false
|
|
|
|
|
+ this.destroy()
|
|
|
},
|
|
},
|
|
|
|
|
+ showTVWall() {
|
|
|
|
|
+ this.preview()
|
|
|
|
|
+ this.TVWallVisible = true
|
|
|
|
|
+ },
|
|
|
/** ----------------------------------摄像头预览开始------------------------------------- */
|
|
/** ----------------------------------摄像头预览开始------------------------------------- */
|
|
|
alertLogin: function() {
|
|
alertLogin: function() {
|
|
|
this.$modal.msg('登录中....')
|
|
this.$modal.msg('登录中....')
|
|
@@ -253,84 +287,280 @@
|
|
|
},
|
|
},
|
|
|
/** 预览按钮操作 */
|
|
/** 预览按钮操作 */
|
|
|
preview() {
|
|
preview() {
|
|
|
- getDahuaVideoServer().then(newResponse => {
|
|
|
|
|
- this.ws.detectConnectQt().then(res => {
|
|
|
|
|
- if (res) { // 连接客户端成功
|
|
|
|
|
- this.alertLogin()
|
|
|
|
|
- this.ws.login({
|
|
|
|
|
- loginIp: newResponse.loginIp,
|
|
|
|
|
- loginPort: newResponse.loginPort,
|
|
|
|
|
- userName: newResponse.userName,
|
|
|
|
|
- userPwd: newResponse.userPwd,
|
|
|
|
|
- token: '',
|
|
|
|
|
- https: 1
|
|
|
|
|
- })
|
|
|
|
|
- this.ws.on('loginState', (res) => {
|
|
|
|
|
- this.isLogin = res
|
|
|
|
|
- console.log('---res-----', res)
|
|
|
|
|
- if (res) {
|
|
|
|
|
- this.alertLoginSuccess()
|
|
|
|
|
- this.activePanel = 'key2'
|
|
|
|
|
- this.create()
|
|
|
|
|
- } else {
|
|
|
|
|
- this.alertLoginFailed()
|
|
|
|
|
- }
|
|
|
|
|
- })
|
|
|
|
|
- } else { // 连接客户端失败
|
|
|
|
|
- this.alertReinstall()
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ getTVWallList().then(newres => {
|
|
|
|
|
+ getDahuaVideoServer().then(newResponse => {
|
|
|
|
|
+ this.ws.detectConnectQt().then(res => {
|
|
|
|
|
+ if (res) { // 连接客户端成功
|
|
|
|
|
+ this.alertLogin()
|
|
|
|
|
+ this.ws.login({
|
|
|
|
|
+ loginIp: newResponse.loginIp,
|
|
|
|
|
+ loginPort: newResponse.loginPort,
|
|
|
|
|
+ userName: newResponse.userName,
|
|
|
|
|
+ userPwd: newResponse.userPwd,
|
|
|
|
|
+ token: '',
|
|
|
|
|
+ https: 1
|
|
|
|
|
+ })
|
|
|
|
|
+ this.ws.on('loginState', (res) => {
|
|
|
|
|
+ this.isLogin = res
|
|
|
|
|
+ console.log('---res-----', res)
|
|
|
|
|
+ if (res) {
|
|
|
|
|
+ this.alertLoginSuccess()
|
|
|
|
|
+ this.activePanel = 'key2'
|
|
|
|
|
+ this.create(newres.data)
|
|
|
|
|
+ } else {
|
|
|
|
|
+ this.alertLoginFailed()
|
|
|
|
|
+ }
|
|
|
|
|
+ })
|
|
|
|
|
+ } else { // 连接客户端失败
|
|
|
|
|
+ this.alertReinstall()
|
|
|
|
|
+ }
|
|
|
|
|
+ })
|
|
|
})
|
|
})
|
|
|
})
|
|
})
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
- create() { // 调用创建控件接口
|
|
|
|
|
- debugger
|
|
|
|
|
- let _this = this;
|
|
|
|
|
- console.log(this.cutPosX,"this.cutPosX")
|
|
|
|
|
|
|
+ create(tvListJson) { // 调用创建控件接口
|
|
|
|
|
+ let _this = this
|
|
|
const params = [
|
|
const params = [
|
|
|
{
|
|
{
|
|
|
- ctrlType: this.ctrlType,
|
|
|
|
|
- ctrlCode: this.ctrl,
|
|
|
|
|
- ctrlProperty: {
|
|
|
|
|
- displayMode: this.displayMode,
|
|
|
|
|
- splitNum: this.splitNum,
|
|
|
|
|
- channelList: this.channelId
|
|
|
|
|
|
|
+ 'ctrlType': 'realMonitorUI',
|
|
|
|
|
+ 'ctrlCode': 'ctrl1',
|
|
|
|
|
+ 'ctrlProperty': {
|
|
|
|
|
+ 'displayMode': 1,
|
|
|
|
|
+ 'splitNum': 1,
|
|
|
|
|
+ 'channelList': [
|
|
|
|
|
+ {
|
|
|
|
|
+ 'channelId': '8ORBqXFlA1D77U45SM1ROC'
|
|
|
|
|
+ }
|
|
|
|
|
+ ]
|
|
|
},
|
|
},
|
|
|
- visible: true,
|
|
|
|
|
- domId: this.domId
|
|
|
|
|
|
|
+ 'visible': true,
|
|
|
|
|
+ 'domId': 'dom1'
|
|
|
}
|
|
}
|
|
|
- ];
|
|
|
|
|
- this.setPos();
|
|
|
|
|
|
|
+ ]
|
|
|
|
|
+ this.setPos()
|
|
|
_this.ws.createCtrl(params).then(res => {
|
|
_this.ws.createCtrl(params).then(res => {
|
|
|
- console.log(res);
|
|
|
|
|
- _this.ws.customizeTree(null);
|
|
|
|
|
|
|
+ console.log(res)
|
|
|
|
|
+ this.customizeTree(tvListJson)
|
|
|
}).catch(e => {
|
|
}).catch(e => {
|
|
|
- console.log(e);
|
|
|
|
|
- });
|
|
|
|
|
|
|
+ console.log(e)
|
|
|
|
|
+ })
|
|
|
_this.ws.on('createCtrlResult', (res) => {
|
|
_this.ws.on('createCtrlResult', (res) => {
|
|
|
- console.warn(res);
|
|
|
|
|
- _this.ws.customizeTree(null);
|
|
|
|
|
|
|
+ console.log(res)
|
|
|
|
|
+ this.customizeTree(tvListJson)
|
|
|
_this.ws.on('createCtrlResult', (res) => {
|
|
_this.ws.on('createCtrlResult', (res) => {
|
|
|
- console.warn(res);
|
|
|
|
|
- _this.ws.customizeTree(null);
|
|
|
|
|
- });
|
|
|
|
|
- });
|
|
|
|
|
|
|
+ console.log(res)
|
|
|
|
|
+ this.customizeTree(tvListJson)
|
|
|
|
|
+ })
|
|
|
|
|
+ })
|
|
|
},
|
|
},
|
|
|
- setPos(){
|
|
|
|
|
|
|
+ setPos() {
|
|
|
let target = document.getElementById(this.domId)
|
|
let target = document.getElementById(this.domId)
|
|
|
- console.log(target,"target");
|
|
|
|
|
|
|
+ console.log(target, 'target')
|
|
|
target.style.right = `${this.crtPosX}px`
|
|
target.style.right = `${this.crtPosX}px`
|
|
|
target.style.top = `${this.crtPosY}px`
|
|
target.style.top = `${this.crtPosY}px`
|
|
|
target.style.width = `${this.crtWidth}px`
|
|
target.style.width = `${this.crtWidth}px`
|
|
|
target.style.height = `${this.crtHeight}px`
|
|
target.style.height = `${this.crtHeight}px`
|
|
|
- if(document.createEvent) {
|
|
|
|
|
- var event = document.createEvent("HTMLEvents");
|
|
|
|
|
- event.initEvent("resize", true, true);
|
|
|
|
|
- window.dispatchEvent(event);
|
|
|
|
|
- } else if(document.createEventObject) {
|
|
|
|
|
- window.fireEvent("onresize");
|
|
|
|
|
|
|
+ if (document.createEvent) {
|
|
|
|
|
+ var event = document.createEvent('HTMLEvents')
|
|
|
|
|
+ event.initEvent('resize', true, true)
|
|
|
|
|
+ window.dispatchEvent(event)
|
|
|
|
|
+ } else if (document.createEventObject) {
|
|
|
|
|
+ window.fireEvent('onresize')
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
|
|
+ destroy() { // 调用销毁控件接口
|
|
|
|
|
+ if (!this.isLogin) {
|
|
|
|
|
+ this.$Message.info('正在登陆客户端,请稍等......')
|
|
|
|
|
+ return false
|
|
|
|
|
+ }
|
|
|
|
|
+ const ctrls = this.ws.ctrls.map(i => {
|
|
|
|
|
+ if (i.ctrlCode === this.ctrl) {
|
|
|
|
|
+ return i.ctrlCode
|
|
|
|
|
+ }
|
|
|
|
|
+ })
|
|
|
|
|
+ this.ws.destroyCtrl(ctrls)
|
|
|
|
|
+ },
|
|
|
|
|
+ customizeTree(tvListJson) { // 调用控件接口树
|
|
|
|
|
+ const config = this.ws.config
|
|
|
|
|
+ const { loginIp, userCode } = config
|
|
|
|
|
+ this.ws.postMessage('customizeTree', {
|
|
|
|
|
+ loginIp,
|
|
|
|
|
+ userCode,
|
|
|
|
|
+ params: {
|
|
|
|
|
+ array: tvListJson
|
|
|
|
|
+ // [
|
|
|
|
|
+ // {
|
|
|
|
|
+ // "switchTab":"1",
|
|
|
|
|
+ // "treeLabels":[
|
|
|
|
|
+ // {
|
|
|
|
|
+ // "labelCode": "1",
|
|
|
|
|
+ // "labelName": "视频场景",
|
|
|
|
|
+ // "parentLabelCode": null
|
|
|
|
|
+ // },
|
|
|
|
|
+ // {
|
|
|
|
|
+ // "labelCode":"1000010",
|
|
|
|
|
+ // "labelName":"迎水11",
|
|
|
|
|
+ // "parentLabelCode":1
|
|
|
|
|
+ // },
|
|
|
|
|
+ // {
|
|
|
|
|
+ // "labelCode":"1000011",
|
|
|
|
|
+ // "labelName":"西村",
|
|
|
|
|
+ // "parentLabelCode": 1
|
|
|
|
|
+ // },
|
|
|
|
|
+ // {
|
|
|
|
|
+ // "labelCode":"1000012",
|
|
|
|
|
+ // "labelName":"矿山屯 ",
|
|
|
|
|
+ // "parentLabelCode": 1
|
|
|
|
|
+ // },
|
|
|
|
|
+ // {
|
|
|
|
|
+ // "labelCode":"1000013",
|
|
|
|
|
+ // "labelName":"头道",
|
|
|
|
|
+ // "parentLabelCode": 1
|
|
|
|
|
+ // },
|
|
|
|
|
+ // {
|
|
|
|
|
+ // "labelCode":"1000014",
|
|
|
|
|
+ // "labelName":"五女峰",
|
|
|
|
|
+ // "parentLabelCode": 1
|
|
|
|
|
+ // }
|
|
|
|
|
+ // ],
|
|
|
|
|
+ // "labelChannels":[
|
|
|
|
|
+ // {
|
|
|
|
|
+ // "labelCode":"1000010",
|
|
|
|
|
+ // "channelDates":[
|
|
|
|
|
+ // {
|
|
|
|
|
+ // "channelCode":"ZgVzqsjwA1DTF561VGHK5E",
|
|
|
|
|
+ // "channelName":"1a",
|
|
|
|
|
+ // "channelSn":null,
|
|
|
|
|
+ // "cameraType":0,
|
|
|
|
|
+ // "online":1
|
|
|
|
|
+ // },
|
|
|
|
|
+ // {
|
|
|
|
|
+ // "channelCode":"ZgVzqsjwA1DTF561VGHK8V",
|
|
|
|
|
+ // "channelName":"2a",
|
|
|
|
|
+ // "channelSn":null,
|
|
|
|
|
+ // "cameraType":0,
|
|
|
|
|
+ // "online":1
|
|
|
|
|
+ // },
|
|
|
|
|
+ // {
|
|
|
|
|
+ // "channelCode":"ZgVzqsjwA1DTF561VGHKK7",
|
|
|
|
|
+ // "channelName":"2a",
|
|
|
|
|
+ // "channelSn":null,
|
|
|
|
|
+ // "cameraType":0,
|
|
|
|
|
+ // "online":1
|
|
|
|
|
+ // }
|
|
|
|
|
+ // ]
|
|
|
|
|
+ // },
|
|
|
|
|
+ // {
|
|
|
|
|
+ // "labelCode":"1000011",
|
|
|
|
|
+ // "channelDates":[
|
|
|
|
|
+ // {
|
|
|
|
|
+ // "channelCode":"ZgVzqsjwA1DTF561VGHK5E",
|
|
|
|
|
+ // "channelName":"1a",
|
|
|
|
|
+ // "channelSn":null,
|
|
|
|
|
+ // "cameraType":0,
|
|
|
|
|
+ // "online":1
|
|
|
|
|
+ // },
|
|
|
|
|
+ // {
|
|
|
|
|
+ // "channelCode":"ZgVzqsjwA1DTF561VGHK8V",
|
|
|
|
|
+ // "channelName":"2a",
|
|
|
|
|
+ // "channelSn":null,
|
|
|
|
|
+ // "cameraType":0,
|
|
|
|
|
+ // "online":1
|
|
|
|
|
+ // },
|
|
|
|
|
+ // {
|
|
|
|
|
+ // "channelCode":"ZgVzqsjwA1DTF561VGHKK7",
|
|
|
|
|
+ // "channelName":"2a",
|
|
|
|
|
+ // "channelSn":null,
|
|
|
|
|
+ // "cameraType":0,
|
|
|
|
|
+ // "online":1
|
|
|
|
|
+ // }
|
|
|
|
|
+ // ]
|
|
|
|
|
+ // },
|
|
|
|
|
+ // {
|
|
|
|
|
+ // "labelCode":"1000012",
|
|
|
|
|
+ // "channelDates":[
|
|
|
|
|
+ // {
|
|
|
|
|
+ // "channelCode":"ZgVzqsjwA1DTF561VGHK5E",
|
|
|
|
|
+ // "channelName":"1a",
|
|
|
|
|
+ // "channelSn":null,
|
|
|
|
|
+ // "cameraType":0,
|
|
|
|
|
+ // "online":1
|
|
|
|
|
+ // },
|
|
|
|
|
+ // {
|
|
|
|
|
+ // "channelCode":"ZgVzqsjwA1DTF561VGHK8V",
|
|
|
|
|
+ // "channelName":"2a",
|
|
|
|
|
+ // "channelSn":null,
|
|
|
|
|
+ // "cameraType":0,
|
|
|
|
|
+ // "online":1
|
|
|
|
|
+ // },
|
|
|
|
|
+ // {
|
|
|
|
|
+ // "channelCode":"ZgVzqsjwA1DTF561VGHKK7",
|
|
|
|
|
+ // "channelName":"2a",
|
|
|
|
|
+ // "channelSn":null,
|
|
|
|
|
+ // "cameraType":0,
|
|
|
|
|
+ // "online":1
|
|
|
|
|
+ // }
|
|
|
|
|
+ // ]
|
|
|
|
|
+ // },
|
|
|
|
|
+ // {
|
|
|
|
|
+ // "labelCode":"1000013",
|
|
|
|
|
+ // "channelDates":[
|
|
|
|
|
+ // {
|
|
|
|
|
+ // "channelCode":"ZgVzqsjwA1DTF561VGHK5E",
|
|
|
|
|
+ // "channelName":"1a",
|
|
|
|
|
+ // "channelSn":null,
|
|
|
|
|
+ // "cameraType":0,
|
|
|
|
|
+ // "online":1
|
|
|
|
|
+ // },
|
|
|
|
|
+ // {
|
|
|
|
|
+ // "channelCode":"ZgVzqsjwA1DTF561VGHK8V",
|
|
|
|
|
+ // "channelName":"2a",
|
|
|
|
|
+ // "channelSn":null,
|
|
|
|
|
+ // "cameraType":0,
|
|
|
|
|
+ // "online":1
|
|
|
|
|
+ // },
|
|
|
|
|
+ // {
|
|
|
|
|
+ // "channelCode":"ZgVzqsjwA1DTF561VGHKK7",
|
|
|
|
|
+ // "channelName":"2a",
|
|
|
|
|
+ // "channelSn":null,
|
|
|
|
|
+ // "cameraType":0,
|
|
|
|
|
+ // "online":1
|
|
|
|
|
+ // }
|
|
|
|
|
+ // ]
|
|
|
|
|
+ // },
|
|
|
|
|
+ // {
|
|
|
|
|
+ // "labelCode":"1000014",
|
|
|
|
|
+ // "channelDates":[
|
|
|
|
|
+ // {
|
|
|
|
|
+ // "channelCode":"ZgVzqsjwA1DTF561VGHK5E",
|
|
|
|
|
+ // "channelName":"1a",
|
|
|
|
|
+ // "channelSn":null,
|
|
|
|
|
+ // "cameraType":0,
|
|
|
|
|
+ // "online":1
|
|
|
|
|
+ // },
|
|
|
|
|
+ // {
|
|
|
|
|
+ // "channelCode":"ZgVzqsjwA1DTF561VGHK8V",
|
|
|
|
|
+ // "channelName":"2a",
|
|
|
|
|
+ // "channelSn":null,
|
|
|
|
|
+ // "cameraType":0,
|
|
|
|
|
+ // "online":1
|
|
|
|
|
+ // },
|
|
|
|
|
+ // {
|
|
|
|
|
+ // "channelCode":"ZgVzqsjwA1DTF561VGHKK7",
|
|
|
|
|
+ // "channelName":"2a",
|
|
|
|
|
+ // "channelSn":null,
|
|
|
|
|
+ // "cameraType":0,
|
|
|
|
|
+ // "online":1
|
|
|
|
|
+ // }
|
|
|
|
|
+ // ]
|
|
|
|
|
+ // }
|
|
|
|
|
+ // ]
|
|
|
|
|
+ // }
|
|
|
|
|
+ // ]
|
|
|
|
|
+ }
|
|
|
|
|
+ })
|
|
|
|
|
+ }
|
|
|
/** ----------------------------------摄像头预览结束------------------------------------- */
|
|
/** ----------------------------------摄像头预览结束------------------------------------- */
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
@@ -338,35 +568,45 @@
|
|
|
|
|
|
|
|
<style rel="stylesheet/scss" lang="scss" scoped>
|
|
<style rel="stylesheet/scss" lang="scss" scoped>
|
|
|
@import '@/assets/styles/base.scss';
|
|
@import '@/assets/styles/base.scss';
|
|
|
- .event-info-con{
|
|
|
|
|
- width: 100%;
|
|
|
|
|
- display: flex;
|
|
|
|
|
- .e-left{
|
|
|
|
|
- width: 32%;
|
|
|
|
|
- }
|
|
|
|
|
- .e-center{
|
|
|
|
|
- width: 30%;
|
|
|
|
|
- margin-left: 1%;
|
|
|
|
|
- .img-company{
|
|
|
|
|
- width: 100%;
|
|
|
|
|
- height: 18.3vh;
|
|
|
|
|
- img{}
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
- .e-right{
|
|
|
|
|
- margin-left: 1%;
|
|
|
|
|
- width: 45%;
|
|
|
|
|
- }
|
|
|
|
|
- .e-location-left{
|
|
|
|
|
- width: 28%;
|
|
|
|
|
- margin-top: 1rem;
|
|
|
|
|
- }
|
|
|
|
|
- .e-location-right{
|
|
|
|
|
- width: 71%;
|
|
|
|
|
- margin-top: 1.3rem;
|
|
|
|
|
- margin-left: 1rem;
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
|
|
+
|
|
|
|
|
+ .event-info-con {
|
|
|
|
|
+ width: 100%;
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+
|
|
|
|
|
+ .e-left {
|
|
|
|
|
+ width: 32%;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ .e-center {
|
|
|
|
|
+ width: 30%;
|
|
|
|
|
+ margin-left: 1%;
|
|
|
|
|
+
|
|
|
|
|
+ .img-company {
|
|
|
|
|
+ width: 100%;
|
|
|
|
|
+ height: 18.3vh;
|
|
|
|
|
+
|
|
|
|
|
+ img {
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ .e-right {
|
|
|
|
|
+ margin-left: 1%;
|
|
|
|
|
+ width: 45%;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ .e-location-left {
|
|
|
|
|
+ width: 28%;
|
|
|
|
|
+ margin-top: 1rem;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ .e-location-right {
|
|
|
|
|
+ width: 71%;
|
|
|
|
|
+ margin-top: 1.3rem;
|
|
|
|
|
+ margin-left: 1rem;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
.el-dialog:not(.is-fullscreen) {
|
|
.el-dialog:not(.is-fullscreen) {
|
|
|
margin-top: 5.5vh !important;
|
|
margin-top: 5.5vh !important;
|
|
|
}
|
|
}
|
|
@@ -422,11 +662,11 @@
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- .m-l-none{
|
|
|
|
|
- .el-input__inner{
|
|
|
|
|
- margin-left:0 !important;
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ .m-l-none {
|
|
|
|
|
+ .el-input__inner {
|
|
|
|
|
+ margin-left: 0 !important;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
}
|
|
}
|
|
|
</style>
|
|
</style>
|