| | |
| | | </div> |
| | | </div> |
| | | <preView :isClear="dialogVisible" :md5="p_md5" :pdfTitle="somePdfTitleValue" ref="pdfDialogRef"></preView> |
| | | <dialogExaminations :isClear="dialogVisibleOne" :primaryColor="themeColor" |
| | | :cardList="interfaceQuestion[questionNum]" v-if="interfaceQuestion" :chapter="8" :page="questionNum" |
| | | :questionTitle="questionTitleMain" ref="dialogRef"> |
| | | <dialogExaminations :isClear="dialogVisibleOne" :primaryColor="themeColor" :cardList="cardArrayList" |
| | | v-if="interfaceQuestion" :chapter="8" :page="questionNum" :questionTitle="questionTitleMain" |
| | | ref="dialogRef"> |
| | | </dialogExaminations> |
| | | </div> |
| | | </template> |
| | |
| | | chapter001: { |
| | | pdfMd5: { |
| | | 1: { |
| | | md5: "e5a91abdb6aac67d7b2adeec642a4a44", |
| | | md5: "77adbec87cd291c078c77c57967b827e", |
| | | name: "模块七 岗位进阶训练", |
| | | }, |
| | | 2: { |
| | | md5: "81517e6df1265de49aa9000c456ef2fc", |
| | | md5: "454a65a58439bfc5012e751bc93ebc7f", |
| | | name: "模块七 实训工作任务", |
| | | }, |
| | | }, |
| | | question: { |
| | | 1: { |
| | | questionTitleMain: "学习模块七", |
| | | questionNum: 188, |
| | | questionNum: 190, |
| | | }, |
| | | }, |
| | | }, |
| | |
| | | themeColor: "#6dcff6", |
| | | questionNum: 0, |
| | | questionTitleMain: "", |
| | | cardArrayList: [], |
| | | // 题目 |
| | | collectImg: require("../../assets/images/icon/heart.png"), |
| | | collectCheck: require("../../assets/images/icon/heart-check.png"), |
| | |
| | | }, |
| | | } |
| | | }, |
| | | watch: { |
| | | interfaceQuestion: { |
| | | handler(newValue) { |
| | | if (newValue[this.questionNum] != undefined) { |
| | | this.cardArrayList = newValue[this.questionNum]; |
| | | } |
| | | }, |
| | | deep: true, |
| | | immediate: true |
| | | }, |
| | | }, |
| | | async mounted() { |
| | | const bookQuestion = localStorage.getItem("toddleGame-book-chapter07-tableData"); |
| | | if (bookQuestion) { |
| | |
| | | if (num) { |
| | | this.questionNum = this.chapter001.question[num].questionNum; |
| | | this.questionTitleMain = this.chapter001.question[num].questionTitleMain; |
| | | if (this.interfaceQuestion && this.interfaceQuestion[this.questionNum] != undefined) { |
| | | this.cardArrayList = this.interfaceQuestion[this.questionNum]; |
| | | } |
| | | this.$refs.dialogRef.openDialogQuestion(); |
| | | } |
| | | }, |