printout page
This commit is contained in:
parent
225b686de6
commit
f3ffdb1ffd
7 changed files with 137 additions and 8 deletions
|
@ -197,6 +197,12 @@ const router = createRouter({
|
|||
component: () => import("@/views/admin/club/protocol/ProtocolAgenda.vue"),
|
||||
props: true,
|
||||
},
|
||||
{
|
||||
path: "printout",
|
||||
name: "admin-club-protocol-printout",
|
||||
component: () => import("@/views/admin/club/protocol/ProtocolPrintout.vue"),
|
||||
props: true,
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
|
|
|
@ -3,6 +3,7 @@ import { useProtocolAgendaStore } from "@/stores/admin/protocolAgenda";
|
|||
import { useProtocolDecisionStore } from "@/stores/admin/protocolDecision";
|
||||
import { useProtocolPresenceStore } from "@/stores/admin/protocolPresence";
|
||||
import { useProtocolVotingStore } from "@/stores/admin/protocolVoting";
|
||||
import { useProtocolPrintoutStore } from "../stores/admin/protocolPrintout";
|
||||
|
||||
export async function setProtocolId(to: any, from: any, next: any) {
|
||||
const protocol = useProtocolStore();
|
||||
|
@ -12,6 +13,7 @@ export async function setProtocolId(to: any, from: any, next: any) {
|
|||
useProtocolDecisionStore().$reset();
|
||||
useProtocolPresenceStore().$reset();
|
||||
useProtocolVotingStore().$reset();
|
||||
useProtocolPrintoutStore().$reset();
|
||||
|
||||
next();
|
||||
}
|
||||
|
@ -25,6 +27,7 @@ export async function resetProtocolStores(to: any, from: any, next: any) {
|
|||
useProtocolDecisionStore().$reset();
|
||||
useProtocolPresenceStore().$reset();
|
||||
useProtocolVotingStore().$reset();
|
||||
useProtocolPrintoutStore().$reset();
|
||||
|
||||
next();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue