Browse Source

按权限展示水电

master
wangyx 3 weeks ago
parent
commit
ec8099937f
  1. 6
      pages/tabBar/work/index.vue
  2. 2
      pagesA/sdPage/sfReport.vue

6
pages/tabBar/work/index.vue

@ -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 == "退房检查") {

2
pagesA/sdPage/sfReport.vue

@ -129,7 +129,7 @@
<view style="color: #f93838; margin-right: 4rpx; font-size: 24rpx"
>*</view
>
<text>图片/视频</text>
<text>上传图片</text>
</view>
<u-upload
:max-count="10"

Loading…
Cancel
Save