Commit 58f5015a authored by wanghao's avatar wanghao

1 历史数据界面显示问题

parent e4f93e45
......@@ -121,14 +121,14 @@
</el-table-column>
<el-table-column label="继电器状态" align="center" width="150">
<template slot-scope="scope">
<el-tag type="info" v-if="scope.row.relayStatus === 1">初始</el-tag>
<el-tag type="success" v-if="scope.row.relayStatus === 0">动作</el-tag>
<el-tag type="info" v-if="scope.row.relayStatus === 0">初始</el-tag>
<el-tag type="success" v-if="scope.row.relayStatus === 1">动作</el-tag>
</template>
</el-table-column>
<el-table-column label="脉冲状态" align="center" width="120">
<template slot-scope="scope">
<el-tag type="info" v-if="scope.row.pulseStatus === 1">初始</el-tag>
<el-tag type="success" v-if="scope.row.pulseStatus === 0">动作</el-tag>
<el-tag type="info" v-if="scope.row.pulseStatus === 0">初始</el-tag>
<el-tag type="success" v-if="scope.row.pulseStatus === 1">动作</el-tag>
</template>
</el-table-column>
<el-table-column label="模块状态" align="center" width="120">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment