| @@ -623,6 +623,7 @@ | |||||
| <script> | <script> | ||||
| import "aplayer/dist/APlayer.min.css"; | import "aplayer/dist/APlayer.min.css"; | ||||
| import APlayer from "aplayer"; | import APlayer from "aplayer"; | ||||
| import { mapGetters } from "vuex"; | |||||
| import { getStore, setStore } from "@/util/store"; | import { getStore, setStore } from "@/util/store"; | ||||
| export default { | export default { | ||||
| data() { | data() { | ||||
| @@ -687,6 +688,14 @@ export default { | |||||
| info:{}, | info:{}, | ||||
| yibiaoji:'' | yibiaoji:'' | ||||
| }; | }; | ||||
| }, | |||||
| created() { | |||||
| this.rec_index_flag = this.permissions["rec_index_flag"]; | |||||
| this.rec_index_addJ = this.permissions["rec_index_addJ"]; | |||||
| this.rec_index_wrongword = this.permissions["rec_index_wrongword"]; | |||||
| this.rec_index_makesure = this.permissions["rec_index_makesure"]; | |||||
| this.rec_index_todo = this.permissions["rec_index_todo"]; | |||||
| this.rec_index_receflag = this.permissions["rec_index_receflag"]; | |||||
| }, | }, | ||||
| mounted() { | mounted() { | ||||
| this.fileId=this.$route.query.flag; | this.fileId=this.$route.query.flag; | ||||
| @@ -694,6 +703,9 @@ export default { | |||||
| this.info = getStore({ name: "userInfo" }); | this.info = getStore({ name: "userInfo" }); | ||||
| this.init() | this.init() | ||||
| }, | }, | ||||
| computed: { | |||||
| ...mapGetters(["permissions"]), | |||||
| }, | |||||
| destroyed(){ | destroyed(){ | ||||
| this.aplayer.destroy() | this.aplayer.destroy() | ||||
| }, | }, | ||||