diff --git a/src/front/src/components/vote/CurrentVote.vue b/src/front/src/components/vote/CurrentVote.vue index e28b1ae40..f85d3e8d7 100644 --- a/src/front/src/components/vote/CurrentVote.vue +++ b/src/front/src/components/vote/CurrentVote.vue @@ -1,8 +1,8 @@ @@ -166,8 +209,17 @@ export default { ).finally(() => isVoteSubmitted.value = true) }; + const activepick = ref(null) + const dialog=ref(false) + const opendialog=(val)=>{ + dialog.value=true + activepick.value=val + } return { + activepick, + opendialog, + dialog, messeger, activeStep, answers, diff --git a/src/front/src/router/index.js b/src/front/src/router/index.js index 7e38d2556..afaf7e1aa 100644 --- a/src/front/src/router/index.js +++ b/src/front/src/router/index.js @@ -160,7 +160,11 @@ const routes = [ path: "/vote/voting/:id", name: "Voting", component: () => - import("@/views/VoteHomePage.vue") + import("@/views/VoteHomePage.vue"), + meta: { + title: "Голосование", + ico: "mdi-account", + }, }, { path: "/vote/edit-vote/:id", diff --git a/src/front/src/views/VoteHomePage.vue b/src/front/src/views/VoteHomePage.vue index 90b22149c..fa53d614d 100644 --- a/src/front/src/views/VoteHomePage.vue +++ b/src/front/src/views/VoteHomePage.vue @@ -72,7 +72,7 @@ - +