|
@@ -55,8 +55,8 @@
|
|
|
:radio-config="{trigger: 'row'}">
|
|
|
<vxe-table-column field="stationCode" title="所属场站" :formatter="stationCodeFormat"></vxe-table-column>
|
|
|
<vxe-table-column field="equipmentId" title="设备名称" :formatter="nameFormat"></vxe-table-column>
|
|
|
+ <vxe-table-column field="time" title="时间" width="150" :formatter="timeFormat"></vxe-table-column>
|
|
|
<vxe-table-column field="status" title="状态" :formatter="statusFormat"></vxe-table-column>
|
|
|
- <vxe-table-column field="time" title="时间" width="150"></vxe-table-column>
|
|
|
<vxe-table-column field="activePower" title="有功(KW)"></vxe-table-column>
|
|
|
<vxe-table-column field="reactivePower" title="无功(KVar)"></vxe-table-column>
|
|
|
<vxe-table-column field="voltage" title="电压(V)"></vxe-table-column>
|
|
@@ -150,6 +150,9 @@ export default {
|
|
|
this.$message.error('获取逆变器设备出错' + error)
|
|
|
})
|
|
|
},
|
|
|
+ timeFormat({ cellValue, row, column }) {
|
|
|
+ return this.$moment(cellValue).format('YYYY-MM-DD HH:mm')
|
|
|
+ },
|
|
|
nameFormat({cellValue, row, column}) {
|
|
|
const item = this.nameList.find(item => item.value === cellValue)
|
|
|
return item ? item.label : ''
|