【web】 修改空状态判定

dev
Wangxin 8 months ago
parent 9039f8db87
commit f1d706c759
  1. 8
      ALOps_sys_fe/alops-ui/src/views/inMonitoring/devicesState/history.vue
  2. 18
      ALOps_sys_fe/alops-ui/src/views/inMonitoring/devicesState/interface.vue
  3. 6
      ALOps_sys_fe/alops-ui/src/views/inMonitoring/devicesState/routing.vue
  4. 6
      ALOps_sys_fe/alops-ui/src/views/inMonitoring/devicesState/vlan.vue

@ -10,17 +10,17 @@
></el-table-column>
<el-table-column label="预警时间" align="center" key="occurTime" prop="occurTime">
<template slot-scope="scope">
<span>{{ scope.row.occurTime || '--' }}</span>
<span>{{ scope.row.occurTime !== undefined && scope.row.occurTime !== null ? scope.row.occurTime : '--' }}</span>
</template>
</el-table-column>
<el-table-column label="预警等级" align="center" key="level" prop="level" :show-overflow-tooltip="true">
<template slot-scope="scope">
<span>{{ scope.row.level || '--' }}</span>
<span>{{ scope.row.level !== undefined && scope.row.level !== null ? scope.row.level : '--' }}</span>
</template>
</el-table-column>
<el-table-column label="预警信息" align="center" key="message" prop="message" :show-overflow-tooltip="true">
<template slot-scope="scope">
<span>{{ scope.row.message || '--' }}</span>
<span>{{ scope.row.message !== undefined && scope.row.message !== null ? scope.row.message : '--' }}</span>
</template>
</el-table-column>
<el-table-column label="预警状态" align="center" key="status" prop="status" :show-overflow-tooltip="true">
@ -39,7 +39,7 @@
<el-table-column label="处理人" align="center" key="handler" prop="handler" :show-overflow-tooltip="true" >
<template slot-scope="scope">
<span >{{ scope.row.handler || '--' }}</span>
<span >{{ scope.row.handler !== undefined && scope.row.handler !== null ? scope.row.handler : '--' }}</span>
</template>
</el-table-column>

@ -10,12 +10,12 @@
></el-table-column>
<el-table-column label="采集时间" align="center" prop="gatherTime" width="160">
<template slot-scope="scope">
<span>{{ parseTime(scope.row.gatherTime) || '--' }}</span>
<span>{{ parseTime(scope.row.gatherTime) !== undefined && parseTime(scope.row.gatherTime) !== null ? parseTime(scope.row.gatherTime) : '--' }}</span>
</template>
</el-table-column>
<el-table-column label="接口ID" align="center" key="id" prop="id" :show-overflow-tooltip="true">
<template slot-scope="scope">
<span>{{ scope.row.id || '--' }}</span>
<span>{{ scope.row.id !== undefined && scope.row.id !== null ? scope.row.id : '--' }}</span>
</template>
</el-table-column>
<el-table-column label="双工模式" align="center" key="commuicateMode" prop="commuicateMode" :show-overflow-tooltip="true">
@ -25,37 +25,37 @@
</el-table-column>
<el-table-column label="入方向流量" align="center" key="inFlow" prop="inFlow" :show-overflow-tooltip="true">
<template slot-scope="scope">
<span>{{ scope.row.inFlow || '--' }}</span>
<span>{{ scope.row.inFlow !== undefined && scope.row.inFlow !== null ? scope.row.inFlow : '--' }}</span>
</template>
</el-table-column>
<el-table-column label="出方向流量" align="center" key="outFlow" prop="outFlow" :show-overflow-tooltip="true">
<template slot-scope="scope">
<span>{{ scope.row.outFlow || '--' }}</span>
<span>{{ scope.row.outFlow !== undefined && scope.row.outFlow !== null ? scope.row.outFlow : '--' }}</span>
</template>
</el-table-column>
<el-table-column label="入方向宽带占用率%" align="center" key="inBandwidth" prop="inBandwidth" :show-overflow-tooltip="true">
<template slot-scope="scope">
<span>{{ scope.row.inBandwidth || '--' }}</span>
<span>{{ scope.row.inBandwidth !== undefined && scope.row.inBandwidth !== null ? scope.row.inBandwidth : '--' }}</span>
</template>
</el-table-column>
<el-table-column label="出方向宽带占用率%" align="center" key="outBandwidth" prop="outBandwidth" :show-overflow-tooltip="true">
<template slot-scope="scope">
<span>{{ scope.row.outBandwidth || '--' }}</span>
<span>{{ scope.row.outBandwidth !== undefined && scope.row.outBandwidth !== null ? scope.row.outBandwidth : '--' }}</span>
</template>
</el-table-column>
<el-table-column label="丢包率" align="center" key="lossRate" prop="lossRate" :show-overflow-tooltip="true">
<template slot-scope="scope">
<span>{{ scope.row.lossRate || '--' }}</span>
<span>{{ scope.row.lossRate !== undefined && scope.row.lossRate !== null ? scope.row.lossRate : '--' }}</span>
</template>
</el-table-column>
<el-table-column label="错包率" align="center" key="errorRate" prop="errorRate" :show-overflow-tooltip="true">
<template slot-scope="scope">
<span>{{ scope.row.errorRate || '--' }}</span>
<span>{{ scope.row.errorRate !== undefined && scope.row.errorRate !== null ? scope.row.errorRate : '--' }}</span>
</template>
</el-table-column>
<el-table-column label="传输速率" align="center" key="rate" prop="rate" :show-overflow-tooltip="true">
<template slot-scope="scope">
<span>{{ scope.row.rate || '--' }}</span>
<span>{{ scope.row.rate !== undefined && scope.row.rate !== null ? scope.row.rate : '--' }}</span>
</template>
</el-table-column>
</el-table>

