diff --git a/src/views/public/TestView.vue b/src/views/public/TestView.vue index cabce0f9..f593c10c 100644 --- a/src/views/public/TestView.vue +++ b/src/views/public/TestView.vue @@ -278,7 +278,10 @@ v-for="(heuris, i) in item.value" :key="i" link - @click="heurisIndex = i" + @click=" + heurisIndex = i + clickfun() + " > + + + + mdi-send-circle-outline + + + + +
Submit
+
+
+
@@ -356,7 +371,7 @@ >
@@ -411,6 +426,46 @@
+
+ +
+ + + Final Message! +
+ + Congratulations you finished this test, now you can submit + your answer. + + + + Final test svg + + + Click here to submit your answer, when submitted your + answer can't be changed! + + mdi-sendSubmit + + + +
+
+
+
+
@@ -468,6 +523,7 @@ export default { res: 0, dialog: false, calculatedProgress: 0, + review: true, }), computed: { test() { @@ -519,6 +575,11 @@ export default { if (this.logined) this.setTest() } }, + calculatedProgress(newVal) { + if (newVal == 100) { + this.review = false + } + }, }, async created() { @@ -655,6 +716,10 @@ export default { await this.$store.dispatch('getCurrentTestAnswerDoc') this.populateWithHeuristicQuestions() }, + clickfun() { + console.log('click done') + this.review = true + }, }, beforeRouteEnter(to, from, next) { if (to.params.token)