| | |
| | | </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="3" :page="questionNum" |
| | | :questionTitle="questionTitleMain" ref="dialogRef"> |
| | | <dialogExaminations :isClear="dialogVisibleOne" :primaryColor="themeColor" :cardList="cardArrayList" |
| | | v-if="interfaceQuestion" :chapter="3" :page="questionNum" :questionTitle="questionTitleMain" |
| | | ref="dialogRef"> |
| | | </dialogExaminations> |
| | | </div> |
| | | </template> |
| | |
| | | chapter001: { |
| | | pdfMd5: { |
| | | 1: { |
| | | md5: "f751cb1f40862cc81972df87fdf1451c", |
| | | md5: "c0bc1cf672ea6d25f5cb3ecba2cc9dff", |
| | | name: "模块六 岗位进阶训练", |
| | | }, |
| | | 2: { |
| | | md5: "16eb97c685067d0651b97aacb3548315", |
| | | md5: "f9d9026bc00a9b0560e4a348352fb385", |
| | | name: "模块六 实训工作任务", |
| | | }, |
| | | }, |
| | |
| | | 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-chapter06-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(); |
| | | } |
| | | }, |