lsc преди 2 години
родител
ревизия
df6cdb2929
променени са 1 файла, в които са добавени 14 реда и са изтрити 3 реда
  1. 14 3
      src/components/pages/addCourse.vue

+ 14 - 3
src/components/pages/addCourse.vue

@@ -1151,7 +1151,7 @@
                               </div>
                             </div>
                             <div class="tool">
-                              <div class="whiteBIcon" @click="addTools(1, itemTaskIndex, toolIndex)">
+                              <div class="whiteBIcon" @click="openTools(itemTaskIndex, 3, toolIndex)">
                                 <img src="../../assets/icon/secondToolList/whiteBoard.png" alt />
                                 <div style="margin: 5px 0">电子白板</div>
                               </div>
@@ -1190,7 +1190,7 @@
                                 </div>
                               </div>
                             </div> -->
-                            <div class="tool">
+                            <!-- <div class="tool">
                               <div class="whiteBIcon" @click="addTools(6, itemTaskIndex, toolIndex)">
                                 <img src="../../assets/icon/secondToolList/doc.png" alt />
                                 <div style="margin: 5px 0">协同文档</div>
@@ -1201,7 +1201,7 @@
                                   <img src="../../assets/icon/checkedIs.png" alt /><span>已选择</span>
                                 </div>
                               </div>
-                            </div>
+                            </div> -->
                             <div class="tool">
                               <div class="whiteBIcon" @click="openTools(itemTaskIndex, 52, toolIndex)">
                                 <img src="../../assets/icon/fourthToolList/text.png" alt />
@@ -5007,6 +5007,17 @@ export default {
           },
           "*"
         );
+      } else if (i == 1) {
+        window.parent.postMessage(
+          {
+            tools: "1y",
+            cid: this.cid,
+            stage: this.unitIndex,
+            task: itemTaskIndex,
+            tool: toolIndex,
+          },
+          "*"
+        );
       }
     },
     chapAddTools(i) {