【web】 预警信息 修改

dev
Wangxin 8 months ago
parent 387952c9c5
commit f87b2dc553
  1. 5
      ALOps_sys_fe/alops-ui/src/views/inMonitoring/devicesState/interface.vue
  2. 2
      ALOps_sys_fe/alops-ui/src/views/inMonitoring/inMonitor/rules/index.vue

@ -58,6 +58,11 @@
<span>{{ scope.row.rate !== undefined && scope.row.rate !== null ? scope.row.rate : '--' }}</span> <span>{{ scope.row.rate !== undefined && scope.row.rate !== null ? scope.row.rate : '--' }}</span>
</template> </template>
</el-table-column> </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>
</template>
</el-table-column>
</el-table> </el-table>
</el-col> </el-col>
</el-row> </el-row>

@ -299,7 +299,7 @@ export default {
}, },
methods: { methods: {
findParamName(paramName) { findParamName(paramName) {
const item = this.byTableData.find(item => item.paramName == paramName); const item = this.byTableData.find(item => item.columnName == paramName);
return item ? item.paramName : ''; return item ? item.paramName : '';
}, },
/** 查询设备列表 */ /** 查询设备列表 */

Loading…
Cancel
Save