|
|
|
@ -147,6 +147,9 @@
|
|
|
|
:pagination="false"
|
|
|
|
:pagination="false"
|
|
|
|
:scroll="{y: 450 }"
|
|
|
|
:scroll="{y: 450 }"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
|
|
|
|
<span slot="name" slot-scope="text,record">
|
|
|
|
|
|
|
|
<a-button type="link" @click="toPtz(record)">{{text}}</a-button>
|
|
|
|
|
|
|
|
</span>
|
|
|
|
<span slot="position" slot-scope="text, record">
|
|
|
|
<span slot="position" slot-scope="text, record">
|
|
|
|
<div v-if="text">
|
|
|
|
<div v-if="text">
|
|
|
|
已写入
|
|
|
|
已写入
|
|
|
|
@ -214,6 +217,7 @@ const columns = [
|
|
|
|
{
|
|
|
|
{
|
|
|
|
title: 'PLC IO指令',
|
|
|
|
title: 'PLC IO指令',
|
|
|
|
dataIndex: 'name',
|
|
|
|
dataIndex: 'name',
|
|
|
|
|
|
|
|
scopedSlots: { customRender: 'name' }
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
title: '位置',
|
|
|
|
title: '位置',
|
|
|
|
@ -429,6 +433,19 @@ export default {
|
|
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
});
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
toPtz(data){
|
|
|
|
|
|
|
|
this.$api.httpApi.cameraIoToPtz({
|
|
|
|
|
|
|
|
data: {
|
|
|
|
|
|
|
|
cameraId:this.id,
|
|
|
|
|
|
|
|
cameraIOId:data.id,
|
|
|
|
|
|
|
|
name:data.name,
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}).then(res => {
|
|
|
|
|
|
|
|
console.log(res)
|
|
|
|
|
|
|
|
}).catch(err => {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
zoomDecStart(){
|
|
|
|
zoomDecStart(){
|
|
|
|
console.log('变倍-按下')
|
|
|
|
console.log('变倍-按下')
|
|
|
|
@ -873,4 +890,8 @@ export default {
|
|
|
|
margin: 0;
|
|
|
|
margin: 0;
|
|
|
|
display: block;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.ant-btn{
|
|
|
|
|
|
|
|
white-space: inherit;
|
|
|
|
|
|
|
|
text-align: left;
|
|
|
|
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
</style>
|
|
|
|
|