feat:测点原始记录添加信号状态
This commit is contained in:
parent
0c1fb4b563
commit
2e257bdcb1
|
@ -267,6 +267,25 @@
|
|||
>
|
||||
<el-table-column type="selection" width="50" />
|
||||
<el-table-column label="采集时间" prop="timex"></el-table-column>
|
||||
<el-table-column label="状态信号" prop="val_mrs">
|
||||
<template #default="scope">
|
||||
<el-tag v-if="scope.row.val_mrs == 10" type="success"
|
||||
>运行</el-tag
|
||||
>
|
||||
<el-tag
|
||||
v-if="
|
||||
scope.row.val_mrs == 20 ||
|
||||
scope.row.val_mrs == 30 ||
|
||||
scope.row.val_mrs == 40
|
||||
"
|
||||
type="warning"
|
||||
>停机
|
||||
</el-tag>
|
||||
<el-tag v-if="scope.row.val_mrs == 50" type="danger"
|
||||
>离线</el-tag
|
||||
>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="采集数值">
|
||||
<template #default="scope">
|
||||
<span v-if="scope.row.val_int != null">{{
|
||||
|
|
Loading…
Reference in New Issue