|
@ -484,34 +484,36 @@ export default { |
|
|
this.communityPublicity() |
|
|
this.communityPublicity() |
|
|
}, |
|
|
}, |
|
|
filterTagId(tagId){ |
|
|
filterTagId(tagId){ |
|
|
if(this.tagList.filter(item=>item.id === tagId)[0]){ |
|
|
console.log("tagId.............................."); |
|
|
return this.tagList.filter(item=>item.id === tagId)[0].tagName; |
|
|
console.log(tagId); |
|
|
}else{ |
|
|
// 东明特有的列表,item.id为“employmentService”时候,返回'就业服务' |
|
|
// 东明特有的列表,item.id为“employmentService”时候,返回'就业服务' |
|
|
if(tagId == 'employmentService'){ |
|
|
if(tagId === 'employmentService'){ |
|
|
return '就业服务'; |
|
|
return '就业服务'; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if(tagId === 'noticeAnnoncement'){ |
|
|
if(tagId == 'noticeAnnoncement'){ |
|
|
return '通知公告'; |
|
|
return '通知公告'; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
if(tagId === 'communityNews'){ |
|
|
if(tagId == 'communityNews'){ |
|
|
return '社区新闻'; |
|
|
return '社区新闻'; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
if(tagId === 'communityNews'){ |
|
|
if(tagId == 'communityNews'){ |
|
|
return '社区新闻'; |
|
|
return '社区新闻'; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
if(tagId === 'threeAffairsDisclosure'){ |
|
|
if(tagId == 'threeAffairsDisclosure'){ |
|
|
return '三务公开'; |
|
|
return '三务公开'; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
if(tagId === 'policeCivilianInteraction'){ |
|
|
if(tagId == 'policeCivilianInteraction'){ |
|
|
return '警民互动'; |
|
|
return '警民互动'; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if(this.tagList.filter(item=>item.id === tagId)[0]){ |
|
|
|
|
|
return this.tagList.filter(item=>item.id === tagId)[0].tagName; |
|
|
|
|
|
}else{ |
|
|
return '--'; |
|
|
return '--'; |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|