소스 검색

宅基地调查权限

rongxin_prod
Xyq123* 1 년 전
부모
커밋
bfd8dfe68d
1개의 변경된 파일10개의 추가작업 그리고 1개의 파일을 삭제
  1. +10
    -1
      src/views/homesteadSurvey/index.vue

+ 10
- 1
src/views/homesteadSurvey/index.vue 파일 보기

@@ -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{


불러오는 중...
취소
저장