f1a57359 by 任超

style:系统通知

1 parent e145f4d2
...@@ -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 }
......