zengyicheng 3 tahun lalu
induk
melakukan
b130facdef

+ 1 - 1
dist/index.html

@@ -1 +1 @@
-<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><title>pbl-student</title><link href=./static/css/app.7b564f687655176717ab0e4e4f194f90.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.3ad1d5771e9b13dbdad2.js></script><script type=text/javascript src=./static/js/vendor.58e4d5b3fd0c569e76aa.js></script><script type=text/javascript src=./static/js/app.3f543ccf79263f22a3ce.js></script></body></html><script>document.domain = "cocorobo.cn"</script>
+<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><title>pbl-student</title><link href=./static/css/app.4afe4b11f7870960f1582f0ad9c96a45.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.3ad1d5771e9b13dbdad2.js></script><script type=text/javascript src=./static/js/vendor.58e4d5b3fd0c569e76aa.js></script><script type=text/javascript src=./static/js/app.518f98aeb90a436906f9.js></script></body></html><script>document.domain = "cocorobo.cn"</script>

File diff ditekan karena terlalu besar
+ 0 - 0
dist/static/css/app.4afe4b11f7870960f1582f0ad9c96a45.css


File diff ditekan karena terlalu besar
+ 0 - 0
dist/static/css/app.4afe4b11f7870960f1582f0ad9c96a45.css.map


File diff ditekan karena terlalu besar
+ 0 - 0
dist/static/js/app.3f543ccf79263f22a3ce.js


File diff ditekan karena terlalu besar
+ 0 - 0
dist/static/js/app.3f543ccf79263f22a3ce.js.map


File diff ditekan karena terlalu besar
+ 0 - 0
dist/static/js/app.518f98aeb90a436906f9.js


File diff ditekan karena terlalu besar
+ 0 - 0
dist/static/js/app.518f98aeb90a436906f9.js.map


File diff ditekan karena terlalu besar
+ 0 - 0
dist/static/js/manifest.3ad1d5771e9b13dbdad2.js.map


+ 40 - 4
src/components/study.vue

@@ -2170,7 +2170,16 @@ export default {
           a = this.wbCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage({ tools: "1" }, "*");
+        window.parent.postMessage(
+          {
+            tools: "1",
+            cid: this.id,
+            stage: this.courseType,
+            task: this.taskCount,
+            tool: i,
+          },
+          "*"
+        );
       } else if (t == 2) {
         if (this.wordCount > 0) {
           this.updateCount(this.wordCount, t);
@@ -2188,7 +2197,16 @@ export default {
           a = this.mindCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage({ tools: "3" }, "*");
+        window.parent.postMessage(
+          {
+            tools: "3",
+            cid: this.id,
+            stage: this.courseType,
+            task: this.taskCount,
+            tool: i,
+          },
+          "*"
+        );
       } else if (t == 4) {
         this.radio = [];
         this.isAnswer = false;
@@ -2231,7 +2249,16 @@ export default {
           a = this.noteCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage({ tools: "6" }, "*");
+        window.parent.postMessage(
+          {
+            tools: "6",
+            cid: this.id,
+            stage: this.courseType,
+            task: this.taskCount,
+            tool: i,
+          },
+          "*"
+        );
       } else if (t == 7) {
         if (this.mindNetWorkCount > 0) {
           this.updateCount(this.mindNetWorkCount, t);
@@ -2240,7 +2267,16 @@ export default {
           a = this.mindNetWorkCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage({ tools: "7" }, "*");
+        window.parent.postMessage(
+          {
+            tools: "7",
+            cid: this.id,
+            stage: this.courseType,
+            task: this.taskCount,
+            tool: i,
+          },
+          "*"
+        );
       } else if (t == 16) {
         if (this.workCount > 0) {
           this.updateCount(this.workCount, t);

+ 2 - 2
src/config/config.js

@@ -9,8 +9,8 @@ const store = new Vuex.Store({
         luyou: 1,
         userInfo: {},
         nCount: 0,
-        // api: 'https://pbl.cocorobo.cn/api/pbl/',
-        api: 'http://localhost:7003/api/pbl/',
+        api: 'https://pbl.cocorobo.cn/api/pbl/',
+        // api: 'http://localhost:7003/api/pbl/',
     },
 
     mutations: {

Beberapa file tidak ditampilkan karena terlalu banyak file yang berubah dalam diff ini