已写入
@@ -214,6 +217,7 @@ const columns = [
{
title: 'PLC IO指令',
dataIndex: 'name',
+ scopedSlots: { customRender: 'name' }
},
{
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(){
console.log('变倍-按下')
@@ -873,4 +890,8 @@ export default {
margin: 0;
display: block;
}
+ .ant-btn{
+ white-space: inherit;
+ text-align: left;
+ }