1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- 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: '名称',
- dataIndex: 'strname',
- key: 'strname',
- align: 'center',
- },
- {
- title: '监测值',
- dataIndex: 'valueJc',
- key: 'valueJc',
- align: 'center',
- },
- {
- title: '连接状态',
- dataIndex: 'linkstatusC',
- key: 'linkstatusC',
- align: 'center',
- },
- {
- title: '时间',
- dataIndex: 'updateTime',
- key: 'updateTime',
- align: 'center',
- },
- {
- title: '操作',
- dataIndex: 'action',
- width: 200,
- align: 'center',
- slots: { customRender: 'action' },
- },
- ];
|