|
@@ -120,18 +120,18 @@ export default {
|
|
return {
|
|
return {
|
|
isShow: this.openModal, // 弹框是否展示
|
|
isShow: this.openModal, // 弹框是否展示
|
|
columns: [
|
|
columns: [
|
|
- { title: '序号', dataIndex: 'no', width: '60', align: 'center' },
|
|
|
|
- { title: '设备名称', dataIndex: 'vsDeviceName', width: '100', align: 'center' },
|
|
|
|
- { title: '设备ID', dataIndex: 'vsDeviceId', width: '100', align: 'center' },
|
|
|
|
- { title: '操作', scopedSlots: { customRender: 'action' }, width: '265', align: 'center' }
|
|
|
|
|
|
+ { title: '序号', dataIndex: 'no', width: 60, align: 'center' },
|
|
|
|
+ { title: '设备名称', dataIndex: 'vsDeviceName', width: 100, align: 'center' },
|
|
|
|
+ { title: '设备ID', dataIndex: 'vsDeviceId', width: 150, align: 'center' },
|
|
|
|
+ { title: '操作', scopedSlots: { customRender: 'action' }, width: 80, align: 'center' }
|
|
],
|
|
],
|
|
equipmentData: [], // 已绑设备
|
|
equipmentData: [], // 已绑设备
|
|
passagewayData: [], // 设备通道
|
|
passagewayData: [], // 设备通道
|
|
passagewayColumns: [
|
|
passagewayColumns: [
|
|
- { title: '序号', dataIndex: 'no', width: '60', align: 'center' },
|
|
|
|
- { title: '设备通道名称', dataIndex: 'name', width: '100', align: 'center' },
|
|
|
|
- { title: '设备ID', dataIndex: 'deviceId', width: '100', align: 'center' },
|
|
|
|
- { title: '操作', scopedSlots: { customRender: 'action' }, width: '265', align: 'center' }
|
|
|
|
|
|
+ { title: '序号', dataIndex: 'no', width: 60, align: 'center' },
|
|
|
|
+ { title: '设备通道名称', dataIndex: 'name', width: 100, align: 'center' },
|
|
|
|
+ { title: '设备ID', dataIndex: 'deviceId', width: 150, align: 'center' },
|
|
|
|
+ { title: '操作', scopedSlots: { customRender: 'action' }, width: 80, align: 'center' }
|
|
],
|
|
],
|
|
visible: false, // 编辑 通道/机位名称
|
|
visible: false, // 编辑 通道/机位名称
|
|
form: {
|
|
form: {
|