f1a57359 by 任超

style:系统通知

1 parent e145f4d2
......@@ -107,6 +107,7 @@
import * as G2 from '@antv/g2'
import vueSeamlessScroll from "vue-seamless-scroll"
import { getHomeNoticeList, getHomeTodoList, getHomeDoneList, getHomeFrequentProjects } from "@/api/user.js";
import { setReadStatus } from '@/api/system'
import addDialog from "./components/addProject.vue";
export default {
name: 'home',
......@@ -336,6 +337,11 @@ export default {
this.projectDialog = true;
},
handleNotice (item) {
setReadStatus({ bsmNotice: item.bsmNotice }).then(res => {
if (res.code == 200) {
this.queryNoticeList()
}
})
this.$alertMes(item.noticeTitle, item.noticeContent)
}
}
......