|
@@ -122,7 +122,7 @@
|
|
|
</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column v-if="colData[5].istrue" header-align="center" align="center" label="错误率" prop="error_rate" :show-overflow-tooltip="true">
|
|
|
+ <el-table-column v-if="colData[5].istrue" header-align="center" align="center" label="错误率" sortable prop="error_rate" :show-overflow-tooltip="true">
|
|
|
<template slot-scope="scope">
|
|
|
<div :class="scope.row.error_rate==0?'table_bg':'table_bg_red'">
|
|
|
<div class="table-num-box">
|
|
@@ -139,8 +139,16 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column v-if="colData[6].istrue" header-align="center" align="center" label="最大延迟(ms)" sortable prop="max" :show-overflow-tooltip="true">
|
|
|
<template slot-scope="scope">
|
|
|
- <div :class="scope.row.max<2000?'table_bg':'table_bg_red'">
|
|
|
- {{ scope.row.max==undefined?0:Number(scope.row.max).toFixed(2) }}
|
|
|
+ <div :class="scope.row.duration_max<2000?'table_bg':'table_bg_red'">
|
|
|
+ <div class="table-num-box">
|
|
|
+ {{ scope.row.duration_max==undefined?0:Number(scope.row.duration_max).toFixed(2) }}
|
|
|
+ </div>
|
|
|
+ <div class="table-day-rate-box">
|
|
|
+ <i v-show="processNumber(scope.row.duration_max_dod).sign" :class="processNumber(scope.row.duration_max_dod).sign == 'up'? 'el-icon-up up':'el-icon-down down'" />
|
|
|
+ <span>
|
|
|
+ {{ scope.row.duration_max_dod==undefined?0:getErrRate(processNumber(scope.row.duration_max_dod).value) }}
|
|
|
+ </span>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</template>
|
|
|
</el-table-column>
|