Commit b223161e by lixiaomin

修改店铺机器信息中的设备状态

parent 38840bfa
...@@ -9,9 +9,9 @@ ...@@ -9,9 +9,9 @@
<el-table-column label="绑定时间" align="center" prop="bindTime" /> <el-table-column label="绑定时间" align="center" prop="bindTime" />
<el-table-column label="状态" align="center" prop="state"> <el-table-column label="状态" align="center" prop="state">
<template slot-scope="scope"> <template slot-scope="scope">
<span v-if="scope.row.state == 1">正常</span> <span v-if="scope.row.state == '1'">正常</span>
<span v-if="scope.row.state == 2">故障</span> <span v-if="scope.row.state == '11'">忙碌</span>
<span v-if="scope.row.state == 3">关停</span> <span v-if="scope.row.state == '99'">离线</span>
</template> </template>
</el-table-column> </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