|
|
@ -38,7 +38,7 @@ |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
<view class="conItem"> |
|
|
|
<view class="conItem" v-if="showElectric || showWater"> |
|
|
|
<view class="conItem-title">水电</view> |
|
|
|
<view class="conItem-cont"> |
|
|
|
<view |
|
|
@ -91,6 +91,8 @@ export default { |
|
|
|
return { |
|
|
|
showCheckOut: false, // 控制房源模块显示 |
|
|
|
showInspection: false, // 控制巡检模块显示 |
|
|
|
showElectric: false, // 控制电量上报模块显示 |
|
|
|
showWater: false, // 控制水量上报模块显示 |
|
|
|
fyList: [ |
|
|
|
// { image: '/static/img/看房.png', text: '看房确认' }, |
|
|
|
{ image: "/static/img/退房检查.png", text: "退房检查" }, |
|
|
@ -140,6 +142,8 @@ export default { |
|
|
|
} |
|
|
|
this.showCheckOut = hasMenu(res.data || res, "Check_out"); |
|
|
|
this.showInspection = hasMenu(res.data || res, "Inspection"); |
|
|
|
this.showElectric = hasMenu(res.data || res, "ElectricMeterRecord"); |
|
|
|
this.showWater = hasMenu(res.data || res, "WaterMeterRecord"); |
|
|
|
}, |
|
|
|
handelFyClick(item) { |
|
|
|
if (item.text == "退房检查") { |
|
|
|