diff --git a/src/views/homesteadSurvey/index.vue b/src/views/homesteadSurvey/index.vue index d08dd274..af3f6c29 100644 --- a/src/views/homesteadSurvey/index.vue +++ b/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{ diff --git a/src/views/sunVillage_info/list_signature.vue b/src/views/sunVillage_info/list_signature.vue index 09b67c83..c2451ad4 100644 --- a/src/views/sunVillage_info/list_signature.vue +++ b/src/views/sunVillage_info/list_signature.vue @@ -141,7 +141,9 @@ getList(){ var _this = this; contractFirstList(_this.queryParams).then(response => { - _this.applicationList = response.rows; + response.rows.forEach(item => { + _this.applicationList.push(item); + }); if(_this.applicationList.length >= response.total){ _this.finished = true;