chamber.data.ts 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. import { reactive } from 'vue';
  2. import { BasicColumn } from '/@/components/Table';
  3. export const warningConfig = reactive({
  4. header: ['设备名称', '预警信息', '时间'],
  5. data: [
  6. ['火焰6', '严重报警', '03-05'],
  7. ['测点43', '一般预警', '03-05'],
  8. ['CO23', '一般预警', '03-05'],
  9. ['测点6', '超高预警', '03-05'],
  10. ['测点65', '超高预警', '03-05'],
  11. ['温度4', '一般预警', '03-05'],
  12. ['测点61', '一般预警', '03-05'],
  13. ['测点87', '一般信息', '03-05'],
  14. ],
  15. index: false,
  16. // columnWidth: [150, 80, 150, 150],
  17. headerBGC: '#3d9dd45d',
  18. oddRowBGC: '#009acd10',
  19. evenRowBGC: '#009acd05',
  20. align: ['center', 'center', 'center'],
  21. });
  22. export const sensorColumns: BasicColumn[] = [
  23. {
  24. title: '名称',
  25. dataIndex: 'strname',
  26. width: 100,
  27. align: 'center',
  28. },
  29. {
  30. title: '实时值',
  31. dataIndex: 'smokeval',
  32. width: 80,
  33. align: 'center',
  34. },
  35. {
  36. title: '报警',
  37. dataIndex: 'warnFlag',
  38. width: 100,
  39. align: 'center',
  40. },
  41. ];
  42. export const dustColumns: BasicColumn[] = [
  43. {
  44. title: '名称',
  45. dataIndex: 'strname',
  46. width: 100,
  47. align: 'center',
  48. },
  49. {
  50. title: '链接状态',
  51. dataIndex: 'netStatus',
  52. width: 80,
  53. align: 'center',
  54. },
  55. {
  56. title: '启停',
  57. dataIndex: 'action',
  58. width: 100,
  59. align: 'center',
  60. },
  61. ];
  62. export const windowParam = [
  63. {
  64. title: '前窗面积',
  65. code: 'valve1Val',
  66. inputNum: 0,
  67. },
  68. {
  69. title: '后窗面积',
  70. code: 'valve2Val',
  71. inputNum: 0,
  72. },
  73. ];