修改 维保设备状态问题

prod
wangwei 2 years ago
parent 538519d3ce
commit 097db1af18

@ -104,7 +104,7 @@
<el-table-column label="养护说明" prop="remark"></el-table-column> <el-table-column label="养护说明" prop="remark"></el-table-column>
<el-table-column label="设备状态" prop="status" show-overflow-tooltip width="120"> <el-table-column label="设备状态" prop="status" show-overflow-tooltip width="120">
<template slot-scope="scope"> <template slot-scope="scope">
<el-tag>{{ statusMap[scope.row.deviceStatus] }}</el-tag> <el-tag>{{ deviceStatusMap[scope.row.deviceStatus] }}</el-tag>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="状态"> <el-table-column label="状态">
@ -199,8 +199,8 @@ export default {
2: "已审核 ", 2: "已审核 ",
}, },
deviceStatusMap: { deviceStatusMap: {
0: "常", 0: "常",
1: "常", 1: "常",
}, },
typeMap: { typeMap: {
1: "报修", 1: "报修",

Loading…
Cancel
Save