lsc 2 years ago
parent
commit
954998d816

+ 1 - 1
dist/index.html

@@ -25,4 +25,4 @@
       height: 100%;
       width: 100%;
       background: #e6eaf0;
-    }</style><link href=./static/css/app.9f64085c7724d2e9001275d9af9e00a5.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.85f48b0184f614b2b8d9.js></script><script type=text/javascript src=./static/js/vendor.10e66e02479f48f0abf1.js></script><script type=text/javascript src=./static/js/app.ee275f0245b04b8ae5c8.js></script></body></html><script>document.domain = document.domain.split(".").slice(-2).join(".");</script>
+    }</style><link href=./static/css/app.86764b02a0985af28b5171f52f1205b7.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.85f48b0184f614b2b8d9.js></script><script type=text/javascript src=./static/js/vendor.10e66e02479f48f0abf1.js></script><script type=text/javascript src=./static/js/app.bcf925ca2cb3252ac3d1.js></script></body></html><script>document.domain = document.domain.split(".").slice(-2).join(".");</script>

File diff suppressed because it is too large
+ 0 - 0
dist/static/css/app.86764b02a0985af28b5171f52f1205b7.css


File diff suppressed because it is too large
+ 0 - 0
dist/static/css/app.86764b02a0985af28b5171f52f1205b7.css.map


File diff suppressed because it is too large
+ 0 - 0
dist/static/css/app.9f64085c7724d2e9001275d9af9e00a5.css


File diff suppressed because it is too large
+ 0 - 0
dist/static/css/app.9f64085c7724d2e9001275d9af9e00a5.css.map


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/app.bcf925ca2cb3252ac3d1.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/app.bcf925ca2cb3252ac3d1.js.map


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/app.ee275f0245b04b8ae5c8.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/app.ee275f0245b04b8ae5c8.js.map


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/manifest.85f48b0184f614b2b8d9.js.map


+ 89 - 79
src/components/pages/liveRoom.vue

