trigger member print and display

This commit is contained in:
Julian Krauser 2025-03-17 11:56:46 +01:00
parent d6dc362d65
commit 5af90c60f5
3 changed files with 78 additions and 1 deletions

View file

@ -87,6 +87,11 @@ export const useMemberStore = defineStore("member", {
})
.catch((err) => {});
},
async printMemberByActiveId() {
return http.get(`/admin/member/${this.activeMember}/print`, {
responseType: "blob",
});
},
fetchMemberStatisticsById(id: string) {
return http.get(`/admin/member/${id}/statistics`);
},