Commit 3d775b4d authored by wanghao's avatar wanghao

1 实时数据界面调整。

parent 2274cf7c
......@@ -151,15 +151,15 @@
</el-table-column>
<el-table-column label="继电器状态" align="center" width="150">
<template slot-scope="scope">
<span v-if="scope.row.relayStatus === 1" class="write-success">初始</span>
<span v-else-if="scope.row.relayStatus === 0" class="write-failed">动作</span>
<span v-if="scope.row.relayStatus === 0" class="write-success">初始</span>
<span v-else-if="scope.row.relayStatus === 1" class="write-failed">动作</span>
<span v-else class="write-unknown">-</span>
</template>
</el-table-column>
<el-table-column label="脉冲状态" align="center" width="120">
<template slot-scope="scope">
<span v-if="scope.row.pulseStatus === 1" class="write-success">初始</span>
<span v-else-if="scope.row.pulseStatus === 0" class="write-failed">动作</span>
<span v-if="scope.row.pulseStatus === 0" class="write-success">初始</span>
<span v-else-if="scope.row.pulseStatus === 1" class="write-failed">动作</span>
<span v-else class="write-unknown">-</span>
</template>
</el-table-column>
......
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