@@ -1147,8 +1147,8 @@ export default {
   components: { EditorBar, AnswerData, AnswerData2, pdf, ImgDraw, Time },
   data() {
     return {
-      pdfUrl:
-        "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/%E4%B8%8A%E8%AF%BE%E8%AF%BE%E4%BB%B6---%E4%BA%94%E4%B8%8Bintroduce%20a%20festival%20%28Final%20%29%281%291661829428281.pdf",
+      pdfUrl:"",
+      // "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/%E4%B8%8A%E8%AF%BE%E8%AF%BE%E4%BB%B6---%E4%BA%94%E4%B8%8Bintroduce%20a%20festival%20%28Final%20%29%281%291661829428281.pdf",
       pptImgUrl: "",
       isLoading: false,
       full: false,
@@ -1198,82 +1198,74 @@ export default {
       //     },
       //   ],
       // }
-      tools: [
-        {}, //tools: [30]
-        //  {
-        //   file: [
-        //     {
-        //       name: "音频1.MP3",
-        //       src: "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/%E6%9F%B3%E8%BD%BB%E9%A2%82%20-%20%E6%BA%AF%EF%BC%88%E9%92%A2%E7%90%B4%E7%89%88%EF%BC%891661673251415.mp3",
-        //     },
-        //   ],
-        // }
-        "",
-        {
-          file: [
-            {
-              name: "视频1.mp4",
-              src: "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/%E5%AA%92%E4%BD%9311661413782505.mp4",
-            },
-          ],
-        },
-        "", //问答题
-        { tools: [9], choice: 3, answer: [2, 3] },
-        { tools: [9], choice: 3, answer: [2] }, //协同文档
-        { tools: [9], choice: 3, answer: [3] }, //思维导图
-        { tools: [9], choice: 3, answer: [1] },
-        { tools: [9], choice: 3, answer: [2] },
-        { tools: [12] },
-        {
-          tools: [27],
-          answer: [
-            "Time",
-            "Weather",
-            "Activities before the festival",
-            "Activities during the festival",
-            "Food",
-            "Reason",
-            "Feelings",
-          ],
-          choice: 7,
-          tkAnswerBox: [
-            "Feelings",
-            "Weather",
-            "Activities before the festival",
-            "Origin",
-            "Food",
-            "Time",
-            "Activities during the festival",
-            "Reason",
-          ],
-        },
-        {
-          file: [
-            {
-              name: "视频2.mp4",
-              src: "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/%E5%AA%92%E4%BD%9321661413797366.mp4",
-            },
-          ],
-        },
-        { tools: [9] },
-        { tools: [3] },
-        { tools: [16] },
-        {
-          tools: [14],
-          rateArray: [
-            "聚焦主题",
-            "有开头结尾",
-            "语言正确,流畅",
-            "书写规范,美观",
-          ],
-        },
-        "",
-        "",
-        { tools: [29] },
-        "",
-        "",
-        //1、电子白板 2、便签 3、思维导图 4、问卷调查 5、量规评分 6、协同文档 7、思维网格 8、素材库 9、选择题 10、倒计时 11、问答题 12、选人回答 13、分小组 14、老师对提交作业进行评价 15、问答 16、作业提交 17、学习资料 18、训练平台 19、目标管理 20、课程设计 21、编程平台 22、AI体验 23、python 24、AI平台
-      ],
+      tools: [],
+
+      // {},
+      //   "",
+      //   {
+      //     file: [
+      //       {
+      //         name: "视频1.mp4",
+      //         src: "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/%E5%AA%92%E4%BD%9311661413782505.mp4",
+      //       },
+      //     ],
+      //   },
+      //   "",
+      //   { tools: [9], choice: 3, answer: [2, 3] },
+      //   { tools: [9], choice: 3, answer: [2] },
+      //   { tools: [9], choice: 3, answer: [3] },
+      //   { tools: [9], choice: 3, answer: [1] },
+      //   { tools: [9], choice: 3, answer: [2] },
+      //   { tools: [12] },
+      //   {
+      //     tools: [27],
+      //     answer: [
+      //       "Time",
+      //       "Weather",
+      //       "Activities before the festival",
+      //       "Activities during the festival",
+      //       "Food",
+      //       "Reason",
+      //       "Feelings",
+      //     ],
+      //     choice: 7,
+      //     tkAnswerBox: [
+      //       "Feelings",
+      //       "Weather",
+      //       "Activities before the festival",
+      //       "Origin",
+      //       "Food",
+      //       "Time",
+      //       "Activities during the festival",
+      //       "Reason",
+      //     ],
+      //   },
+      //   {
+      //     file: [
+      //       {
+      //         name: "视频2.mp4",
+      //         src: "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/%E5%AA%92%E4%BD%9321661413797366.mp4",
+      //       },
+      //     ],
+      //   },
+      //   { tools: [9] },
+      //   { tools: [3] },
+      //   { tools: [16] },
+      //   {
+      //     tools: [14],
+      //     rateArray: [
+      //       "聚焦主题",
+      //       "有开头结尾",
+      //       "语言正确,流畅",
+      //       "书写规范,美观",
+      //     ],
+      //   },
+      //   "",
+      //   "",
+      //   { tools: [29] },
+      //   "",
+      //   "",
+
       //1、电子白板 2、便签 3、思维导图 4、问卷调查 5、量规评分 6、协同文档 7、思维网格 8、素材库 9、选择题 10、倒计时 11、问答题 12、选人回答 13、分小组 14、老师对提交作业进行评价 15、问答 16、作业提交 17、学习资料 18、训练平台 19、目标管理 20、课程设计 21、编程平台 22、AI体验 23、python 24、AI平台
       howTools: 0,
       worksDetail: [],
@@ -1608,6 +1600,22 @@ export default {
           console.error(err);
         });
     },
+    getData() {
+      let params = {
+        id: this.cid,
+      };
+      this.ajax
+        .get(this.$store.state.api + "getRealTimeClassById", params)
+        .then((r) => {
+          let res = r.data[0][0];
+          this.pdfUrl = res.url;
+          this.tools = JSON.parse(res.content)
+        })
+        .catch((err) => {
+          // this.$message.error("查询失败");
+          console.error(err);
+        });
+    },
     selectStudentByScoolPPt(type) {
       let params = {
         oid: this.oid,
@@ -1925,7 +1933,9 @@ export default {
         });
     },
   },
-  created() {},
+  created() {
+    this.getData();
+  },
 };
 </script>
 

Some files were not shown because too many files changed in this diff