闫增涛
2024-06-05 23ebc0d9ee7d4b06916478f84b411d0406f11a3a
src/books/lifeCare/view/chapter005.vue
@@ -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,6 +3559,7 @@
    drawflow,
  },
  async created() {
    if (!this.isSearch) {
    const localData = JSON.parse(localStorage.getItem("chapter005"));
    if (localData) {
      this.chapter005 = { ...Object.assign(this.chapter005, localData) };
@@ -3571,14 +3576,7 @@
    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);
        })