| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- import type { BasicColumn } from '@/components/Table';
- export const columns: BasicColumn[] = [
- {
- minWidth: 30,
- type: 'selection',
- fixed: 'left',
- selectable(row, _) {
- return row.name === 'SHGD-XDJS-0003';
- },
- },
- {
- label: '序号',
- minWidth: 40,
- type: 'index',
- fixed: 'left',
- },
- {
- label: 'IP地址',
- prop: 'cameraIp',
- minWidth: 80,
- },
- {
- label: '协议类型',
- prop: 'protocal',
- minWidth: 60,
- },
- {
- label: '端口地址',
- prop: 'cameraPort',
- minWidth: 60,
- },
- {
- label: 'MAC地址',
- prop: 'mac',
- minWidth: 100,
- },
- {
- label: '设备ID',
- prop: 'name',
- minWidth: 110,
- },
- {
- label: '车间场景',
- prop: 'workshopId',
- minWidth: 100,
- },
- {
- label: '工位场景',
- prop: 'workspaceId',
- minWidth: 60,
- },
- ];
|