@ -10,17 +10,17 @@
></el-table-column>
<el-table-column label="目的地址" align="center" key="desAddress" prop="desAddress" :show-overflow-tooltip="true">
<template slot-scope="scope">
<span>{{ scope.row.desAddress || '--' }}</span>
<span>{{ scope.row.desAddress !== undefined && scope.row.desAddress !== null ? scope.row.desAddress : '--' }}</span>
</template>
</el-table-column>
<el-table-column label="子网掩码" align="center" key="subnetMask" prop="subnetMask" :show-overflow-tooltip="true">
<template slot-scope="scope">
<span>{{ scope.row.subnetMask || '--' }}</span>
<span>{{ scope.row.subnetMask !== undefined && scope.row.subnetMask !== null ? scope.row.subnetMask : '--' }}</span>
</template>
</el-table-column>
<el-table-column label="下一跳地址" align="center" key="nextHop" prop="nextHop" :show-overflow-tooltip="true">
<template slot-scope="scope">
<span>{{ scope.row.nextHop || '--' }}</span>
<span>{{ scope.row.nextHop !== undefined && scope.row.nextHop !== null ? scope.row.nextHop : '--' }}</span>
</template>
</el-table-column>
</el-table>

@ -10,17 +10,17 @@
></el-table-column>
<el-table-column label="ManID" align="center" key="mainId" prop="mainId" :show-overflow-tooltip="true">
<template slot-scope="scope">
<span>{{ scope.row.mainId || '--' }}</span>
<span>{{ scope.row.mainId !== undefined && scope.row.mainId !== null ? scope.row.mainId : '--' }}</span>
</template>
</el-table-column>
<el-table-column label="IP地址" align="center" key="ipAddress" prop="ipAddress" :show-overflow-tooltip="true">
<template slot-scope="scope">
<span>{{ scope.row.ipAddress || '--' }}</span>
<span>{{ scope.row.ipAddress !== undefined && scope.row.ipAddress !== null ? scope.row.ipAddress : '--' }}</span>
</template>
</el-table-column>
<el-table-column label="子网掩码" align="center" key="subnetMask" prop="subnetMask" :show-overflow-tooltip="true">
<template slot-scope="scope">
<span>{{ scope.row.subnetMask || '--' }}</span>
<span>{{ scope.row.subnetMask !== undefined && scope.row.subnetMask !== null ? scope.row.subnetMask : '--' }}</span>
</template>
</el-table-column>
</el-table>

Loading…
Cancel
Save