| | |
| | | </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"; |
| | | |
| | |
| | | }, |
| | | questionData: { |
| | | type: Object, |
| | | }, |
| | | isSearch: { |
| | | type: Boolean, |
| | | default: false, |
| | | }, |
| | | }, |
| | | data() { |
| | |
| | | pictrueList: [], |
| | | pictrueListTwo: [], |
| | | pictrueListThree: [], |
| | | pictrueListFour:[], |
| | | pictrueListFour: [], |
| | | qustionData: {}, |
| | | // 创设良好睡眠环境的评分标准 |
| | | publicHeader: ["序号", "考核内容", "配分", "评分标准", "扣分", "得分"], |
| | |
| | | examinations, |
| | | }, |
| | | async created() { |
| | | const localData = JSON.parse(localStorage.getItem("chapter007")); |
| | | if (localData) { |
| | | this.chapter007 = { ...Object.assign(this.chapter007, localData) }; |
| | | if (!this.isSearch) { |
| | | const localData = JSON.parse(localStorage.getItem("chapter007")); |
| | | if (localData) { |
| | | this.chapter007 = { ...Object.assign(this.chapter007, localData) }; |
| | | } |
| | | this.chapter007.videOneUrl = await getResourcePath( |
| | | "3c35b62a39cf8beddc28c5c1c8a847ec" |
| | | ); |
| | | this.chapter007.videoTwoUrl = await getResourcePath( |
| | | "4731be836c5c625584c3c94a61249cc9" |
| | | ); |
| | | this.chapter007.videoFourUrl = await getResourcePath( |
| | | "4889c1899ed5716aeea6ca031cd3136d" |
| | | ); |
| | | this.chapter007.videoFiveUrl = await getResourcePath( |
| | | "a1d60d7c5322d531939118c1aaf8feb7" |
| | | ); |
| | | this.chapter007.videoSixUrl = await getResourcePath( |
| | | "f92c68faa37e1f6ce9ca50f234ddad90" |
| | | ); |
| | | } |
| | | this.chapter007.videOneUrl = getResourcePath( |
| | | "3c35b62a39cf8beddc28c5c1c8a847ec" |
| | | ); |
| | | this.chapter007.videoTwoUrl = getResourcePath( |
| | | "4731be836c5c625584c3c94a61249cc9" |
| | | ); |
| | | this.chapter007.videoFourUrl = getResourcePath( |
| | | "4889c1899ed5716aeea6ca031cd3136d" |
| | | ); |
| | | this.chapter007.videoFiveUrl = getResourcePath( |
| | | "a1d60d7c5322d531939118c1aaf8feb7" |
| | | ); |
| | | this.chapter007.videoSixUrl = getResourcePath( |
| | | "f92c68faa37e1f6ce9ca50f234ddad90" |
| | | ); |
| | | // this.chapter007.videOneUrl = |
| | | // "https://jsek.bnuic.com/file/api/ApiDownload?md5=3c35b62a39cf8beddc28c5c1c8a847ec"; |
| | | // this.chapter007.videoTwoUrl = |
| | | // "https://jsek.bnuic.com/file/api/ApiDownload?md5=4731be836c5c625584c3c94a61249cc9"; |
| | | // this.chapter007.videoFourUrl = |
| | | // "https://jsek.bnuic.com/file/api/ApiDownload?md5=4889c1899ed5716aeea6ca031cd3136d"; |
| | | // this.chapter007.videoFiveUrl = |
| | | // "https://jsek.bnuic.com/file/api/ApiDownload?md5=a1d60d7c5322d531939118c1aaf8feb7"; |
| | | // this.chapter007.videoSixUrl = |
| | | // "https://jsek.bnuic.com/file/api/ApiDownload?md5=f92c68faa37e1f6ce9ca50f234ddad90"; |
| | | }, |
| | | methods: { |
| | | activityOne() { |
| | |
| | | that.chapter007.pictrueListFour.push(getPublicImage(e)); |
| | | } |
| | | that.isLoding = false; |
| | | this.$emit("Upload_initViewer", ""); |
| | | localStorage.setItem("chapter007", JSON.stringify(this.chapter007)); |
| | | }, 1000); |
| | | }) |