| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107 |
- import { BasicColumn } from '/@/components/Table';
- export const columns: BasicColumn[] = [
- {
- title: '设备id',
- dataIndex: 'deviceid',
- ifShow: false,
- editRow: true,
- },
- {
- title: '摄像头名称',
- dataIndex: 'name',
- width: 100,
- editRow: true,
- editRule: true,
- },
- {
- title: '视频流类型',
- dataIndex: 'devicekind',
- width: 100,
- editRow: true,
- editRule: true,
- editComponent: 'Select',
- editComponentProps: {
- options: [
- {
- label: 'rtsp',
- value: 'rtsp',
- },
- {
- label: 'HLS ',
- value: 'HLS',
- },
- {
- label: 'flv',
- value: 'flv',
- },
- {
- label: '海康平台转换rtsp',
- value: 'toHKRtsp',
- },
- {
- label: '海康平台转换hls',
- value: 'toHKHLs',
- },
- ],
- },
- },
- {
- title: '摄像头地址',
- dataIndex: 'addr',
- width: 100,
- editRow: true,
- },
- {
- title: '视频播放倍速',
- dataIndex: 'cameraRate',
- width: 100,
- editRow: true,
- editComponentProps: {
- options: [
- {
- label: '0.5',
- value: 0.5,
- },
- {
- label: '1 ',
- value: 1,
- },
- {
- label: '1.5',
- value: 1.5,
- },
- {
- label: '2',
- value: 2,
- },
- ],
- },
- },
- // {
- // title: '端口号',
- // width: 100,
- // dataIndex: 'port',
- // editRow: true,
- // editRule: true,
- // editComponent: 'InputNumber',
- // },
- // {
- // title: '摄像头名称',
- // dataIndex: 'name',
- // width: 100,
- // editRow: true,
- // },
- // {
- // title: '控制密码',
- // dataIndex: 'password',
- // width: 120,
- // editRow: true,
- // editRule: true,
- // },
- // {
- // title: '摄像头用户',
- // dataIndex: 'username',
- // width: 120,
- // editRow: true,
- // },
- ];
|