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