| | |
| | | </div> |
| | | </template> |
| | | <script> |
| | | import getResourcePath from "@/assets/methods/resources.js"; |
| | | import { getResourcePath } from "@/assets/methods/resources.js"; |
| | | import examinations from "@/components/examinations/index.vue"; |
| | | import { getFileMd5, getPublicImage } from "../js/tool.js"; |
| | | import drawflow from "@/components/drawflow"; |
| | |
| | | }, |
| | | questionData: { |
| | | type: Object, |
| | | }, |
| | | isSearch: { |
| | | type: Boolean, |
| | | default: false, |
| | | }, |
| | | }, |
| | | data() { |
| | |
| | | drawflow, |
| | | }, |
| | | async created() { |
| | | if (!this.isSearch) { |
| | | const localData = JSON.parse(localStorage.getItem("chapter005")); |
| | | if (localData) { |
| | | this.chapter005 = { ...Object.assign(this.chapter005, localData) }; |
| | |
| | | this.chapter005.videoFiveUrl = await getResourcePath( |
| | | "8400384441ad9236d5eab24f500ec2c7" |
| | | ); |
| | | // this.chapter005.videOneUrl = |
| | | // "https://jsek.bnuic.com/file/api/ApiDownload?md5=439b0bde62a5098875c77e2492676577"; |
| | | // this.chapter005.videoTwoUrl = |
| | | // "https://jsek.bnuic.com/file/api/ApiDownload?md5=1a878261410b01ee8e4e0602a1fe935f"; |
| | | // this.chapter005.videoFourUrl = |
| | | // "https://jsek.bnuic.com/file/api/ApiDownload?md5=6cf2619beb704b3d79de04f0775c8ba3"; |
| | | // this.chapter005.videoFiveUrl = |
| | | // "https://jsek.bnuic.com/file/api/ApiDownload?md5=8400384441ad9236d5eab24f500ec2c7"; |
| | | } |
| | | }, |
| | | methods: { |
| | | activityOne() { |
| | |
| | | if (type == "3") { |
| | | that.chapter005.pictrueListThree.push(getPublicImage(e)); |
| | | } |
| | | that.$emit('Upload_initViewer',"") |
| | | that.$emit("Upload_initViewer", ""); |
| | | localStorage.setItem("chapter005", JSON.stringify(that.chapter005)); |
| | | }, 1000); |
| | | }) |