noticeEvent.ts 639 B

12345678910111213141516171819202122232425262728
  1. import {UserVO} from "@/api/system/user/types";
  2. export const noticeEventStore = defineStore('noticeEvent', () => {
  3. const noticeFllow = ref(0);//通知跟进
  4. const noticeLinson = ref(0)//联系人
  5. const noticTask = ref(0)
  6. const noticeFllowEvent = ()=>{
  7. noticeFllow.value++;
  8. }
  9. const noticTaskEvent = ()=>{
  10. noticTask.value++;
  11. }
  12. const noticeLinsonEvent = ()=>{
  13. noticeLinson.value++;
  14. }
  15. return {
  16. noticeFllow,
  17. noticeLinson,
  18. noticTask,
  19. noticeLinsonEvent,
  20. noticTaskEvent,
  21. noticeFllowEvent
  22. };
  23. });
  24. export default noticeEventStore;