增加录像机ip和球机通道

漯河-上右
LAPTOP-S9HJSOEB\昊天 2 years ago
parent d0f935d0ee
commit 25e7a6353d

@ -66,6 +66,14 @@ const columns = [
title: '视频流IP', title: '视频流IP',
dataIndex: 'rtcServer', dataIndex: 'rtcServer',
}, },
{
title: '录像机IP',
dataIndex: 'recorderIp',
},
{
title: '球机通道号',
dataIndex: 'channel',
},
{ {
title: '连接状态', title: '连接状态',
dataIndex: 'status', dataIndex: 'status',

@ -30,66 +30,20 @@
v-decorator="['rtcServer']" v-decorator="['rtcServer']"
/> />
</a-form-item> </a-form-item>
<a-form-item label="录像机IP" :label-col="formItemVerticalLayout.labelCol">
<a-input
v-decorator="['recorderIp']"
/>
</a-form-item>
<a-form-item label="球机通道号" :label-col="formItemVerticalLayout.labelCol">
<a-input
v-decorator="['channel']"
/>
</a-form-item>
</a-form> </a-form>
</a-modal> </a-modal>
</template> </template>
<!-- <template v-else-if="type=='test'">
<a-modal
v-model="isShow"
@cancel="handleCancel"
:footer="null"
:maskClosable="false"
width="1600px"
:bodyStyle="{padding:0,display:'flex'}"
:centered="true"
class="config-model"
>
<div class="test-model">
<video
width="80%"
height="80%"
:id="`camera${id}`"
autoplay muted ></video>
<div class="operation-list">
<div class="operation-item">
<img :src="zoomSubUrl" alt="" @mousedown="zoomDecStart"
@mouseup="zoomDecStop">
<span>变倍</span>
<img :src="zoomAddUrl" alt="" @mousedown="zoomAddStart"
@mouseup="zoomAddStop">
</div>
<div class="operation-item">
<img :src="focusSubUrl" alt="" @mousedown="focusDecStart" @mouseup="focusDecStop">
<span>变焦</span>
<img :src="focusAddUrl" alt="" @mousedown="focusAddStart" @mouseup="focusAddStop">
</div>
<div class="operation-item">
<img :src="irisSubUrl" alt="" @mousedown="irisDecStart" @mouseup="irisDecStop">
<span>光圈</span>
<img :src="irisAddUrl" alt="" @mousedown="irisAddStart" @mouseup="irisAddStop">
</div>
</div>
<div class="direction-list">
<div class="direction-item">
<img :src="leftUpUrl" alt="" @mousedown="leftUpStart" @mouseup="leftUpStop">
<img :src="upUrl" alt="" @mousedown="upStart" @mouseup="upStop">
<img :src="rightUpUrl" alt="" @mousedown="rightUpStart" @mouseup="rightUpStop">
</div>
<div class="direction-item">
<img :src="leftUrl" alt="" @mousedown="leftStart" @mouseup="leftStop">
<img :src="rightUrl" alt="" @mousedown="rightStart" @mouseup="rightStop">
</div>
<div class="direction-item">
<img :src="leftDownUrl" alt="" @mousedown="leftDownStart" @mouseup="leftDownStop">
<img :src="downUrl" alt="" @mousedown="downStart" @mouseup="downStop">
<img :src="rightDownUrl" alt="" @mousedown="rightDownStart" @mouseup="rightDownStop">
</div>
</div>
</div>
</a-modal>
</template> -->
<template v-else-if="type=='config'"> <template v-else-if="type=='config'">
<a-modal <a-modal
@ -215,7 +169,7 @@ export default {
this.type = newVal; this.type = newVal;
}, },
modelData: function(newVal){ modelData: function(newVal){
// console.log(newVal) console.log(newVal)
this.mdata=newVal this.mdata=newVal
console.log(this.type) console.log(this.type)
if(newVal.id && this.type=='edit'){ if(newVal.id && this.type=='edit'){
@ -227,6 +181,8 @@ export default {
ip:newVal.ip, ip:newVal.ip,
rtsp:newVal.rtsp, rtsp:newVal.rtsp,
rtcServer:newVal.rtcServer, rtcServer:newVal.rtcServer,
channel:newVal.channel,
recorderIp:newVal.recorderIp,
rtcServerPort:newVal.rtcServerPort rtcServerPort:newVal.rtcServerPort
}) })
}) })

Loading…
Cancel
Save