Browse Source

宅基地调查权限

rongxin_prod
Xyq123* 1 year ago
parent
commit
bfd8dfe68d
1 changed files with 10 additions and 1 deletions
  1. +10
    -1
      src/views/homesteadSurvey/index.vue

+ 10
- 1
src/views/homesteadSurvey/index.vue View File

@@ -413,7 +413,16 @@
}*/
let userId = this.$store.state.user.userId;
let businessLevel = this.$store.getters.businessLevel;
if(businessLevel === "2" || item.rwzxrIds.includes(userId)){
let status = false;
if(item.rwzxrIds != null && item.rwzxrIds !== ""){
let ids = item.rwzxrIds.split(",");
ids.forEach(function(id){
if(userId === parseInt(id)){
status = true;
}
});
}
if(businessLevel === "2" && status){
localStorage.setItem("surveyItem",JSON.stringify(item));
this.qiehuan(item.deptId);
}else{


Loading…
Cancel
Save