Commit edb164a4 authored by 赵啸非's avatar 赵啸非

添加设备上线和下线的业务日志记录

parent 27a5bdd1
......@@ -168,11 +168,13 @@ export default {
const content = formatter(this.tableData, column, val);
if (content) {
if (val == '0') {
return <el-tag size='mini'>{content}</el-tag>
return <el-tag type={'warning'} size='mini'>{content}</el-tag>
} else if (val == '1') {
return <el-tag type={'danger'} size='mini'>{content}</el-tag>
} else if (val == '2') {
return <el-tag type={'success'} size='mini'>{content}</el-tag>
}else{
return <el-tag size='mini'>{content}</el-tag>
}
} else {
return val
......
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