import { BasicColumn } from '/@/components/Table'; import { deviceList, deviceId, getDeviceId } from './point.api'; export const columns: BasicColumn[] = [ { title: '值名称', dataIndex: 'valuename', width: 100, }, { title: '值code', width: 100, dataIndex: 'valuecode', }, { title: '关联设备类型', dataIndex: 'link_devicetype', editRow: true, width: 100, }, { title: '关联设备', dataIndex: 'link_id', editRow: true, width: 100, }, { title: '关联字段', width: 180, editRow: true, dataIndex: 'link_code', }, ]; export const deviceColumns: BasicColumn[] = [ { title: '名称', dataIndex: 'deviceName', align: 'center', width: 120, }, { title: '安装位置', dataIndex: 'devicePos', align: 'center', width: 100, }, { title: '设备类型', dataIndex: 'deviceType', align: 'center', width: 100, }, { title: '所属分站', width: 150, align: 'center', dataIndex: 'subStationName', }, ]; export const workFaceColumns: BasicColumn[] = [ { title: '安装位置', dataIndex: 'valuename', width: 100, }, { title: '序号', width: 100, dataIndex: 'valuecode', }, ];