From 23ebc0d9ee7d4b06916478f84b411d0406f11a3a Mon Sep 17 00:00:00 2001 From: 闫增涛 <1829501689@qq.com> Date: 星期三, 05 六月 2024 18:49:07 +0800 Subject: [PATCH] Merge branch 'master' of http://182.92.203.7:2001/r/testbookLayout --- src/books/lifeCare/view/chapter005.vue | 66 ++++++++++++++++----------------- 1 files changed, 32 insertions(+), 34 deletions(-) diff --git a/src/books/lifeCare/view/chapter005.vue b/src/books/lifeCare/view/chapter005.vue index 1988aab..7d84fab 100644 --- a/src/books/lifeCare/view/chapter005.vue +++ b/src/books/lifeCare/view/chapter005.vue @@ -2604,7 +2604,7 @@ <td> <textarea rows="2" - style="min-width: 80px;max-width:80px;font-size: 14px" + style="min-width: 80px; max-width: 80px; font-size: 14px" v-model="chapter005.textTh.text1" @blur="changeThVal($event, 'text1')" /> @@ -2613,7 +2613,7 @@ <td> <textarea rows="2" - style="min-width: 80px;max-width:80px;font-size: 14px" + style="min-width: 80px; max-width: 80px; font-size: 14px" v-model="chapter005.textTh.text2" @blur="changeThVal($event, 'text2')" /> @@ -2622,7 +2622,7 @@ <td> <textarea rows="2" - style="min-width: 80px;max-width:80px;font-size: 14px" + style="min-width: 80px; max-width: 80px; font-size: 14px" v-model="chapter005.textTh.text3" @blur="changeThVal($event, 'text3')" /> @@ -2631,7 +2631,7 @@ <td> <textarea rows="2" - style="min-width: 80px;max-width:80px;font-size: 14px" + style="min-width: 80px; max-width: 80px; font-size: 14px" v-model="chapter005.textTh.text4" @blur="changeThVal($event, 'text4')" /> @@ -2642,7 +2642,7 @@ <td> <textarea rows="2" - style="min-width: 80px;max-width:80px;font-size: 14px" + style="min-width: 80px; max-width: 80px; font-size: 14px" v-model="chapter005.textTh.text5" @blur="changeThVal($event, 'text5')" /> @@ -2651,7 +2651,7 @@ <td> <textarea rows="2" - style="min-width: 80px;max-width:80px;font-size: 14px" + style="min-width: 80px; max-width: 80px; font-size: 14px" v-model="chapter005.textTh.text6" @blur="changeThVal($event, 'text6')" /> @@ -2660,7 +2660,7 @@ <td> <textarea rows="2" - style="min-width: 80px;max-width:80px;font-size: 14px" + style="min-width: 80px; max-width: 80px; font-size: 14px" v-model="chapter005.textTh.text7" @blur="changeThVal($event, 'text7')" /> @@ -2669,7 +2669,7 @@ <td> <textarea rows="2" - style="min-width: 80px;max-width:80px;font-size: 14px" + style="min-width: 80px; max-width: 80px; font-size: 14px" v-model="chapter005.textTh.text8" @blur="changeThVal($event, 'text8')" /> @@ -2724,7 +2724,7 @@ </tbody> </table> </div> - <p><br/></p> + <p><br /></p> <h3 id="c020"> <span class="bk-h3" ><span class="bj1-h3">鍏�</span>銆�銆�椁愬悗淇濊偛銆�</span @@ -3102,7 +3102,7 @@ </div> </template> <script> -import getResourcePath from "@/assets/methods/resources.js"; +import { getResourcePath } from "@/assets/methods/resources.js"; import examinations from "@/components/examinations/index.vue"; import { getFileMd5, getPublicImage } from "../js/tool.js"; import drawflow from "@/components/drawflow"; @@ -3116,6 +3116,10 @@ }, questionData: { type: Object, + }, + isSearch: { + type: Boolean, + default: false, }, }, data() { @@ -3555,30 +3559,24 @@ drawflow, }, async created() { - const localData = JSON.parse(localStorage.getItem("chapter005")); - if (localData) { - this.chapter005 = { ...Object.assign(this.chapter005, localData) }; + if (!this.isSearch) { + const localData = JSON.parse(localStorage.getItem("chapter005")); + if (localData) { + this.chapter005 = { ...Object.assign(this.chapter005, localData) }; + } + this.chapter005.videOneUrl = await getResourcePath( + "439b0bde62a5098875c77e2492676577" + ); + this.chapter005.videoTwoUrl = await getResourcePath( + "1a878261410b01ee8e4e0602a1fe935f" + ); + this.chapter005.videoFourUrl = await getResourcePath( + "6cf2619beb704b3d79de04f0775c8ba3" + ); + this.chapter005.videoFiveUrl = await getResourcePath( + "8400384441ad9236d5eab24f500ec2c7" + ); } - this.chapter005.videOneUrl = await getResourcePath( - "439b0bde62a5098875c77e2492676577" - ); - this.chapter005.videoTwoUrl = await getResourcePath( - "1a878261410b01ee8e4e0602a1fe935f" - ); - this.chapter005.videoFourUrl = await getResourcePath( - "6cf2619beb704b3d79de04f0775c8ba3" - ); - this.chapter005.videoFiveUrl = await getResourcePath( - "8400384441ad9236d5eab24f500ec2c7" - ); - // this.chapter005.videOneUrl = - // "https://jsek.bnuic.com/file/api/ApiDownload?md5=439b0bde62a5098875c77e2492676577"; - // this.chapter005.videoTwoUrl = - // "https://jsek.bnuic.com/file/api/ApiDownload?md5=1a878261410b01ee8e4e0602a1fe935f"; - // this.chapter005.videoFourUrl = - // "https://jsek.bnuic.com/file/api/ApiDownload?md5=6cf2619beb704b3d79de04f0775c8ba3"; - // this.chapter005.videoFiveUrl = - // "https://jsek.bnuic.com/file/api/ApiDownload?md5=8400384441ad9236d5eab24f500ec2c7"; }, methods: { activityOne() { @@ -3749,7 +3747,7 @@ if (type == "3") { that.chapter005.pictrueListThree.push(getPublicImage(e)); } - that.$emit('Upload_initViewer',"") + that.$emit("Upload_initViewer", ""); localStorage.setItem("chapter005", JSON.stringify(that.chapter005)); }, 1000); }) -- Gitblit v1.9.1