|
|
@ -434,7 +434,17 @@ export default { |
|
|
|
this.$message.error(msg); |
|
|
|
} |
|
|
|
}, |
|
|
|
async readClearOne(item) { |
|
|
|
const url = `/message/intelligentMessage/msg/clearOne/?msgId=${item.id}`; |
|
|
|
const { data, code, msg } = await requestPost(url); |
|
|
|
if (code == 0) { |
|
|
|
this.getNoticeData(); |
|
|
|
} else if (code >= 8000) { |
|
|
|
this.$message.error(msg); |
|
|
|
} |
|
|
|
}, |
|
|
|
handleClickNotice(item) { |
|
|
|
this.readClearOne(item); |
|
|
|
if (item.msgType == "community_house") { |
|
|
|
let { agencyId, gridId, gridName, houseId, houseName, targetId } = item |
|
|
|
this.$store.dispatch('saveDataH', { agencyId, gridId, gridName, houseId: targetId, houseName:'房屋详情' }); |
|
|
|