@ -58,6 +58,11 @@
<span>{{ scope.row.rate !== undefined && scope.row.rate !== null ? scope.row.rate : '--' }}</span>
</template>
</el-table-column>
<el-table-column label="端口是否运行" align="center" key="running" prop="running" :show-overflow-tooltip="true">
<template slot-scope="scope">
<span>{{ scope.row.running == '1' ? 'up' : scope.row.running == '2' ? 'down' : '--' }}</span>
</el-table>
</el-col>
</el-row>
@ -299,7 +299,7 @@ export default {
},
methods: {
findParamName(paramName) {
const item = this.byTableData.find(item => item.paramName == paramName);
const item = this.byTableData.find(item => item.columnName == paramName);
return item ? item.paramName : '';
/** 查询设备列表 */