| | |
| | | <h4 id="d070"> |
| | | ▶▶ 应用与实践<span class="fontsz1">>>>>>>>></span> |
| | | </h4> |
| | | <div class="tips-bk"> |
| | | <div class="bj-tip"> |
| | | 云测试:单元六应用与实践<img |
| | | src="../icons/sub.png" |
| | | @click="activityThree" |
| | | alt="" |
| | | /> |
| | | </div> |
| | | <div |
| | | v-if="chapter006.idOpenThree && chapter006.qustionData[3]" |
| | | class="tips-file" |
| | | > |
| | | <examinations :cardList="chapter006.qustionData[3]" /> |
| | | </div> |
| | | </div> |
| | | <p><br /></p> |
| | | <p><b>一、单选题</b></p> |
| | | <p> |
| | |
| | | @blur="onBlurChange('desc1')" |
| | | ></textarea> |
| | | </div> |
| | | <div class="tips-bk"> |
| | | <div class="bj-tip"> |
| | | 云测试:单元六应用与实践<img |
| | | src="../icons/sub.png" |
| | | @click="activityThree" |
| | | alt="" |
| | | /> |
| | | </div> |
| | | <div |
| | | v-if="chapter006.idOpenThree && chapter006.qustionData[108]" |
| | | class="tips-file" |
| | | > |
| | | <examinations |
| | | :primaryColor="'#f49a4c'" |
| | | :cardList="chapter006.qustionData[108]" |
| | | /> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </template> |
| | | <script> |
| | | // import getResourcePath from "@/assets/methods/resources.js"; |
| | | // import getQuestionData from "@/assets/methods/examination.js"; |
| | | import getResourcePath from "@/assets/methods/resources.js"; |
| | | import getQuestionData from "@/assets/methods/examination.js"; |
| | | import testData from "../js/examinationList.js"; |
| | | // import examinations from "@/components/examinations/index.vue"; |
| | | import examinations from "@/components/examinations/index.vue"; |
| | | |
| | | export default { |
| | | name: "chapter006", |
| | |
| | | return { |
| | | chapter006: { |
| | | videOneUrl: "", |
| | | videoTwoUrl: "", |
| | | videoFourUrl: "", |
| | | videoFiveUrl: "", |
| | | isGroupOpen: true, |
| | | isOpenOne: true, |
| | | isOpenTwo: true, |
| | | idOpenThree: true, |
| | | isOpenFour: true, |
| | | isOpenFive: true, |
| | | isScore1Open: true, |
| | | isScore2Open: true, |
| | | isScore3Open: true, |
| | | qustionData: {}, |
| | | // 准备饮水物品的评分标准 |
| | | publicHeader: ["序号", "考核内容", "配分", "评分标准", "扣分", "得分"], |
| | |
| | | }; |
| | | }, |
| | | components: { |
| | | // examinations, |
| | | examinations, |
| | | }, |
| | | created() { |
| | | async created() { |
| | | const localData = JSON.parse(localStorage.getItem("chapter006")); |
| | | if (localData) { |
| | | this.chapter006 = { ...Object.assign(this.chapter006, localData) }; |
| | | } |
| | | // this.chapter006.videOneUrl = getResourcePath("04fafb0e896ffe0379edd6d695a92b13"); |
| | | this.chapter006.videOneUrl = getResourcePath( |
| | | "04fafb0e896ffe0379edd6d695a92b13" |
| | | ); |
| | | this.chapter006.videOneUrl = |
| | | "https://jsek.bnuic.com/file/api/ApiDownload?md5=04fafb0e896ffe0379edd6d695a92b13"; |
| | | // this.chapter006.qustionData = await getQuestionData("5",testData[5]); |
| | | this.chapter006.qustionData = await getQuestionData( |
| | | "6", |
| | | testData[6], |
| | | this.config.activeBook |
| | | ); |
| | | }, |
| | | methods: { |
| | | activityOne() { |
| | |
| | | this.$set(this.chapter006.tableData161[rowIndex], cellIndex, value); |
| | | localStorage.setItem("chapter006", JSON.stringify(this.chapter006)); |
| | | }, |
| | | // updateCell152(rowIndex, cellIndex, value) { |
| | | // // 更新单元格数据 |
| | | // this.$set(this.chapter006.tableData152[rowIndex], cellIndex, value); |
| | | // localStorage.setItem("chapter006", JSON.stringify(this.chapter006)); |
| | | // }, |
| | | updateCell162(rowIndex, cellIndex, value) { |
| | | // 更新单元格数据 |
| | | localStorage.setItem("chapter006", JSON.stringify(this.chapter006)); |