| | |
| | | <tr> |
| | | <th |
| | | :style="{ |
| | | width: |
| | | index == 1 || index == chapter003.groupData.length - 1 |
| | | ? '100px' |
| | | : '', |
| | | width: index == 3 ? '300px' : '50px', |
| | | }" |
| | | v-for="(header, index) in chapter003.publicHeader" |
| | | :key="index" |
| | |
| | | > |
| | | <td v-for="(cell, cellIndex) in row" :key="cellIndex"> |
| | | <template v-if="cell === ''"> |
| | | <input |
| | | type="text" |
| | | v-model="chapter003.groupData[rowIndex][cellIndex]" |
| | | @blur=" |
| | | updateCellGroup( |
| | | rowIndex, |
| | | cellIndex, |
| | | $event.target.value |
| | | ) |
| | | " |
| | | /> |
| | | </template> |
| | | <template v-else-if="cellIndex == 4"> |
| | | <input |
| | | type="text" |
| | | v-model="chapter003.groupData[rowIndex][cellIndex]" |
| | |
| | | <tr> |
| | | <th |
| | | :style="{ |
| | | width: |
| | | index == 1 || |
| | | index == chapter003.scoreData1.length - 1 |
| | | ? '100px' |
| | | : '', |
| | | width: index == 3 ? '300px' : '50px', |
| | | }" |
| | | v-for="(header, index) in chapter003.publicHeader" |
| | | :key="index" |
| | |
| | | " |
| | | /> |
| | | </template> |
| | | <template v-else-if="cellIndex == 4"> |
| | | <input |
| | | type="text" |
| | | v-model="chapter003.scoreData1[rowIndex][cellIndex]" |
| | | @blur=" |
| | | updateCellScore1( |
| | | rowIndex, |
| | | cellIndex, |
| | | $event.target.value |
| | | ) |
| | | " |
| | | /> |
| | | </template> |
| | | <template v-else> |
| | | {{ cell }} |
| | | </template> |
| | | <!-- <template v-if="cell === ''"> |
| | | <input |
| | | type="text" |
| | | v-model="chapter003.scoreData1[rowIndex][cellIndex]" |
| | | @blur=" |
| | | updateCellScore1( |
| | | rowIndex, |
| | | cellIndex, |
| | | $event.target.value |
| | | ) |
| | | " |
| | | /> |
| | | </template> |
| | | <template v-else> |
| | | {{ cell }} |
| | | </template> --> |
| | | </td> |
| | | </tr> |
| | | </tbody> |
| | |
| | | <tr> |
| | | <th |
| | | :style="{ |
| | | width: |
| | | index == 1 || |
| | | index == chapter003.scoreData2.length - 1 |
| | | ? '100px' |
| | | : '', |
| | | width: index == 3 ? '300px' : '50px', |
| | | }" |
| | | v-for="(header, index) in chapter003.publicHeader" |
| | | :key="index" |
| | |
| | | :key="rowIndex" |
| | | > |
| | | <td v-for="(cell, cellIndex) in row" :key="cellIndex"> |
| | | <!-- <template v-if="cell === ''"> |
| | | <input |
| | | type="text" |
| | | v-model="chapter003.scoreData2[rowIndex][cellIndex]" |
| | | @blur=" |
| | | updateCellScore2( |
| | | rowIndex, |
| | | cellIndex, |
| | | $event.target.value |
| | | ) |
| | | " |
| | | /> |
| | | </template> |
| | | <template v-else> |
| | | {{ cell }} |
| | | </template> --> |
| | | <template v-if="cell === ''"> |
| | | <input |
| | | type="text" |
| | | v-model="chapter003.scoreData2[rowIndex][cellIndex]" |
| | | @blur=" |
| | | updateCellScore2( |
| | | rowIndex, |
| | | cellIndex, |
| | | $event.target.value |
| | | ) |
| | | " |
| | | /> |
| | | </template> |
| | | <template v-else-if="cellIndex == 4"> |
| | | <input |
| | | type="text" |
| | | v-model="chapter003.scoreData2[rowIndex][cellIndex]" |
| | |
| | | <tr> |
| | | <th |
| | | :style="{ |
| | | width: |
| | | index == 1 || |
| | | index == chapter003.scoreData3.length - 1 |
| | | ? '100px' |
| | | : '', |
| | | width: index == 3 ? '300px' : '50px', |
| | | }" |
| | | v-for="(header, index) in chapter003.publicHeader" |
| | | :key="index" |
| | |
| | | " |
| | | /> |
| | | </template> |
| | | <template v-else-if="cellIndex == 4"> |
| | | <input |
| | | type="text" |
| | | v-model="chapter003.scoreData3[rowIndex][cellIndex]" |
| | | @blur=" |
| | | updateCellScore3( |
| | | rowIndex, |
| | | cellIndex, |
| | | $event.target.value |
| | | ) |
| | | " |
| | | /> |
| | | </template> |
| | | <template v-else> |
| | | {{ cell }} |
| | | </template> |
| | | <!-- <template v-if="cell === ''"> |
| | | <input |
| | | type="text" |
| | | v-model="chapter003.scoreData3[rowIndex][cellIndex]" |
| | | @blur=" |
| | | updateCellScore3( |
| | | rowIndex, |
| | | cellIndex, |
| | | $event.target.value |
| | | ) |
| | | " |
| | | /> |
| | | </template> |
| | | <template v-else> |
| | | {{ cell }} |
| | | </template> --> |
| | | </td> |
| | | </tr> |
| | | </tbody> |
| | |
| | | <tr> |
| | | <th |
| | | :style="{ |
| | | width: |
| | | index == 1 || |
| | | index == chapter003.scoreData4.length - 1 |
| | | ? '100px' |
| | | : '', |
| | | width: index == 3 ? '300px' : '50px', |
| | | }" |
| | | v-for="(header, index) in chapter003.publicHeader" |
| | | :key="index" |
| | |
| | | " |
| | | /> |
| | | </template> |
| | | <template v-else-if="cellIndex == 4"> |
| | | <input |
| | | type="text" |
| | | v-model="chapter003.scoreData4[rowIndex][cellIndex]" |
| | | @blur=" |
| | | updateCellScore4( |
| | | rowIndex, |
| | | cellIndex, |
| | | $event.target.value |
| | | ) |
| | | " |
| | | /> |
| | | </template> |
| | | <template v-else> |
| | | {{ cell }} |
| | | </template> |
| | | <!-- <template v-if="cell === ''"> |
| | | <input |
| | | type="text" |
| | | v-model="chapter003.scoreData4[rowIndex][cellIndex]" |
| | | @blur=" |
| | | updateCellScore4( |
| | | rowIndex, |
| | | cellIndex, |
| | | $event.target.value |
| | | ) |
| | | " |
| | | /> |
| | | </template> |
| | | <template v-else> |
| | | {{ cell }} |
| | | </template> --> |
| | | </td> |
| | | </tr> |
| | | </tbody> |
| | |
| | | <p>婴幼儿练习刷牙的注意事项是什么?</p> |
| | | <div class="bk-tx"> |
| | | <textarea |
| | | v-model="chapter003.textAreaItem.text33" |
| | | v-model="chapter003.textAreaItem.text331" |
| | | style="border: 0" |
| | | placeholder="请输入内容" |
| | | rows="5" |
| | | @blur="onBlurChange('text33')" |
| | | @blur="onBlurChange('text331')" |
| | | ></textarea> |
| | | </div> |
| | | </div> |
| | |
| | | <tr> |
| | | <th |
| | | :style="{ |
| | | width: |
| | | index == 1 || |
| | | index == chapter003.scoreData5.length - 1 |
| | | ? '100px' |
| | | : '', |
| | | width: index == 3 ? '300px' : '50px', |
| | | }" |
| | | v-for="(header, index) in chapter003.publicHeader" |
| | | :key="index" |
| | |
| | | :key="rowIndex" |
| | | > |
| | | <td v-for="(cell, cellIndex) in row" :key="cellIndex"> |
| | | <!-- <template v-if="cell === ''"> |
| | | <input |
| | | type="text" |
| | | v-model="chapter003.scoreData5[rowIndex][cellIndex]" |
| | | @blur=" |
| | | updateCellScore5( |
| | | rowIndex, |
| | | cellIndex, |
| | | $event.target.value |
| | | ) |
| | | " |
| | | /> |
| | | </template> |
| | | <template v-else> |
| | | {{ cell }} |
| | | </template> --> |
| | | <template v-if="cell === ''"> |
| | | <input |
| | | type="text" |
| | | v-model="chapter003.scoreData5[rowIndex][cellIndex]" |
| | | @blur=" |
| | | updateCellScore5( |
| | | rowIndex, |
| | | cellIndex, |
| | | $event.target.value |
| | | ) |
| | | " |
| | | /> |
| | | </template> |
| | | <template v-else-if="cellIndex == 4"> |
| | | <input |
| | | type="text" |
| | | v-model="chapter003.scoreData5[rowIndex][cellIndex]" |
| | |
| | | </div> |
| | | </template> |
| | | <script> |
| | | import getResourcePath from "@/assets/methods/resources.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"; |
| | |
| | | }, |
| | | questionData: { |
| | | type: Object, |
| | | }, |
| | | isSearch: { |
| | | type: Boolean, |
| | | default: false, |
| | | }, |
| | | }, |
| | | data() { |
| | |
| | | drawflow, |
| | | }, |
| | | async created() { |
| | | const localData = JSON.parse(localStorage.getItem("chapter003")); |
| | | if (localData) { |
| | | this.chapter003 = { ...Object.assign(this.chapter003, localData) }; |
| | | if (!this.isSearch) { |
| | | const localData = JSON.parse(localStorage.getItem("chapter003")); |
| | | if (localData) { |
| | | this.chapter003 = { ...Object.assign(this.chapter003, localData) }; |
| | | } |
| | | this.chapter003.videOneUrl = await getResourcePath( |
| | | "459ab85d46207bfcca4801dc9b319b9b" |
| | | ); |
| | | this.chapter003.videoTwoUrl = await getResourcePath( |
| | | "3817bea302b25b865ff938140939a8de" |
| | | ); |
| | | this.chapter003.videoFourUrl = await getResourcePath( |
| | | "7af72da649f6656c3b2164e708f5c132" |
| | | ); |
| | | this.chapter003.videoFiveUrl = await getResourcePath( |
| | | "e24de9b0cdd889cb73e9b472ad6f4731" |
| | | ); |
| | | this.chapter003.videoSixUrl = await getResourcePath( |
| | | "d95740ab777d9c7ca074c33317a835c4" |
| | | ); |
| | | this.chapter003.videoSevenUrl = await getResourcePath( |
| | | "0b330926f3e6ed510b48144a83199fb3" |
| | | ); |
| | | this.chapter003.videoEigthUrl = await getResourcePath( |
| | | "9f63cc4dcba6a87cbfe82a9ec4d7c77e" |
| | | ); |
| | | this.chapter003.videoNineUrl = await getResourcePath( |
| | | "c2ecf6f102a6e9b210f3db49b17b58a4" |
| | | ); |
| | | this.chapter003.videoTenUrl = await getResourcePath( |
| | | "b6943018923c0cbad4e414dc2097cb9a" |
| | | ); |
| | | this.chapter003.videoEleUrl = await getResourcePath( |
| | | "eb604885f7c01cdf2d95df839c9c233a" |
| | | ); |
| | | this.chapter003.videoTevUrl = await getResourcePath( |
| | | "f12a50c2ac57da78ff02f3d5f430163b" |
| | | ); |
| | | } |
| | | this.chapter003.videOneUrl = await getResourcePath( |
| | | "459ab85d46207bfcca4801dc9b319b9b" |
| | | ); |
| | | this.chapter003.videoTwoUrl = await getResourcePath( |
| | | "3817bea302b25b865ff938140939a8de" |
| | | ); |
| | | this.chapter003.videoFourUrl = await getResourcePath( |
| | | "7af72da649f6656c3b2164e708f5c132" |
| | | ); |
| | | this.chapter003.videoFiveUrl = await getResourcePath( |
| | | "e24de9b0cdd889cb73e9b472ad6f4731" |
| | | ); |
| | | this.chapter003.videoSixUrl = await getResourcePath( |
| | | "d95740ab777d9c7ca074c33317a835c4" |
| | | ); |
| | | this.chapter003.videoSevenUrl = await getResourcePath( |
| | | "0b330926f3e6ed510b48144a83199fb3" |
| | | ); |
| | | this.chapter003.videoEigthUrl = await getResourcePath( |
| | | "9f63cc4dcba6a87cbfe82a9ec4d7c77e" |
| | | ); |
| | | this.chapter003.videoNineUrl = await getResourcePath( |
| | | "c2ecf6f102a6e9b210f3db49b17b58a4" |
| | | ); |
| | | this.chapter003.videoTenUrl = await getResourcePath( |
| | | "b6943018923c0cbad4e414dc2097cb9a" |
| | | ); |
| | | this.chapter003.videoEleUrl = await getResourcePath( |
| | | "eb604885f7c01cdf2d95df839c9c233a" |
| | | ); |
| | | this.chapter003.videoTevUrl = await getResourcePath( |
| | | "f12a50c2ac57da78ff02f3d5f430163b" |
| | | ); |
| | | // this.chapter003.videOneUrl = |
| | | // "https://jsek.bnuic.com/file/api/ApiDownload?md5=459ab85d46207bfcca4801dc9b319b9b"; |
| | | // this.chapter003.videoTwoUrl = |
| | | // "https://jsek.bnuic.com/file/api/ApiDownload?md5=3817bea302b25b865ff938140939a8de"; |
| | | // this.chapter003.videoFourUrl = |
| | | // "https://jsek.bnuic.com/file/api/ApiDownload?md5=7af72da649f6656c3b2164e708f5c132"; |
| | | // this.chapter003.videoFiveUrl = |
| | | // "https://jsek.bnuic.com/file/api/ApiDownload?md5=e24de9b0cdd889cb73e9b472ad6f4731"; |
| | | // this.chapter003.videoSixUrl = |
| | | // "https://jsek.bnuic.com/file/api/ApiDownload?md5=d95740ab777d9c7ca074c33317a835c4"; |
| | | // this.chapter003.videoSevenUrl = |
| | | // "https://jsek.bnuic.com/file/api/ApiDownload?md5=0b330926f3e6ed510b48144a83199fb3"; |
| | | // this.chapter003.videoEigthUrl = |
| | | // "https://jsek.bnuic.com/file/api/ApiDownload?md5=9f63cc4dcba6a87cbfe82a9ec4d7c77e"; |
| | | // this.chapter003.videoNineUrl = |
| | | // "https://jsek.bnuic.com/file/api/ApiDownload?md5=c2ecf6f102a6e9b210f3db49b17b58a4"; |
| | | // this.chapter003.videoTenUrl = |
| | | // "https://jsek.bnuic.com/file/api/ApiDownload?md5=b6943018923c0cbad4e414dc2097cb9a"; |
| | | // this.chapter003.videoEleUrl = |
| | | // "https://jsek.bnuic.com/file/api/ApiDownload?md5=eb604885f7c01cdf2d95df839c9c233a"; |
| | | // this.chapter003.videoTevUrl = |
| | | // "https://jsek.bnuic.com/file/api/ApiDownload?md5=f12a50c2ac57da78ff02f3d5f430163b"; |
| | | // this.chapter003.qustionData = await getQuestionData( |
| | | // "3", |
| | | // testData[3], |
| | | // this.config.activeBook |
| | | // ); |
| | | }, |
| | | methods: { |
| | | activityOne() { |