|
|
@ -63,26 +63,26 @@
|
|
|
|
<el-table-column label="led灯编号" prop="ledNum" ></el-table-column>
|
|
|
|
<el-table-column label="led灯编号" prop="ledNum" ></el-table-column>
|
|
|
|
<el-table-column label="红灯状态" prop="red">
|
|
|
|
<el-table-column label="红灯状态" prop="red">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<span v-if="scope.row.red === 0">关闭</span>
|
|
|
|
<span v-if="scope.row.red === 0"><el-tag type="info">关闭</el-tag></span>
|
|
|
|
<span v-else>开启</span>
|
|
|
|
<span v-else><el-tag type="success">开启</el-tag></span>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
<el-table-column label="黄灯状态" prop="orange" >
|
|
|
|
<el-table-column label="黄灯状态" prop="orange" >
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<span v-if="scope.row.red === 0">关闭</span>
|
|
|
|
<span v-if="scope.row.orange === 0"><el-tag type="info">关闭</el-tag></span>
|
|
|
|
<span v-else>开启</span>
|
|
|
|
<span v-else><el-tag type="success">开启</el-tag></span>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
<el-table-column label="蓝灯状态" prop="blue" >
|
|
|
|
<el-table-column label="蓝灯状态" prop="blue" >
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<span v-if="scope.row.red === 0">关闭</span>
|
|
|
|
<span v-if="scope.row.blue === 0"><el-tag type="info">关闭</el-tag></span>
|
|
|
|
<span v-else>开启</span>
|
|
|
|
<span v-else><el-tag type="success">开启</el-tag></span>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
<el-table-column label="绿灯状态" prop="green" >
|
|
|
|
<el-table-column label="绿灯状态" prop="green" >
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<span v-if="scope.row.red === 0">关闭</span>
|
|
|
|
<span v-if="scope.row.green === 0"><el-tag type="info">关闭</el-tag></span>
|
|
|
|
<span v-else>开启</span>
|
|
|
|
<span v-else><el-tag type="success">开启</el-tag></span>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
<el-table-column label="备注" prop="remark"></el-table-column>
|
|
|
|
<el-table-column label="备注" prop="remark"></el-table-column>
|
|
|
|