| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232 |
- import { BasicColumn } from '/@/components/Table';
- export const columns: BasicColumn[] = [
- // {
- // title: '序号',
- // width: 60,
- // align: 'center',
- // customRender: ({ index }: { index: number }) => `${index + 1}`
- // },
- {
- title: '安装位置',
- dataIndex: 'strinstallpos',
- key: 'strinstallpos',
- align: 'center',
- },
- {
- title: 'Ip地址',
- dataIndex: 'stripC',
- key: 'stripC',
- width: 80,
- align: 'center',
- },
- {
- title: '监测值',
- dataIndex: 'valueJc',
- key: 'valueJc',
- align: 'center',
- },
- {
- title: '供电模式',
- dataIndex: 'gdmsC',
- key: 'gdmsC',
- width: 80,
- align: 'center',
- },
- {
- title: '电池容量(%)',
- dataIndex: 'dcrl',
- key: 'dcrl',
- width: 80,
- align: 'center',
- },
- {
- title: '启用状态',
- dataIndex: 'linkIdC',
- key: 'linkIdC',
- width: 80,
- align: 'center',
- },
- {
- title: '通讯状态',
- dataIndex: 'linkstatusC',
- key: 'linkstatusC',
- width: 80,
- align: 'center',
- },
- // {
- // title: '时间',
- // dataIndex: 'updateTime',
- // key: 'updateTime',
- // width: 120,
- // align: 'center',
- // },
- {
- title: '操作',
- dataIndex: 'action',
- width: 280,
- align: 'center',
- slots: { customRender: 'action' },
- },
- ];
- export const columnsDetail: BasicColumn[] = [
- {
- title: '安装位置',
- dataIndex: 'strInstallPos',
- key: 'strInstallPos',
- width: 180,
- align: 'center',
- },
- {
- title: '通讯状态',
- dataIndex: 'linkstatusC',
- key: 'linkstatusC',
- align: 'center',
- },
- {
- title: '读写状态',
- dataIndex: 'dxzt',
- key: 'dxzt',
- align: 'center',
- },
- {
- title: '程序版本号',
- dataIndex: 'cxbbh',
- key: 'cxbbh',
- align: 'center',
- },
- {
- title: '电源状态',
- dataIndex: 'dyzt',
- key: 'dyzt',
- align: 'center',
- },
- {
- title: '电量(%)',
- dataIndex: 'dl',
- key: 'dl',
- align: 'center',
- },
- {
- title: '断线标志',
- dataIndex: 'dxbz',
- key: 'dxbz',
- align: 'center',
- },
- {
- title: '电池组总电压(mv)',
- dataIndex: 'dczzdy',
- key: 'dczzdy',
- align: 'center',
- },
- {
- title: '负载电流(mA)',
- dataIndex: 'fzcdl',
- key: 'fzcdl',
- align: 'center',
- },
- {
- title: '电池数量(节)',
- dataIndex: 'dcsl',
- key: 'dcsl',
- align: 'center',
- },
- {
- title: '单节电池电压1',
- dataIndex: 'djdcdy1',
- key: 'djdcdy1',
- align: 'center',
- },
- {
- title: '单节电池电压2',
- dataIndex: 'djdcdy2',
- key: 'djdcdy2',
- align: 'center',
- },
- {
- title: '单节电池电压3',
- dataIndex: 'djdcdy3',
- key: 'djdcdy3',
- align: 'center',
- },
- {
- title: '单节电池电压4',
- dataIndex: 'djdcdy4',
- key: 'djdcdy4',
- align: 'center',
- },
- {
- title: '单节电池电压5',
- dataIndex: 'djdcdy5',
- key: 'djdcdy5',
- align: 'center',
- },
- {
- title: '单节电池电压6',
- dataIndex: 'djdcdy6',
- key: 'djdcdy6',
- align: 'center',
- },
- {
- title: '操作',
- dataIndex: 'action',
- width: 150,
- align: 'center',
- slots: { customRender: 'action' },
- },
- ];
- export const columnsOperate: BasicColumn[] = [
- {
- title: '分站名称',
- dataIndex: 'stationName',
- key: 'stationName',
- align: 'center',
- },
- {
- title: '设备名称',
- dataIndex: 'deviceName',
- key: 'deviceName',
- align: 'center',
- },
- {
- title: '点位Key',
- dataIndex: 'plcCode',
- key: 'plcCode',
- align: 'center',
- },
- {
- title: '点位名称',
- dataIndex: 'plcCodeName',
- key: 'plcCodeName',
- align: 'center',
- },
- {
- title: '下发值',
- dataIndex: 'value',
- key: 'value',
- align: 'center',
- },
- {
- title: '操作结果',
- dataIndex: 'resultValue',
- key: 'resultValue',
- align: 'center',
- },
- {
- title: '描述',
- dataIndex: 'remark',
- key: 'remark',
- align: 'center',
- },
- {
- title: '操作时间',
- dataIndex: 'createTime',
- key: 'createTime',
- align: 'center',
- },
- ];
|