style:系统通知
Showing
1 changed file
with
6 additions
and
0 deletions
... | @@ -107,6 +107,7 @@ | ... | @@ -107,6 +107,7 @@ |
107 | import * as G2 from '@antv/g2' | 107 | import * as G2 from '@antv/g2' |
108 | import vueSeamlessScroll from "vue-seamless-scroll" | 108 | import vueSeamlessScroll from "vue-seamless-scroll" |
109 | import { getHomeNoticeList, getHomeTodoList, getHomeDoneList, getHomeFrequentProjects } from "@/api/user.js"; | 109 | import { getHomeNoticeList, getHomeTodoList, getHomeDoneList, getHomeFrequentProjects } from "@/api/user.js"; |
110 | import { setReadStatus } from '@/api/system' | ||
110 | import addDialog from "./components/addProject.vue"; | 111 | import addDialog from "./components/addProject.vue"; |
111 | export default { | 112 | export default { |
112 | name: 'home', | 113 | name: 'home', |
... | @@ -336,6 +337,11 @@ export default { | ... | @@ -336,6 +337,11 @@ export default { |
336 | this.projectDialog = true; | 337 | this.projectDialog = true; |
337 | }, | 338 | }, |
338 | handleNotice (item) { | 339 | handleNotice (item) { |
340 | setReadStatus({ bsmNotice: item.bsmNotice }).then(res => { | ||
341 | if (res.code == 200) { | ||
342 | this.queryNoticeList() | ||
343 | } | ||
344 | }) | ||
339 | this.$alertMes(item.noticeTitle, item.noticeContent) | 345 | this.$alertMes(item.noticeTitle, item.noticeContent) |
340 | } | 346 | } |
341 | } | 347 | } | ... | ... |
-
Please register or sign in to post a comment