From 9fb4c5b5f3616f174935cf03bd64d775ee407b79 Mon Sep 17 00:00:00 2001
From: 闫增涛 <1829501689@qq.com>
Date: 星期四, 06 六月 2024 19:00:01 +0800
Subject: [PATCH] Merge branch 'master' of http://182.92.203.7:2001/r/testbookLayout

---
 src/books/lifeCare/view/chapter004.vue |   33 +++++++++++++++------------------
 1 files changed, 15 insertions(+), 18 deletions(-)

diff --git a/src/books/lifeCare/view/chapter004.vue b/src/books/lifeCare/view/chapter004.vue
index b904467..d0f3c91 100644
--- a/src/books/lifeCare/view/chapter004.vue
+++ b/src/books/lifeCare/view/chapter004.vue
@@ -476,10 +476,7 @@
                   <tr>
                     <th
                       :style="{
-                        width:
-                          index == 1 || index == chapter004.groupData.length - 1
-                            ? '100px'
-                            : '',
+                        width: index == 3 ? '300px' : '50px',
                       }"
                       v-for="(header, index) in chapter004.publicHeader"
                       :key="index"
@@ -1355,7 +1352,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 drawflow from "@/components/drawflow";
 export default {
@@ -1450,20 +1447,20 @@
     };
   },
   async created() {
-    if(!this.isSearch){
+    if (!this.isSearch) {
       const localData = JSON.parse(localStorage.getItem("chapter004"));
-    if (localData) {
-      this.chapter004 = { ...Object.assign(this.chapter004, localData) };
-    }
-    this.chapter004.videOneUrl = await getResourcePath(
-      "c276be12bae3b1df0b3ce4aa01b14e1e"
-    );
-    this.chapter004.videoTwoUrl = await getResourcePath(
-      "7eb7fe2e3c13885a96143110ca4f5654"
-    );
-    this.chapter004.videoFourUrl = await getResourcePath(
-      "1b04691b60e5b5b207b3a4967c495d29"
-    );
+      if (localData) {
+        this.chapter004 = { ...Object.assign(this.chapter004, localData) };
+      }
+      this.chapter004.videOneUrl = await getResourcePath(
+        "c276be12bae3b1df0b3ce4aa01b14e1e"
+      );
+      this.chapter004.videoTwoUrl = await getResourcePath(
+        "7eb7fe2e3c13885a96143110ca4f5654"
+      );
+      this.chapter004.videoFourUrl = await getResourcePath(
+        "1b04691b60e5b5b207b3a4967c495d29"
+      );
     }
   },
   methods: {

--
Gitblit v1.9.1