Explorar o código

Merge branch 'master' of https://git.cocorobo.cn/CocoRoboLabs/pbl-teacher-table

zengyicheng %!s(int64=2) %!d(string=hai) anos
pai
achega
a1f5f517c3

+ 31 - 2
index.html

@@ -35,7 +35,6 @@
       width: 100%;
       background: #e6eaf0;
     }
-
   </style>
 </head>
 
@@ -46,5 +45,35 @@
 
 </html>
 <script>
-document.domain = document.domain.split(".").slice(-2).join(".");
+  function stopSafari() {
+    //阻止safari浏览器双击放大功能
+    let lastTouchEnd = 0  //更新手指弹起的时间
+    document.documentElement.addEventListener("touchstart", function (event) {
+      //多根手指同时按下屏幕,禁止默认行为
+      if (event.touches.length > 1) {
+        event.preventDefault();
+      }
+    });
+    document.documentElement.addEventListener("touchend", function (event) {
+      let now = (new Date()).getTime();
+      if (now - lastTouchEnd <= 300) {
+        //当两次手指弹起的时间小于300毫秒,认为双击屏幕行为
+        event.preventDefault();
+      } else { // 否则重新手指弹起的时间
+        lastTouchEnd = now;
+      }
+    }, false);
+    //阻止双指放大页面
+    document.documentElement.addEventListener("gesturestart", function (event) {
+      event.preventDefault();
+    });
+  }
+
+  window.onload = () => {
+    stopSafari();
+  }
+  
+  document.domain = document.domain.split(".").slice(-2).join(".");
+
+
 </script>

BIN=BIN
src/assets/icon/fourthToolList/table.png


+ 85 - 21
src/components/pages/addCourse.vue

@@ -967,6 +967,17 @@
                                     alt /><span>已选择</span></div>
                               </div>
                             </div>
+                            <div class="tool">
+                              <div class="whiteBIcon" @click="openTools(itemTaskIndex, 48, toolIndex)">
+                                <img src="../../assets/icon/fourthToolList/table.png" alt />
+                                <div style="margin: 5px 0">表格</div>
+                              </div>
+                              <div class="check" @click="addTools(48, itemTaskIndex, toolIndex)">
+                                <img src="../../assets/icon/checkNo.png" alt v-if="itemTool.tool.indexOf(48) == -1" />
+                                <div class="checkDiv" v-else><img src="../../assets/icon/checkedIs.png"
+                                    alt /><span>已选择</span></div>
+                              </div>
+                            </div>
                             <!-- <div class="tool">
                               <div
                                 class="whiteBIcon"
@@ -1632,8 +1643,7 @@
                   </div>
                   <div class="check" @click="chapAddTools(8)">
                     <img src="../../assets/icon/checkNo.png" alt v-if="itemTools.tools.indexOf(8) == -1" />
-                    <div class="checkDiv" v-else><img src="../../assets/icon/checkedIs.png"
-                                    alt /><span>已选择</span></div>
+                    <div class="checkDiv" v-else><img src="../../assets/icon/checkedIs.png" alt /><span>已选择</span></div>
                   </div>
                 </div>
               </div>
@@ -1645,8 +1655,7 @@
                   </div>
                   <div class="check" @click="chapAddTools(7)">
                     <img src="../../assets/icon/checkNo.png" alt v-if="itemTools.tools.indexOf(7) == -1" />
-                    <div class="checkDiv" v-else><img src="../../assets/icon/checkedIs.png"
-                                    alt /><span>已选择</span></div>
+                    <div class="checkDiv" v-else><img src="../../assets/icon/checkedIs.png" alt /><span>已选择</span></div>
                   </div>
                 </div>
                 <div class="tool">
@@ -1656,8 +1665,7 @@
                   </div>
                   <div class="check" @click="chapAddTools(1)">
                     <img src="../../assets/icon/checkNo.png" alt v-if="itemTools.tools.indexOf(1) == -1" />
-                    <div class="checkDiv" v-else><img src="../../assets/icon/checkedIs.png"
-                                    alt /><span>已选择</span></div>
+                    <div class="checkDiv" v-else><img src="../../assets/icon/checkedIs.png" alt /><span>已选择</span></div>
                   </div>
                 </div>
                 <div class="tool">
@@ -1667,8 +1675,7 @@
                   </div>
                   <div class="check" @click="chapAddTools(2)">
                     <img src="../../assets/icon/checkNo.png" alt v-if="itemTools.tools.indexOf(2) == -1" />
-                    <div class="checkDiv" v-else><img src="../../assets/icon/checkedIs.png"
-                                    alt /><span>已选择</span></div>
+                    <div class="checkDiv" v-else><img src="../../assets/icon/checkedIs.png" alt /><span>已选择</span></div>
                   </div>
                 </div>
                 <div class="tool">
@@ -1678,8 +1685,7 @@
                   </div>
                   <div class="check" @click="chapAddTools(6)">
                     <img src="../../assets/icon/checkNo.png" alt v-if="itemTools.tools.indexOf(6) == -1" />
-                    <div class="checkDiv" v-else><img src="../../assets/icon/checkedIs.png"
-                                    alt /><span>已选择</span></div>
+                    <div class="checkDiv" v-else><img src="../../assets/icon/checkedIs.png" alt /><span>已选择</span></div>
                   </div>
                 </div>
                 <div class="tool">
@@ -1689,8 +1695,7 @@
                   </div>
                   <div class="check" @click="chapAddTools(3)">
                     <img src="../../assets/icon/checkNo.png" alt v-if="itemTools.tools.indexOf(3) == -1" />
-                    <div class="checkDiv" v-else><img src="../../assets/icon/checkedIs.png"
-                                    alt /><span>已选择</span></div>
+                    <div class="checkDiv" v-else><img src="../../assets/icon/checkedIs.png" alt /><span>已选择</span></div>
                   </div>
                 </div>
                 <div class="tool">
@@ -1700,8 +1705,7 @@
                   </div>
                   <div class="check" @click="chapAddTools(31)">
                     <img src="../../assets/icon/checkNo.png" alt v-if="itemTools.tools.indexOf(31) == -1" />
-                    <div class="checkDiv" v-else><img src="../../assets/icon/checkedIs.png"
-                                    alt /><span>已选择</span></div>
+                    <div class="checkDiv" v-else><img src="../../assets/icon/checkedIs.png" alt /><span>已选择</span></div>
                   </div>
                 </div>
               </div>
@@ -1713,8 +1717,7 @@
                   </div>
                   <div class="check" @click="chapAddTools(5)">
                     <img src="../../assets/icon/checkNo.png" alt v-if="itemTools.tools.indexOf(5) == -1" />
-                    <div class="checkDiv" v-else><img src="../../assets/icon/checkedIs.png"
-                                    alt /><span>已选择</span></div>
+                    <div class="checkDiv" v-else><img src="../../assets/icon/checkedIs.png" alt /><span>已选择</span></div>
                   </div>
                 </div>
                 <div class="tool">
@@ -1724,8 +1727,7 @@
                   </div>
                   <div class="check" @click="chapAddTools(4)">
                     <img src="../../assets/icon/checkNo.png" alt v-if="itemTools.tools.indexOf(4) == -1" />
-                    <div class="checkDiv" v-else><img src="../../assets/icon/checkedIs.png"
-                                    alt /><span>已选择</span></div>
+                    <div class="checkDiv" v-else><img src="../../assets/icon/checkedIs.png" alt /><span>已选择</span></div>
                   </div>
                 </div>
               </div>
@@ -1991,6 +1993,20 @@
         <el-button type="primary" @click="addSentenceTool">确 定</el-button>
       </span>
     </el-dialog>
+    <el-dialog title="添加表格" :visible.sync="dialogVisibleTable" :append-to-body="true" width="95%"
+      :before-close="handleClose" class="dialog_diy">
+      <el-form>
+        <!-- <el-form-item label="文本标题">
+          <el-input v-model="AttText.title" auto-complete="off" @input="change2" placeholder="请输入文本标题..."></el-input>
+        </el-form-item> -->
+        <div>表格内容</div>
+        <Table v-model="tableJson.text" @change="change"></Table>
+      </el-form>
+      <span slot="footer" class="dialog-footer">
+        <el-button @click="(dialogVisibleTable = false)">取 消</el-button>
+        <el-button type="primary" @click="addTableJson">确定</el-button>
+      </span>
+    </el-dialog>
   </div>
 </template>
 
@@ -1998,11 +2014,12 @@
 import "../../common/aws-sdk-2.235.1.min.js";
 import $ from "jquery";
 import EditorBar from "../../components/tools/wangEnduit";
