|
@@ -121,7 +121,7 @@
|
|
|
<view>{{zhanflag?'收起':'展开'}}</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view class="contbox mb16">
|
|
|
+ <view class="contbox mb16" v-if="initFaceflag==3||initFaceflag==4">
|
|
|
<view class="cont flexc mb9">
|
|
|
<image :src="contb"></image>
|
|
|
<view>物业管理</view>
|
|
@@ -166,7 +166,7 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view class="contbox mb16">
|
|
|
+ <view class="contbox mb16" v-if="initFaceflag==3||initFaceflag==4">
|
|
|
<view class="cont flexc mb9">
|
|
|
<image :src="contc"></image>
|
|
|
<view>物业服务</view>
|
|
@@ -304,6 +304,7 @@ const Clientid = config.Clientid
|
|
|
tenantName:'',
|
|
|
voList:[],
|
|
|
filterable:true,
|
|
|
+ initFaceflag:'',
|
|
|
}
|
|
|
},
|
|
|
onPageScroll(e) {
|
|
@@ -316,6 +317,7 @@ const Clientid = config.Clientid
|
|
|
},
|
|
|
onShow() {
|
|
|
this.initFace=this.$store.state.user.initFace;
|
|
|
+ this.initFaceflag=this.$store.state.user.initFace;
|
|
|
// this.tenantId=this.$store.state.user.tenantId;
|
|
|
},
|
|
|
onLoad: function() {
|
|
@@ -332,7 +334,7 @@ const Clientid = config.Clientid
|
|
|
if(checkPermi(['wuYe:statistics:wuYeTips'])){
|
|
|
this.getCountTips()
|
|
|
}
|
|
|
- if(checkPermi(['wuYe:repair:list'])){
|
|
|
+ if(checkPermi(['wuYe:repair:applist'])){
|
|
|
this.repairList()
|
|
|
}
|
|
|
// #ifndef H5
|
|
@@ -411,7 +413,12 @@ const Clientid = config.Clientid
|
|
|
var params={
|
|
|
pageSize: 10,
|
|
|
pageNum: 1,
|
|
|
- repairStatus: 1,
|
|
|
+ }
|
|
|
+ if(checkPermi(['wuYe:repair:repairlist'])){
|
|
|
+ params.staffUserId=this.userId;
|
|
|
+ params.repairStatus=2
|
|
|
+ }else{
|
|
|
+ params.repairStatus=1
|
|
|
}
|
|
|
repairList(params).then(res=>{
|
|
|
if(res.code==200){
|
|
@@ -429,9 +436,11 @@ const Clientid = config.Clientid
|
|
|
})
|
|
|
},
|
|
|
getCountTips(){
|
|
|
- var params={
|
|
|
- userId:this.userId
|
|
|
+ var params={}
|
|
|
+ if(checkPermi(['wuYe:repair:repairlist'])){
|
|
|
+ params.userId=this.userId
|
|
|
}
|
|
|
+ // userId:this.userId
|
|
|
getCountTips(params).then(res=>{
|
|
|
if(res.code==200){
|
|
|
this.countTips=res.data;
|