| | |
| | | </span> |
| | | </li> |
| | | </ul> |
| | | <ul v-for="(item, index) in unitQuestionOne.unitOne.slice(2, 3)" :key="'unitQuestionOne' + index"> |
| | | <ul v-for="(item, index) in unitQuestionOne.unitOne.slice(2, 3)" :key="'unitQuestionOne1' + index"> |
| | | <li> |
| | | {{ index + 5 }}.(单选){{ item.txt }} |
| | | </li> |
| | |
| | | </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: "1ce045d2c353c764db4dad0b78412f99", |
| | | md5: "637686d0f0daef38f12e9e6b27389008", |
| | | name: "模块五 岗位进阶训练", |
| | | }, |
| | | 2: { |
| | | md5: "5e32b18c5368c3a429719e5e7d990abe", |
| | | md5: "14c9474bcc2651dc4044302f944f5067", |
| | | 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-chapter05-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(); |
| | | } |
| | | }, |