+import Table from "../../components/tools/table";
 import Mind from "../tools/jsmind2";
 import Sunburst from "../tools/sunburst";
 import SeeBoard from "../tools/seeBoard";
 export default {
-  components: { EditorBar, Mind, Sunburst, SeeBoard },
+  components: { EditorBar, Mind, Sunburst, SeeBoard, Table },
   data() {
     return {
       checkAll: false,
@@ -2063,6 +2080,8 @@ export default {
       oid: this.$route.query.oid,
       org: this.$route.query.org,
       cid: this.$route.query.cid != undefined ? this.$route.query.cid : "",
+      dialogVisibleTable: false,
+      tableJson: { text: "" },
       cover: [], //项目封面
       myWord: [],
       evaJuri: [],
@@ -3840,6 +3859,23 @@ export default {
           this.sentenceList = sentenceList;
         }
         this.dialogVisibleSentence = true;
+      }else if (i == 48) {
+        if (
+          this.unitJson[this.unitIndex].chapterInfo[0].taskJson[itemTaskIndex]
+            .toolChoose[toolIndex].tableJson
+        ) {
+          this.tableJson = JSON.parse(
+            JSON.stringify(
+              this.unitJson[this.unitIndex].chapterInfo[0].taskJson[
+                itemTaskIndex
+              ].toolChoose[toolIndex].tableJson
+            )
+          );
+        } else {
+          var tableJson = {text:""};
+          this.tableJson = tableJson;
+        }
+        this.dialogVisibleTable = true;
       } else if (i == 15) {
         this.answerQ = this.unitJson[this.unitIndex].chapterInfo[0].taskJson[
           itemTaskIndex
@@ -3982,7 +4018,7 @@ export default {
       if (i == 45) {
         if (
           !this.unitJson[this.unitIndex].chapterInfo[0].taskJson[itemTaskIndex]
-            .toolChoose[toolIndex].testJson  ||
+            .toolChoose[toolIndex].testJson ||
           this.unitJson[this.unitIndex].chapterInfo[0].taskJson[itemTaskIndex]
             .toolChoose[toolIndex].testJson.testJson[0].teststitle == "" ||
           this.unitJson[this.unitIndex].chapterInfo[0].taskJson[itemTaskIndex]
@@ -4007,6 +4043,15 @@ export default {
           return;
         }
       }
+      if (i == 48) {
+        if (
+          !this.unitJson[this.unitIndex].chapterInfo[0].taskJson[itemTaskIndex]
+            .toolChoose[toolIndex].tableJson
+        ) {
+          this.openTools(itemTaskIndex, 48, toolIndex);
+          return;
+        }
+      }
       if (i == 15) {
         if (
           !this.unitJson[this.unitIndex].chapterInfo[0].taskJson[itemTaskIndex]
@@ -4966,6 +5011,25 @@ export default {
         this.addTools(47, this.taskCount, this.toolIndex)
       }
     },
+    addTableJson(){
+      if(this.tableJson.text == '' || this.tableJson.text == '<p></p>'){
+        this.$message.error("请将信息填写完整!");
+          return;
+      }
+      this.unitJson[this.unitIndex].chapterInfo[0].taskJson[
+        this.taskCount
+      ].toolChoose[this.toolIndex].tableJson = this.tableJson;
+      this.tableJson = [
+        { text:"" },
+      ];
+      this.dialogVisibleTable = false;
+
+      if (this.unitJson[this.unitIndex].chapterInfo[0].taskJson[
+        this.taskCount
+      ].toolChoose[this.toolIndex].tool != 48) {
+        this.addTools(48, this.taskCount, this.toolIndex)
+      }
+    }
   },
   beforeDestroy() {
     clearTimeout(this.timer);
@@ -5846,7 +5910,7 @@ export default {
 .cont>>>table th {
   border-bottom: 1px solid #ccc;
   border-right: 1px solid #ccc;
-  padding: 3px 5px;
+  padding: 20px 5px;
 }
 
 .cont>>>table th {

+ 1 - 1
src/components/pages/addCourseGM.vue

@@ -2382,7 +2382,7 @@ export default {
     lastSteps() {
       if (this.steps == 4) {
         this.goTo(
-          "/course?userid=" +
+          "/courseGM?userid=" +
           this.userid +
           "&oid=" +
           this.oid +

+ 2274 - 0
src/components/pages/components/a copy.json

@@ -0,0 +1,2274 @@
+[
+    {
+        "dyName": "共情",
+        "chapterInfo": [
+            {
+                "isread": false,
+                "chapterid": "41b1939a-502b-364d-31df-5db9e067b3f8",
+                "title": "",
+                "courseName": "",
+                "taskJson": [
+                    {
+                        "task": "婴儿睡姿大赏",
+                        "taskDetail": "<p>宝宝的睡姿千奇百怪</p>",
+                        "chapterData": [
+                            {
+                                "name": "260461988-1-160.mp4",
+                                "url": "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/260461988-1-1601669787956579.mp4",
+                                "type": 2
+                            }
+                        ],
+                        "toolText": "",
+                        "toolChoose": [
+                            {
+                                "tool": [
+                                    1
+                                ],
+                                "toolDetail": "画一画你平时喜欢的睡姿",
+                                "toolType": 1,
+                                "askCount": 1,
+                                "askTitle": "",
+                                "askJson": [
+                                    {
+                                        "askstitle": "",
+                                        "askItem": 1,
+                                        "checkList": []
+                                    }
+                                ]
+                            }
+                        ],
+                        "isShowTools": false,
+                        "askCount": 1,
+                        "isFold": 1,
+                        "askTitle": "",
+                        "askJson": [
+                            {
+                                "askstitle": "",
+                                "askItem": 1,
+                                "checkList": []
+                            }
+                        ],
+                        "checkJson": [
+                            {
+                                "checkCount": [],
+                                "checkPerent": []
+                            }
+                        ],
+                        "homeworkList": [],
+                        "progress": 100,
+                        "proVisible": false
+                    },
+                    {
+                        "task": "了解不同婴儿睡姿可能给婴儿带来的影响",
+                        "taskDetail": "<p><span style=\"font-size:10.5pt;mso-bidi-font-size:11.0pt;\nfont-family:宋体;mso-bidi-font-family:\" times=\"\" new=\"\" roman\";mso-bidi-theme-font:minor-bidi;=\"\" mso-ansi-language:en-us;mso-fareast-language:zh-cn;mso-bidi-language:ar-sa\"=\"\">新生儿睡姿单一,头骨尚未完全发育,长时间保持同一睡姿将会造成婴儿扁头症状,可能会对婴儿大脑和智力的发育造成影响。不同的睡姿可能会给婴儿造成不同的影响。</span><br/></p>",
+                        "chapterData": [
+                            {
+                                "name": "1.pdf",
+                                "url": "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/11669791180455.pdf",
+                                "type": 3
+                            },
+                            {
+                                "name": "2.pdf",
+                                "url": "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/21669802565083.pdf",
+                                "type": 3
+                            }
+                        ],
+                        "toolText": "",
+                        "toolChoose": [
+                            {
+                                "tool": [
+                                    2
+                                ],
+                                "toolDetail": "讨论:说一说你知道的/你认为的婴儿监护设备有哪些功能?",
+                                "toolType": 1,
+                                "askCount": 1,
+                                "askTitle": "",
+                                "askJson": [
+                                    {
+                                        "askstitle": "",
+                                        "askItem": 1,
+                                        "checkList": []
+                                    }
+                                ]
+                            },
+                            {
+                                "tool": [
+                                    3
+                                ],
+                                "toolDetail": "请绘制你设计的婴儿监护设备的功能思维导图",
+                                "toolType": 1,
+                                "askCount": 1,
+                                "askTitle": "",
+                                "askJson": [
+                                    {
+                                        "askstitle": "",
+                                        "askItem": 1,
+                                        "checkList": []
+                                    }
+                                ]
+                            },
+                            {
+                                "tool": [
+                                    16
+                                ],
+                                "toolDetail": "课后做一个家庭小采访,采访你的家长或者家里有新生儿的家长,设计3-5个问题答卷,分析出家里有新生儿的家长对婴儿监护设备可能产生的核心诉求。",
+                                "toolType": 2,
+                                "askCount": 1,
+                                "askTitle": "",
+                                "askJson": [
+                                    {
+                                        "askstitle": "",
+                                        "askItem": 1,
+                                        "checkList": []
+                                    }
+                                ]
+                            }
+                        ],
+                        "isShowTools": false,
+                        "askCount": 1,
+                        "isFold": 1,
+                        "askTitle": "",
+                        "askJson": [
+                            {
+                                "askstitle": "",
+                                "askItem": 1,
+                                "checkList": []
+                            }
+                        ],
+                        "checkJson": [
+                            {
+                                "checkCount": [],
+                                "checkPerent": []
+                            }
+                        ],
+                        "homeworkList": [],
+                        "progress": 100,
+                        "proVisible": false
+                    }
+                ],
+                "itemCount": 1,
+                "fileList1": [],
+                "video": [],
+                "testData": [],
+                "pData": [],
+                "templateArray": []
+            }
+        ]
+    },
+    {
+        "dyName": "定义",
+        "chapterInfo": [
+            {
+                "isread": false,
+                "chapterid": "a798c57c-7de3-5e1e-d171-2b53068354e4",
+                "title": "",
+                "courseName": "",
+                "taskJson": [
+                    {
+                        "task": "家庭小采访结果分享会",
+                        "taskDetail": "<p style=\"font-size: medium;\"><span style=\"color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans SC&quot;, &quot;Noto Sans CJK SC&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif; font-size: medium;\">设计思维的共情阶段的核心价值是以人为中心,一切需求的出发点是“人”,通过观察、倾听、访谈等方法和用户产生共情,进而分析出用户的核心诉求。</span><br/></p><p style=\"font-size: medium;\">我们的项目在【共情】阶段,需要清晰找到我们是为谁去设计?这类特定的“人”,对新生儿的睡眠关注程度如何?他们期待婴儿监护设备能提供哪些帮助?他们对婴儿监护设备有哪些担忧?</p>",
+                        "chapterData": [
+                            {
+                                "name": "分享你的调查结果",
+                                "url": "<p>我的用户是谁(用户User)?有什么需求(需求Need)?</p><p>我发现了什么?(洞察Insight)简称POV法。</p><p><img src=\"https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/31669800329234.jpg\" style=\"max-width:100%;\"/><br/></p>",
+                                "type": 6
+                            }
+                        ],
+                        "toolText": "",
+                        "toolChoose": [
+                            {
+                                "tool": [
+                                    10
+                                ],
+                                "toolDetail": "分小组,15分钟讨论时间,同学们需要制作一个【我的调查分享】PPT,在组内选出一个人进行3分钟演讲展示你们组的调查分享结果",
+                                "toolType": 0,
+                                "askCount": 1,
+                                "askTitle": "",
+                                "askJson": [
+                                    {
+                                        "askstitle": "",
+                                        "askItem": 1,
+                                        "checkList": []
+                                    }
+                                ]
+                            }
+                        ],
+                        "isShowTools": false,
+                        "askCount": 1,
+                        "isFold": 0,
+                        "askTitle": "",
+                        "askJson": [
+                            {
+                                "askstitle": "",
+                                "askItem": 1,
+                                "checkList": []
+                            }
+                        ],
+                        "checkJson": [
+                            {
+                                "checkCount": [],
+                                "checkPerent": []
+                            }
+                        ],
+                        "homeworkList": []
+                    },
+                    {
+                        "task": "分享采访记录并讨论解决方案",
+                        "taskDetail": "<p>使用工具记录别的小组用户需求,与自己小组采访得出的用户需求进行对比。通过小组讨论,<font color=\"#121212\" face=\"-apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif\">分别把组内和别的小组的需求都对应写上“你认为可能的解决方案”。</font><br/></p>",
+                        "chapterData": [],
+                        "toolText": "",
+                        "toolChoose": [
+                            {
+                                "tool": [
+                                    6
+                                ],
+                                "toolDetail": "记录组内和别的小组的用户需求,并写上“你认为可能的解决方案”",
+                                "toolType": 1,
+                                "askCount": 1,
+                                "askTitle": "",
+                                "askJson": [
+                                    {
+                                        "askstitle": "",
+                                        "askItem": 1,
+                                        "checkList": []
+                                    }
+                                ]
+                            }
+                        ],
+                        "isShowTools": false,
+                        "askCount": 1,
+                        "isFold": 0,
+                        "askTitle": "",
+                        "askJson": [
+                            {
+                                "askstitle": "",
+                                "askItem": 1,
+                                "checkList": []
+                            }
+                        ],
+                        "checkJson": [
+                            {
+                                "checkCount": [],
+                                "checkPerent": []
+                            }
+                        ],
+                        "homeworkList": []
+                    },
+                    {
+                        "task": "“我认为重要的前10条”用户需求分析",
+                        "taskDetail": "<p><span style=\"color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans SC&quot;, &quot;Noto Sans CJK SC&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif;\">排定优先顺序,制作【我认为重要的前10条】需求表格,再进行组间讨论投票,在此我们分辨出对用户来说什么是真正重要的,什么是我们应该花更多时间去投入的。</span><br/></p>",
+                        "chapterData": [
+                            {
+                                "name": "我认为重要的前10条",
+                                "url": "<p><img src=\"https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/41669801768079.jpg\" style=\"max-width:100%;\"/><br/></p>",
+                                "type": 6
+                            }
+                        ],
+                        "toolText": "",
+                        "toolChoose": [
+                            {
+                                "tool": [
+                                    1
+                                ],
+                                "toolDetail": "记录并投票",
+                                "toolType": 1,
+                                "askCount": 1,
+                                "askTitle": "",
+                                "askJson": [
+                                    {
+                                        "askstitle": "",
+                                        "askItem": 1,
+                                        "checkList": []
+                                    }
+                                ]
+                            }
+                        ],
+                        "isShowTools": false,
+                        "askCount": 1,
+                        "isFold": 0,
+                        "askTitle": "",
+                        "askJson": [
+                            {
+                                "askstitle": "",
+                                "askItem": 1,
+                                "checkList": []
+                            }
+                        ],
+                        "checkJson": [
+                            {
+                                "checkCount": [],
+                                "checkPerent": []
+                            }
+                        ],
+                        "homeworkList": []
+                    }
+                ],
+                "itemCount": 1,
+                "fileList1": [],
+                "video": [],
+                "testData": [],
+                "pData": [],
+                "templateArray": []
+            }
+        ]
+    },
+    {
+        "dyName": "构思",
+        "chapterInfo": [
+            {
+                "isread": false,
+                "chapterid": "4e72f00b-8ece-611f-792e-370898db62a9",
+                "title": "",
+                "courseName": "",
+                "taskJson": [
+                    {
+                        "task": "学习了解人工智能在各行业应用",
+                        "taskDetail": "<p>通过人工智能在不同行业的应用(军事、医疗、环境)等了解感知人工智能技术</p>",
+                        "chapterData": [
+                            {
+                                "name": "3.pdf",
+                                "url": "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/31669803639776.pdf",
+                                "type": 3
+                            }
+                        ],
+                        "toolText": "",
+                        "toolChoose": [
+                            {
+                                "tool": [],
+                                "toolDetail": "",
+                                "toolType": 0,
+                                "askCount": 1,
+                                "askTitle": "",
+                                "askJson": [
+                                    {
+                                        "askstitle": "",
+                                        "askItem": 1,
+                                        "checkList": []
+                                    }
+                                ]
+                            }
+                        ],
+                        "isShowTools": false,
+                        "askCount": 1,
+                        "isFold": 0,
+                        "askTitle": "",
+                        "askJson": [
+                            {
+                                "askstitle": "",
+                                "askItem": 1,
+                                "checkList": []
+                            }
+                        ],
+                        "checkJson": [
+                            {
+                                "checkCount": [],
+                                "checkPerent": []
+                            }
+                        ],
+                        "homeworkList": [],
+                        "progress": 100,
+                        "proVisible": false
+                    },
+                    {
+                        "task": "认识人工智能技术",
+                        "taskDetail": "<p>什么是人工智能技术?</p><p><br/></p>",
+                        "chapterData": [
+                            {
+                                "name": "3-2.pdf",
+                                "url": "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/3-21669805183644.pdf",
+                                "type": 3
+                            }
+                        ],
+                        "toolText": "",
+                        "toolChoose": [
+                            {
+                                "tool": [
+                                    45
+                                ],
+                                "toolDetail": "它有没有使用人工智能技术?",
+                                "toolType": 2,
+                                "askCount": 1,
+                                "askTitle": "",
+                                "askJson": [
+                                    {
+                                        "askstitle": "",
+                                        "askItem": 1,
+                                        "checkList": []
+                                    }
+                                ],
+                                "selectJson": {
+                                    "url": "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/3-11669804702461.jpg",
+                                    "select": [
+                                        "有",
+                                        " 没有"
+                                    ],
+                                    "answer": [
+                                        0,
+                                        0
+                                    ]
+                                },
+                                "answerQ": "在我们跟Siri互动的时候,有使用人工智能技术吗?",
+                                "testJson": {
+                                    "testCount": 8,
+                                    "testTitle": "什么是人工智能",
+                                    "testJson": [
+                                        {
+                                            "teststitle": "在我们使用语音唤醒手机siri,帮我们搜索附近最近的地铁站。",
+                                            "testItem": 2,
+                                            "checkList": [
+                                                "有",
+                                                "没有"
+                                            ],
+                                            "answer": 0,
+                                            "type": "1"
+                                        },
+                                        {
+                                            "teststitle": "可以手动控制开关的灯。",
+                                            "testItem": 2,
+                                            "checkList": [
+                                                "有",
+                                                "没有"
+                                            ],
+                                            "answer": 1,
+                                            "type": "1"
+                                        },
+                                        {
+                                            "teststitle": "我们去便利店买东西,使用刷脸支付",
+                                            "testItem": 2,
+                                            "checkList": [
+                                                "有",
+                                                "没有"
+                                            ],
+                                            "answer": 0,
+                                            "type": "1"
+                                        },
+                                        {
+                                            "teststitle": "我们使用360搜索引擎",
+                                            "testItem": 3,
+                                            "checkList": [
+                                                "有",
+                                                "没有",
+                                                "得分情况具体阐述"
+                                            ],
+                                            "answer": 2,
+                                            "type": "1"
+                                        },
+                                        {
+                                            "teststitle": "智能除草机器人、水果采摘机器人、庄稼收割机器人等农业助手",
+                                            "testItem": 2,
+                                            "checkList": [
+                                                "有",
+                                                "没有"
+                                            ],
+                                            "answer": 0,
+                                            "type": "1"
+                                        },
+                                        {
+                                            "teststitle": "无人驾驶的汽车",
+                                            "testItem": 2,
+                                            "checkList": [
+                                                "有",
+                                                "没有"
+                                            ],
+                                            "answer": 0,
+                                            "type": "1"
+                                        },
+                                        {
+                                            "teststitle": "可以进行古文诗歌点播、诗词接龙的陪伴型机器人",
+                                            "testItem": 2,
+                                            "checkList": [
+                                                "有",
+                                                "没有"
+                                            ],
+                                            "answer": 0,
+                                            "type": "1"
+                                        },
+                                        {
+                                            "teststitle": "可以遥控调节温度的空调",
+                                            "testItem": 2,
+                                            "checkList": [
+                                                "有",
+                                                "没有"
+                                            ],
+                                            "answer": 1,
+                                            "type": "1"
+                                        }
+                                    ]
+                                }
+                            },
+                            {
+                                "tool": [
+                                    45
+                                ],
+                                "toolDetail": "判断以下场景中,是否有应用人工智能技术?\n",
+                                "toolType": 2,
+                                "askCount": 1,
+                                "askTitle": "",
+                                "askJson": [
+                                    {
+                                        "askstitle": "",
+                                        "askItem": 1,
+                                        "checkList": []
+                                    }
+                                ],
+                                "testJson": {
+                                    "testCount": 4,
+                                    "testTitle": "判断以下场景中,是否有应用人工智能技术?",
+                                    "testJson": [
+                                        {
+                                            "teststitle": "空调定时调节温度",
+                                            "testItem": 2,
+                                            "checkList": [
+                                                "是",
+                                                "否"
+                                            ],
+                                            "answer": 1,
+                                            "type": "1"
+                                        },
+                                        {
+                                            "teststitle": "智能音响在听到指令后自动播放周杰伦的歌曲",
+                                            "testItem": 2,
+                                            "checkList": [
+                                                "是",
+                                                "否"
+                                            ],
+                                            "answer": 1,
+                                            "type": "1"
+                                        },
+                                        {
+                                            "teststitle": "按下开关后,电饭煲开始执行“柴火饭”程序",
+                                            "testItem": 2,
+                                            "checkList": [
+                                                "是",
+                                                "否"
+                                            ],
+                                            "answer": 1,
+                                            "type": "1"
+                                        },
+                                        {
+                                            "teststitle": "美颜相机中的萌拍功能,它可以根据人脸自动添加不同风格贴纸",
+                                            "testItem": 2,
+                                            "checkList": [
+                                                "是",
+                                                "否"
+                                            ],
+                                            "answer": 0,
+                                            "type": "1"
+                                        }
+                                    ]
+                                }
+                            }
+                        ],
+                        "isShowTools": false,
+                        "askCount": 1,
+                        "isFold": 0,
+                        "askTitle": "",
+                        "askJson": [
+                            {
+                                "askstitle": "",
+                                "askItem": 1,
+                                "checkList": []
+                            }
+                        ],
+                        "checkJson": [
+                            {
+                                "checkCount": [],
+                                "checkPerent": []
+                            }
+                        ],
+                        "homeworkList": [],
+                        "progress": 100,
+                        "proVisible": false
+                    },
+                    {
+                        "task": "人工智能的挑战",
+                        "taskDetail": "<p>人工智能技术给我们的日常生活提供诸多便利,人们对其发展前景更是充满期待,但人工智能技术快速发展的同时,也带来了新的挑战。</p><p>通过学习,我们一起来辩证的看待技术给人类带来的变化。</p>",
+                        "chapterData": [
+                            {
+                                "name": "3-3.pdf",
+                                "url": "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/3-31669876081412.pdf",
+                                "type": 3
+                            }
+                        ],
+                        "toolText": "",
+                        "toolChoose": [
+                            {
+                                "tool": [
+                                    1
+                                ],
+                                "toolDetail": "你认为什么职业最不容易被替代?",
+                                "toolType": 1,
+                                "askCount": 1,
+                                "askTitle": "",
+                                "askJson": [
+                                    {
+                                        "askstitle": "",
+                                        "askItem": 1,
+                                        "checkList": []
+                                    }
+                                ]
+                            },
+                            {
+                                "tool": [
+                                    1
+                                ],
+                                "toolDetail": "你认为什么职业最容易被替代?",
+                                "toolType": 1,
+                                "askCount": 1,
+                                "askTitle": "",
+                                "askJson": [
+                                    {
+                                        "askstitle": "",
+                                        "askItem": 1,
+                                        "checkList": []
+                                    }
+                                ]
+                            },
+                            {
+                                "tool": [
+                                    45
+                                ],
+                                "toolDetail": "",
+                                "toolType": 2,
+                                "askCount": 1,
+                                "askTitle": "",
+                                "askJson": [
+                                    {
+                                        "askstitle": "",
+                                        "askItem": 1,
+                                        "checkList": []
+                                    }
+                                ],
+                                "testJson": {
+                                    "testCount": 1,
+                                    "testTitle": "人工智能的挑战",
+                                    "testJson": [
+                                        {
+                                            "teststitle": "假如无人驾驶汽车违规发生了交通事故,警察应该追究谁的责任呢?",
+                                            "testItem": 4,
+                                            "checkList": [
+                                                "汽车制造者",
+                                                "汽车主人",
+                                                "使用该汽车的人",
+                                                "汽车"
+                                            ],
+                                            "answer": 4,
+                                            "type": "1"
+                                        }
+                                    ]
+                                }
+                            }
+                        ],
+                        "isShowTools": false,
+                        "askCount": 1,
+                        "isFold": 0,
+                        "askTitle": "",
+                        "askJson": [
+                            {
+                                "askstitle": "",
+                                "askItem": 1,
+                                "checkList": []
+                            }
+                        ],
+                        "checkJson": [
+                            {
+                                "checkCount": [],
+                                "checkPerent": []
+                            }
+                        ],
+                        "homeworkList": [],
+                        "progress": 100,
+                        "proVisible": false
+                    },
+                    {
+                        "task": "你认为AI技术的未来可以怎样发展?",
+                        "taskDetail": "<p>组织学生畅想一下AI技术的未来</p>",
+                        "chapterData": [],
+                        "toolText": "",
+                        "toolChoose": [
+                            {
+                                "tool": [
+                                    1
+                                ],
+                                "toolDetail": "绘制你认为的AI技术的未来",
+                                "toolType": 1,
+                                "askCount": 1,
+                                "askTitle": "",
+                                "askJson": [
+                                    {
+                                        "askstitle": "",
+                                        "askItem": 1,
+                                        "checkList": []
+                                    }
+                                ]
+                            }
+                        ],
+                        "isShowTools": false,
+                        "askCount": 1,
+                        "isFold": 0,
+                        "askTitle": "",
+                        "askJson": [
+                            {
+                                "askstitle": "",
+                                "askItem": 1,
+                                "checkList": []
+                            }
+                        ],
+                        "checkJson": [
+                            {
+                                "checkCount": [],
+                                "checkPerent": []
+                            }
+                        ],
+                        "homeworkList": []
+                    },
+                    {
+                        "task": "构思【我们可以使用的技术】方案",
+                        "taskDetail": "<p>我们在创意阶段发散思维产生许多点子或想法。</p><p>在这一阶段,我们可以用各种方法来加强创造性,头脑风暴和草图是最为常用的。</p><p>目标是产出尽可能多不同的概念,然后将它们可视化。</p>",
+                        "chapterData": [],
+                        "toolText": "",
+                        "toolChoose": [
+                            {
+                                "tool": [
+                                    3
+                                ],
+                                "toolDetail": "我们可以用人工智能的什么技术来帮助我们解决问题",
+                                "toolType": 1,
+                                "askCount": 1,
+                                "askTitle": "",
+                                "askJson": [
+                                    {
+                                        "askstitle": "",
+                                        "askItem": 1,
+                                        "checkList": []
+                                    }
+                                ]
+                            }
+                        ],
+                        "isShowTools": false,
+                        "askCount": 1,
+                        "isFold": 0,
+                        "askTitle": "",
+                        "askJson": [
+                            {
+                                "askstitle": "",
+                                "askItem": 1,
+                                "checkList": []
+                            }
+                        ],
+                        "checkJson": [
+                            {
+                                "checkCount": [],
+                                "checkPerent": []
+                            }
+                        ],
+                        "homeworkList": []
+                    }
+                ],
+                "itemCount": 1,
+                "fileList1": [],
+                "video": [],
+                "testData": [],
+                "pData": [],
+                "templateArray": []
+            }
+        ]
+    },
+    {
+        "dyName": "原型",
+        "chapterInfo": [
+            {
+                "isread": false,
+                "chapterid": "286df4be-78fc-8e8f-c266-0264359aa127",
+                "title": "",
+                "courseName": "",
+                "taskJson": [
+                    {
+                        "task": "设计【针对“需求”和“用户”】的解决方案",
+                        "taskDetail": "<p>分小组,根据之前列举的【前10重要】的需求和用户设计出相对详细的解决方案,并进行分享交流</p>",
+                        "chapterData": [],
+                        "toolText": "",
+                        "toolChoose": [
+                            {
+                                "tool": [
+                                    3
+                                ],
+                                "toolDetail": "分小组,设计解决方案,并分享",
+                                "toolType": 1,
+                                "askCount": 1,
+                                "askTitle": "",
+                                "askJson": [
+                                    {
+                                        "askstitle": "",
+                                        "askItem": 1,
+                                        "checkList": []
+                                    }
+                                ]
+                            }
+                        ],
+                        "isShowTools": false,
+                        "askCount": 1,
+                        "isFold": 0,
+                        "askTitle": "",
+                        "askJson": [
+                            {
+                                "askstitle": "",
+                                "askItem": 1,
+                                "checkList": []
+                            }
+                        ],
+                        "checkJson": [
+                            {
+                                "checkCount": [],
+                                "checkPerent": []
+                            }
+                        ],
+                        "homeworkList": []
+                    },
+                    {//2
+                        "task": "掌握AI模块与屏幕模块的基础使用",
+                        "taskDetail": "<p>完成相关编程练习</p>",
+                        "chapterData": [
+                            {
+                                "name": "4-2.pdf",
+                                "url": "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/4-21669879781287.pdf",
+                                "type": 3
+                            }
+                        ],
+                        "toolText": "",
+                        "toolChoose": [
+                            {
+                                "tool": [
+                                    21
+                                ],
+                                "toolDetail": "完成相关编程练习",
+                                "toolType": 3,
+                                "askCount": 1,
+                                "askTitle": "",
+                                "askJson": [
+                                    {
+                                        "askstitle": "",
+                                        "askItem": 1,
+                                        "checkList": []
+                                    }
+                                ]
+                            }
+                        ],
+                        "isShowTools": false,
+                        "askCount": 1,
+                        "isFold": 0,
+                        "askTitle": "",
+                        "askJson": [
+                            {
+                                "askstitle": "",
+                                "askItem": 1,
+                                "checkList": []
+                            }
+                        ],
+                        "checkJson": [
+                            {
+                                "checkCount": [],
+                                "checkPerent": []
+                            }
+                        ],
+                        "homeworkList": [],
+                        "progress": 100,
+                        "proVisible": false
+                    },
+                    {//3
+                        "task": "掌握AI模块与摄像头模块的基础使用",
+                        "taskDetail": "<p>完成相关编程练习<br/></p>",
+                        "chapterData": [
+                            {
+                                "name": "4-3.pdf",
+                                "url": "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/4-31669880160173.pdf",
+                                "type": 3
+                            }
+                        ],
+                        "toolText": "",
+                        "toolChoose": [
+                            {
+                                "tool": [
+                                    21
+                                ],
+                                "toolDetail": "完成相关编程练习",
+                                "toolType": 3,
+                                "askCount": 1,
+                                "askTitle": "",
+                                "askJson": [
+                                    {
+                                        "askstitle": "",
+                                        "askItem": 1,
+                                        "checkList": []
+                                    }
+                                ]
+                            }
+                        ],
+                        "isShowTools": false,
+                        "askCount": 1,
+                        "isFold": 0,
+                        "askTitle": "",
+                        "askJson": [
+                            {
+                                "askstitle": "",
+                                "askItem": 1,
+                                "checkList": []
+                            }
+                        ],
+                        "checkJson": [
+                            {
+                                "checkCount": [],
+                                "checkPerent": []
+                            }
+                        ],
+                        "homeworkList": [],
+                        "progress": 100,
+                        "proVisible": false
+                    },
+                    {//4
+                        "task": "了解机器学习原理和物体识别",
+                        "taskDetail": "<p>完成相关编程练习<br/></p>",
+                        "chapterData": [
+                            {
+                                "name": "机器学习与物体识别.pdf",
+                                "url": "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/%E6%9C%BA%E5%99%A8%E5%AD%A6%E4%B9%A0%E4%B8%8E%E7%89%A9%E4%BD%93%E8%AF%86%E5%88%AB1669881555481.pdf",
+                                "type": 3
+                            }
+                        ],
+                        "toolText": "",
+                        "toolChoose": [
+                            {
+                                "tool": [
+                                    21
+                                ],
+                                "toolDetail": "完成相关编程练习",
+                                "toolType": 3,
+                                "askCount": 1,
+                                "askTitle": "",
+                                "askJson": [
+                                    {
+                                        "askstitle": "",
+                                        "askItem": 1,
+                                        "checkList": []
+                                    }
+                                ]
+                            }
+                        ],
+                        "isShowTools": false,
+                        "askCount": 1,
+                        "isFold": 0,
+                        "askTitle": "",
+                        "askJson": [
+                            {
+                                "askstitle": "",
+                                "askItem": 1,
+                                "checkList": []
+                            }
+                        ],
+                        "checkJson": [
+                            {
+                                "checkCount": [],
+                                "checkPerent": []
+                            }
+                        ],
+                        "homeworkList": [],
+                        "progress": 100,
+                        "proVisible": false
+                    },
+                    {//5
+                        "task": "了解人脸检测和人脸识别",
+                        "taskDetail": "<p>完成相关编程练习</p>",
+                        "chapterData": [
+                            {
+                                "name": "人脸检测与人脸识别.pdf",
+                                "url": "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/%E4%BA%BA%E8%84%B8%E6%A3%80%E6%B5%8B%E4%B8%8E%E4%BA%BA%E8%84%B8%E8%AF%86%E5%88%AB1669882131198.pdf",
+                                "type": 3
+                            }
+                        ],
+                        "toolText": "",
+                        "toolChoose": [
+                            {
+                                "tool": [
+                                    21
+                                ],
+                                "toolDetail": "完成相关编程练习",
+                                "toolType": 3,
+                                "askCount": 1,
+                                "askTitle": "",
+                                "askJson": [
+                                    {
+                                        "askstitle": "",
+                                        "askItem": 1,
+                                        "checkList": []
+                                    }
+                                ]
+                            }
+                        ],
+                        "isShowTools": false,
+                        "askCount": 1,
+                        "isFold": 0,
+                        "askTitle": "",
+                        "askJson": [
+                            {
+                                "askstitle": "",
+                                "askItem": 1,
+                                "checkList": []
+                            }
+                        ],
+                        "checkJson": [
+                            {
+                                "checkCount": [],
+                                "checkPerent": []
+                            }
+                        ],
+                        "homeworkList": [],
+                        "progress": 100,
+                        "proVisible": false
+                    },
+                    {
+                        "task": "学习模型训练流程",
+                        "taskDetail": "<p>完成训练平台使用</p>",
+                        "chapterData": [
+                            {
+                                "name": "模型训练平台及数据标记、训练及验证.pdf",
+                                "url": "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/%E6%A8%A1%E5%9E%8B%E8%AE%AD%E7%BB%83%E5%B9%B3%E5%8F%B0%E5%8F%8A%E6%95%B0%E6%8D%AE%E6%A0%87%E8%AE%B0%E3%80%81%E8%AE%AD%E7%BB%83%E5%8F%8A%E9%AA%8C%E8%AF%811669882325862.pdf",
+                                "type": 3
+                            }
+                        ],
+                        "toolText": "",
+                        "toolChoose": [
+                            {
+                                "tool": [
+                                    18
+                                ],
+                                "toolDetail": "完成训练平台使用",
+                                "toolType": 3,
+                                "askCount": 1,
+                                "askTitle": "",
+                                "askJson": [
+                                    {
+                                        "askstitle": "",
+                                        "askItem": 1,
+                                        "checkList": []
+                                    }
+                                ]
+                            }
+                        ],
+                        "isShowTools": false,
+                        "askCount": 1,
+                        "isFold": 0,
+                        "askTitle": "",
+                        "askJson": [
+                            {
+                                "askstitle": "",
+                                "askItem": 1,
+                                "checkList": []
+                            }
+                        ],
+                        "checkJson": [
+                            {
+                                "checkCount": [],
+                                "checkPerent": []
+                            }
+                        ],
+                        "homeworkList": [],
+                        "progress": 100,
+                        "proVisible": false
+                    },
+                    {
+                        "task": "模拟婴儿睡眠场景搭建",
+                        "taskDetail": "<p>小组讨论 思考该场景应该是什么样的/我们需要哪些材料去制作</p>",
+                        "chapterData": [],
+                        "toolText": "",
+                        "toolChoose": [
+                            {
+                                "tool": [
+                                    1
+                                ],
+                                "toolDetail": "把结果记录下来,并准备材料",
+                                "toolType": 1,
+                                "askCount": 1,
+                                "askTitle": "",
+                                "askJson": [
+                                    {
+                                        "askstitle": "",
+                                        "askItem": 1,
+                                        "checkList": []
+                                    }
+                                ]
+                            }
+                        ],
+                        "isShowTools": false,
+                        "askCount": 1,
+                        "isFold": 0,
+                        "askTitle": "",
+                        "askJson": [
+                            {
+                                "askstitle": "",
+                                "askItem": 1,
+                                "checkList": []
+                            }
+                        ],
+                        "checkJson": [
+                            {
+                                "checkCount": [],
+                                "checkPerent": []
+                            }
+                        ],
+                        "homeworkList": []
+                    },
+                    {
+                        "task": "完成数据采集、标记和模型训练",
+                        "taskDetail": "<p>搭建完模拟场景后,通过讨论记录表,按要求采集数据并标记,完成模型训练</p>",
+                        "chapterData": [],
+                        "toolText": "",
+                        "toolChoose": [
+                            {
+                                "tool": [
+                                    18
+                                ],
+                                "toolDetail": "",
+                                "toolType": 3,
+                                "askCount": 1,
+                                "askTitle": "",
+                                "askJson": [
+                                    {
+                                        "askstitle": "",
+                                        "askItem": 1,
+                                        "checkList": []
+                                    }
+                                ]
+                            }
+                        ],
+                        "isShowTools": false,
+                        "askCount": 1,
+                        "isFold": 0,
+                        "askTitle": "",
+                        "askJson": [
+                            {
+                                "askstitle": "",
+                                "askItem": 1,
+                                "checkList": []
+                            }
+                        ],
+                        "checkJson": [
+                            {
+                                "checkCount": [],
+                                "checkPerent": []
+                            }
+                        ],
+                        "homeworkList": []
+                    },
+                    {
+                        "task": "学习掌握AI模块和IoT模块串口通信",
+                        "taskDetail": "<p>完成相关编程练习</p>",
+                        "chapterData": [
+                            {
+                                "name": "AIOT 通信.pdf",
+                                "url": "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/AIOT%20%E9%80%9A%E4%BF%A11669883171385.pdf",
+                                "type": 3
+                            }
+                        ],
+                        "toolText": "",
+                        "toolChoose": [
+                            {
+                                "tool": [
+                                    21
+                                ],
+                                "toolDetail": "完成相关模块组装连接,完成编程练习",
+                                "toolType": 3,
+                                "askCount": 1,
+                                "askTitle": "",
+                                "askJson": [
+                                    {
+                                        "askstitle": "",
+                                        "askItem": 1,
+                                        "checkList": []
+                                    }
+                                ]
+                            }
+                        ],
+                        "isShowTools": false,
+                        "askCount": 1,
+                        "isFold": 0,
+                        "askTitle": "",
+                        "askJson": [
+                            {
+                                "askstitle": "",
+                                "askItem": 1,
+                                "checkList": []
+                            }
+                        ],
+                        "checkJson": [
+                            {
+                                "checkCount": [],
+                                "checkPerent": []
+                            }
+                        ],
+                        "homeworkList": [],
+                        "progress": 100,
+                        "proVisible": false
+                    },
+                    {
+                        "task": "学习使用IoT模块的Wi-Fi通信并优化我们的方案",
+                        "taskDetail": "<p>完成相关编程练习,灵活使用到我们的方案中。<br/></p>",
+                        "chapterData": [
+                            {
+                                "name": "Wi-Fi互联.pdf",
+                                "url": "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/Wi-Fi%E4%BA%92%E8%81%941669883374244.pdf",
+                                "type": 3
+                            },
+                            {
+                                "name": "Wi-Fi互联 学生手册.pdf",
+                                "url": "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/Wi-Fi%E4%BA%92%E8%81%94%20%E5%AD%A6%E7%94%9F%E6%89%8B%E5%86%8C1669883380049.pdf",
+                                "type": 3
+                            }
+                        ],
+                        "toolText": "",
+                        "toolChoose": [
+                            {
+                                "tool": [
+                                    21
+                                ],
+                                "toolDetail": "完成相关编程练习",
+                                "toolType": 3,
+                                "askCount": 1,
+                                "askTitle": "",
+                                "askJson": [
+                                    {
+                                        "askstitle": "",
+                                        "askItem": 1,
+                                        "checkList": []
+                                    }
+                                ]
+                            }
+                        ],
+                        "isShowTools": false,
+                        "askCount": 1,
+                        "isFold": 0,
+                        "askTitle": "",
+                        "askJson": [
+                            {
+                                "askstitle": "",
+                                "askItem": 1,
+                                "checkList": []
+                            }
+                        ],
+                        "checkJson": [
+                            {
+                                "checkCount": [],
+                                "checkPerent": []
+                            }
+                        ],
+                        "homeworkList": [],
+                        "progress": 100,
+                        "proVisible": false
+                    },
+                    {
+                        "task": "学习了解AppInventor程序设计基础(建议3-4课时)",
+                        "taskDetail": "<p>完成基础技能学习,并整理需求,根据我们的需求设计移动端APP。</p>",
+                        "chapterData": [
+                            {
+                                "name": "APP Inventor(上).pdf",
+                                "url": "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/APP%20Inventor%EF%BC%88%E4%B8%8A%EF%BC%891669883691820.pdf",
+                                "type": 3
+                            },
+                            {
+                                "name": "APP Inventor(下).pdf",
+                                "url": "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/APP%20Inventor%EF%BC%88%E4%B8%8B%EF%BC%891669883703544.pdf",
+                                "type": 3
+                            }
+                        ],
+                        "toolText": "",
+                        "toolChoose": [
+                            {
+                                "tool": [
+                                    21
+                                ],
+                                "toolDetail": "",
+                                "toolType": 3,
+                                "askCount": 1,
+                                "askTitle": "",
+                                "askJson": [
+                                    {
+                                        "askstitle": "",
+                                        "askItem": 1,
+                                        "checkList": []
+                                    }
+                                ]
+                            }
+                        ],
+                        "isShowTools": false,
+                        "askCount": 1,
+                        "isFold": 0,
+                        "askTitle": "",
+                        "askJson": [
+                            {
+                                "askstitle": "",
+                                "askItem": 1,
+                                "checkList": []
+                            }
+                        ],
+                        "checkJson": [
+                            {
+                                "checkCount": [],
+                                "checkPerent": []
+                            }
+                        ],
+                        "homeworkList": [],
+                        "progress": 100,
+                        "proVisible": false
+                    },
+                    {
+                        "task": "了解并学习结构设计基础(上)(建议2课时)",
+                        "taskDetail": "<p>了解TinkerCAD软件基本功能</p>",
+                        "chapterData": [
+                            {
+                                "name": "3D打印基礎(上).pdf",
+                                "url": "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/3D%E6%89%93%E5%8D%B0%E5%9F%BA%E7%A4%8E%EF%BC%88%E4%B8%8A%EF%BC%891669884116199.pdf",
+                                "type": 3
+                            }
+                        ],
+                        "toolText": "",
+                        "toolChoose": [
+                            {
+                                "tool": [
+                                    16
+                                ],
+                                "toolDetail": "了解TinkerCAD软件基本功能",
+                                "toolType": 2,
+                                "askCount": 1,
+                                "askTitle": "",
+                                "askJson": [
+                                    {
+                                        "askstitle": "",
+                                        "askItem": 1,
+                                        "checkList": []
+                                    }
+                                ]
+                            }
+                        ],
+                        "isShowTools": false,
+                        "askCount": 1,
+                        "isFold": 0,
+                        "askTitle": "",
+                        "askJson": [
+                            {
+                                "askstitle": "",
+                                "askItem": 1,
+                                "checkList": []
+                            }
+                        ],
+                        "checkJson": [
+                            {
+                                "checkCount": [],
+                                "checkPerent": []
+                            }
+                        ],
+                        "homeworkList": [],
+                        "progress": 100,
+                        "proVisible": false
+                    },
+                    {
+                        "task": "了解并学习结构设计基础(上)(建议2课时)",
+                        "taskDetail": "<p>使用<span style=\"font-size: 1em;\">TinkerCAD软件 绘制睡姿检测装置</span></p>",
+                        "chapterData": [
+                            {
+                                "name": "3D打印基礎(下).pdf",
+                                "url": "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/3D%E6%89%93%E5%8D%B0%E5%9F%BA%E7%A4%8E%EF%BC%88%E4%B8%8B%EF%BC%891669884172445.pdf",
+                                "type": 3
+                            }
+                        ],
+                        "toolText": "",
+                        "toolChoose": [
+                            {
+                                "tool": [
+                                    16
+                                ],
+                                "toolDetail": "上传你的设计图",
+                                "toolType": 2,
+                                "askCount": 1,
+                                "askTitle": "",
+                                "askJson": [
+                                    {
+                                        "askstitle": "",
+                                        "askItem": 1,
+                                        "checkList": []
+                                    }
+                                ]
+                            }
+                        ],
+                        "isShowTools": false,
+                        "askCount": 1,
+                        "isFold": 0,
+                        "askTitle": "",
+                        "askJson": [
+                            {
+                                "askstitle": "",
+                                "askItem": 1,
+                                "checkList": []
+                            }
+                        ],
+                        "checkJson": [
+                            {
+                                "checkCount": [],
+                                "checkPerent": []
+                            }
+                        ],
+                        "homeworkList": [],
+                        "progress": 100,
+                        "proVisible": false
+                    },
+                    {
+                        "task": "整理制作成果,并进行总结反思",
+                        "taskDetail": "<p>对比设计方案与目前已实现功能</p>",
+                        "chapterData": [],
+                        "toolText": "",
+                        "toolChoose": [
+                            {
+                                "tool": [
+                                    3
+                                ],
+                                "toolDetail": "使用思维工具自检项目完成情况",
+                                "toolType": 1,
+                                "askCount": 1,
+                                "askTitle": "",
+                                "askJson": [
+                                    {
+                                        "askstitle": "",
+                                        "askItem": 1,
+                                        "checkList": []
+                                    }
+                                ]
+                            }
+                        ],
+                        "isShowTools": false,
+                        "askCount": 1,
+                        "isFold": 0,
+                        "askTitle": "",
+                        "askJson": [
+                            {
+                                "askstitle": "",
+                                "askItem": 1,
+                                "checkList": []
+                            }
+                        ],
+                        "checkJson": [
+                            {
+                                "checkCount": [],
+                                "checkPerent": []
+                            }
+                        ],
+                        "homeworkList": []
+                    }
+                ],
+                "itemCount": 1,
+                "fileList1": [],
+                "video": [],
+                "testData": [],
+                "pData": [],
+                "templateArray": []
+            }
+        ]
+    },
+    {
+        "dyName": "原型",
+        "chapterInfo": [
+            {
+                "isread": false,
+                "chapterid": "286df4be-78fc-8e8f-c266-0264359aa127",
+                "title": "",
+                "courseName": "",
+                "taskJson": [
+                    {
+                        "task": "设计【针对“需求”和“用户”】的解决方案",
+                        "taskDetail": "<p>分小组,根据之前列举的【前10重要】的需求和用户设计出相对详细的解决方案,并进行分享交流</p>",
+                        "chapterData": [],
+                        "toolText": "",
+                        "toolChoose": [
+                            {
+                                "tool": [
+                                    3
+                                ],
+                                "toolDetail": "分小组,设计解决方案,并分享",
+                                "toolType": 1,
+                                "askCount": 1,
+                                "askTitle": "",
+                                "askJson": [
+                                    {
+                                        "askstitle": "",
+                                        "askItem": 1,
+                                        "checkList": []
+                                    }
+                                ]
+                            }
+                        ],
+                        "isShowTools": false,
+                        "askCount": 1,
+                        "isFold": 0,
+                        "askTitle": "",
+                        "askJson": [
+                            {
+                                "askstitle": "",
+                                "askItem": 1,
+                                "checkList": []
+                            }
+                        ],
+                        "checkJson": [
+                            {
+                                "checkCount": [],
+                                "checkPerent": []
+                            }
+                        ],
+                        "homeworkList": []
+                    },
+                    {
+                        "task": "掌握AI模块与屏幕模块的基础使用",
+                        "taskDetail": "<p>完成相关编程练习</p>",
+                        "chapterData": [
+                            {
+                                "name": "4-2.pdf",
+                                "url": "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/4-21669879781287.pdf",
+                                "type": 3
+                            }
+                        ],
+                        "toolText": "",
+                        "toolChoose": [
+                            {
+                                "tool": [
+                                    21
+                                ],
+                                "toolDetail": "完成相关编程练习",
+                                "toolType": 3,
+                                "askCount": 1,
+                                "askTitle": "",
+                                "askJson": [
+                                    {
+                                        "askstitle": "",
+                                        "askItem": 1,
+                                        "checkList": []
+                                    }
+                                ]
+                            }
+                        ],
+                        "isShowTools": false,
+                        "askCount": 1,
+                        "isFold": 0,
+                        "askTitle": "",
+                        "askJson": [
+                            {
+                                "askstitle": "",
+                                "askItem": 1,
+                                "checkList": []
+                            }
+                        ],
+                        "checkJson": [
+                            {
+                                "checkCount": [],
+                                "checkPerent": []
+                            }
+                        ],
+                        "homeworkList": [],
+                        "progress": 100,
+                        "proVisible": false
+                    },
+                    {
+                        "task": "掌握AI模块与摄像头模块的基础使用",
+                        "taskDetail": "<p>完成相关编程练习<br/></p>",
+                        "chapterData": [
+                            {
+                                "name": "4-3.pdf",
+                                "url": "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/4-31669880160173.pdf",
+                                "type": 3
+                            }
+                        ],
+                        "toolText": "",
+                        "toolChoose": [
+                            {
+                                "tool": [
+                                    21
+                                ],
+                                "toolDetail": "完成相关编程练习",
+                                "toolType": 3,
+                                "askCount": 1,
+                                "askTitle": "",
+                                "askJson": [
+                                    {
+                                        "askstitle": "",
+                                        "askItem": 1,
+                                        "checkList": []
+                                    }
+                                ]
+                            }
+                        ],
+                        "isShowTools": false,
+                        "askCount": 1,
+                        "isFold": 0,
+                        "askTitle": "",
+                        "askJson": [
+                            {
+                                "askstitle": "",
+                                "askItem": 1,
+                                "checkList": []
+                            }
+                        ],
+                        "checkJson": [
+                            {
+                                "checkCount": [],
+                                "checkPerent": []
+                            }
+                        ],
+                        "homeworkList": [],
+                        "progress": 100,
+                        "proVisible": false
+                    },
+                    {
+                        "task": "了解机器学习原理和物体识别",
+                        "taskDetail": "<p>完成相关编程练习<br/></p>",
+                        "chapterData": [
+                            {
+                                "name": "机器学习与物体识别.pdf",
+                                "url": "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/%E6%9C%BA%E5%99%A8%E5%AD%A6%E4%B9%A0%E4%B8%8E%E7%89%A9%E4%BD%93%E8%AF%86%E5%88%AB1669881555481.pdf",
+                                "type": 3
+                            }
+                        ],
+                        "toolText": "",
+                        "toolChoose": [
+                            {
+                                "tool": [
+                                    21
+                                ],
+                                "toolDetail": "完成相关编程练习",
+                                "toolType": 3,
+                                "askCount": 1,
+                                "askTitle": "",
+                                "askJson": [
+                                    {
+                                        "askstitle": "",
+                                        "askItem": 1,
+                                        "checkList": []
+                                    }
+                                ]
+                            }
+                        ],
+                        "isShowTools": false,
+                        "askCount": 1,
+                        "isFold": 0,
+                        "askTitle": "",
+                        "askJson": [
+                            {
+                                "askstitle": "",
+                                "askItem": 1,
+                                "checkList": []
+                            }
+                        ],
+                        "checkJson": [
+                            {
+                                "checkCount": [],
+                                "checkPerent": []
+                            }
+                        ],
+                        "homeworkList": [],
+                        "progress": 100,
+                        "proVisible": false
+                    },
+                    {
+                        "task": "了解人脸检测和人脸识别",
+                        "taskDetail": "<p>完成相关编程练习</p>",
+                        "chapterData": [
+                            {
+                                "name": "人脸检测与人脸识别.pdf",
+                                "url": "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/%E4%BA%BA%E8%84%B8%E6%A3%80%E6%B5%8B%E4%B8%8E%E4%BA%BA%E8%84%B8%E8%AF%86%E5%88%AB1669882131198.pdf",
+                                "type": 3
+                            }
+                        ],
+                        "toolText": "",
+                        "toolChoose": [
+                            {
+                                "tool": [
+                                    21
+                                ],
+                                "toolDetail": "完成相关编程练习",
+                                "toolType": 3,
+                                "askCount": 1,
+                                "askTitle": "",
+                                "askJson": [
+                                    {
+                                        "askstitle": "",
+                                        "askItem": 1,
+                                        "checkList": []
+                                    }
+                                ]
+                            }
+                        ],
+                        "isShowTools": false,
+                        "askCount": 1,
+                        "isFold": 0,
+                        "askTitle": "",
+                        "askJson": [
+                            {
+                                "askstitle": "",
+                                "askItem": 1,
+                                "checkList": []
+                            }
+                        ],
+                        "checkJson": [
+                            {
+                                "checkCount": [],
+                                "checkPerent": []
+                            }
+                        ],
+                        "homeworkList": [],
+                        "progress": 100,
+                        "proVisible": false
+                    },
+                    {
+                        "task": "学习模型训练流程",
+                        "taskDetail": "<p>完成训练平台使用</p>",
+                        "chapterData": [
+                            {
+                                "name": "模型训练平台及数据标记、训练及验证.pdf",
+                                "url": "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/%E6%A8%A1%E5%9E%8B%E8%AE%AD%E7%BB%83%E5%B9%B3%E5%8F%B0%E5%8F%8A%E6%95%B0%E6%8D%AE%E6%A0%87%E8%AE%B0%E3%80%81%E8%AE%AD%E7%BB%83%E5%8F%8A%E9%AA%8C%E8%AF%811669882325862.pdf",
+                                "type": 3
+                            }
+                        ],
+                        "toolText": "",
+                        "toolChoose": [
+                            {
+                                "tool": [
+                                    18
+                                ],
+                                "toolDetail": "完成训练平台使用",
+                                "toolType": 3,
+                                "askCount": 1,
+                                "askTitle": "",
+                                "askJson": [
+                                    {
+                                        "askstitle": "",
+                                        "askItem": 1,
+                                        "checkList": []
+                                    }
+                                ]
+                            }
+                        ],
+                        "isShowTools": false,
+                        "askCount": 1,
+                        "isFold": 0,
+                        "askTitle": "",
+                        "askJson": [
+                            {
+                                "askstitle": "",
+                                "askItem": 1,
+                                "checkList": []
+                            }
+                        ],
+                        "checkJson": [
+                            {
+                                "checkCount": [],
+                                "checkPerent": []
+                            }
+                        ],
+                        "homeworkList": [],
+                        "progress": 100,
+                        "proVisible": false
+                    },
+                    {
+                        "task": "模拟婴儿睡眠场景搭建",
+                        "taskDetail": "<p>小组讨论 思考该场景应该是什么样的/我们需要哪些材料去制作</p>",
+                        "chapterData": [],
+                        "toolText": "",
+                        "toolChoose": [
+                            {
+                                "tool": [
+                                    1
+                                ],
+                                "toolDetail": "把结果记录下来,并准备材料",
+                                "toolType": 1,
+                                "askCount": 1,
+                                "askTitle": "",
+                                "askJson": [
+                                    {
+                                        "askstitle": "",
+                                        "askItem": 1,
+                                        "checkList": []
+                                    }
+                                ]
+                            }
+                        ],
+                        "isShowTools": false,
+                        "askCount": 1,
+                        "isFold": 0,
+                        "askTitle": "",
+                        "askJson": [
+                            {
+                                "askstitle": "",
+                                "askItem": 1,
+                                "checkList": []
+                            }
+                        ],
+                        "checkJson": [
+                            {
+                                "checkCount": [],
+                                "checkPerent": []
+                            }
+                        ],
+                        "homeworkList": []
+                    },
+                    {
+                        "task": "完成数据采集、标记和模型训练",
+                        "taskDetail": "<p>搭建完模拟场景后,通过讨论记录表,按要求采集数据并标记,完成模型训练</p>",
+                        "chapterData": [],
+                        "toolText": "",
+                        "toolChoose": [
+                            {
+                                "tool": [
+                                    18
+                                ],
+                                "toolDetail": "",
+                                "toolType": 3,
+                                "askCount": 1,
+                                "askTitle": "",
+                                "askJson": [
+                                    {
+                                        "askstitle": "",
+                                        "askItem": 1,
+                                        "checkList": []
+                                    }
+                                ]
+                            }
+                        ],
+                        "isShowTools": false,
+                        "askCount": 1,
+                        "isFold": 0,
+                        "askTitle": "",
+                        "askJson": [
+                            {
+                                "askstitle": "",
+                                "askItem": 1,
+                                "checkList": []
+                            }
+                        ],
+                        "checkJson": [
+                            {
+                                "checkCount": [],
+                                "checkPerent": []
+                            }
+                        ],
+                        "homeworkList": []
+                    },
+                    {
+                        "task": "学习掌握AI模块和IoT模块串口通信",
+                        "taskDetail": "<p>完成相关编程练习</p>",
+                        "chapterData": [
+                            {
+                                "name": "AIOT 通信.pdf",
+                                "url": "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/AIOT%20%E9%80%9A%E4%BF%A11669883171385.pdf",
+                                "type": 3
+                            }
+                        ],
+                        "toolText": "",
+                        "toolChoose": [
+                            {
+                                "tool": [
+                                    21
+                                ],
+                                "toolDetail": "完成相关模块组装连接,完成编程练习",
+                                "toolType": 3,
+                                "askCount": 1,
+                                "askTitle": "",
+                                "askJson": [
+                                    {
+                                        "askstitle": "",
+                                        "askItem": 1,
+                                        "checkList": []
+                                    }
+                                ]
+                            }
+                        ],
+                        "isShowTools": false,
+                        "askCount": 1,
+                        "isFold": 0,
+                        "askTitle": "",
+                        "askJson": [
+                            {
+                                "askstitle": "",
+                                "askItem": 1,
+                                "checkList": []
+                            }
+                        ],
+                        "checkJson": [
+                            {
+                                "checkCount": [],
+                                "checkPerent": []
+                            }
+                        ],
+                        "homeworkList": [],
+                        "progress": 100,
+                        "proVisible": false
+                    },
+                    {
+                        "task": "学习使用IoT模块的Wi-Fi通信并优化我们的方案",
+                        "taskDetail": "<p>完成相关编程练习,灵活使用到我们的方案中。<br/></p>",
+                        "chapterData": [
+                            {
+                                "name": "Wi-Fi互联.pdf",
+                                "url": "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/Wi-Fi%E4%BA%92%E8%81%941669883374244.pdf",
+                                "type": 3
+                            },
+                            {
+                                "name": "Wi-Fi互联 学生手册.pdf",
+                                "url": "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/Wi-Fi%E4%BA%92%E8%81%94%20%E5%AD%A6%E7%94%9F%E6%89%8B%E5%86%8C1669883380049.pdf",
+                                "type": 3
+                            }
+                        ],
+                        "toolText": "",
+                        "toolChoose": [
+                            {
+                                "tool": [
+                                    21
+                                ],
+                                "toolDetail": "完成相关编程练习",
+                                "toolType": 3,
+                                "askCount": 1,
+                                "askTitle": "",
+                                "askJson": [
+                                    {
+                                        "askstitle": "",
+                                        "askItem": 1,
+                                        "checkList": []
+                                    }
+                                ]
+                            }
+                        ],
+                        "isShowTools": false,
+                        "askCount": 1,
+                        "isFold": 0,
+                        "askTitle": "",
+                        "askJson": [
+                            {
+                                "askstitle": "",
+                                "askItem": 1,
+                                "checkList": []
+                            }
+                        ],
+                        "checkJson": [
+                            {
+                                "checkCount": [],
+                                "checkPerent": []
+                            }
+                        ],
+                        "homeworkList": [],
+                        "progress": 100,
+                        "proVisible": false
+                    },
+                    {
+                        "task": "学习了解AppInventor程序设计基础(建议3-4课时)",
+                        "taskDetail": "<p>完成基础技能学习,并整理需求,根据我们的需求设计移动端APP。</p>",
+                        "chapterData": [
+                            {
+                                "name": "APP Inventor(上).pdf",
+                                "url": "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/APP%20Inventor%EF%BC%88%E4%B8%8A%EF%BC%891669883691820.pdf",
+                                "type": 3
+                            },
+                            {
+                                "name": "APP Inventor(下).pdf",
+                                "url": "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/APP%20Inventor%EF%BC%88%E4%B8%8B%EF%BC%891669883703544.pdf",
+                                "type": 3
+                            }
+                        ],
+                        "toolText": "",
+                        "toolChoose": [
+                            {
+                                "tool": [
+                                    21
+                                ],
+                                "toolDetail": "",
+                                "toolType": 3,
+                                "askCount": 1,
+                                "askTitle": "",
+                                "askJson": [
+                                    {
+                                        "askstitle": "",
+                                        "askItem": 1,
+                                        "checkList": []
+                                    }
+                                ]
+                            }
+                        ],
+                        "isShowTools": false,
+                        "askCount": 1,
+                        "isFold": 0,
+                        "askTitle": "",
+                        "askJson": [
+                            {
+                                "askstitle": "",
+                                "askItem": 1,
+                                "checkList": []
+                            }
+                        ],
+                        "checkJson": [
+                            {
+                                "checkCount": [],
+                                "checkPerent": []
+                            }
+                        ],
+                        "homeworkList": [],
+                        "progress": 100,
+                        "proVisible": false
+                    },
+                    {
+                        "task": "了解并学习结构设计基础(上)(建议2课时)",
+                        "taskDetail": "<p>了解TinkerCAD软件基本功能</p>",
+                        "chapterData": [
+                            {
+                                "name": "3D打印基礎(上).pdf",
+                                "url": "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/3D%E6%89%93%E5%8D%B0%E5%9F%BA%E7%A4%8E%EF%BC%88%E4%B8%8A%EF%BC%891669884116199.pdf",
+                                "type": 3
+                            }
+                        ],
+                        "toolText": "",
+                        "toolChoose": [
+                            {
+                                "tool": [
+                                    16
+                                ],
+                                "toolDetail": "了解TinkerCAD软件基本功能",
+                                "toolType": 2,
+                                "askCount": 1,
+                                "askTitle": "",
+                                "askJson": [
+                                    {
+                                        "askstitle": "",
+                                        "askItem": 1,
+                                        "checkList": []
+                                    }
+                                ]
+                            }
+                        ],
+                        "isShowTools": false,
+                        "askCount": 1,
+                        "isFold": 0,
+                        "askTitle": "",
+                        "askJson": [
+                            {
+                                "askstitle": "",
+                                "askItem": 1,
+                                "checkList": []
+                            }
+                        ],
+                        "checkJson": [
+                            {
+                                "checkCount": [],
+                                "checkPerent": []
+                            }
+                        ],
+                        "homeworkList": [],
+                        "progress": 100,
+                        "proVisible": false
+                    },
+                    {
+                        "task": "了解并学习结构设计基础(上)(建议2课时)",
+                        "taskDetail": "<p>使用<span style=\"font-size: 1em;\">TinkerCAD软件 绘制睡姿检测装置</span></p>",
+                        "chapterData": [
+                            {
+                                "name": "3D打印基礎(下).pdf",
+                                "url": "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/3D%E6%89%93%E5%8D%B0%E5%9F%BA%E7%A4%8E%EF%BC%88%E4%B8%8B%EF%BC%891669884172445.pdf",
+                                "type": 3
+                            }
+                        ],
+                        "toolText": "",
+                        "toolChoose": [
+                            {
+                                "tool": [
+                                    16
+                                ],
+                                "toolDetail": "上传你的设计图",
+                                "toolType": 2,
+                                "askCount": 1,
+                                "askTitle": "",
+                                "askJson": [
+                                    {
+                                        "askstitle": "",
+                                        "askItem": 1,
+                                        "checkList": []
+                                    }
+                                ]
+                            }
+                        ],
+                        "isShowTools": false,
+                        "askCount": 1,
+                        "isFold": 0,
+                        "askTitle": "",
+                        "askJson": [
+                            {
+                                "askstitle": "",
+                                "askItem": 1,
+                                "checkList": []
+                            }
+                        ],
+                        "checkJson": [
+                            {
+                                "checkCount": [],
+                                "checkPerent": []
+                            }
+                        ],
+                        "homeworkList": [],
+                        "progress": 100,
+                        "proVisible": false
+                    },
+                    {
+                        "task": "整理制作成果,并进行总结反思",
+                        "taskDetail": "<p>对比设计方案与目前已实现功能</p>",
+                        "chapterData": [],
+                        "toolText": "",
+                        "toolChoose": [
+                            {
+                                "tool": [
+                                    3
+                                ],
+                                "toolDetail": "使用思维工具自检项目完成情况",
+                                "toolType": 1,
+                                "askCount": 1,
+                                "askTitle": "",
+                                "askJson": [
+                                    {
+                                        "askstitle": "",
+                                        "askItem": 1,
+                                        "checkList": []
+                                    }
+                                ]
+                            }
+                        ],
+                        "isShowTools": false,
+                        "askCount": 1,
+                        "isFold": 0,
+                        "askTitle": "",
+                        "askJson": [
+                            {
+                                "askstitle": "",
+                                "askItem": 1,
+                                "checkList": []
+                            }
+                        ],
+                        "checkJson": [
+                            {
+                                "checkCount": [],
+                                "checkPerent": []
+                            }
+                        ],
+                        "homeworkList": []
+                    }
+                ],
+                "itemCount": 1,
+                "fileList1": [],
+                "video": [],
+                "testData": [],
+                "pData": [],
+                "templateArray": []
+            }
+        ]
+    },
+    {
+        "dyName": "测试-软硬件联调及测试",
+        "chapterInfo": [
+            {
+                "isread": false,
+                "chapterid": "c0757019-cf3f-1293-37ff-509e9e096923",
+                "title": "",
+                "courseName": "",
+                "taskJson": [
+                    {
+                        "task": "睡姿检测装置软硬件功能集成测试及结构件验证",
+                        "taskDetail": "<p>进行睡姿检测装置软硬件功能集成测试及结构件验证</p>",
+                        "chapterData": [],
+                        "toolText": "",
+                        "toolChoose": [
+                            {
+                                "tool": [
+                                    6
+                                ],
+                                "toolDetail": "小组内组织使用思维工具,共同展示不同完成进度",
+                                "toolType": 1,
+                                "askCount": 1,
+                                "askTitle": "",
+                                "askJson": [
+                                    {
+                                        "askstitle": "",
+                                        "askItem": 1,
+                                        "checkList": []
+                                    }
+                                ]
+                            }
+                        ],
+                        "isShowTools": false,
+                        "askCount": 1,
+                        "isFold": 0,
+                        "askTitle": "",
+                        "askJson": [
+                            {
+                                "askstitle": "",
+                                "askItem": 1,
+                                "checkList": []
+                            }
+                        ],
+                        "checkJson": [
+                            {
+                                "checkCount": [],
+                                "checkPerent": []
+                            }
+                        ],
+                        "homeworkList": []
+                    },
+                    {
+                        "task": "迭代升级",
+                        "taskDetail": "<p>更新过程记录,每个小组设计自己的工程记录日志,根据测试结果不断进行迭代升级<b></b></p>",
+                        "chapterData": [],
+                        "toolText": "",
+                        "toolChoose": [
+                            {
+                                "tool": [
+                                    16
+                                ],
+                                "toolDetail": "测试记录",
+                                "toolType": 2,
+                                "askCount": 1,
+                                "askTitle": "",
+                                "askJson": [
+                                    {
+                                        "askstitle": "",
+                                        "askItem": 1,
+                                        "checkList": []
+                                    }
+                                ]
+                            }
+                        ],
+                        "isShowTools": false,
+                        "askCount": 1,
+                        "isFold": 0,
+                        "askTitle": "",
+                        "askJson": [
+                            {
+                                "askstitle": "",
+                                "askItem": 1,
+                                "checkList": []
+                            }
+                        ],
+                        "checkJson": [
+                            {
+                                "checkCount": [],
+                                "checkPerent": []
+                            }
+                        ],
+                        "homeworkList": []
+                    }
+                ],
+                "itemCount": 1,
+                "fileList1": [],
+                "video": [],
+                "testData": [],
+                "pData": [],
+                "templateArray": []
+            }
+        ]
+    }
+]

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 923 - 65
src/components/pages/components/a.json


+ 148 - 154
src/components/pages/course.vue

@@ -3,21 +3,13 @@
     <div class="pb_head top">
       <div>
         <span>项目管理</span>
-        <span
-          class="subClick"
-          @click="
-            goTo('/works?userid=' + userid + '&oid=' + oid + '&org=' + org)
-          "
-          >评价管理</span
-        >
+        <span class="subClick" @click="
+          goTo('/works?userid=' + userid + '&oid=' + oid + '&org=' + org)
+        ">评价管理</span>
       </div>
       <div class="student_button">
-        <el-button type="primary" class="bgColor" @click="openCourse"
-          >协同编辑</el-button
-        >
-        <el-button type="primary" class="bgColor" @click="goToCourse()"
-          >添加项目</el-button
-        >
+        <el-button type="primary" class="bgColor" @click="openCourse">协同编辑</el-button>
+        <el-button type="primary" class="bgColor" @click="goToCourse()">添加项目</el-button>
       </div>
     </div>
     <div class="pb_content_body" style="height: 100%">
@@ -30,24 +22,11 @@
               <el-option value="1" label="他人项目"></el-option>
             </el-select>
           </div>
-          <div
-            class="all_choose"
-            v-for="(item, index) in CourseType[0]"
-            :key="index"
-          >
+          <div class="all_choose" v-for="(item, index) in CourseType[0]" :key="index">
             <span>{{ item.name }}</span>
-            <el-select
-              v-model="courseTypeId[item.id]"
-              placeholder="请选择"
-              @change="getTypeName"
-            >
+            <el-select v-model="courseTypeId[item.id]" placeholder="请选择" @change="getTypeName">
               <el-option label="全部" value="1">全部</el-option>
-              <el-option
-                v-for="item1 in CourseTypeJson[item.id]"
-                :key="item1.id"
-                :label="item1.name"
-                :value="item1.id"
-              >
+              <el-option v-for="item1 in CourseTypeJson[item.id]" :key="item1.id" :label="item1.name" :value="item1.id">
               </el-option>
             </el-select>
           </div>
@@ -56,14 +35,8 @@
 
         <div class="student_right">
           <div class="head_left">
-            <el-input
-              v-model="courseName"
-              class="student_input"
-              placeholder="请输入项目名称"
-            ></el-input>
-            <el-button class="course_button" @click="searchCourse"
-              >查询</el-button
-            >
+            <el-input v-model="courseName" class="student_input" placeholder="请输入项目名称"></el-input>
+            <el-button class="course_button" @click="searchCourse">查询</el-button>
           </div>
         </div>
       </div>
@@ -73,24 +46,18 @@
             <div class="myCourse" v-if="item.isCourseType == 1 && groupA == 0">
               我的项目
             </div>
-            <div
-              class="myCourse"
-              v-else-if="item.isCourseType == 1 && groupA == 1"
-            >
+            <div class="myCourse" v-else-if="groupA == 1">
               他人项目
             </div>
             <div class="xtCourse" v-else>协同项目</div>
             <div class="tup">
-              <img
-                :src="
-                  item.cover != null && item.cover != ''
-                    ? JSON.parse(item.cover).length > 0
-                      ? JSON.parse(item.cover)[0].url
-                      : mr
+              <img :src="
+                item.cover != null && item.cover != ''
+                  ? JSON.parse(item.cover).length > 0
+                    ? JSON.parse(item.cover)[0].url
                     : mr
-                "
-                alt
-              />
+                  : mr
+              " alt />
             </div>
             <!-- <div class="bottom_box">
               <div>{{ item.title }}</div>
@@ -116,26 +83,29 @@
               <div v-if="groupA == '0'" @click="goToCourse(item.courseId)">
                 修改
               </div>
-              <div
-                v-if="groupA == '0'"
-                @click="
-                  goTo(
-                    '/works?cid=' +
-                      item.courseId +
-                      '&userid=' +
-                      userid +
-                      '&oid=' +
-                      oid +
-                      '&org=' +
-                      org
-                  )
-                "
-              >
+              <div v-if="groupA == '0'" @click="
+                goTo(
+                  '/works?cid=' +
+                  item.courseId +
+                  '&userid=' +
+                  userid +
+                  '&oid=' +
+                  oid +
+                  '&org=' +
+                  org
+                )
+              ">
                 报告
               </div>
-              <div v-if="groupA == '0'" @click="deleteCourse(item.courseId)">
+              <div v-if="(item.isCourseType == 1)" @click="deleteCourse(item.courseId)">
                 删除
               </div>
+              <div class="more">
+                <span style="font-size:18px;font-weight:700">...</span>
+                <div>
+                  <span @click="copyCourse(item.courseId)">复制</span>
+                </div>
+              </div>
             </div>
           </div>
           <div class="course_empty" v-if="course.length == 0">暂无数据</div>
@@ -143,27 +113,14 @@
       </div>
     </div>
     <div class="student_page">
-      <el-pagination
-        background
-        layout="prev, pager, next"
-        :page-size="10"
-        :total="total"
-        v-if="page && course.length"
-        style="padding-bottom: 20px"
-        @current-change="handleCurrentChange"
-      ></el-pagination>
+      <el-pagination background layout="prev, pager, next" :page-size="10" :total="total" v-if="page && course.length"
+        style="padding-bottom: 20px" @current-change="handleCurrentChange"></el-pagination>
     </div>
     <el-dialog :visible.sync="dialogVisible1" size="tiny">
       <img width="100%" :src="dialogImageUrl" alt />
     </el-dialog>
-    <el-dialog
-      title="查看提问"
-      :visible.sync="dialogVisible"
-      :append-to-body="true"
-      width="750px"
-      :before-close="handleClose"
-      class="dialog_diy"
-    >
+    <el-dialog title="查看提问" :visible.sync="dialogVisible" :append-to-body="true" width="750px"
+      :before-close="handleClose" class="dialog_diy">
       <div>
         <div class="a_addBox">
           <CourseProblem :problemCourse="problemCourse"></CourseProblem>
@@ -173,32 +130,18 @@
         <el-button @click="dialogVisible = false">关 闭</el-button>
       </span>
     </el-dialog>
-    <el-dialog
-      title="查看协同项目"
-      :visible.sync="dialogVisibleCourse"
-      :append-to-body="true"
-      width="850px"
-      :before-close="handleClose"
-      class="dialog_diy"
-    >
+    <el-dialog title="查看协同项目" :visible.sync="dialogVisibleCourse" :append-to-body="true" width="850px"
+      :before-close="handleClose" class="dialog_diy">
       <div class="ct_box">
-        <div
-          class="out_box"
-          v-for="(item, index) in courseTeam"
-          :key="index"
-          style="margin-left: 15px"
-        >
+        <div class="out_box" v-for="(item, index) in courseTeam" :key="index" style="margin-left: 15px">
           <div class="tup">
-            <img
-              :src="
-                item.cover != null && item.cover != ''
-                  ? JSON.parse(item.cover).length > 0
-                    ? JSON.parse(item.cover)[0].url
-                    : mr
+            <img :src="
+              item.cover != null && item.cover != ''
+                ? JSON.parse(item.cover).length > 0
+                  ? JSON.parse(item.cover)[0].url
                   : mr
-              "
-              alt
-            />
+                : mr
+            " alt />
           </div>
           <div class="bottom_box">
             <div>{{ item.title }}</div>
@@ -207,20 +150,18 @@
           </div>
           <div class="three_bottom">
             <div @click="jump(item.courseId)">查看内容</div>
-            <div
-              @click="
-                goTo(
-                  '/course/addCourse?cid=' +
-                    item.courseId +
-                    '&userid=' +
-                    userid +
-                    '&oid=' +
-                    oid +
-                    '&org=' +
-                    org
-                )
-              "
-            >
+            <div @click="
+              goTo(
+                '/course/addCourse?cid=' +
+                item.courseId +
+                '&userid=' +
+                userid +
+                '&oid=' +
+                oid +
+                '&org=' +
+                org
+              )
+            ">
               编辑
             </div>
           </div>
@@ -316,22 +257,22 @@ export default {
       if (courseId) {
         this.$router.push(
           "/course/addCourse?cid=" +
-            courseId +
-            "&userid=" +
-            this.userid +
-            "&oid=" +
-            this.oid +
-            "&org=" +
-            this.org
+          courseId +
+          "&userid=" +
+          this.userid +
+          "&oid=" +
+          this.oid +
+          "&org=" +
+          this.org
         );
       } else {
         this.$router.push(
           "/course/addCourse?userid=" +
-            this.userid +
-            "&oid=" +
-            this.oid +
-            "&org=" +
-            this.org
+          this.userid +
+          "&oid=" +
+          this.oid +
+          "&org=" +
+          this.org
         );
       }
       // this.$router.push(path);
@@ -377,7 +318,7 @@ export default {
       this.page = val;
       this.getCourse();
     },
-    init() {},
+    init() { },
     handleClose(done) {
       done();
     },
@@ -646,6 +587,22 @@ export default {
       this.problemCourse = res;
       this.dialogVisible = true;
     },
+    copyCourse(cid) {
+      let params = [{
+        cid: cid,
+        uid: this.userid
+      }]
+      this.ajax
+        .post(this.$store.state.api + "copyCourse", params)
+        .then((res) => {
+          this.page = 1
+          this.groupA = '0'
+          this.clear()
+        })
+        .catch((err) => {
+          console.error(err);
+        });
+    }
   },
   created() {
     this.page = 1;
@@ -656,28 +613,28 @@ export default {
 </script>
 
 <style scoped>
-.dialog_diy >>> .el-dialog__header {
+.dialog_diy>>>.el-dialog__header {
   background: #3d67bc !important;
   padding: 15px 20px;
 }
 
-.dialog_diy >>> .el-dialog__title {
+.dialog_diy>>>.el-dialog__title {
   color: #fff;
 }
 
-.dialog_diy >>> .el-dialog__headerbtn {
+.dialog_diy>>>.el-dialog__headerbtn {
   top: 19px;
 }
 
-.dialog_diy >>> .el-dialog__headerbtn .el-dialog__close {
+.dialog_diy>>>.el-dialog__headerbtn .el-dialog__close {
   color: #fff;
 }
 
-.dialog_diy >>> .el-dialog__headerbtn .el-dialog__close:hover {
+.dialog_diy>>>.el-dialog__headerbtn .el-dialog__close:hover {
   color: #fff;
 }
 
-.student_head >>> .el-button--primary {
+.student_head>>>.el-button--primary {
   background-color: #2268bc;
 }
 
@@ -743,7 +700,7 @@ export default {
   align-items: center;
 }
 
-.el-table >>> .even_row {
+.el-table>>>.even_row {
   background-color: #f1f1f1;
 }
 
@@ -855,7 +812,7 @@ export default {
   justify-content: center;
 }
 
-.el_cards >>> .el-card__body {
+.el_cards>>>.el-card__body {
   height: 100%;
 }
 
@@ -871,7 +828,7 @@ export default {
   display: flex;
 }
 
-.wordUpload > .buttonUp {
+.wordUpload>.buttonUp {
   margin-right: 5px;
 }
 
@@ -886,7 +843,7 @@ export default {
   height: fit-content;
   box-sizing: border-box;
   border-radius: 0px 0px 5px 5px;
-  overflow: hidden;
+  /* overflow: hidden; */
   margin-bottom: 15px;
   position: relative;
 }
@@ -901,7 +858,7 @@ export default {
   justify-content: space-evenly;
 }
 
-.bottom_box > div:nth-child(1) {
+.bottom_box>div:nth-child(1) {
   width: 230px;
   overflow: hidden;
   text-overflow: ellipsis;
@@ -917,7 +874,7 @@ export default {
   align-items: center;
 }
 
-.tup > img {
+.tup>img {
   width: 100%;
   height: 100%;
   object-fit: contain;
@@ -943,11 +900,11 @@ export default {
   font-size: 14px;
 }
 
-.three_bottom > div {
+.three_bottom>div {
   cursor: pointer;
 }
 
-.three_bottom > div:hover {
+.three_bottom>div:hover {
   color: #79a2ff;
 }
 
@@ -955,7 +912,7 @@ export default {
   display: flex;
 }
 
-.student_input >>> .el-input__inner {
+.student_input>>>.el-input__inner {
   height: 40px;
   width: 190px;
   font-size: 13px;
@@ -981,7 +938,7 @@ export default {
   width: calc(100% / 3);
 }
 
-.all_choose > span {
+.all_choose>span {
   width: 50px;
   display: block;
 }
@@ -998,26 +955,26 @@ export default {
   align-items: center;
 }
 
-.choose > div:nth-child(2) {
+.choose>div:nth-child(2) {
   margin-left: 1%;
   width: 32.33333%;
 }
 
-.choose > div:nth-child(4) {
+.choose>div:nth-child(4) {
   margin-right: 1%;
   width: 32.33333%;
 }
 
-.choose > div:nth-child(5) {
+.choose>div:nth-child(5) {
   margin: 5px 0 0 1%;
 }
 
-.choose > div:nth-child(4) > span {
+.choose>div:nth-child(4)>span {
   width: 74px !important;
   min-width: 74px;
 }
 
-.choose > div:nth-child(4) >>> .el-select {
+.choose>div:nth-child(4)>>>.el-select {
   width: 217.5px;
   min-width: 215.06px;
 }
@@ -1076,4 +1033,41 @@ export default {
   /* color: #ab582f; */
   color: #409eff;
 }
+
+.more {
+  position: relative;
+
+}
+
+.more:hover div {
+  display: block;
+  color: #000;
+}
+
+.more div {
+  position: absolute;
+  bottom: 0px;
+  transform: translate(-50%,100%);
+  background: #f5f4f4;
+  padding: 10px 20px;
+  z-index: 99;
+  width: 40px;
+  border-radius: 5px;
+  box-shadow: 0 0 3px 3px #80808020;
+  display: none;
+}
+
+.more div>span+span {
+  margin-top: 10px;
+}
+
+.more div>span {
+  display: block;
+  width: 100%;
+  text-align: center;
+}
+
+.more div>span:hover {
+  color: #79a2ff;
+}
 </style>

+ 63 - 3
src/components/pages/courseGM.vue

@@ -75,7 +75,7 @@
             </div>
             <div
               class="myCourse"
-              v-else-if="item.isCourseType == 1 && groupA == 1"
+              v-else-if="groupA == 1"
             >
               他人项目
             </div>
@@ -133,9 +133,15 @@
               >
                 报告
               </div>
-              <div v-if="groupA == '0'" @click="deleteCourse(item.courseId)">
+              <div v-if="(item.isCourseType == 1)" @click="deleteCourse(item.courseId)">
                 删除
               </div>
+              <div class="more">
+                <span style="font-size:18px;font-weight:700">...</span>
+                <div>
+                  <span @click="copyCourse(item.courseId)">复制</span>
+                </div>
+              </div>
             </div>
           </div>
           <div class="course_empty" v-if="course.length == 0">暂无数据</div>
@@ -646,6 +652,22 @@ export default {
       this.problemCourse = res;
       this.dialogVisible = true;
     },
+    copyCourse(cid) {
+      let params = [{
+        cid: cid,
+        uid: this.userid
+      }]
+      this.ajax
+        .post(this.$store.state.api + "copyCourse", params)
+        .then((res) => {
+          this.page = 1
+          this.groupA = '0'
+          this.clear()
+        })
+        .catch((err) => {
+          console.error(err);
+        });
+    }
   },
   created() {
     this.page = 1;
@@ -887,7 +909,7 @@ export default {
   height: fit-content;
   box-sizing: border-box;
   border-radius: 0px 0px 5px 5px;
-  overflow: hidden;
+  /* overflow: hidden; */
   margin-bottom: 15px;
   position: relative;
 }
@@ -1112,4 +1134,42 @@ export default {
 .all_choose >>> .el-select .el-input__inner:focus {
   border-color: #5c549f;
 }
+
+
+.more {
+  position: relative;
+
+}
+
+.more:hover div {
+  display: block;
+  color: #000;
+}
+
+.more div {
+  position: absolute;
+  bottom: 0px;
+  transform: translate(-50%,100%);
+  background: #f5f4f4;
+  padding: 10px 20px;
+  z-index: 99;
+  width: 40px;
+  border-radius: 5px;
+  box-shadow: 0 0 3px 3px #80808020;
+  display: none;
+}
+
+.more div>span+span {
+  margin-top: 10px;
+}
+
+.more div>span {
+  display: block;
+  width: 100%;
+  text-align: center;
+}
+
+.more div>span:hover {
+  color: #79a2ff;
+}
 </style>

+ 263 - 0
src/components/tools/table.vue

@@ -0,0 +1,263 @@
+<template lang="html">
+  <div class="editor cont">
+    <div ref="toolbar" class="toolbar">
+    </div>
+    <div ref="editor" class="text">
+    </div>
+  </div>
+</template>  
+  
+<script>
+import E from "wangeditor";
+import "../../common/aws-sdk-2.235.1.min";
+import { Loading } from 'element-ui';
+// import 'wangeditor/release/wangEditor.min.css'
+export default {
+  name: "editoritem",
+  data() {
+    return {
+      // uploadPath,
+      editor: null,
+      info_: null,
+    };
+  },
+  model: {
+    prop: "value",
+    event: "change",
+  },
+  props: {
+    value: {
+      type: String,
+      default: "",
+    },
+    isClear: {
+      type: Boolean,
+      default: false,
+    },
+    placeholder: {
+      type: String,
+      default: "请点击按钮插入表格"
+    }
+  },
+  watch: {
+    isClear(val) {
+      // 触发清除文本域内容
+      if (val) {
+        this.editor.txt.clear();
+        this.info_ = null;
+      }
+    },
+    value: function (value) {
+      if (value !== this.editor.txt.html()) {
+        this.editor.txt.html(this.value);
+      }
+    },
+    //value为编辑框输入的内容,这里我监听了一下值,当父组件调用得时候,如果给value赋值了,子组件将会显示父组件赋给的值
+  },
+  mounted() {
+    this.seteditor();
+    this.editor.txt.html(this.value);
+  },
+  methods: {
+    seteditor() {
+      this.editor = new E(this.$refs.toolbar, this.$refs.editor);
+      // 关闭菜单栏fixed
+      this.editor.config.menuFixed = false;
+      // 普通的自定义菜单
+      this.editor.config.menus = [
+        // "head", //标题
+        // "bold", //加粗
+        // "fontSize", //字体大小
+        // "fontName", //字体
+        // "italic", //斜体
+        // "underline", //下划线
+        // "strikeThrough", //删除线
+        // "indent", //缩进
+        // "lineHeight", //行高
+        // "foreColor",
+        // "backColor",
+        // "link",
+        // "list",
+        // "todo",
+        // "justify",
+        // "quote",
+        // "emoticon",
+        // "image",
+        // "video",
+        "table",
+        // "code",
+        // "splitLine",
+        // "undo",
+        // "redo",
+      ];
+      // 带格式粘贴
+      this.editor.config.pasteFilterStyle = false;
+      //忽略粘贴内容中的图片
+      this.editor.config.pasteIgnoreImg = false;
+      this.editor.config.showLinkImg = false;
+      this.editor.config.placeholder = this.placeholder;
+      var that = this;
+      this.editor.config.customUploadImg = function (files, insert) {
+        const loading = Loading.service({
+          lock: true,
+          background: 'rgba(0, 0, 0, 0.7)'
+        });
+        // 图片自定义上传方法
+        for (var i = 0; i < files.length; i++) {
+          var file = files[i];
+          var credentials = {
+            accessKeyId: "AKIATLPEDU37QV5CHLMH",
+            secretAccessKey: "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",
+          }; //秘钥形式的登录上传
+          window.AWS.config.update(credentials);
+          window.AWS.config.region = "cn-northwest-1"; //设置区域
+
+          var bucket = new window.AWS.S3({ params: { Bucket: "ccrb" } }); //选择桶
+
+          if (file) {
+            var params = {
+              Key:
+                file.name.split(".")[0] +
+                new Date().getTime() +
+                "." +
+                file.name.split(".")[file.name.split(".").length - 1],
+              ContentType: file.type,
+              Body: file,
+              "Access-Control-Allow-Credentials": "*",
+              ACL: "public-read",
+            }; //key可以设置为桶的相抵路径,Body为文件, ACL最好要设置
+            var options = {
+              partSize: 2048 * 1024 * 1024,
+              queueSize: 2,
+              leavePartsOnError: true,
+            };
+            bucket
+              .upload(params, options)
+              .on("httpUploadProgress", function (evt) {
+                //这里可以写进度条
+                // console.log("Uploaded : " + parseInt((evt.loaded * 80) / evt.total) + '%');
+              })
+              .send(function (err, data) {
+                loading.close();
+                if (err) {
+                  that.$message.error("上传失败");
+                } else {
+                  //上传成功处理
+                  insert(data.Location);
+                }
+              });
+          }
+        }
+      };
+      //配置 自定义处理粘贴的文本内容
+      this.editor.config.pasteTextHandle = function (content) {
+        if (content == '' && !content) return ''
+        var str = content
+        str = str.replace(/<xml>[\s\S]*?<\/xml>/ig, '')
+        str = str.replace(/<style>[\s\S]*?<\/style>/ig, '')
+        str = str.replace(/<\/?[^>]*>/g, '')
+        str = str.replace(/[ | ]*\n/g, '\n')
+        str = str.replace(/&nbsp;/ig, '')
+        // console.log('****', content)
+        // console.log('****', str)
+        return str
+      };
+      this.editor.config.onchange = (html) => {
+        this.info_ = html; // 绑定当前逐渐地值
+        this.$emit("change", this.info_); // 将内容同步到父组件中
+      };
+      // 创建富文本编辑器
+      this.editor.create();
+    },
+  },
+};
+</script>  
+  
+<style lang="css">
+.editor {
+  width: 100%;
+  margin: 10px auto;
+  position: relative;
+  z-index: 0;
+}
+
+.toolbar {
+  border: 1px solid #ccc;
+}
+
+.text {
+  border: 1px solid #ccc;
+  height: 400px;
+  overflow: auto;
+}
+
+
+.w-e-toolbar .w-e-menu{
+  display: flex;
+  width: auto;
+  align-items: center;
+  margin-left: 10px;
+  padding: 0 10px;
+}
+
+.w-e-toolbar {
+  background: #f1f1f1;
+}
+
+.w-e-icon-table2::after {
+  content: '插入表格';
+  margin-left: 5px;
+}
+
+
+/* table 样式 */
+.cont>>>table {
+  border-top: 1px solid #ccc;
+  border-left: 1px solid #ccc;
+}
+
+.cont>>>table td,
+.cont>>>table th {
+  border-bottom: 1px solid #ccc;
+  border-right: 1px solid #ccc;
+  padding: 20px 5px;
+}
+
+.cont>>>table th {
+  border-bottom: 2px solid #ccc;
+  text-align: center;
+}
+
+/* blockquote 样式 */
+.cont>>>blockquote {
+  display: block;
+  border-left: 8px solid #d0e5f2;
+  padding: 5px 10px;
+  margin: 10px 0;
+  line-height: 1.4;
+  font-size: 100%;
+  background-color: #f1f1f1;
+}
+
+/* code 样式 */
+.cont>>>code {
+  display: inline-block;
+  *display: inline;
+  *zoom: 1;
+  background-color: #f1f1f1;
+  border-radius: 3px;
+  padding: 3px 5px;
+  margin: 0 3px;
+}
+
+.cont>>>pre code {
+  display: block;
+}
+
+/* ul ol 样式 */
+.cont>>>ul,
+ol {
+  margin: 10px 0 10px 20px;
+}
+
+</style>  

Algúns arquivos non se mostraron porque demasiados arquivos cambiaron neste cambio