singleMachineAnalysis.vue 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. <template>
  2. <div class="box">
  3. <div class="searchBar">
  4. <el-card class="box-card">
  5. <el-form :inline="true" :model="formInline" class="demo-form-inline">
  6. <el-row :gutter="1">
  7. <el-form-item label="查询条件">
  8. </el-form-item>
  9. <el-form-item label="风场:">
  10. <el-select v-model="value" placeholder="请选择" @change="projectData">
  11. <el-option
  12. v-for="item in options"
  13. :key="item.name"
  14. :label="item.name"
  15. :value="item.id">
  16. </el-option>
  17. </el-select>
  18. </el-form-item>
  19. <el-form-item label="年份:">
  20. <el-date-picker
  21. value-format="yyyy"
  22. v-model="year"
  23. type="year"
  24. placeholder="选择年"
  25. format="yyyy"
  26. >
  27. </el-date-picker>
  28. </el-form-item>
  29. <el-form-item label="月份:">
  30. <el-date-picker
  31. value-format="yyyy-MM"
  32. v-model="month"
  33. type="month"
  34. placeholder="选择月"
  35. format="yyyy-MM">
  36. </el-date-picker>
  37. </el-form-item>
  38. <el-form-item>
  39. <el-button type="primary" @click="queryApData" :plain="true"
  40. >计算</el-button
  41. >
  42. </el-form-item>
  43. <el-form-item>
  44. <el-button type="primary" @click="toExcel()">导出</el-button>
  45. </el-form-item>
  46. </el-row>
  47. </el-form>
  48. </el-card>
  49. <div style="font-size:30px;text-align:center;margin-top:1%">{{title}}</div>
  50. <el-table
  51. class="table_sty"
  52. id="callthepolicetable"
  53. :data="gridData"
  54. :row-style="{ height: '10px' }"
  55. :cell-style="{ textAlign: 'center'}"
  56. :header-cell-style="{ textAlign:'center',background:'#F5F7FA'}"
  57. @sort-change="changeTableSort"
  58. @row-click="tableDatawindturbineName"
  59. border
  60. style="width:100%;margin-top:1%;cursor: pointer;">
  61. <el-table-column
  62. type="index"
  63. width="40">
  64. </el-table-column>
  65. <el-table-column
  66. prop="windturbineName"
  67. label="机组编号">
  68. </el-table-column>
  69. <el-table-column
  70. :sortable="'custom'"
  71. prop="fdl"
  72. label="实际发电量(万千瓦时)">
  73. </el-table-column>
  74. <el-table-column
  75. :sortable="'custom'"
  76. prop="llfdl"
  77. label="理论发电量(万千瓦时)">
  78. </el-table-column>
  79. <el-table-column
  80. :sortable="'custom'"
  81. prop="sbklyl"
  82. label="设备利用小时数(小时)">
  83. </el-table-column>
  84. <el-table-column
  85. :sortable="'custom'"
  86. prop="sbklyl"
  87. label="设备可利用率(%)">
  88. </el-table-column>
  89. <el-table-column
  90. :sortable="'custom'"
  91. prop="dxklyxs"
  92. label="等效可用系数(%)">
  93. </el-table-column>
  94. <el-table-column
  95. :sortable="'custom'"
  96. prop="fs"
  97. label="平均风速(m/s)">
  98. </el-table-column>
  99. <el-table-column
  100. :sortable="'custom'"
  101. prop="xfqr"
  102. label="小风切入风速(m/s)">
  103. </el-table-column>
  104. <el-table-column
  105. :sortable="'custom'"
  106. prop="yxxs"
  107. label="有效风时数(小时)">
  108. </el-table-column>
  109. <el-table-column
  110. :sortable="'custom'"
  111. prop="gzss"
  112. label="故障损失电量(万千瓦时)">
  113. </el-table-column>
  114. <el-table-column
  115. :sortable="'custom'"
  116. prop="xdss"
  117. label="调度限电损失电量(万千瓦时)">
  118. </el-table-column>
  119. <el-table-column
  120. :sortable="'custom'"
  121. prop="jxss"
  122. label="计划检修损失电量(万千瓦时)">
  123. </el-table-column>
  124. <el-table-column
  125. :sortable="'custom'"
  126. prop="xnss"
  127. label="性能未达标损失电量(万千瓦时)">
  128. </el-table-column>
  129. <el-table-column
  130. :sortable="'custom'"
  131. prop="gzxs"
  132. label="故障停用时间(小时)">
  133. </el-table-column>
  134. <el-table-column
  135. :sortable="'custom'"
  136. prop="glyzxxs"
  137. label="机组功率一致性系数(%)">
  138. </el-table-column>
  139. <!-- <el-table-column
  140. :sortable="'custom'"
  141. prop="jfpl"
  142. label="静风频率"
  143. width="100">
  144. </el-table-column> -->
  145. </el-table>
  146. </div>
  147. </div>
  148. </template>
  149. <script>
  150. import singleMachineAnalysis from "@assets/js/performanceAnalysis/singleMachineAnalysis";
  151. export default singleMachineAnalysis;
  152. </script>
  153. <style lang="scss" scoped>
  154. @import "@assets/css/performanceAnalysis/singleMachineAnalysis.scss";
  155. </style>