windturbinestatusdata.js 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. export const tableOption = {
  2. "border": true,
  3. "index": true,
  4. "indexLabel": "序号",
  5. "stripe": true,
  6. "menuAlign": "center",
  7. "align": "center",
  8. "searchMenuSpan": 6,
  9. excelBtn: true,
  10. menu: false,
  11. addBtn: false,
  12. editBtn: false,
  13. delBtn: false,
  14. title: "风机数据 ",
  15. "column": [{
  16. "type": "select",
  17. "label": "所属场站",
  18. "prop": "stationCode",
  19. rules: [{
  20. required: true,
  21. message: '请填写场站编号',
  22. trigger: 'blur'
  23. }],
  24. filterable: true,
  25. dicUrl: '/electricfield/all'
  26. },
  27. {
  28. "type": "input",
  29. "label": "设备名称",
  30. "prop": "equipmentId"
  31. }
  32. , {
  33. "type": "input",
  34. "label": "状态",
  35. "prop": "status",
  36. formatter: (row, value, label, column) => {
  37. if (value == 1) {
  38. return label = "运行"
  39. }
  40. if (value == 2) {
  41. return label = "待机"
  42. }
  43. if (value == 3) {
  44. return label = "停用"
  45. }
  46. if (value == 5) {
  47. return label = "故障"
  48. }
  49. }
  50. }
  51. , {
  52. "type": "datetime",
  53. "label": "时间",
  54. "format": 'yyyy-MM-dd HH:mm',
  55. "valueFormat": 'yyyy-MM-dd HH:mm:ss',
  56. "prop": "time"
  57. }
  58. , {
  59. "type": "input",
  60. "label": "有功(KW)",
  61. "prop": "activePower"
  62. }
  63. , {
  64. "type": "input",
  65. "label": "无功(KVar)",
  66. "prop": "reactivePower"
  67. }
  68. // , {
  69. // "type": "input",
  70. // "label": "功率因数",
  71. // "prop": "powerFactor"
  72. // }
  73. , {
  74. "type": "input",
  75. "label": "电压(V)",
  76. "prop": "voltage"
  77. }
  78. , {
  79. "type": "input",
  80. "label": "电流(A)",
  81. "prop": "electricalCurrent"
  82. }
  83. // , {
  84. // "type": "input",
  85. // "label": "当日发电量(kW·h)",
  86. // "prop": "dayElectricQuantity"
  87. // }
  88. // , {
  89. // "type": "input",
  90. // "label": "当日并网小时",
  91. // "prop": "dayGridConnectedHours"
  92. // }
  93. , {
  94. "type": "input",
  95. "label": "转速(rpm)",
  96. "prop": "windWheelRatedSpeed"
  97. }
  98. , {
  99. "type": "input",
  100. "label": "风速(m/s)",
  101. "prop": "ws"
  102. }
  103. , {
  104. "type": "input",
  105. "label": "风向(°)",
  106. "prop": "wd"
  107. }
  108. , {
  109. "type": "input",
  110. "label": "环境温度(℃)",
  111. "prop": "t"
  112. }
  113. , {
  114. "type": "input",
  115. "label": "桨距角(°)",
  116. "prop": "pitchAngle"
  117. }
  118. // , {
  119. // "type": "input",
  120. // "label": "累积发电量(MW·h)",
  121. // "prop": "cumulativeGeneratedEnergy"
  122. // }
  123. ]
  124. }