Commit 63e569e1 authored by 王晓旭's avatar 王晓旭

提交

parent 9a4cc9e7
...@@ -80,7 +80,15 @@ export default { ...@@ -80,7 +80,15 @@ export default {
formatter: (row) => (row.roomCode ? row.roomCode : "--"), formatter: (row) => (row.roomCode ? row.roomCode : "--"),
}, },
{ label: "房间类型", prop: "roomType", formatter: this.formatter }, { label: "房间类型", prop: "roomType", formatter: (row)=>{
console.log(this.tableData.dict.roomType);
if(this.tableData.dict.roomType){
return (this.tableData.dict.roomType[row.roomType]?this.tableData.dict.roomType[row.roomType]:'--')
}else{
return '--'
}
}
},
{ {
label: "绑定设备", label: "绑定设备",
......
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