camera.data.ts 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. import { BasicColumn } from '/@/components/Table';
  2. export const columns: BasicColumn[] = [
  3. {
  4. title: 'id',
  5. dataIndex: 'id',
  6. ifShow: false,
  7. editRow: true,
  8. },
  9. {
  10. title: '设备id',
  11. dataIndex: 'deviceid',
  12. ifShow: false,
  13. editRow: true,
  14. },
  15. {
  16. title: '摄像头名称',
  17. dataIndex: 'name',
  18. width: 100,
  19. editRow: true,
  20. editRule: true,
  21. },
  22. {
  23. title: '摄像头地址',
  24. dataIndex: 'addr',
  25. width: 100,
  26. editRow: true,
  27. editRule: true,
  28. },
  29. // {
  30. // title: '端口号',
  31. // width: 100,
  32. // dataIndex: 'port',
  33. // editRow: true,
  34. // editRule: true,
  35. // editComponent: 'InputNumber',
  36. // },
  37. // {
  38. // title: '摄像头名称',
  39. // dataIndex: 'name',
  40. // width: 100,
  41. // editRow: true,
  42. // },
  43. // {
  44. // title: '控制密码',
  45. // dataIndex: 'password',
  46. // width: 120,
  47. // editRow: true,
  48. // editRule: true,
  49. // },
  50. // {
  51. // title: '摄像头用户',
  52. // dataIndex: 'username',
  53. // width: 120,
  54. // editRow: true,
  55. // },
  56. ];