SanHQin 11 시간 전
부모
커밋
41a902b908

+ 1 - 1
dist/index.html

@@ -32,7 +32,7 @@
       width: 100%;
       background: #e6eaf0;
       font-family: '黑体';
-    }</style><link href=./static/css/app.f552bb9b3c319706ec85c4846b20f01b.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.161e82026ac2ae03ab6f.js></script><script type=text/javascript src=./static/js/vendor.bb486323f0fa002ba2e7.js></script><script type=text/javascript src=./static/js/app.42485f74dda5957ee32e.js></script></body></html><script>function stopSafari() {
+    }</style><link href=./static/css/app.7cb6702ca9e26ef3ed83c246e86af95b.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.161e82026ac2ae03ab6f.js></script><script type=text/javascript src=./static/js/vendor.bb486323f0fa002ba2e7.js></script><script type=text/javascript src=./static/js/app.4a51ccd0dfa260c28804.js></script></body></html><script>function stopSafari() {
     //阻止safari浏览器双击放大功能
     let lastTouchEnd = 0  //更新手指弹起的时间
     document.documentElement.addEventListener("touchstart", function (event) {

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
dist/static/css/app.7cb6702ca9e26ef3ed83c246e86af95b.css


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
dist/static/css/app.7cb6702ca9e26ef3ed83c246e86af95b.css.map


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
dist/static/js/app.4a51ccd0dfa260c28804.js


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
dist/static/js/app.4a51ccd0dfa260c28804.js.map


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
dist/static/js/manifest.161e82026ac2ae03ab6f.js.map


+ 16 - 16
src/components/pages/pptEasy/addCourse.vue

@@ -6662,7 +6662,7 @@ export default {
             this.setMan();
             this.selectAllType();
             this.setPPtToolList()
-            this.setPPtJson(this.pptCourseJson.pptData)
+            // this.setPPtJson(this.pptCourseJson.pptData)
             //this.unitJson[
             //  this.unitIndex
             //].chapterInfo[0].taskJson[0].toolOpen = true;
@@ -8283,22 +8283,22 @@ export default {
         checkLoaded(resolve);
       });
     },
-    setPPtJson(data){
-      console.log("设置ppt数据",data)
-      let _pptIframe = this.$refs.pptIframeRef;
-      // 判断iframe是否加载完成,加载完成再执行
-      if (_pptIframe && _pptIframe.contentWindow && _pptIframe.contentWindow.window && typeof _pptIframe.contentWindow.window.readJSON === "function") {
-        let _data = _pptIframe.contentWindow.window.readJSON(data, true);
-        return _data;
-      } else {
-        // 如果未加载完成,延迟重试
-        setTimeout(() => {
-          this.setPPtJson(data);
-        }, 1000);
-        return null;
-      }
+    // setPPtJson(data){
+    //   if(!data)return;
+    //   let _pptIframe = this.$refs.pptIframeRef;
+    //   // 判断iframe是否加载完成,加载完成再执行
+    //   if (_pptIframe && _pptIframe.contentWindow && _pptIframe.contentWindow.window && typeof _pptIframe.contentWindow.window.readJSON === "function") {
+    //     let _data = _pptIframe.contentWindow.window.readJSON(data, true);
+    //     return _data;
+    //   } else {
+    //     // 如果未加载完成,延迟重试
+    //     setTimeout(() => {
+    //       this.setPPtJson(data);
+    //     }, 1000);
+    //     return null;
+    //   }
 
-    },
+    // },
     setPPtToolList(){
       let _toolList = JSON.parse(JSON.stringify(this.pptCourseJson.toolsList));
       //把toolList挂载到window上

+ 5 - 5
src/components/pages/workPage/index.vue

@@ -347,7 +347,7 @@ export default {
       this.workData.json.fileList.splice(index, 1);
       this.$forceUpdate();
     },
-    submitWork(stage, task, tool) {
+    submitWork(task) {
       return new Promise(resolve => {
         let params = [];
         if (this.workData.type == "15") {
@@ -355,9 +355,9 @@ export default {
           params.push({
             uid: this.userid,
             cid: this.courseid,
-            stage: stage,
+            stage: 0,
             task: task,
-            tool: tool,
+            tool: 0,
             atool: "15",
             content: encodeURIComponent(JSON.stringify(this.workData.json)),
             type: "3"
@@ -367,9 +367,9 @@ export default {
           params.push({
             uid: this.userid,
             cid: this.courseid,
-            stage: stage,
+            stage: 0,
             task: task,
-            tool: tool,
+            tool: 0,
             atool: "45",
             content: encodeURIComponent(JSON.stringify(this.workData.json)),
             type: "8"

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.