zengyicheng 2 yıl önce
ebeveyn
işleme
799a644b06
65 değiştirilmiş dosya ile 3233 ekleme ve 3370 silme
  1. 100 99
      js/jietu.js
  2. 140 139
      js/jietu2.js
  3. 140 140
      js/jietu4.js
  4. 9 4
      package-lock.json
  5. 1 0
      package.json
  6. 99 99
      src/common/jietu.js
  7. 118 118
      src/common/jietu2.js
  8. 21 21
      src/common/tools.js
  9. 5 5
      src/components/Choice/index.vue
  10. 7 7
      src/components/GM/courseDetailGM.vue
  11. 2 2
      src/components/GM/indexGM.vue
  12. 127 128
      src/components/GM/studyStudentGM.vue
  13. 15 17
      src/components/GM/worksGM.vue
  14. 711 846
      src/components/a.json
  15. 4 4
      src/components/components/answerData.vue
  16. 6 6
      src/components/components/answerData2.vue
  17. 6 6
      src/components/components/askStatic.vue
  18. 7 7
      src/components/components/askStatic2.vue
  19. 6 6
      src/components/components/askStatic2GM.vue
  20. 6 6
      src/components/components/askStaticGM.vue
  21. 3 3
      src/components/components/audio.vue
  22. 4 4
      src/components/components/data/toolsData.vue
  23. 3 3
      src/components/components/englishEva.vue
  24. 3 3
      src/components/components/ganChart.vue
  25. 4 4
      src/components/components/onlineWrite.vue
  26. 2 2
      src/components/components/studentData.vue
  27. 3 3
      src/components/components/voteStatic.vue
  28. 19 21
      src/components/components/worksDetail2.vue
  29. 71 71
      src/components/courseDetail.vue
  30. 148 150
      src/components/easy/studyStudent.vue
  31. 4 4
      src/components/easy2/commpont/onlineWrite.vue
  32. 131 131
      src/components/easy2/studyStudent jiu.vue
  33. 131 131
      src/components/easy2/studyStudent.vue
  34. 4 4
      src/components/easy3/commpont/onlineWrite.vue
  35. 131 131
      src/components/easy3/studyStudent jiu.vue
  36. 131 131
      src/components/easy3/studyStudent.vue
  37. 38 38
      src/components/group/group.vue
  38. 6 6
      src/components/index.vue
  39. 1 1
      src/components/interVideo/index.vue
  40. 28 28
      src/components/liveProjectDetail(湖心亭看雪).vue
  41. 27 27
      src/components/liveProjectDetail.vue
  42. 27 27
      src/components/liveProjectDetailKH.vue
  43. 39 39
      src/components/noTerminal/courseDetail.vue
  44. 118 118
      src/components/noTerminal/studyStudent.vue
  45. 1 1
      src/components/noticeDetail.vue
  46. 7 7
      src/components/student/courseDetail.vue
  47. 2 2
      src/components/student/courseProgress.vue
  48. 44 44
      src/components/student/studyStudent.vue
  49. 3 3
      src/components/studentIndex.vue
  50. 7 7
      src/components/studio/courseDetail.vue
  51. 3 3
      src/components/studio/courseProgress.vue
  52. 3 3
      src/components/studio/index.vue
  53. 44 44
      src/components/studio/studyStudent.vue
  54. 87 88
      src/components/study.vue
  55. 131 131
      src/components/studyStudent.vue
  56. 8 8
      src/components/tools/imgDraw/imgDraw.vue
  57. 1 1
      src/components/tools/jsmind.vue
  58. 1 1
      src/components/tools/leftBar.vue
  59. 3 3
      src/components/tools/table.vue
  60. 2 2
      src/components/tools/time.vue
  61. 2 2
      src/components/tools/wangEnduit.vue
  62. 5 5
      src/components/updateMore/updateMore.vue
  63. 16 18
      src/components/works.vue
  64. 129 129
      src/components/横板极简和任务模式/easy2/studyStudent.vue
  65. 128 128
      src/components/横板极简和任务模式/easy3/studyStudent.vue

+ 100 - 99
js/jietu.js

@@ -1,114 +1,115 @@
 let $ = $.ajax ? $ : $jq
-function jietu_shishi(uid, cid,page,type) {
-  html2canvas($("body")[0]).then(function (canvas) {
-    //获取截取图片路径
 
-    var base64Url = canvas.toDataURL('image/png');
-    //后台操作处理
+function jietu_shishi(uid, cid, page, type) {
+    html2canvas($("body")[0]).then(function(canvas) {
+        //获取截取图片路径
 
-    var base64 = "<img src=" + base64Url + " />"
-    var file = dataURLtoFile_shishi(base64Url, "截图")
-    beforeUpload_shishi(file, uid, cid, page, type)
-    // $("body")[0].innerHTML = base64
-  });
+        var base64Url = canvas.toDataURL('image/png');
+        //后台操作处理
+
+        var base64 = "<img src=" + base64Url + " />"
+        var file = dataURLtoFile_shishi(base64Url, "截图")
+        beforeUpload_shishi(file, uid, cid, page, type)
+            // $("body")[0].innerHTML = base64
+    });
 }
 
 function dataURLtoFile_shishi(dataurl, filename) {
-  let arr = dataurl.split(","),
-    mime = arr[0].match(/:(.*?);/)[1],
-    bstr = atob(arr[1]),
-    n = bstr.length,
-    u8arr = new Uint8Array(n);
-  while (n--) {
-    u8arr[n] = bstr.charCodeAt(n);
-  }
-  return new File([u8arr], filename, {
-    type: mime
-  });
+    let arr = dataurl.split(","),
+        mime = arr[0].match(/:(.*?);/)[1],
+        bstr = atob(arr[1]),
+        n = bstr.length,
+        u8arr = new Uint8Array(n);
+    while (n--) {
+        u8arr[n] = bstr.charCodeAt(n);
+    }
+    return new File([u8arr], filename, {
+        type: mime
+    });
 }
 
 
 function beforeUpload_shishi(nfile, uid, cid, page, type) {
-  var file = nfile;
-  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"
-    }
-  }); //选择桶
+    var file = nfile;
+    var credentials = {
+        accessKeyId: "AKIATLPEDU37QV5CHLMH",
+        secretAccessKey: "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",
+    }; //秘钥形式的登录上传
+    window.AWS.config.update(credentials);
+    window.AWS.config.region = "cn-northwest-1"; //设置区域
 
-  if (file) {
-    var params = {
-      Key: file.name.split(".")[0] + new Date().getTime() + "." + "png",
-      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) {
-        console.log(data.Location);
-        var a = {
-          name: file.name,
-          url: data.Location,
-          uid: file.uid,
+    var bucket = new window.AWS.S3({
+        params: {
+            Bucket: "ccrb"
         }
-        addSWork_shishi(uid, cid, a, page, type)
-      });
-  }
-}
+    }); //选择桶
 
-function addSWork_shishi(uid, cid, a, page, type) {
-  let params = {
-    uid: uid,
-    cid: cid,
-    p:page,
-    t:type,
-    // upload: JSON.stringify([{
-    //   upImg: [a],
-    //   upVedio: [],
-    //   upIntro: "",
-    // }]), 
-    upload: a.url,
-    // upload: JSON.stringify(this.imgFileUp),
-  };
-  $.ajax({
-    type: 'GET',
-    url: 'https://pbl.cocorobo.cn/api/pbl/insertSWork',
-    data: params,
-    dataType: "json",
-    success: (data) => {
-      var _a = document.getElementsByTagName("img")
-      for (var i = 0; i < _a.length; i++) {
-        _a[i].removeAttribute("crossorigin")
-      }
-      parent.document.getElementById("shishi_loading").style.display = "none"
-      let _div = document.createElement('div')
-      _div.style = "width:100%;height:100%;background:#0000008f;position:fixed;top:0;left:0;z-index:99999999999999;display: flex;justify-content: center;align-items: center;"
-      let _inner = document.createElement('div')
-      _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
-      _inner.innerHTML = "截图上传成功"
-      _div.appendChild(_inner)
-      document.body.appendChild(_div)
-      setTimeout(() => {
-        //  document.body.removeChild(_loading)
-        document.body.removeChild(_div)
-      }, 2000);
-      console.log("截图上传成功");
+    if (file) {
+        var params = {
+            Key: file.name.split(".")[0] + new Date().getTime() + "." + "png",
+            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) {
+                console.log(data.Location);
+                var a = {
+                    name: file.name,
+                    url: data.Location,
+                    uid: file.uid,
+                }
+                addSWork_shishi(uid, cid, a, page, type)
+            });
     }
-  })
 }
+
+function addSWork_shishi(uid, cid, a, page, type) {
+    let params = {
+        uid: uid,
+        cid: cid,
+        p: page,
+        t: type,
+        // upload: JSON.stringify([{
+        //   upImg: [a],
+        //   upVedio: [],
+        //   upIntro: "",
+        // }]), 
+        upload: a.url,
+        // upload: JSON.stringify(this.imgFileUp),
+    };
+    $.ajax({
+        type: 'GET',
+        url: 'https://pbl.cocorobo.cn/api/pbl/insertSWork',
+        data: params,
+        dataType: "json",
+        success: (data) => {
+            var _a = document.getElementsByTagName("img")
+            for (var i = 0; i < _a.length; i++) {
+                _a[i].removeAttribute("crossorigin")
+            }
+            parent.document.getElementById("shishi_loading").style.display = "none"
+            let _div = document.createElement('div')
+            _div.style = "width:100%;height:100%;background:#0000008f;position:fixed;top:0;left:0;z-index:99999999999999;display: flex;justify-content: center;align-items: center;"
+            let _inner = document.createElement('div')
+            _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
+            _inner.innerHTML = "Screenshot uploaded"
+            _div.appendChild(_inner)
+            document.body.appendChild(_div)
+            setTimeout(() => {
+                //  document.body.removeChild(_loading)
+                document.body.removeChild(_div)
+            }, 2000);
+            console.log("Screenshot uploaded");
+        }
+    })
+}

+ 140 - 139
js/jietu2.js

@@ -13,160 +13,161 @@
 //  document.body.appendChild(_loading)
 $jq = $
 var $180 = $.noConflict();
+
 function jietu_shishi(uid, cid, stage, task, tool) {
-  html2canvas($jq("body")[0]).then(function (canvas) {
-    //获取截取图片路径
+    html2canvas($jq("body")[0]).then(function(canvas) {
+        //获取截取图片路径
 
-    var base64Url = canvas.toDataURL('image/png');
-    //后台操作处理
+        var base64Url = canvas.toDataURL('image/png');
+        //后台操作处理
 
-    var base64 = "<img src=" + base64Url + " />"
-    var file = dataURLtoFile_shishi(base64Url, "截图")
-    beforeUpload_shishi(file, uid, cid, stage, task, tool)
-    // $jq("body")[0].innerHTML = base64
-  });
+        var base64 = "<img src=" + base64Url + " />"
+        var file = dataURLtoFile_shishi(base64Url, "截图")
+        beforeUpload_shishi(file, uid, cid, stage, task, tool)
+            // $jq("body")[0].innerHTML = base64
+    });
 }
 
 function dataURLtoFile_shishi(dataurl, filename) {
-  let arr = dataurl.split(","),
-    mime = arr[0].match(/:(.*?);/)[1],
-    bstr = atob(arr[1]),
-    n = bstr.length,
-    u8arr = new Uint8Array(n);
-  while (n--) {
-    u8arr[n] = bstr.charCodeAt(n);
-  }
-  return new File([u8arr], filename, {
-    type: mime
-  });
+    let arr = dataurl.split(","),
+        mime = arr[0].match(/:(.*?);/)[1],
+        bstr = atob(arr[1]),
+        n = bstr.length,
+        u8arr = new Uint8Array(n);
+    while (n--) {
+        u8arr[n] = bstr.charCodeAt(n);
+    }
+    return new File([u8arr], filename, {
+        type: mime
+    });
 }
 
 
 function beforeUpload_shishi(nfile, uid, cid, stage, task, tool, loading, atool, text) {
-  // loading.style.display = 'flex'
-  // top.document.getElementById(loading);
-  //  document.body.appendChild(_loading)
-  var file = nfile;
-  var credentials = {
-    accessKeyId: "AKIATLPEDU37QV5CHLMH",
-    secretAccessKey: "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",
-  }; //秘钥形式的登录上传
-  window.AWS.config.update(credentials);
-  window.AWS.config.region = "cn-northwest-1"; //设置区域
+    // loading.style.display = 'flex'
+    // top.document.getElementById(loading);
+    //  document.body.appendChild(_loading)
+    var file = nfile;
+    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() + "." + "png",
-      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) {
-        if (data) {
-          console.log(data.Location);
-          var a = {
-            name: file.name,
-            url: data.Location,
-            uid: file.uid,
-          }
-          addSWork_shishi(uid, cid, stage, task, tool, data.Location, loading, atool, text)
-        } else {
-          var _a = document.getElementsByTagName("img")
-          for (var i = 0; i < _a.length; i++) {
-            _a[i].removeAttribute("crossorigin")
-          }
-          top.document.getElementById(loading).children[0].style.display = "none"
-          let _div = document.createElement('div')
-          _div.style = "width:100%;height:100%;background:#0000008f;position:fixed;top:0;left:0;z-index:99999999999999;display: flex;justify-content: center;align-items: center;"
-          let _inner = document.createElement('div')
-          _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
-          _inner.innerHTML = "上传失败,网络错误"
-          _div.appendChild(_inner)
-          document.body.appendChild(_div)
-          setTimeout(() => {
-            document.body.removeChild(_div)
-          }, 1000);
+    var bucket = new window.AWS.S3({
+        params: {
+            Bucket: "ccrb"
         }
+    }); //选择桶
 
-      });
-  }
+    if (file) {
+        var params = {
+            Key: file.name.split(".")[0] + new Date().getTime() + "." + "png",
+            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) {
+                if (data) {
+                    console.log(data.Location);
+                    var a = {
+                        name: file.name,
+                        url: data.Location,
+                        uid: file.uid,
+                    }
+                    addSWork_shishi(uid, cid, stage, task, tool, data.Location, loading, atool, text)
+                } else {
+                    var _a = document.getElementsByTagName("img")
+                    for (var i = 0; i < _a.length; i++) {
+                        _a[i].removeAttribute("crossorigin")
+                    }
+                    top.document.getElementById(loading).children[0].style.display = "none"
+                    let _div = document.createElement('div')
+                    _div.style = "width:100%;height:100%;background:#0000008f;position:fixed;top:0;left:0;z-index:99999999999999;display: flex;justify-content: center;align-items: center;"
+                    let _inner = document.createElement('div')
+                    _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
+                    _inner.innerHTML = "上传失败,网络错误"
+                    _div.appendChild(_inner)
+                    document.body.appendChild(_div)
+                    setTimeout(() => {
+                        document.body.removeChild(_div)
+                    }, 1000);
+                }
+
+            });
+    }
 }
 
 function addSWork_shishi(uid, cid, stage, task, tool, a, loading, atool, text) {
-  let params = {
-    uid: uid,
-    cid: cid,
-    stage: stage,
-    task: task,
-    tool: tool,
-    content: a,
-    type: 1,
-    atool: atool,
-    text: text
-    // upload: JSON.stringify(this.imgFileUp),
-  };
-  if (!$jq) {
-    $jq = $
-    var $180 = $.noConflict();
-  }
-  $jq.ajax({
-    type: 'POST',
-    url: 'https://pbl.cocorobo.cn/api/pbl/addCourseWorks4',
-    data: params,
-    dataType: "json",
-    error: (XMLHttpRequest, textStatus, errorThrown) => {
-      var _a = document.getElementsByTagName("img")
-      for (var i = 0; i < _a.length; i++) {
-        _a[i].removeAttribute("crossorigin")
-      }
-      top.document.getElementById(loading).children[0].style.display = "none"
-      let _div = document.createElement('div')
-      _div.style = "width:100%;height:100%;background:#0000008f;position:fixed;top:0;left:0;z-index:99999999999999;display: flex;justify-content: center;align-items: center;"
-      let _inner = document.createElement('div')
-      _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
-      _inner.innerHTML = "上传失败,网络错误"
-      _div.appendChild(_inner)
-      document.body.appendChild(_div)
-      setTimeout(() => {
-        document.body.removeChild(_div)
-      }, 1000);
-    },
-    success: (data) => {
-      setTimeout(() => {
-        var _a = document.getElementsByTagName("img")
-        for (var i = 0; i < _a.length; i++) {
-          _a[i].removeAttribute("crossorigin")
-        }
-        top.document.getElementById(loading).children[0].style.display = "none"
-        let _div = document.createElement('div')
-        _div.style = "width:100%;height:100%;background:#0000008f;position:fixed;top:0;left:0;z-index:99999999999999;display: flex;justify-content: center;align-items: center;"
-        let _inner = document.createElement('div')
-        _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
-        _inner.innerHTML = "截图上传成功"
-        _div.appendChild(_inner)
-        document.body.appendChild(_div)
-        setTimeout(() => {
-          //  document.body.removeChild(_loading)
-          document.body.removeChild(_div)
-        }, 1000);
-        console.log("截图上传成功");
-      }, 3000)
+    let params = {
+        uid: uid,
+        cid: cid,
+        stage: stage,
+        task: task,
+        tool: tool,
+        content: a,
+        type: 1,
+        atool: atool,
+        text: text
+            // upload: JSON.stringify(this.imgFileUp),
+    };
+    if (!$jq) {
+        $jq = $
+        var $180 = $.noConflict();
     }
-  })
+    $jq.ajax({
+        type: 'POST',
+        url: 'https://pbl.cocorobo.cn/api/pbl/addCourseWorks4',
+        data: params,
+        dataType: "json",
+        error: (XMLHttpRequest, textStatus, errorThrown) => {
+            var _a = document.getElementsByTagName("img")
+            for (var i = 0; i < _a.length; i++) {
+                _a[i].removeAttribute("crossorigin")
+            }
+            top.document.getElementById(loading).children[0].style.display = "none"
+            let _div = document.createElement('div')
+            _div.style = "width:100%;height:100%;background:#0000008f;position:fixed;top:0;left:0;z-index:99999999999999;display: flex;justify-content: center;align-items: center;"
+            let _inner = document.createElement('div')
+            _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
+            _inner.innerHTML = "上传失败,网络错误"
+            _div.appendChild(_inner)
+            document.body.appendChild(_div)
+            setTimeout(() => {
+                document.body.removeChild(_div)
+            }, 1000);
+        },
+        success: (data) => {
+            setTimeout(() => {
+                var _a = document.getElementsByTagName("img")
+                for (var i = 0; i < _a.length; i++) {
+                    _a[i].removeAttribute("crossorigin")
+                }
+                top.document.getElementById(loading).children[0].style.display = "none"
+                let _div = document.createElement('div')
+                _div.style = "width:100%;height:100%;background:#0000008f;position:fixed;top:0;left:0;z-index:99999999999999;display: flex;justify-content: center;align-items: center;"
+                let _inner = document.createElement('div')
+                _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
+                _inner.innerHTML = "Screenshot uploaded"
+                _div.appendChild(_inner)
+                document.body.appendChild(_div)
+                setTimeout(() => {
+                    //  document.body.removeChild(_loading)
+                    document.body.removeChild(_div)
+                }, 1000);
+                console.log("Screenshot uploaded");
+            }, 3000)
+        }
+    })
 }

+ 140 - 140
js/jietu4.js

@@ -1,159 +1,159 @@
-
 $jq = $
 var $180 = $.noConflict();
+
 function jietu_shishi(uid, cid, stage, task, tool) {
-  html2canvas($jq("body")[0]).then(function (canvas) {
-    //获取截取图片路径
+    html2canvas($jq("body")[0]).then(function(canvas) {
+        //获取截取图片路径
 
-    var base64Url = canvas.toDataURL('image/png');
-    //后台操作处理
+        var base64Url = canvas.toDataURL('image/png');
+        //后台操作处理
 
-    var base64 = "<img src=" + base64Url + " />"
-    var file = dataURLtoFile_shishi(base64Url, "截图")
-    beforeUpload_shishi(file, uid, cid, stage, task, tool)
-    // $jq("body")[0].innerHTML = base64
-  });
+        var base64 = "<img src=" + base64Url + " />"
+        var file = dataURLtoFile_shishi(base64Url, "截图")
+        beforeUpload_shishi(file, uid, cid, stage, task, tool)
+            // $jq("body")[0].innerHTML = base64
+    });
 }
 
 function dataURLtoFile_shishi(dataurl, filename) {
-  let arr = dataurl.split(","),
-    mime = arr[0].match(/:(.*?);/)[1],
-    bstr = atob(arr[1]),
-    n = bstr.length,
-    u8arr = new Uint8Array(n);
-  while (n--) {
-    u8arr[n] = bstr.charCodeAt(n);
-  }
-  return new File([u8arr], filename, {
-    type: mime
-  });
+    let arr = dataurl.split(","),
+        mime = arr[0].match(/:(.*?);/)[1],
+        bstr = atob(arr[1]),
+        n = bstr.length,
+        u8arr = new Uint8Array(n);
+    while (n--) {
+        u8arr[n] = bstr.charCodeAt(n);
+    }
+    return new File([u8arr], filename, {
+        type: mime
+    });
 }
 
 
 function beforeUpload_shishi(nfile, uid, cid, stage, task, tool, loading, atool, text) {
-  // loading.style.display = 'flex'
-  // top.document.getElementById(loading);
-  //  document.body.appendChild(_loading)
-  var file = nfile;
-  var credentials = {
-    accessKeyId: "AKIATLPEDU37QV5CHLMH",
-    secretAccessKey: "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",
-  }; //秘钥形式的登录上传
-  window.AWS.config.update(credentials);
-  window.AWS.config.region = "cn-northwest-1"; //设置区域
+    // loading.style.display = 'flex'
+    // top.document.getElementById(loading);
+    //  document.body.appendChild(_loading)
+    var file = nfile;
+    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() + "." + "png",
-      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) {
-        if (data) {
-          console.log(data.Location);
-          var a = {
-            name: file.name,
-            url: data.Location,
-            uid: file.uid,
-          }
-          addSWork_shishi(uid, cid, stage, task, tool, data.Location, loading, atool, text)
-        } else {
-          var _a = document.getElementsByTagName("img")
-          for (var i = 0; i < _a.length; i++) {
-            _a[i].removeAttribute("crossorigin")
-          }
-          top.document.getElementById(loading).children[0].style.display = "none"
-          let _div = document.createElement('div')
-          _div.style = "width:100%;height:100%;background:#0000008f;position:fixed;top:0;left:0;z-index:99999999999999;display: flex;justify-content: center;align-items: center;"
-          let _inner = document.createElement('div')
-          _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
-          _inner.innerHTML = "上传失败,网络错误"
-          _div.appendChild(_inner)
-          document.body.appendChild(_div)
-          setTimeout(() => {
-            document.body.removeChild(_div)
-          }, 1000);
+    var bucket = new window.AWS.S3({
+        params: {
+            Bucket: "ccrb"
         }
-      });
-  }
+    }); //选择桶
+
+    if (file) {
+        var params = {
+            Key: file.name.split(".")[0] + new Date().getTime() + "." + "png",
+            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) {
+                if (data) {
+                    console.log(data.Location);
+                    var a = {
+                        name: file.name,
+                        url: data.Location,
+                        uid: file.uid,
+                    }
+                    addSWork_shishi(uid, cid, stage, task, tool, data.Location, loading, atool, text)
+                } else {
+                    var _a = document.getElementsByTagName("img")
+                    for (var i = 0; i < _a.length; i++) {
+                        _a[i].removeAttribute("crossorigin")
+                    }
+                    top.document.getElementById(loading).children[0].style.display = "none"
+                    let _div = document.createElement('div')
+                    _div.style = "width:100%;height:100%;background:#0000008f;position:fixed;top:0;left:0;z-index:99999999999999;display: flex;justify-content: center;align-items: center;"
+                    let _inner = document.createElement('div')
+                    _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
+                    _inner.innerHTML = "上传失败,网络错误"
+                    _div.appendChild(_inner)
+                    document.body.appendChild(_div)
+                    setTimeout(() => {
+                        document.body.removeChild(_div)
+                    }, 1000);
+                }
+            });
+    }
 }
 
 function addSWork_shishi(uid, cid, stage, task, tool, a, loading, atool, text) {
-  let params = {
-    uid: uid,
-    cid: cid,
-    stage: stage,
-    task: task,
-    tool: tool,
-    content: a,
-    type: 1,
-    atool: atool,
-    text: text
-    // upload: JSON.stringify(this.imgFileUp),
-  };
-  if (!$jq) {
-    $jq = $
-    var $180 = $.noConflict();
-  }
-  $jq.ajax({
-    type: 'POST',
-    url: 'https://pbl.cocorobo.cn/api/pbl/addCourseWorks4s',
-    data: params,
-    dataType: "json",
-    error: (XMLHttpRequest, textStatus, errorThrown) => {
-      var _a = document.getElementsByTagName("img")
-      for (var i = 0; i < _a.length; i++) {
-        _a[i].removeAttribute("crossorigin")
-      }
-      top.document.getElementById(loading).children[0].style.display = "none"
-      let _div = document.createElement('div')
-      _div.style = "width:100%;height:100%;background:#0000008f;position:fixed;top:0;left:0;z-index:99999999999999;display: flex;justify-content: center;align-items: center;"
-      let _inner = document.createElement('div')
-      _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
-      _inner.innerHTML = "上传失败,网络错误"
-      _div.appendChild(_inner)
-      document.body.appendChild(_div)
-      setTimeout(() => {
-        document.body.removeChild(_div)
-      }, 1000);
-    },
-    success: (data) => {
-      setTimeout(() => {
-        var _a = document.getElementsByTagName("img")
-        for (var i = 0; i < _a.length; i++) {
-          _a[i].removeAttribute("crossorigin")
-        }
-        top.document.getElementById(loading).children[0].style.display = "none"
-        let _div = document.createElement('div')
-        _div.style = "width:100%;height:100%;background:#0000008f;position:fixed;top:0;left:0;z-index:99999999999999;display: flex;justify-content: center;align-items: center;"
-        let _inner = document.createElement('div')
-        _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
-        _inner.innerHTML = "截图上传成功"
-        _div.appendChild(_inner)
-        document.body.appendChild(_div)
-        setTimeout(() => {
-          //  document.body.removeChild(_loading)
-          document.body.removeChild(_div)
-        }, 1000);
-        console.log("截图上传成功");
-      }, 3000)
+    let params = {
+        uid: uid,
+        cid: cid,
+        stage: stage,
+        task: task,
+        tool: tool,
+        content: a,
+        type: 1,
+        atool: atool,
+        text: text
+            // upload: JSON.stringify(this.imgFileUp),
+    };
+    if (!$jq) {
+        $jq = $
+        var $180 = $.noConflict();
     }
-  })
+    $jq.ajax({
+        type: 'POST',
+        url: 'https://pbl.cocorobo.cn/api/pbl/addCourseWorks4s',
+        data: params,
+        dataType: "json",
+        error: (XMLHttpRequest, textStatus, errorThrown) => {
+            var _a = document.getElementsByTagName("img")
+            for (var i = 0; i < _a.length; i++) {
+                _a[i].removeAttribute("crossorigin")
+            }
+            top.document.getElementById(loading).children[0].style.display = "none"
+            let _div = document.createElement('div')
+            _div.style = "width:100%;height:100%;background:#0000008f;position:fixed;top:0;left:0;z-index:99999999999999;display: flex;justify-content: center;align-items: center;"
+            let _inner = document.createElement('div')
+            _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
+            _inner.innerHTML = "上传失败,网络错误"
+            _div.appendChild(_inner)
+            document.body.appendChild(_div)
+            setTimeout(() => {
+                document.body.removeChild(_div)
+            }, 1000);
+        },
+        success: (data) => {
+            setTimeout(() => {
+                var _a = document.getElementsByTagName("img")
+                for (var i = 0; i < _a.length; i++) {
+                    _a[i].removeAttribute("crossorigin")
+                }
+                top.document.getElementById(loading).children[0].style.display = "none"
+                let _div = document.createElement('div')
+                _div.style = "width:100%;height:100%;background:#0000008f;position:fixed;top:0;left:0;z-index:99999999999999;display: flex;justify-content: center;align-items: center;"
+                let _inner = document.createElement('div')
+                _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
+                _inner.innerHTML = "Screenshot uploaded"
+                _div.appendChild(_inner)
+                document.body.appendChild(_div)
+                setTimeout(() => {
+                    //  document.body.removeChild(_loading)
+                    document.body.removeChild(_div)
+                }, 1000);
+                console.log("Screenshot uploaded");
+            }, 3000)
+        }
+    })
 }

+ 9 - 4
package-lock.json

@@ -5699,10 +5699,9 @@
       "dev": true
     },
     "diff": {
-      "version": "1.4.0",
-      "resolved": "https://registry.npm.taobao.org/diff/download/diff-1.4.0.tgz?cache=0&sync_timestamp=1604803664325&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fdiff%2Fdownload%2Fdiff-1.4.0.tgz",
-      "integrity": "sha1-fyjS657nsVqX79ic5j3P2qPMur8=",
-      "dev": true
+      "version": "5.1.0",
+      "resolved": "https://registry.npmmirror.com/diff/-/diff-5.1.0.tgz",
+      "integrity": "sha512-D+mk+qE8VC/PAUrlAU34N+VfXev0ghe5ywmpqrawphmVZc1bEfn56uo9qpyGp1p4xpzOHkSW4ztBd6L7Xx4ACw=="
     },
     "diffie-hellman": {
       "version": "5.0.3",
@@ -9411,6 +9410,12 @@
             "ms": "0.7.1"
           }
         },
+        "diff": {
+          "version": "1.4.0",
+          "resolved": "https://registry.npmmirror.com/diff/-/diff-1.4.0.tgz",
+          "integrity": "sha512-VzVc42hMZbYU9Sx/ltb7KYuQ6pqAw+cbFWVy4XKdkuEL2CFaRLGEnISPs7YdzaUGpi+CpIqvRmu7hPQ4T7EQ5w==",
+          "dev": true
+        },
         "glob": {
           "version": "7.0.5",
           "resolved": "https://registry.npmmirror.com/glob/download/glob-7.0.5.tgz?cache=0&sync_timestamp=1632353796482&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Fglob%2Fdownload%2Fglob-7.0.5.tgz",

+ 1 - 0
package.json

@@ -15,6 +15,7 @@
     "axios": "^0.21.3",
     "big.js": "^6.2.1",
     "dayjs": "^1.11.7",
+    "diff": "^5.1.0",
     "echarts": "^5.2.2",
     "element-ui": "^2.15.6",
     "file-saver": "^2.0.5",

+ 99 - 99
src/common/jietu.js

@@ -1,113 +1,113 @@
-function jietu_shishi(uid, cid,page,type) {
-  html2canvas($("body")[0]).then(function (canvas) {
-    //获取截取图片路径
+function jietu_shishi(uid, cid, page, type) {
+    html2canvas($("body")[0]).then(function(canvas) {
+        //获取截取图片路径
 
-    var base64Url = canvas.toDataURL('image/png');
-    //后台操作处理
+        var base64Url = canvas.toDataURL('image/png');
+        //后台操作处理
 
-    var base64 = "<img src=" + base64Url + " />"
-    var file = dataURLtoFile_shishi(base64Url, "截图")
-    beforeUpload_shishi(file, uid, cid, page, type)
-    // $("body")[0].innerHTML = base64
-  });
+        var base64 = "<img src=" + base64Url + " />"
+        var file = dataURLtoFile_shishi(base64Url, "截图")
+        beforeUpload_shishi(file, uid, cid, page, type)
+            // $("body")[0].innerHTML = base64
+    });
 }
 
 function dataURLtoFile_shishi(dataurl, filename) {
-  let arr = dataurl.split(","),
-    mime = arr[0].match(/:(.*?);/)[1],
-    bstr = atob(arr[1]),
-    n = bstr.length,
-    u8arr = new Uint8Array(n);
-  while (n--) {
-    u8arr[n] = bstr.charCodeAt(n);
-  }
-  return new File([u8arr], filename, {
-    type: mime
-  });
+    let arr = dataurl.split(","),
+        mime = arr[0].match(/:(.*?);/)[1],
+        bstr = atob(arr[1]),
+        n = bstr.length,
+        u8arr = new Uint8Array(n);
+    while (n--) {
+        u8arr[n] = bstr.charCodeAt(n);
+    }
+    return new File([u8arr], filename, {
+        type: mime
+    });
 }
 
 
 function beforeUpload_shishi(nfile, uid, cid, page, type) {
-  var file = nfile;
-  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"
-    }
-  }); //选择桶
+    var file = nfile;
+    var credentials = {
+        accessKeyId: "AKIATLPEDU37QV5CHLMH",
+        secretAccessKey: "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",
+    }; //秘钥形式的登录上传
+    window.AWS.config.update(credentials);
+    window.AWS.config.region = "cn-northwest-1"; //设置区域
 
-  if (file) {
-    var params = {
-      Key: file.name.split(".")[0] + new Date().getTime() + "." + "png",
-      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) {
-        console.log(data.Location);
-        var a = {
-          name: file.name,
-          url: data.Location,
-          uid: file.uid,
+    var bucket = new window.AWS.S3({
+        params: {
+            Bucket: "ccrb"
         }
-        addSWork_shishi(uid, cid, a, page, type)
-      });
-  }
-}
+    }); //选择桶
 
-function addSWork_shishi(uid, cid, a, page, type) {
-  let params = {
-    uid: uid,
-    cid: cid,
-    p:page,
-    t:type,
-    // upload: JSON.stringify([{
-    //   upImg: [a],
-    //   upVedio: [],
-    //   upIntro: "",
-    // }]), 
-    upload: a.url,
-    // upload: JSON.stringify(this.imgFileUp),
-  };
-  $.ajax({
-    type: 'GET',
-    url: 'https://pbl.cocorobo.cn/api/pbl/insertSWork',
-    data: params,
-    dataType: "json",
-    success: (data) => {
-      var _a = document.getElementsByTagName("img")
-      for (var i = 0; i < _a.length; i++) {
-        _a[i].removeAttribute("crossorigin")
-      }
-      parent.document.getElementById("shishi_loading").style.display = "none"
-      let _div = document.createElement('div')
-      _div.style = "width:100%;height:100%;background:#0000008f;position:fixed;top:0;left:0;z-index:99999999999999;display: flex;justify-content: center;align-items: center;"
-      let _inner = document.createElement('div')
-      _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
-      _inner.innerHTML = "截图上传成功"
-      _div.appendChild(_inner)
-      document.body.appendChild(_div)
-      setTimeout(() => {
-        //  document.body.removeChild(_loading)
-        document.body.removeChild(_div)
-      }, 2000);
-      console.log("截图上传成功");
+    if (file) {
+        var params = {
+            Key: file.name.split(".")[0] + new Date().getTime() + "." + "png",
+            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) {
+                console.log(data.Location);
+                var a = {
+                    name: file.name,
+                    url: data.Location,
+                    uid: file.uid,
+                }
+                addSWork_shishi(uid, cid, a, page, type)
+            });
     }
-  })
 }
+
+function addSWork_shishi(uid, cid, a, page, type) {
+    let params = {
+        uid: uid,
+        cid: cid,
+        p: page,
+        t: type,
+        // upload: JSON.stringify([{
+        //   upImg: [a],
+        //   upVedio: [],
+        //   upIntro: "",
+        // }]), 
+        upload: a.url,
+        // upload: JSON.stringify(this.imgFileUp),
+    };
+    $.ajax({
+        type: 'GET',
+        url: 'https://pbl.cocorobo.cn/api/pbl/insertSWork',
+        data: params,
+        dataType: "json",
+        success: (data) => {
+            var _a = document.getElementsByTagName("img")
+            for (var i = 0; i < _a.length; i++) {
+                _a[i].removeAttribute("crossorigin")
+            }
+            parent.document.getElementById("shishi_loading").style.display = "none"
+            let _div = document.createElement('div')
+            _div.style = "width:100%;height:100%;background:#0000008f;position:fixed;top:0;left:0;z-index:99999999999999;display: flex;justify-content: center;align-items: center;"
+            let _inner = document.createElement('div')
+            _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
+            _inner.innerHTML = "Screenshot uploaded"
+            _div.appendChild(_inner)
+            document.body.appendChild(_div)
+            setTimeout(() => {
+                //  document.body.removeChild(_loading)
+                document.body.removeChild(_div)
+            }, 2000);
+            console.log("Screenshot uploaded");
+        }
+    })
+}

+ 118 - 118
src/common/jietu2.js

@@ -13,136 +13,136 @@
 //  document.body.appendChild(_loading)
 
 function jietu_shishi(uid, cid, stage, task, tool) {
-  html2canvas($("body")[0]).then(function (canvas) {
-    //获取截取图片路径
+    html2canvas($("body")[0]).then(function(canvas) {
+        //获取截取图片路径
 
-    var base64Url = canvas.toDataURL('image/png');
-    //后台操作处理
+        var base64Url = canvas.toDataURL('image/png');
+        //后台操作处理
 
-    var base64 = "<img src=" + base64Url + " />"
-    var file = dataURLtoFile_shishi(base64Url, "截图")
-    beforeUpload_shishi(file, uid, cid, stage, task, tool)
-    // $("body")[0].innerHTML = base64
-  });
+        var base64 = "<img src=" + base64Url + " />"
+        var file = dataURLtoFile_shishi(base64Url, "截图")
+        beforeUpload_shishi(file, uid, cid, stage, task, tool)
+            // $("body")[0].innerHTML = base64
+    });
 }
 
 function dataURLtoFile_shishi(dataurl, filename) {
-  let arr = dataurl.split(","),
-    mime = arr[0].match(/:(.*?);/)[1],
-    bstr = atob(arr[1]),
-    n = bstr.length,
-    u8arr = new Uint8Array(n);
-  while (n--) {
-    u8arr[n] = bstr.charCodeAt(n);
-  }
-  return new File([u8arr], filename, {
-    type: mime
-  });
+    let arr = dataurl.split(","),
+        mime = arr[0].match(/:(.*?);/)[1],
+        bstr = atob(arr[1]),
+        n = bstr.length,
+        u8arr = new Uint8Array(n);
+    while (n--) {
+        u8arr[n] = bstr.charCodeAt(n);
+    }
+    return new File([u8arr], filename, {
+        type: mime
+    });
 }
 
 
 function beforeUpload_shishi(nfile, uid, cid, stage, task, tool, loading, atool, text) {
-  // loading.style.display = 'flex'
-  // top.document.getElementById(loading);
-  //  document.body.appendChild(_loading)
-  var file = nfile;
-  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"
-    }
-  }); //选择桶
+    // loading.style.display = 'flex'
+    // top.document.getElementById(loading);
+    //  document.body.appendChild(_loading)
+    var file = nfile;
+    var credentials = {
+        accessKeyId: "AKIATLPEDU37QV5CHLMH",
+        secretAccessKey: "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",
+    }; //秘钥形式的登录上传
+    window.AWS.config.update(credentials);
+    window.AWS.config.region = "cn-northwest-1"; //设置区域
 
-  if (file) {
-    var params = {
-      Key: file.name.split(".")[0] + new Date().getTime() + "." + "png",
-      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) {
-        console.log(data.Location);
-        var a = {
-          name: file.name,
-          url: data.Location,
-          uid: file.uid,
+    var bucket = new window.AWS.S3({
+        params: {
+            Bucket: "ccrb"
         }
-        addSWork_shishi(uid, cid, stage, task, tool, data.Location, loading, atool, text)
-      });
-  }
+    }); //选择桶
+
+    if (file) {
+        var params = {
+            Key: file.name.split(".")[0] + new Date().getTime() + "." + "png",
+            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) {
+                console.log(data.Location);
+                var a = {
+                    name: file.name,
+                    url: data.Location,
+                    uid: file.uid,
+                }
+                addSWork_shishi(uid, cid, stage, task, tool, data.Location, loading, atool, text)
+            });
+    }
 }
 
-function addSWork_shishi(uid, cid, stage, task, tool, a, loading,atool, text) {
-  let params = {
-    uid: uid,
-    cid: cid,
-    stage: stage,
-    task: task,
-    tool: tool,
-    content: a,
-    type: 1,
-    atool:atool,
-    text:text
-    // upload: JSON.stringify(this.imgFileUp),
-  };
-  $.ajax({
-    type: 'POST',
-    url: 'https://pbl.cocorobo.cn/api/pbl/addCourseWorks4',
-    data: params,
-    dataType: "json",
-    error: (XMLHttpRequest, textStatus, errorThrown) => {
-      var _a = document.getElementsByTagName("img")
-      for (var i = 0; i < _a.length; i++) {
-        _a[i].removeAttribute("crossorigin")
-      }
-      top.document.getElementById(loading).children[0].style.display = "none"
-      let _div = document.createElement('div')
-      _div.style = "width:100%;height:100%;background:#0000008f;position:fixed;top:0;left:0;z-index:99999999999999;display: flex;justify-content: center;align-items: center;"
-      let _inner = document.createElement('div')
-      _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
-      _inner.innerHTML = "上传失败,网络错误"
-      _div.appendChild(_inner)
-      document.body.appendChild(_div)
-      setTimeout(() => {
-        document.body.removeChild(_div)
-      }, 1000);
-    },
-    success: (data) => {
-      setTimeout(() =>{
-        var _a = document.getElementsByTagName("img")
-        for (var i = 0; i < _a.length; i++) {
-          _a[i].removeAttribute("crossorigin")
+function addSWork_shishi(uid, cid, stage, task, tool, a, loading, atool, text) {
+    let params = {
+        uid: uid,
+        cid: cid,
+        stage: stage,
+        task: task,
+        tool: tool,
+        content: a,
+        type: 1,
+        atool: atool,
+        text: text
+            // upload: JSON.stringify(this.imgFileUp),
+    };
+    $.ajax({
+        type: 'POST',
+        url: 'https://pbl.cocorobo.cn/api/pbl/addCourseWorks4',
+        data: params,
+        dataType: "json",
+        error: (XMLHttpRequest, textStatus, errorThrown) => {
+            var _a = document.getElementsByTagName("img")
+            for (var i = 0; i < _a.length; i++) {
+                _a[i].removeAttribute("crossorigin")
+            }
+            top.document.getElementById(loading).children[0].style.display = "none"
+            let _div = document.createElement('div')
+            _div.style = "width:100%;height:100%;background:#0000008f;position:fixed;top:0;left:0;z-index:99999999999999;display: flex;justify-content: center;align-items: center;"
+            let _inner = document.createElement('div')
+            _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
+            _inner.innerHTML = "上传失败,网络错误"
+            _div.appendChild(_inner)
+            document.body.appendChild(_div)
+            setTimeout(() => {
+                document.body.removeChild(_div)
+            }, 1000);
+        },
+        success: (data) => {
+            setTimeout(() => {
+                var _a = document.getElementsByTagName("img")
+                for (var i = 0; i < _a.length; i++) {
+                    _a[i].removeAttribute("crossorigin")
+                }
+                top.document.getElementById(loading).children[0].style.display = "none"
+                let _div = document.createElement('div')
+                _div.style = "width:100%;height:100%;background:#0000008f;position:fixed;top:0;left:0;z-index:99999999999999;display: flex;justify-content: center;align-items: center;"
+                let _inner = document.createElement('div')
+                _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
+                _inner.innerHTML = "Screenshot uploaded"
+                _div.appendChild(_inner)
+                document.body.appendChild(_div)
+                setTimeout(() => {
+                    //  document.body.removeChild(_loading)
+                    document.body.removeChild(_div)
+                }, 1000);
+                console.log("Screenshot uploaded");
+            }, 3000)
         }
-        top.document.getElementById(loading).children[0].style.display = "none"
-        let _div = document.createElement('div')
-        _div.style = "width:100%;height:100%;background:#0000008f;position:fixed;top:0;left:0;z-index:99999999999999;display: flex;justify-content: center;align-items: center;"
-        let _inner = document.createElement('div')
-        _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
-        _inner.innerHTML = "截图上传成功"
-        _div.appendChild(_inner)
-        document.body.appendChild(_div)
-        setTimeout(() => {
-          //  document.body.removeChild(_loading)
-          document.body.removeChild(_div)
-        }, 1000);
-        console.log("截图上传成功");
-      },3000)
-    }
-  })
+    })
 }

+ 21 - 21
src/common/tools.js

@@ -2,35 +2,35 @@ export const tools = {
     58: { name: "模拟驾驶" },
     59: { name: "路径搜索" },
     60: { name: "深度学习" },
-    10: { name: "倒计时" },
-    65: { name: "挑人" },
-    7: { name: "思维网格" },
-    1: { name: "电子白板" },
-    52: { name: "文档" },
+    10: { name: "Timer" },
+    65: { name: "Pick someone" },
+    7: { name: "Mind grid" },
+    1: { name: "Whiteboard" },
+    52: { name: "Document" },
     3: { name: "思维导图" },
     48: { name: "表格" },
-    49: { name: "学生分组" },
-    4: { name: "问卷调查" },
-    45: { name: "选择题" },
-    15: { name: "问答" },
-    16: { name: "作业提交" },
-    50: { name: "批量上传" },
-    41: { name: "选择匹配" },
-    47: { name: "排序" },
-    40: { name: "个人评价" },
-    18: { name: "训练平台" },
+    49: { name: "Grouping" },
+    4: { name: "Questionnaire survey/Survey" },
+    45: { name: "Choice question" },
+    15: { name: "Question" },
+    16: { name: "File Upload" },
+    50: { name: "Batch upload" },
+    41: { name: "Match" },
+    47: { name: "Ordering Question" },
+    40: { name: "Self-evaluation" },
+    18: { name: "Model-training" },
     21: { name: "AIoT Blockly" },
     23: { name: "AI Python" },
     24: { name: "AI Blockly" },
-    32: { name: "源码编辑" },
+    32: { name: "Kitten Editor" },
     57: { name: "CocoPi" },
-    63: { name: "海龟编程" },
-    28: { name: "翻译" },
-    31: { name: "数字画板" },
+    63: { name: "Turtle Editor" },
+    28: { name: "Translator" },
+    31: { name: "Drawing board" },
     39: { name: "GeoGebra" },
-    66: { name: "公式编辑" },
+    66: { name: "LaTeX" },
     67: { name: "分子结构" },
-    68: { name: "时间轴" },
+    68: { name: "Timeline" },
     69: { name: "英语写作" },
     25: { name: "目标管理" },
     26: { name: "课程设计" },

+ 5 - 5
src/components/Choice/index.vue

@@ -1,6 +1,6 @@
 <template>
     <div>
-        <el-dialog title="选择题" :visible.sync="dialogVisibleChoice" :append-to-body="true" width="1000px"
+        <el-dialog title="Choice question" :visible.sync="dialogVisibleChoice" :append-to-body="true" width="1000px"
             :before-close="handleClose" class="dialog_diy dialog_diy3">
             <div v-if="dialogVisibleChoice">
                 <div class="a_addBox">
@@ -10,12 +10,12 @@
                             <div style="display: flex">
                                 {{ index1 + 1 + "、" }}
                                 <div v-if="testJson.testJson[index1].type == '1'" style="margin-right: 5px">
-                                    (单选题)
+                                    (Single choice)
                                 </div>
                                 <div v-if="testJson.testJson[index1].type == '2'" style="margin-right: 5px">
-                                    (多选题)
+                                    (Single choice)
                                 </div>
-                                <div>题目:{{ testJson.testJson[index1].teststitle }}</div>
+                                <div>Question:{{ testJson.testJson[index1].teststitle }}</div>
                             </div>
                             <img v-if="testJson.testJson[index1].img" :src="testJson.testJson[index1].img"
                                 style="height: 300px; margin-top: 10px; max-width: 100%" />
@@ -66,7 +66,7 @@
                 </div>
             </div>
             <span slot="footer" class="dialog-footer">
-                <el-button @click="close">取 消</el-button>
+                <el-button @click="close">Cancel</el-button>
                 <el-button type="primary" @click="addStudentTest">确 定</el-button>
             </span>
         </el-dialog>

+ 7 - 7
src/components/GM/courseDetailGM.vue

@@ -19,7 +19,7 @@
                 screenType
             )
           ">
-            返回
+            Back
             <!-- <img src="../assets/icon/return.png" alt="" /> -->
           </div>
           <div class="box_course">
@@ -36,8 +36,8 @@
             <div class="right_box">
               <div class="rightT">
                 <div class="right_box_title">{{ courseDetail.title }}</div>
-                <div class="jd">{{ chapInfo.length }}阶段</div>
-                <div class="jd">{{ rw }}任务</div>
+                <div class="jd">Phrase{{ chapInfo.length }}</div>
+                <div class="jd">Task{{ rw }}</div>
               </div>
               <div class="cType">
                 <div class="all_choose" v-for="(item, index) in courseType" :key="index">
@@ -79,9 +79,9 @@
           </div>
           <div :class="courseDetail.brief != '' ? 'rightTd' : 'noBRight'">
             <div class="blue_box_one" v-for="(item, index) in chapInfo" :key="index" @click="addUserRate(index)">
-              <div>第{{ index + 1 }}阶段</div>
+              <div>Phrase{{ index + 1 }}</div>
               <div :title="item.dyName">{{ item.dyName }}</div>
-              <div>{{ item.chapterInfo[0].taskJson.length }}个任务</div>
+              <div>{{ item.chapterInfo[0].taskJson.length }}Task</div>
             </div>
           </div>
         </div>
@@ -105,9 +105,9 @@
               flex-wrap: wrap;
             ">
             <div class="blue_box" v-for="(item, index) in chapInfo" :key="index" @click="addUserRate(index)">
-              <div>第{{ index + 1 }}阶段</div>
+              <div>Phrase{{ index + 1 }}</div>
               <div>{{ item.dyName }}</div>
-              <div>{{ item.chapterInfo[0].taskJson.length }}个任务</div>
+              <div>{{ item.chapterInfo[0].taskJson.length }}Task</div>
             </div>
           </div>
         </el-dialog>

+ 2 - 2
src/components/GM/indexGM.vue

@@ -39,7 +39,7 @@
                   @click="getCourse(item.name, '', item.id, 1)"
                   :class="typeE.indexOf(item.id) != -1 ? 'isCType' : ''"
                 >
-                  全部
+                  All
                 </div>
                 <div
                   v-for="(item1, index1) in CourseTypeJson[item.id]"
@@ -107,7 +107,7 @@
                       <div>{{ item.typename }}</div>
                     </el-tooltip>
 
-                    <div>{{ JSON.parse(item.chapters).length }}阶段</div>
+                    <div>Phrase{{ JSON.parse(item.chapters).length }}</div>
                   </div>
                   <div class="school_box">
                     <el-tooltip

+ 127 - 128
src/components/GM/studyStudentGM.vue

@@ -10,7 +10,7 @@
         <div class="cru_selectBox">
           <div v-for="(item, stageIndex) in navList" :key="stageIndex">
             <div class="blue_box_one" @click="get(stageIndex)">
-              <div>第{{ stageIndex + 1 }}阶段</div>
+              <div>Phrase{{ stageIndex + 1 }}</div>
               <div>{{ item.dyName }}</div>
             </div>
             <div class="twoChild" :class="{ navActive: item.isOpen }">
@@ -27,7 +27,7 @@
                       nav.id == navId &&
                       stageIndex == courseType,
                   }" style="margin: 0">
-                    任务{{ navIndex + 1 }}
+                    Task{{ navIndex + 1 }}
                   </div>
                   <el-tooltip class="navTaskname item" effect="light" :content="nav.taskName" placement="top">
                     <div :style="{
@@ -56,21 +56,21 @@
             box-shadow: 0px 9px 0 0 #f2f2f2;
           ">
           <div class="courseIndex">
-            <div>第{{ courseType - 0 + 1 }}阶段</div>
+            <div>Phrase{{ courseType - 0 + 1 }}</div>
             <el-tooltip effect="light" :content="chapInfoList[courseType].dyName" placement="top">
               <div>{{ chapInfoList[courseType].dyName }}</div>
             </el-tooltip>
-            <div>任务{{ taskCount + 1 }}</div>
+            <div>Task{{ taskCount + 1 }}</div>
           </div>
           <div class="btnAll">
-            <div class="returnBtn" @click="nextOrpreSteps(0)">上一步</div>
-            <div class="returnBtn" @click="nextOrpreSteps(1)">下一步</div>
+            <div class="returnBtn" @click="nextOrpreSteps(0)">Last</div>
+            <div class="returnBtn" @click="nextOrpreSteps(1)">Next</div>
             <!-- <div class="returnBtn" @click="allScrell">全屏</div> -->
             <div class="returnBtn" @click="startRecording" v-if="(!videoStart && tType == 1 || tType == 4)">开始录制</div>
             <div class="returnBtn" @click="stopRecording" v-else-if="(tType == 1 || tType == 4)"
               style="background:#ee5255">下载录制</div>
             <div class="returnBtn" @click="juriVisible = true" v-if="tType == 1">
-              权限
+              Permission
             </div>
             <div class="returnBtn" style="background: #5c6f97" @click.stop="
               goTo(
@@ -90,7 +90,7 @@
                 screenType
               )
             ">
-              返回
+              Back
             </div>
           </div>
         </div>
@@ -203,7 +203,7 @@
                           {{ text.name }}
                         </div>
                       </el-form-item>
-                      <!-- <div style="color: #918f8f; width: 85%">文档内容</div> -->
+                      <!-- <div style="color: #918f8f; width: 85%">Content</div> -->
                       <div v-html="text.url" class="textContent"></div>
                     </el-form>
                   </div>
@@ -451,7 +451,7 @@
                   <div>{{ f.name }}</div>
                 </div>
               </div>
-              <div class="upFile" v-if="type == 3">提交</div>
+              <div class="upFile" v-if="type == 3">Submit</div>
             </div>-->
             <div class="vedioBox" v-if="
               chapInfoList[courseType].chapterInfo[0].taskJson[taskCount]
@@ -511,7 +511,7 @@
                           <div v-if="tooC == 1">
                             <img src="@/assets/icon/secondToolList/whiteBoard.png" alt
                               @click="addTools(tooC, toolIndex, taskCount)" />
-                            <div style="margin: 5px 0">电子白板</div>
+                            <div style="margin: 5px 0">Whiteboard</div>
                           </div>
                           <div v-if="tooC == 3">
                             <img src="@/assets/icon/secondToolList/mindMapping.png" alt
@@ -526,7 +526,7 @@
                           <div v-if="tooC == 7">
                             <img src="@/assets/icon/secondToolList/mindNetwork.png" alt
                               @click="addTools(tooC, toolIndex, taskCount)" />
-                            <div style="margin: 5px 0">思维网格</div>
+                            <div style="margin: 5px 0">Mind grid</div>
                           </div>
                           <div v-if="tooC == 8">
                             <img src="@/assets/icon/secondToolList/library.png" alt
@@ -546,12 +546,12 @@
                           <div v-if="tooC == 4">
                             <img @click="addTools(tooC, toolIndex, taskCount)" src="@/assets/icon/thirdToolList/ask.png"
                               alt />
-                            <div style="margin: 5px 0">问卷调查</div>
+                            <div style="margin: 5px 0">Questionnaire survey/Survey</div>
                           </div>
                           <div v-if="tooC == 45">
                             <img @click="addTools(tooC, toolIndex, taskCount)"
                               src="@/assets/icon/thirdToolList/choose.png" alt />
-                            <div style="margin: 5px 0">选择题</div>
+                            <div style="margin: 5px 0">Choice question</div>
                           </div>
                           <!-- <div v-if="tooC == 5">
                             <img
@@ -564,12 +564,12 @@
                           <div v-if="tooC == 10">
                             <img @click="addTools(tooC, toolIndex, taskCount)"
                               src="@/assets/icon/thirdToolList/time.png" alt />
-                            <div style="margin: 5px 0">倒计时</div>
+                            <div style="margin: 5px 0">Timer</div>
                           </div>
                           <div v-if="tooC == 15">
                             <img @click="addTools(tooC, toolIndex, taskCount)"
                               src="@/assets/icon/thirdToolList/answer.png" alt />
-                            <div style="margin: 5px 0">问答</div>
+                            <div style="margin: 5px 0">Question</div>
                           </div>
                           <div v-if="tooC == 26">
                             <img @click="addTools(tooC, toolIndex, taskCount)"
@@ -584,7 +584,7 @@
                           <div v-if="tooC == 16">
                             <img @click="addTools(tooC, toolIndex, taskCount)"
                               src="@/assets/icon/thirdToolList/work.png" alt />
-                            <div style="margin: 5px 0">作业提交</div>
+                            <div style="margin: 5px 0">File Upload</div>
                           </div>
                           <div v-if="tooC == 21">
                             <img @click="addTools(tooC, toolIndex, taskCount)"
@@ -619,7 +619,7 @@
                           <div v-if="tooC == 28">
                             <img @click="addTools(tooC, toolIndex, taskCount)"
                               src="@/assets/icon/secondToolList/translation.png" alt />
-                            <div style="margin: 5px 0">翻译</div>
+                            <div style="margin: 5px 0">Translator</div>
                           </div>
                           <div v-if="tooC == 37">
                             <img @click="addTools(tooC, toolIndex, taskCount)"
@@ -639,7 +639,7 @@
                           <div v-if="tooC == 32">
                             <img @click="addTools(tooC, toolIndex, taskCount)"
                               src="@/assets/icon/thirdToolList/code.png" alt />
-                            <div style="margin: 5px 0">源码编辑</div>
+                            <div style="margin: 5px 0">Kitten Editor</div>
                           </div>
                           <div v-if="tooC == 40">
                             <img @click="addTools(tooC, toolIndex, taskCount)"
@@ -649,7 +649,7 @@
                           <div v-if="tooC == 41">
                             <img @click="addTools(tooC, toolIndex, taskCount)"
                               src="@/assets/icon/thirdToolList/select.png" alt />
-                            <div style="margin: 5px 0">选择匹配</div>
+                            <div style="margin: 5px 0">Match</div>
                           </div>
                           <div v-if="tooC == 44">
                             <img @click="addTools(tooC, toolIndex, taskCount)"
@@ -668,7 +668,7 @@
                   </div>
                   <div v-if="tType && tType == 2 && !sIsOpen && tool.tool.indexOf(16) != -1" class="worksBox">
                     <div class="zuoyeYulan" v-if="workStudent[toolIndex].length > 0">
-                      <span>作业预览</span>
+                      <span>Preview</span>
                       <el-button type="text" @click="jump()" v-if="tType == 2" class="buttonA">我的评价</el-button>
                     </div>
                     <div class="worksDetailBox" v-if="workStudent[toolIndex].length > 0">
@@ -686,7 +686,7 @@
                           </div>
                           <div class="answerScore" @click.stop="openScore(w)" v-else-if="courseDetail.userid == userid"
                             :class="{ rightW: w.userid == userid || tType == 1 || tType == 4 }">
-                            评分
+                            Score
                           </div>
                           <img class="deleteImg" src="@/assets/deleteworks.png"
                             v-if="w.userid == userid || tType == 1 || tType == 4" @click.stop="deleteWorks(w.wid)"
@@ -700,7 +700,7 @@
                           </div>
                           <div class="answerScore" @click.stop="openScore(w)" v-else-if="courseDetail.userid == userid"
                             :class="{ rightW: w.userid == userid || tType == 1 || tType == 4 }">
-                            评分
+                            Score
                           </div>
                           <img class="deleteImg" src="@/assets/deleteworks.png"
                             v-if="w.userid == userid || tType == 1 || tType == 4" @click.stop="deleteWorks(w.wid)"
@@ -714,7 +714,7 @@
                           </div>
                           <div class="answerScore" @click.stop="openScore(w)" v-else-if="courseDetail.userid == userid"
                             :class="{ rightW: w.userid == userid || tType == 1 || tType == 4 }">
-                            评分
+                            Score
                           </div>
                           <img class="deleteImg" src="@/assets/deleteworks.png"
                             v-if="w.userid == userid || tType == 1 || tType == 4" @click.stop="deleteWorks(w.wid)"
@@ -728,7 +728,7 @@
                   </div>
                   <div v-if="tType && tType == 2 && !sIsOpen && tool.tool.indexOf(4) != -1" class="worksBox">
                     <div class="zuoyeYulan" v-if="workStudent[toolIndex].length > 0">
-                      <span>作业预览</span>
+                      <span>Preview</span>
                       <el-button type="text" @click="jump()" v-if="tType == 2" class="buttonA">我的评价</el-button>
                     </div>
                     <div class="worksDetailBox" v-if="workStudent[toolIndex].length > 0">
@@ -775,7 +775,7 @@
                   </div>
                   <div v-if="tType && tType == 2 && !sIsOpen && tool.tool.indexOf(45) != -1" class="worksBox">
                     <div class="zuoyeYulan" v-if="workStudent[toolIndex].length > 0">
-                      <span>作业预览</span>
+                      <span>Preview</span>
                       <el-button type="text" @click="jump()" v-if="tType == 2" class="buttonA">我的评价</el-button>
                     </div>
                     <div class="worksDetailBox" v-if="workStudent[toolIndex].length > 0">
@@ -790,7 +790,7 @@
                   </div>
                   <div v-if="tType && tType == 2 && !sIsOpen && tool.tool.indexOf(15) != -1" class="worksBox">
                     <div class="zuoyeYulan" v-if="workStudent[toolIndex].length > 0">
-                      <span>作业预览</span>
+                      <span>Preview</span>
                       <el-button type="text" @click="jump()" v-if="tType == 2" class="buttonA">我的评价</el-button>
                     </div>
                     <div class="worksDetailBox" v-if="workStudent[toolIndex].length > 0">
@@ -816,7 +816,7 @@
                             <div class="answerScore" @click.stop="openScore(w)"
                               v-else-if="courseDetail.userid == userid"
                               :class="{ rightW: w.userid == userid || tType == 1 || tType == 4 }">
-                              评分
+                              Score
                             </div>
                             <img class="deleteImg" src="@/assets/deleteworks.png"
                               v-if="w.userid == userid || tType == 1 || tType == 4" @click.stop="deleteWorks(w.wid)"
@@ -833,7 +833,7 @@
                   </div>
                   <div v-if="tType && tType == 2 && !sIsOpen && tool.tool.indexOf(1) != -1" class="worksBox">
                     <div class="zuoyeYulan" v-if="workStudent[toolIndex].length > 0">
-                      <span>作业预览</span>
+                      <span>Preview</span>
                       <el-button type="text" @click="jump()" v-if="tType == 2" class="buttonA">我的评价</el-button>
                     </div>
                     <div class="worksDetailBox" v-if="workStudent[toolIndex].length > 0">
@@ -851,7 +851,7 @@
                           </div>
                           <div class="answerScore" @click.stop="openScore(w)" v-else-if="courseDetail.userid == userid"
                             :class="{ rightW: w.userid == userid || tType == 1 || tType == 4 }">
-                            评分
+                            Score
                           </div>
                           <img class="deleteImg" src="@/assets/deleteworks.png"
                             v-if="w.userid == userid || tType == 1 || tType == 4" @click.stop="deleteWorks(w.wid)"
@@ -865,7 +865,7 @@
                   </div>
                   <div v-if="tType && tType == 2 && !sIsOpen && tool.tool.indexOf(3) != -1" class="worksBox">
                     <div class="zuoyeYulan" v-if="workStudent[toolIndex].length > 0">
-                      <span>作业预览</span>
+                      <span>Preview</span>
                       <el-button type="text" @click="jump()" v-if="tType == 2" class="buttonA">我的评价</el-button>
                     </div>
                     <div class="worksDetailBox" v-if="workStudent[toolIndex].length > 0">
@@ -883,7 +883,7 @@
                           </div>
                           <div class="answerScore" @click.stop="openScore(w)" v-else-if="courseDetail.userid == userid"
                             :class="{ rightW: w.userid == userid || tType == 1 || tType == 4 }">
-                            评分
+                            Score
                           </div>
                           <img class="deleteImg" src="@/assets/deleteworks.png"
                             v-if="w.userid == userid || tType == 1 || tType == 4" @click.stop="deleteWorks(w.wid)"
@@ -897,7 +897,7 @@
                   </div>
                   <div v-if="tType && tType == 2 && !sIsOpen && tool.tool.indexOf(6) != -1" class="worksBox">
                     <div class="zuoyeYulan" v-if="workStudent[toolIndex].length > 0">
-                      <span>作业预览</span>
+                      <span>Preview</span>
                       <el-button type="text" @click="jump()" v-if="tType == 2" class="buttonA">我的评价</el-button>
                     </div>
                     <div class="worksDetailBox" v-if="workStudent[toolIndex].length > 0">
@@ -915,7 +915,7 @@
                           </div>
                           <div class="answerScore" @click.stop="openScore(w)" v-else-if="courseDetail.userid == userid"
                             :class="{ rightW: w.userid == userid || tType == 1 || tType == 4 }">
-                            评分
+                            Score
                           </div>
                           <img class="deleteImg" src="@/assets/deleteworks.png"
                             v-if="w.userid == userid || tType == 1 || tType == 4" @click.stop="deleteWorks(w.wid)"
@@ -929,7 +929,7 @@
                   </div>
                   <div v-if="tType && tType == 2 && !sIsOpen && tool.tool.indexOf(7) != -1" class="worksBox">
                     <div class="zuoyeYulan" v-if="workStudent[toolIndex].length > 0">
-                      <span>作业预览</span>
+                      <span>Preview</span>
                       <el-button type="text" @click="jump()" v-if="tType == 2" class="buttonA">我的评价</el-button>
                     </div>
                     <div class="worksDetailBox" v-if="workStudent[toolIndex].length > 0">
@@ -947,7 +947,7 @@
                           </div>
                           <div class="answerScore" @click.stop="openScore(w)" v-else-if="courseDetail.userid == userid"
                             :class="{ rightW: w.userid == userid || tType == 1 || tType == 4 }">
-                            评分
+                            Score
                           </div>
                           <img class="deleteImg" src="@/assets/deleteworks.png"
                             v-if="w.userid == userid || tType == 1 || tType == 4" @click.stop="deleteWorks(w.wid)"
@@ -961,7 +961,7 @@
                   </div>
                   <div v-if="tType && tType == 2 && !sIsOpen && tool.tool.indexOf(26) != -1" class="worksBox">
                     <div class="zuoyeYulan" v-if="workStudent[toolIndex].length > 0">
-                      <span>作业预览</span>
+                      <span>Preview</span>
                       <el-button type="text" @click="jump()" v-if="tType == 2" class="buttonA">我的评价</el-button>
                     </div>
                     <div class="worksDetailBox" v-if="workStudent[toolIndex].length > 0">
@@ -994,7 +994,7 @@
                       worksStudent.length &&
                       worksStudent[toolIndex].length > 0
                     ">
-                      <span>作业预览</span>
+                      <span>Preview</span>
                       <el-button type="text" @click="jump()" v-if="tType == 2" class="buttonA">我的评价</el-button>
                     </div>
                     <div class="worksDetailBox" v-if="
@@ -1017,7 +1017,7 @@
                           </div>
                           <div class="answerScore" @click.stop="openScore(w)" v-else-if="courseDetail.userid == userid"
                             :class="{ rightW: w.userid == userid || tType == 1 || tType == 4 }">
-                            评分
+                            Score
                           </div>
                           <img class="deleteImg" src="@/assets/deleteworks.png"
                             v-if="w.userid == userid || tType == 1 || tType == 4" @click.stop="deleteWorks(w.wid)"
@@ -1031,7 +1031,7 @@
                           </div>
                           <div class="answerScore" @click.stop="openScore(w)" v-else-if="courseDetail.userid == userid"
                             :class="{ rightW: w.userid == userid || tType == 1 || tType == 4 }">
-                            评分
+                            Score
                           </div>
                           <img class="deleteImg" src="@/assets/deleteworks.png"
                             v-if="w.userid == userid || tType == 1 || tType == 4" @click.stop="deleteWorks(w.wid)"
@@ -1045,7 +1045,7 @@
                           </div>
                           <div class="answerScore" @click.stop="openScore(w)" v-else-if="courseDetail.userid == userid"
                             :class="{ rightW: w.userid == userid || tType == 1 || tType == 4 }">
-                            评分
+                            Score
                           </div>
                           <img class="deleteImg" src="@/assets/deleteworks.png"
                             v-if="w.userid == userid || tType == 1 || tType == 4" @click.stop="deleteWorks(w.wid)"
@@ -1075,7 +1075,7 @@
                         </div>
                       </div>
                     </div>
-                    <div style="font-size: 18px">未提交</div>
+                    <div style="font-size: 18px">Not submitted</div>
                     <div class="noWorksS">
                       <div v-for="(s, sIndex) in noWorksS[toolIndex]" :key="sIndex" class="noWorksName">
                         {{ s.student }}
@@ -1097,7 +1097,7 @@
                         <span>{{ index + 1 + "、" + item.askstitle }}</span>
                       </div>
                       <div class="right_box_xuan">
-                        <span>正确率</span>
+                        <span>Accuracy rate</span>
                         <span>{{
                         (checkJson[toolIndex][index].right
                           ? checkJson[toolIndex][index].right
@@ -1129,7 +1129,7 @@
                       worksStudent.length &&
                       worksStudent[toolIndex].length > 0
                     ">
-                      <span>作业预览</span>
+                      <span>Preview</span>
                       <el-button type="text" @click="jump()" v-if="tType == 2" class="buttonA">我的评价</el-button>
                     </div>
                     <div>
@@ -1171,7 +1171,7 @@
                       </div>
                     </div>
 
-                    <div style="font-size: 18px">未提交</div>
+                    <div style="font-size: 18px">Not submitted</div>
                     <div class="noWorksS">
                       <div v-for="(s, sIndex) in noWorksS[toolIndex]" :key="sIndex" class="noWorksName">
                         {{ s.student }}
@@ -1193,7 +1193,7 @@
                         <span>{{ index + 1 + "、" + item.teststitle }}</span>
                       </div>
                       <div class="right_box_xuan">
-                        <span>正确率</span>
+                        <span>Accuracy rate</span>
                         <span>{{
                         (checkJson[toolIndex][index].right
                           ? checkJson[toolIndex][index].right
@@ -1225,7 +1225,7 @@
                       worksStudent.length &&
                       worksStudent[toolIndex].length > 0
                     ">
-                      <span>作业预览</span>
+                      <span>Preview</span>
                       <el-button type="text" @click="jump()" v-if="tType == 2" class="buttonA">我的评价</el-button>
                     </div>
                     <div>
@@ -1250,7 +1250,7 @@
                       </div>
                     </div>
 
-                    <div style="font-size: 18px">未提交</div>
+                    <div style="font-size: 18px">Not submitted</div>
                     <div class="noWorksS">
                       <div v-for="(s, sIndex) in noWorksS[toolIndex]" :key="sIndex" class="noWorksName">
                         {{ s.student }}
@@ -1268,7 +1268,7 @@
                       worksStudent.length &&
                       worksStudent[toolIndex].length > 0
                     ">
-                      <span>作业预览</span>
+                      <span>Preview</span>
                       <el-button type="text" @click="jump()" v-if="tType == 2" class="buttonA">我的评价</el-button>
                     </div>
                     <div class="worksDetailBox" v-if="
@@ -1301,7 +1301,7 @@
                             <div class="answerScore" @click.stop="openScore(w)"
                               v-else-if="courseDetail.userid == userid"
                               :class="{ rightW: w.userid == userid || tType == 1 || tType == 4 }">
-                              评分
+                              Score
                             </div>
                             <img class="deleteImg" src="@/assets/deleteworks.png"
                               v-if="w.userid == userid || tType == 1 || tType == 4" @click.stop="deleteWorks(w.wid)"
@@ -1329,7 +1329,7 @@
                         </div>
                       </div>
                     </div>
-                    <div style="font-size: 18px">未提交</div>
+                    <div style="font-size: 18px">Not submitted</div>
                     <div class="noWorksS">
                       <div v-for="(s, sIndex) in noWorksS[toolIndex]" :key="sIndex" class="noWorksName">
                         {{ s.student }}
@@ -1347,7 +1347,7 @@
                       worksStudent.length &&
                       worksStudent[toolIndex].length > 0
                     ">
-                      <span>作业预览</span>
+                      <span>Preview</span>
                       <el-button type="text" @click="jump()" v-if="tType == 2" class="buttonA">我的评价</el-button>
                     </div>
                     <div class="worksDetailBox" v-if="
@@ -1370,7 +1370,7 @@
                           </div>
                           <div class="answerScore" @click.stop="openScore(w)" v-else-if="courseDetail.userid == userid"
                             :class="{ rightW: w.userid == userid || tType == 1 || tType == 4 }">
-                            评分
+                            Score
                           </div>
                           <img class="deleteImg" src="@/assets/deleteworks.png"
                             v-if="w.userid == userid || tType == 1 || tType == 4" @click.stop="deleteWorks(w.wid)"
@@ -1399,7 +1399,7 @@
                         </div>
                       </div>
                     </div>
-                    <div style="font-size: 18px">未提交</div>
+                    <div style="font-size: 18px">Not submitted</div>
                     <div class="noWorksS">
                       <div v-for="(s, sIndex) in noWorksS[toolIndex]" :key="sIndex" class="noWorksName">
                         {{ s.student }}
@@ -1417,7 +1417,7 @@
                       worksStudent.length &&
                       worksStudent[toolIndex].length > 0
                     ">
-                      <span>作业预览</span>
+                      <span>Preview</span>
                       <el-button type="text" @click="jump()" v-if="tType == 2" class="buttonA">我的评价</el-button>
                     </div>
                     <div class="worksDetailBox" v-if="
@@ -1440,7 +1440,7 @@
                           </div>
                           <div class="answerScore" @click.stop="openScore(w)" v-else-if="courseDetail.userid == userid"
                             :class="{ rightW: w.userid == userid || tType == 1 || tType == 4 }">
-                            评分
+                            Score
                           </div>
                           <img class="deleteImg" src="@/assets/deleteworks.png"
                             v-if="w.userid == userid || tType == 1 || tType == 4" @click.stop="deleteWorks(w.wid)"
@@ -1469,7 +1469,7 @@
                         </div>
                       </div>
                     </div>
-                    <div style="font-size: 18px">未提交</div>
+                    <div style="font-size: 18px">Not submitted</div>
                     <div class="noWorksS">
                       <div v-for="(s, sIndex) in noWorksS[toolIndex]" :key="sIndex" class="noWorksName">
                         {{ s.student }}
@@ -1487,7 +1487,7 @@
                       worksStudent.length &&
                       worksStudent[toolIndex].length > 0
                     ">
-                      <span>作业预览</span>
+                      <span>Preview</span>
                       <el-button type="text" @click="jump()" v-if="tType == 2" class="buttonA">我的评价</el-button>
                     </div>
                     <div class="worksDetailBox" v-if="
@@ -1510,7 +1510,7 @@
                           </div>
                           <div class="answerScore" @click.stop="openScore(w)" v-else-if="courseDetail.userid == userid"
                             :class="{ rightW: w.userid == userid || tType == 1 || tType == 4 }">
-                            评分
+                            Score
                           </div>
                           <img class="deleteImg" src="@/assets/deleteworks.png"
                             v-if="w.userid == userid || tType == 1 || tType == 4" @click.stop="deleteWorks(w.wid)"
@@ -1539,7 +1539,7 @@
                         </div>
                       </div>
                     </div>
-                    <div style="font-size: 18px">未提交</div>
+                    <div style="font-size: 18px">Not submitted</div>
                     <div class="noWorksS">
                       <div v-for="(s, sIndex) in noWorksS[toolIndex]" :key="sIndex" class="noWorksName">
                         {{ s.student }}
@@ -1557,7 +1557,7 @@
                       worksStudent.length &&
                       worksStudent[toolIndex].length > 0
                     ">
-                      <span>作业预览</span>
+                      <span>Preview</span>
                       <el-button type="text" @click="jump()" v-if="tType == 2" class="buttonA">我的评价</el-button>
                     </div>
                     <div class="worksDetailBox" v-if="
@@ -1580,7 +1580,7 @@
                           </div>
                           <div class="answerScore" @click.stop="openScore(w)" v-else-if="courseDetail.userid == userid"
                             :class="{ rightW: w.userid == userid || tType == 1 || tType == 4 }">
-                            评分
+                            Score
                           </div>
                           <img class="deleteImg" src="@/assets/deleteworks.png"
                             v-if="w.userid == userid || tType == 1 || tType == 4" @click.stop="deleteWorks(w.wid)"
@@ -1609,7 +1609,7 @@
                         </div>
                       </div>
                     </div>
-                    <div style="font-size: 18px">未提交</div>
+                    <div style="font-size: 18px">Not submitted</div>
                     <div class="noWorksS">
                       <div v-for="(s, sIndex) in noWorksS[toolIndex]" :key="sIndex" class="noWorksName">
                         {{ s.student }}
@@ -1627,7 +1627,7 @@
                       worksStudent.length &&
                       worksStudent[toolIndex].length > 0
                     ">
-                      <span>作业预览</span>
+                      <span>Preview</span>
                       <el-button type="text" @click="jump()" v-if="tType == 2" class="buttonA">我的评价</el-button>
                     </div>
                     <div class="worksDetailBox" v-if="
@@ -1654,7 +1654,7 @@
                         </div>
                       </div>
                     </div>
-                    <div style="font-size: 18px">未提交</div>
+                    <div style="font-size: 18px">Not submitted</div>
                     <div class="noWorksS">
                       <div v-for="(s, sIndex) in noWorksS[toolIndex]" :key="sIndex" class="noWorksName">
                         {{ s.student }}
@@ -1672,7 +1672,7 @@
                       worksStudent.length &&
                       worksStudent[toolIndex].length > 0
                     ">
-                      <span>作业预览</span>
+                      <span>Preview</span>
                       <el-button type="text" @click="jump()" v-if="tType == 2" class="buttonA">我的评价</el-button>
                     </div>
                     <div class="worksDetailBox" v-if="
@@ -1716,7 +1716,7 @@
                         </div>
                       </div>
                     </div>
-                    <div style="font-size: 18px">未提交</div>
+                    <div style="font-size: 18px">Not submitted</div>
                     <div class="noWorksS">
                       <div v-for="(s, sIndex) in noWorksS[toolIndex]" :key="sIndex" class="noWorksName">
                         {{ s.student }}
@@ -1725,7 +1725,7 @@
                   </div>
                   <div v-if="tType && tType == 2 && !sIsOpen && tool.tool.indexOf(40) != -1" class="worksBox">
                     <div class="zuoyeYulan" v-if="workStudent[toolIndex].length > 0">
-                      <span>作业预览</span>
+                      <span>Preview</span>
                       <el-button type="text" @click="jump()" v-if="tType == 2" class="buttonA">我的评价</el-button>
                     </div>
                     <div class="worksDetailBox" v-if="workStudent[toolIndex].length > 0">
@@ -1769,7 +1769,7 @@
                       worksStudent.length &&
                       worksStudent[toolIndex].length > 0
                     ">
-                      <span>作业预览</span>
+                      <span>Preview</span>
                       <el-button type="text" @click="jump()" v-if="tType == 2" class="buttonA">我的评价</el-button>
                     </div>
                     <div class="worksDetailBox" v-if="
@@ -1800,7 +1800,7 @@
                         </div>
                       </div> -->
                     </div>
-                    <div style="font-size: 18px">未提交</div>
+                    <div style="font-size: 18px">Not submitted</div>
                     <div class="noWorksS">
                       <div v-for="(s, sIndex) in noWorksS[toolIndex]" :key="sIndex" class="noWorksName">
                         {{ s.student }}
@@ -1809,7 +1809,7 @@
                   </div>
                   <div v-if="tType && tType == 2 && !sIsOpen && tool.tool.indexOf(41) != -1" class="worksBox">
                     <div class="zuoyeYulan" v-if="workStudent[toolIndex].length > 0">
-                      <span>作业预览</span>
+                      <span>Preview</span>
                       <el-button type="text" @click="jump()" v-if="tType == 2" class="buttonA">我的评价</el-button>
                     </div>
                     <div class="worksDetailBox" v-if="workStudent[toolIndex].length > 0">
@@ -1832,7 +1832,7 @@
                   </div>
                 </div>
                 <!-- <div class="upload_toolBtn" @click="addImg($event)">
-                  上传文件
+                  Upload files
                   <input
                     type="file"
                     accept="image/png, image/gif, image/jpeg"
@@ -1862,7 +1862,7 @@
                 <div class="queTitle">
                   <div>工具</div>
                 </div>-->
-                评一评
+                Evaluation
               </div>
               <div class="evaCss" :class="{ evaCssMax: Stbodywidth < 974 }">
                 <div class="elist_input">
@@ -1984,10 +1984,10 @@
             </div>-->
           </div>
         </div>
-        <el-dialog title="作业提交" :visible.sync="dialogVisible" :append-to-body="true" width="500px"
+        <el-dialog title="File Upload" :visible.sync="dialogVisible" :append-to-body="true" width="500px"
           :before-close="handleClose" class="dialog_change">
           <div class="marginT">
-            <div>上传文件</div>
+            <div>Upload files</div>
             <div class="chapter_add" @click="addImg($event)" v-if="studyJuri[0].cover.length == 0">
               <div class="up_photo">
                 <img src="@/assets/icon/uploadImg.png" alt />
@@ -2122,7 +2122,7 @@
               </div>
             </div>
           </div>-->
-          <div class="upload_send" @click="addCourseWorks(taskCount)" v-if="!proVisible">提交</div>
+          <div class="upload_send" @click="addCourseWorks(taskCount)" v-if="!proVisible">Submit</div>
         </el-dialog>
       </div>
     </div>
@@ -2223,20 +2223,20 @@
           </div> -->
         </div>
         <div class="addTextCss" @click="addPz('1')" v-if="pzType == 1">
-          确定
+          Confirm
         </div>
       </div>
     </div>
     <div v-if="proVisible" class="mask">
       <div class="progressBox">
-        <div class="lbox"><img src="@/assets/loading.gif" />上传中,请稍后</div>
+        <div class="lbox"><img src="@/assets/loading.gif" />Uploading</div>
         <el-progress :text-inside="true" :stroke-width="20" :percentage="progress" style="width: 80%"></el-progress>
       </div>
     </div>
     <el-dialog :visible.sync="pictureDialog" size="tiny">
       <img width="100%" :src="dialogImageUrl" alt />
     </el-dialog>
-    <el-dialog :title="noteName != '' ? noteName : '查看问卷'" :visible.sync="dialogVisible5" :append-to-body="true"
+    <el-dialog :title="noteName != '' ? noteName : 'Questionnaire'" :visible.sync="dialogVisible5" :append-to-body="true"
       width="1000px" :before-close="handleClose" class="dialog_diy dialog_diy3">
       <div>
         <div class="a_add_title" style="
@@ -2245,7 +2245,7 @@
             align-items: center;
             justify-content: center;
           ">
-          <div style="margin-right: 20px; font-size: 20px">标题:</div>
+          <div style="margin-right: 20px; font-size: 20px">Title:</div>
           <div style="font-size: 20px">{{ askJson.askTitle }}</div>
         </div>
         <div class="a_addBox">
@@ -2272,11 +2272,11 @@
         </div>
       </div>
       <span slot="footer" class="dialog-footer">
-        <el-button class="cancelbtnGM" @click="dialogVisible5 = false" v-show="noteName == ''">取 消</el-button>
+        <el-button class="cancelbtnGM" @click="dialogVisible5 = false" v-show="noteName == ''">Cancel</el-button>
         <el-button class="btnClassGM" type="primary" @click="addStudentAsk" v-show="noteName == ''">确 定</el-button>
       </span>
     </el-dialog>
-    <el-dialog :title="noteName != '' ? noteName : '查看问卷'" :visible.sync="dialogVisibleChoice" :append-to-body="true"
+    <el-dialog :title="noteName != '' ? noteName : 'Questionnaire'" :visible.sync="dialogVisibleChoice" :append-to-body="true"
       width="1000px" :before-close="handleClose" class="dialog_diy dialog_diy3">
       <div>
         <!-- <div class="a_add_title" style="
@@ -2285,7 +2285,7 @@
             align-items: center;
             justify-content: center;
           ">
-          <div style="margin-right: 20px; font-size: 20px">标题:</div>
+          <div style="margin-right: 20px; font-size: 20px">Title:</div>
           <div style="font-size: 20px">{{ testJson.testTitle }}</div>
         </div> -->
         <div class="a_addBox">
@@ -2318,7 +2318,7 @@
         </div>
       </div>
       <span slot="footer" class="dialog-footer">
-        <el-button class="cancelbtnGM" @click="dialogVisibleChoice = false" v-show="noteName == ''">取 消</el-button>
+        <el-button class="cancelbtnGM" @click="dialogVisibleChoice = false" v-show="noteName == ''">Cancel</el-button>
         <el-button class="btnClassGM" type="primary" @click="addStudentTest" v-show="noteName == ''">确 定</el-button>
       </span>
     </el-dialog>
@@ -2332,7 +2332,7 @@
         <div v-html="text.url" style="font-size: 18px; padding: 40px 0 0 0"></div>
       </el-form>
       <span slot="footer" class="dialog-footer">
-        <el-button class="btnClassGM" type="primary" @click="dialogVisible1 = false">确定</el-button>
+        <el-button class="btnClassGM" type="primary" @click="dialogVisible1 = false">Confirm</el-button>
       </span>
     </el-dialog>
     <el-dialog title="文件预览" :visible.sync="dialogVisible3" width="50%" :before-close="handleClose" class="dialog_diy"
@@ -2350,12 +2350,12 @@
     <el-dialog title="文件预览" :visible.sync="dialogVisible6" width="50%" :before-close="handleClose" class="dialog_diy">
       <iframe :src="pptImgUrl1" frameborder="0" width="100%" height="600"></iframe>
     </el-dialog>
-    <el-dialog title="提示" :visible.sync="dialogVisible4" :append-to-body="true" width="800px"
+    <el-dialog title="Notification" :visible.sync="dialogVisible4" :append-to-body="true" width="800px"
       :before-close="handleClose" class="dialog_diy notice">
       <div>此功能暂未开放!</div>
-      <el-button type="primary" @click="dialogVisible4 = false">确定</el-button>
+      <el-button type="primary" @click="dialogVisible4 = false">Confirm</el-button>
     </el-dialog>
-    <el-dialog title="问答" :visible.sync="answerDialogVisible" :append-to-body="true" width="800px"
+    <el-dialog title="Question" :visible.sync="answerDialogVisible" :append-to-body="true" width="800px"
       :before-close="handleClose" class="dialog_diy">
       <div>
         <div style="
@@ -2380,25 +2380,25 @@
         </div>
       </div>
       <div slot="footer">
-        <el-button class="cancelbtnGM" @click="answerDialogVisible = false">取 消</el-button>
+        <el-button class="cancelbtnGM" @click="answerDialogVisible = false">Cancel</el-button>
         <el-button class="btnClassGM" type="primary" @click="addQuestion">提 交</el-button>
       </div>
     </el-dialog>
-    <el-dialog title="倒计时" :visible.sync="timeDialogVisible" :append-to-body="true" width="800px"
+    <el-dialog title="Timer" :visible.sync="timeDialogVisible" :append-to-body="true" width="800px"
       :before-close="handleClose" class="dialog_diy">
       <div>
         <Time v-if="timeDialogVisible"></Time>
       </div>
       <div slot="footer">
-        <el-button class="cancelbtnGM" @click="timeDialogVisible = false">关 闭</el-button>
+        <el-button class="cancelbtnGM" @click="timeDialogVisible = false">Close</el-button>
       </div>
     </el-dialog>
-    <el-dialog title="权限设置" :visible.sync="juriVisible" :append-to-body="true" width="400px" :before-close="handleClose"
+    <el-dialog title="Permission" :visible.sync="juriVisible" :append-to-body="true" width="400px" :before-close="handleClose"
       class="dialog_diy">
       <div>
         <div class="open_box">
           <div class="switch_box">
-            <span>允许学生查看所有作业</span>
+            <span>Allow students to view all submission</span>
             <el-switch v-model="sIsOpen" active-text="" class="switchCss" @change="updateSLook"></el-switch>
           </div>
           <div class="switch_box"
@@ -2409,7 +2409,7 @@
         </div>
       </div>
       <div slot="footer">
-        <el-button class="cancelbtnGM" @click="juriVisible = false">关 闭</el-button>
+        <el-button class="cancelbtnGM" @click="juriVisible = false">Close</el-button>
       </div>
     </el-dialog>
     <el-dialog title="查看视频" :visible.sync="videoVisible" :append-to-body="true" width="1000px"
@@ -2421,7 +2421,7 @@
       <div slot="footer">
         <el-button class="btnClassGM" style="color: #fff"
           @click="(videoVisible = false), (videoDetail.sources[0].src = '')">
-          关 闭</el-button>
+          Close</el-button>
       </div>
     </el-dialog>
     <el-dialog title="查看详情" :visible.sync="commentDialogVisible" :append-to-body="true" width="800px"
@@ -2459,7 +2459,7 @@
         </div>
         <div class="worksAnswer" v-if="commentDetail.works && commentDetail.type == 4">
           <div class="evalCss">
-            <div class="nav">请选择星星进行评分</div>
+            <div class="nav">Please select stars to rate</div>
             <div class="middleBox" v-if="eScore.eStar">
               <div class="pfBox" v-for="(e, eIndex) in rateJson" :key="eIndex">
                 <div class="nameAndrate">
@@ -2476,7 +2476,7 @@
                     font-size: 14px;
                     text-indent: 10px;
                     color: #000;
-                  " cols v-model="eScore.eBzText" placeholder="请输入评价内容..."></textarea>
+                  " cols v-model="eScore.eBzText" placeholder="Please enter your comments"></textarea>
               </div>
             </div>
           </div>
@@ -2563,7 +2563,7 @@
           videoDetail.sources && videoDetail.sources[0]
             ? (videoDetail.sources[0].src = '')
             : ''
-        ">取 消</el-button>
+        ">Cancel</el-button>
         <el-button class="btnClassGM" type="primary" @click="addComment(commentDetail.wid, userid, 2)">确 定</el-button>
       </div>
     </el-dialog>
@@ -2598,19 +2598,19 @@
                 {{ fullUrl.name }}
               </div>
             </el-form-item>
-            <!-- <div style="color: #918f8f; width: 85%">文档内容</div> -->
+            <!-- <div style="color: #918f8f; width: 85%">Content</div> -->
             <div v-html="fullUrl.url" class="textContent" style="height: auto"></div>
           </el-form>
         </div>
       </div>
       <!-- <div slot="footer">
-        <el-button @click="fullDialogVisible = false">关 闭</el-button>
+        <el-button @click="fullDialogVisible = false">Close</el-button>
       </div> -->
     </el-dialog>
     <el-dialog title="学生评价" :visible.sync="studentEvalDialogVisible" :append-to-body="true" width="800px"
       :before-close="handleClose" class="dialog_diy">
       <div class="evalCss">
-        <div class="nav">请选择星星进行评分</div>
+        <div class="nav">Please select stars to rate</div>
         <div class="middleBox" v-if="eScore.eStar">
           <div class="pfBox" v-for="(e, eIndex) in rateJson" :key="eIndex">
             <div class="nameAndrate">
@@ -2631,22 +2631,21 @@
                 background: #f7f6f9;
                 font-size: 14px;
                 text-indent: 10px;
-              " cols v-model="eScore.eBzText" placeholder="请输入评价内容..."></textarea>
+              " cols v-model="eScore.eBzText" placeholder="Please enter your comments"></textarea>
           </div>
         </div>
       </div>
       <div slot="footer">
-        <el-button class="cancelbtnGM" @click="studentEvalDialogVisible = false">取 消</el-button>
+        <el-button class="cancelbtnGM" @click="studentEvalDialogVisible = false">Cancel</el-button>
         <el-button class="btnClassGM" type="primary" @click="addBzWorks" v-if="!isStar">确 定</el-button>
       </div>
     </el-dialog>
-    <el-dialog title="选择匹配" :visible.sync="dialogVisibleSelect" :append-to-body="true" width="90%"
+    <el-dialog title="Match" :visible.sync="dialogVisibleSelect" :append-to-body="true" width="90%"
       :before-close="handleClose" class="dialog_diy dialog_diy3">
       <div v-if="selectJson">
         <div class="select_box2">
           <div class="select_box2_title">
-            <div>选择匹配</div>
-            <div>请选择对应的答案进行答题!</div>
+            <div>Match</div>
           </div>
           <div class="select_box2_box">
             <div class="select_box2_img">
@@ -2658,11 +2657,11 @@
                   {{ selectAnswer.stu }}
                 </div>
                 <div class="select_answer_title" v-else>
-                  根据题目选择对应答案
+                  Select the matching answer for each question
                 </div>
                 <div class="select_box2_answer_box" v-for="(item2, checkIndex) in selectJson.select" :key="checkIndex">
                   <span style="min-width: 30px">{{ checkIndex + 1 }}、</span>
-                  <el-select :disabled="isSelect" v-model="selectAnswer.answer[checkIndex]" placeholder="请选择正确答案">
+                  <el-select :disabled="isSelect" v-model="selectAnswer.answer[checkIndex]" placeholder="Choose the answer">
                     <el-option v-for="(e, eIndex) in selectJson.select" :key="eIndex" :label="e" :value="eIndex">
                     </el-option>
                   </el-select>
@@ -2687,7 +2686,7 @@
             </div>
 
             <div class="upAnswerCss">
-              <el-button class="btnClassGM" type="primary" @click="addSelectAnswer" v-if="!isSelect">提交答案</el-button>
+              <el-button class="btnClassGM" type="primary" @click="addSelectAnswer" v-if="!isSelect">Submit</el-button>
             </div>
           </div>
         </div>
@@ -2737,7 +2736,7 @@
           videoDetail.sources && videoDetail.sources[0]
             ? (videoDetail.sources[0].src = '')
             : ''
-        ">取 消</el-button>
+        ">Cancel</el-button>
         <el-button type="primary" class="btnClassGM" v-if="courseDetail.userid == userid"
           @click="scoreWork(commentDetail.wid)">确 定</el-button>
       </span>
@@ -3097,10 +3096,10 @@ export default {
       if (this.workTypeA == true) {
         this.$confirm(
           "您已经提交了该作业了,如果您再提交将覆盖上次提交的作业!",
-          "提示",
+          "Notification",
           {
-            confirmButtonText: "确定",
-            cancelButtonText: "取消",
+            confirmButtonText: "Confirm",
+            cancelButtonText: "Cancel",
             type: "warning",
           }
         )
@@ -3644,9 +3643,9 @@ export default {
       this.studentEvalDialogVisible = true;
     },
     deleteWorks(id) {
-      this.$confirm("确定删除此作业吗?", "提示", {
-        confirmButtonText: "确定",
-        cancelButtonText: "取消",
+      this.$confirm("Are you sure you want to delete this work?", "Notification", {
+        confirmButtonText: "Confirm",
+        cancelButtonText: "Cancel",
         type: "warning",
       })
         .then(() => {
@@ -3659,7 +3658,7 @@ export default {
             .post(this.$store.state.api + "deleteCourseWork", params)
             .then((res) => {
               this.$message({
-                message: "删除成功",
+                message: "Success",
                 type: "success",
               });
               this.selectStudent();
@@ -4978,9 +4977,9 @@ export default {
         });
     },
     deletePz(id) {
-      this.$confirm("确定删除此批注吗?", "提示", {
-        confirmButtonText: "确定",
-        cancelButtonText: "取消",
+      this.$confirm("确定删除此批注吗?", "Notification", {
+        confirmButtonText: "Confirm",
+        cancelButtonText: "Cancel",
         type: "warning",
       })
         .then(() => {
@@ -4993,7 +4992,7 @@ export default {
             .post(this.$store.state.api + "deletePz", params)
             .then((res) => {
               this.$message({
-                message: "删除成功",
+                message: "Success",
                 type: "success",
               });
               this.selectPz();
@@ -5453,10 +5452,10 @@ export default {
       if (this.isNoHomeWork) {
         this.$confirm(
           "您已经提交了该作业了,如果您再提交将覆盖上次提交的作业!",
-          "提示",
+          "Notification",
           {
-            confirmButtonText: "确定",
-            cancelButtonText: "取消",
+            confirmButtonText: "Confirm",
+            cancelButtonText: "Cancel",
             type: "warning",
           }
         )
@@ -6113,9 +6112,9 @@ export default {
         });
     },
     deletePicturePaint() {
-      this.$confirm("确定删除此批注吗?", "提示", {
-        confirmButtonText: "确定",
-        cancelButtonText: "取消",
+      this.$confirm("确定删除此批注吗?", "Notification", {
+        confirmButtonText: "Confirm",
+        cancelButtonText: "Cancel",
         type: "warning",
       })
         .then(() => {
@@ -6129,7 +6128,7 @@ export default {
             .post(this.$store.state.api + "updateCourseWorks", params)
             .then((res) => {
               this.$message({
-                message: "删除成功",
+                message: "Success",
                 type: "success",
               });
               this.selectSWorks();

+ 15 - 17
src/components/GM/worksGM.vue

@@ -57,7 +57,7 @@
               ></el-table-column>
               <el-table-column
                 prop="time"
-                label="时间"
+                label="Time"
                 min-width="20"
                 align="center"
               ></el-table-column>
@@ -128,7 +128,7 @@
               <div class="cru_selectBox">
                 <div v-for="(dy, dyIndex) in dyList2" :key="dyIndex">
                   <div class="blue_box_one" @click="isOpen(dyIndex)">
-                    <div>第{{ dy.id + 1 }}阶段</div>
+                    <div>Phrase{{ dy.id + 1 }}</div>
                     <div>{{ dy.name }}</div>
                   </div>
                   <div
@@ -162,7 +162,7 @@
                           }"
                           style="margin: 0"
                         >
-                          任务{{ navIndex + 1 }}
+                          Task{{ navIndex + 1 }}
                         </div>
                         <el-tooltip
                           class="navTaskname item"
@@ -193,9 +193,8 @@
                     <div class="jdName">
                       <div>
                         {{
-                          "" +
+                          "Phrase" +
                           (sin.stage + 1) +
-                          "阶段 " +
                           dyList[sin.stage].name
                         }}
                       </div>
@@ -208,7 +207,7 @@
                           :id="sin.stage + '-' + sin.task"
                           :scrollindex="sIndex"
                         >
-                          <div class="task">任务{{ sin.task + 1 }}</div>
+                          <div class="task">Task{{ sin.task + 1 }}</div>
                           <div>
                             {{ dyList[sin.stage].taskList[sin.task].name }}
                           </div>
@@ -321,7 +320,7 @@
                           "
                         >
                           <div style="margin-right: 20px; font-size: 20px">
-                            标题:
+                            Title:
                           </div>
                           <div style="font-size: 20px">
                             {{ worksDetail[sIndex].askInfo[0].askTitle }}
@@ -341,7 +340,7 @@
                               <div style="display: flex">
                                 {{ index1 + 1 + "、" }}
                                 <div>
-                                  题目:{{
+                                  Question:{{
                                     worksDetail[sIndex].askInfo[0].askJson[
                                       index1
                                     ].askstitle
@@ -477,7 +476,7 @@
         </div>
       </el-dialog>
       <el-dialog
-        title="查看选择题"
+        title="Choice question"
         :visible.sync="dialogVisible4"
         :append-to-body="true"
         width="800px"
@@ -506,7 +505,7 @@
               <div class="a_add_head">
                 <div style="display: flex">
                   {{ index + 1 + "、" }}
-                  <div>题目:{{ item.askstitle }}</div>
+                  <div>Question:{{ item.askstitle }}</div>
                 </div>
               </div>
               <div class="a_add_body">
@@ -528,7 +527,7 @@
         </div>
         <span slot="footer" class="dialog-footer">
           <el-button type="primary" @click="dialogVisible4 = false"
-            >关 闭</el-button
+            >Close</el-button
           >
         </span>
       </el-dialog>
@@ -1366,14 +1365,13 @@ export default {
           var _course = `<h1>${this.sInfo.course}</h1>`;
           var _title =
             "<h2>" +
-            "" +
+            "Phrase" +
             (this.sInfo.stage + 1) +
-            "阶段 " +
             this.dyList[this.sInfo.stage].name +
             "</h2>";
           var _subtitle =
             "<h3>" +
-            "任务" +
+            "Task" +
             (this.sInfo.task + 1) +
             " " +
             this.dyList[this.sInfo.stage].taskList[this.sInfo.task].name +
@@ -1401,7 +1399,7 @@ export default {
             var _ask = "<h3>选择题</h3>";
             for (var i = 0; i < workJson.askInfo.length; i++) {
               var _div = document.createElement("div");
-              _div.innerHTML = `<h4>标题:${workJson.askInfo[i].askTitle}</h4>`;
+              _div.innerHTML = `<h4>Title:${workJson.askInfo[i].askTitle}</h4>`;
               for (var j = 0; j < workJson.askInfo[i].askJson.length; j++) {
                 var _div2 = document.createElement("div");
                 _div2.innerHTML = `<h5>第${j + 1}题:${
@@ -1426,10 +1424,10 @@ export default {
 
           var _answer = "";
           if (workJson.answerInfo.length > 0) {
-            var _answer = "<h3>问答</h3>";
+            var _answer = "<h3>Question</h3>";
             for (var i = 0; i < workJson.answerInfo.length; i++) {
               var _div = document.createElement("div");
-              _div.innerHTML = `<h4>问答:${workJson.answerInfo[i].answerTitle}</h4>`;
+              _div.innerHTML = `<h4>Question:${workJson.answerInfo[i].answerTitle}</h4>`;
               _div.innerHTML += `<div>${workJson.answerInfo[i].answer}</div>`;
               _answer += `<div>${_div.innerHTML}</div>`;
             }

+ 711 - 846
src/components/a.json

@@ -1,890 +1,755 @@
-[
-    {
+[{
         "dyName": "创设情境",
-        "chapterInfo": [
-            {
-                "isread": false,
-                "chapterid": "866eac4c-255d-1abe-d8ab-430d65094879",
-                "title": "",
-                "courseName": "",
-                "taskJson": [
-                    {
-                        "task": "设疑激趣",
-                        "taskDetail": "<p>1、猜猜神秘客人是谁?</p><p>2、了解案情背景。</p>",
-                        "chapterData": [
-                            {
-                                "name": "1-1.pptx",
-                                "url": "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/1-11675944866288.pptx",
-                                "type": 3
-                            }
-                        ],
-                        "toolText": "",
-                        "toolChoose": [
-                            {
-                                "tool": [],
-                                "toolDetail": "",
-                                "toolType": 0,
-                                "askCount": 1,
-                                "askTitle": "",
-                                "askJson": [
-                                    {
-                                        "askstitle": "",
-                                        "askItem": 1,
-                                        "checkList": []
-                                    }
-                                ]
-                            }
-                        ],
-                        "isShowTools": false,
+        "chapterInfo": [{
+            "isread": false,
+            "chapterid": "866eac4c-255d-1abe-d8ab-430d65094879",
+            "title": "",
+            "courseName": "",
+            "taskJson": [{
+                    "task": "设疑激趣",
+                    "taskDetail": "<p>1、猜猜神秘客人是谁?</p><p>2、了解案情背景。</p>",
+                    "chapterData": [{
+                        "name": "1-1.pptx",
+                        "url": "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/1-11675944866288.pptx",
+                        "type": 3
+                    }],
+                    "toolText": "",
+                    "toolChoose": [{
+                        "tool": [],
+                        "toolDetail": "",
+                        "toolType": 0,
                         "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": "回到案发现场.mov",
-                                "url": "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/%E5%9B%9E%E5%88%B0%E6%A1%88%E5%8F%91%E7%8E%B0%E5%9C%BA1675951665614.mov",
-                                "type": 2
-                            },
-                            {
-                                "name": "发现蛛丝马迹.mov",
-                                "url": "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/%E5%8F%91%E7%8E%B0%E8%9B%9B%E4%B8%9D%E9%A9%AC%E8%BF%B91675951672068.mov",
-                                "type": 2
-                            }
-                        ],
-                        "toolText": "",
-                        "toolChoose": [
-                            {
-                                "tool": [],
-                                "toolDetail": "",
-                                "toolType": 0,
-                                "askCount": 1,
-                                "askTitle": "",
-                                "askJson": [
-                                    {
-                                        "askstitle": "",
-                                        "askItem": 1,
-                                        "checkList": []
-                                    }
-                                ]
-                            }
-                        ],
-                        "isShowTools": false,
+                        "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": "回到案发现场.mov",
+                            "url": "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/%E5%9B%9E%E5%88%B0%E6%A1%88%E5%8F%91%E7%8E%B0%E5%9C%BA1675951665614.mov",
+                            "type": 2
+                        },
+                        {
+                            "name": "发现蛛丝马迹.mov",
+                            "url": "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/%E5%8F%91%E7%8E%B0%E8%9B%9B%E4%B8%9D%E9%A9%AC%E8%BF%B91675951672068.mov",
+                            "type": 2
+                        }
+                    ],
+                    "toolText": "",
+                    "toolChoose": [{
+                        "tool": [],
+                        "toolDetail": "",
+                        "toolType": 0,
                         "askCount": 1,
-                        "isFold": 0,
                         "askTitle": "",
-                        "askJson": [
-                            {
-                                "askstitle": "",
-                                "askItem": 1,
-                                "checkList": []
-                            }
-                        ],
-                        "checkJson": [
-                            {
-                                "checkCount": [],
-                                "checkPerent": []
-                            }
-                        ],
-                        "homeworkList": [],
-                        "progress": 100,
-                        "proVisible": false
-                    },
-                    {
-                        "task": "分析线索",
-                        "taskDetail": "<p>观察这张身份证,说说你发现了什么信息?</p>",
-                        "chapterData": [
-                            {
-                                "name": "",
-                                "url": "<p><img src=\"https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/%E7%BA%BF%E7%B4%A211675951940581.jpg\" style=\"max-width:100%;\"/><br/></p>",
-                                "type": 6
-                            }
-                        ],
-                        "toolText": "",
-                        "toolChoose": [
-                            {
-                                "tool": [],
-                                "toolDetail": "",
-                                "toolType": 2,
-                                "askCount": 1,
-                                "askTitle": "",
-                                "askJson": [
-                                    {
-                                        "askstitle": "",
-                                        "askItem": 1,
-                                        "checkList": []
-                                    }
-                                ],
-                                "answerQ": "你们从这张身份证上能够得到哪些信息呢?"
-                            }
-                        ],
-                        "isShowTools": false,
+                        "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": "",
+                        "url": "<p><img src=\"https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/%E7%BA%BF%E7%B4%A211675951940581.jpg\" style=\"max-width:100%;\"/><br/></p>",
+                        "type": 6
+                    }],
+                    "toolText": "",
+                    "toolChoose": [{
+                        "tool": [],
+                        "toolDetail": "",
+                        "toolType": 2,
                         "askCount": 1,
-                        "isFold": 0,
                         "askTitle": "",
-                        "askJson": [
-                            {
-                                "askstitle": "",
-                                "askItem": 1,
-                                "checkList": []
-                            }
-                        ],
-                        "checkJson": [
-                            {
-                                "checkCount": [],
-                                "checkPerent": []
-                            }
-                        ],
-                        "homeworkList": []
-                    }
-                ],
-                "itemCount": 1,
-                "fileList1": [],
-                "video": [],
-                "testData": [],
-                "pData": [],
-                "templateArray": []
-            }
-        ]
+                        "askJson": [{
+                            "askstitle": "",
+                            "askItem": 1,
+                            "checkList": []
+                        }],
+                        "answerQ": "你们从这张身份证上能够得到哪些信息呢?"
+                    }],
+                    "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": "042e6707-ac42-7bcd-1635-ccb9100103de",
-                "title": "",
-                "courseName": "",
-                "taskJson": [
-                    {
-                        "task": "独学—发现信息",
-                        "taskDetail": "<p>观察自己的信息收集表和学习单,独立思考一会,看看你有哪些发现?</p>",
-                        "chapterData": [
-                            {
-                                "name": "信息收集表",
-                                "url": "",
-                                "type": 6
-                            },
-                            {
-                                "name": "学习单",
-                                "url": "",
-                                "type": 6
-                            }
-                        ],
-                        "toolText": "",
-                        "toolChoose": [
-                            {
-                                "tool": [
-                                    7
-                                ],
-                                "toolDetail": "",
-                                "toolType": 1,
-                                "askCount": 1,
-                                "askTitle": "",
-                                "askJson": [
-                                    {
-                                        "askstitle": "",
-                                        "askItem": 1,
-                                        "checkList": []
-                                    }
-                                ]
-                            }
-                        ],
-                        "isShowTools": false,
+        "chapterInfo": [{
+            "isread": false,
+            "chapterid": "042e6707-ac42-7bcd-1635-ccb9100103de",
+            "title": "",
+            "courseName": "",
+            "taskJson": [{
+                    "task": "独学—发现信息",
+                    "taskDetail": "<p>观察自己的信息收集表和学习单,独立思考一会,看看你有哪些发现?</p>",
+                    "chapterData": [{
+                            "name": "信息收集表",
+                            "url": "",
+                            "type": 6
+                        },
+                        {
+                            "name": "学习单",
+                            "url": "",
+                            "type": 6
+                        }
+                    ],
+                    "toolText": "",
+                    "toolChoose": [{
+                        "tool": [
+                            7
+                        ],
+                        "toolDetail": "",
+                        "toolType": 1,
                         "askCount": 1,
-                        "isFold": 0,
                         "askTitle": "",
-                        "askJson": [
-                            {
+                        "askJson": [{
+                            "askstitle": "",
+                            "askItem": 1,
+                            "checkList": []
+                        }]
+                    }],
+                    "isShowTools": false,
+                    "askCount": 1,
+                    "isFold": 0,
+                    "askTitle": "",
+                    "askJson": [{
+                        "askstitle": "",
+                        "askItem": 1,
+                        "checkList": []
+                    }],
+                    "checkJson": [{
+                        "checkCount": [],
+                        "checkPerent": []
+                    }],
+                    "homeworkList": [],
+                    "id": "1-0"
+                },
+                {
+                    "task": "互学—寻找规律",
+                    "taskDetail": "<p>四人为一组,组内一起比对身份证号与前面的文字信息有什么关联,圈出对应的数字,并写下你们组的发现,拍照上传。</p>",
+                    "chapterData": [{
+                        "name": "",
+                        "url": "<p><img src=\"https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/%25E6%25AF%2594%25E5%259C%2588%25E5%2586%25991675952616584.jpg\" style=\"max-width:100%25;\"/><br/></p>",
+                        "type": 6
+                    }],
+                    "toolText": "",
+                    "toolChoose": [{
+                        "tool": [
+                            49
+                        ],
+                        "toolDetail": "",
+                        "toolType": 0,
+                        "askCount": 1,
+                        "askTitle": "",
+                        "askJson": [{
+                            "askstitle": "",
+                            "askItem": 1,
+                            "checkList": []
+                        }],
+                        "groupJson": {
+                            "group": [{
+                                    "name": "Group 1"
+                                },
+                                {
+                                    "name": "Group 2"
+                                },
+                                {
+                                    "name": "Group 3"
+                                },
+                                {
+                                    "name": "Group 4"
+                                },
+                                {
+                                    "name": "Group 5"
+                                },
+                                {
+                                    "name": "Group 6"
+                                },
+                                {
+                                    "name": "Group 7"
+                                },
+                                {
+                                    "name": "Group 8"
+                                },
+                                {
+                                    "name": "Group 9"
+                                },
+                                {
+                                    "name": "Group 10"
+                                },
+                                {
+                                    "name": "Group 11"
+                                }
+                            ],
+                            "number": 4,
+                            "islock": 2
+                        }
+                    }],
+                    "isShowTools": false,
+                    "askCount": 1,
+                    "isFold": 0,
+                    "askTitle": "",
+                    "askJson": [{
+                        "askstitle": "",
+                        "askItem": 1,
+                        "checkList": []
+                    }],
+                    "checkJson": [{
+                        "checkCount": [],
+                        "checkPerent": []
+                    }],
+                    "homeworkList": [],
+                    "id": "1-1"
+                },
+                {
+                    "task": "共学—提炼点拨",
+                    "taskDetail": "<p>1、小组上台汇报分享。</p><p>2、观看微课视频,了解顺序码和校验码。</p><p>3、教师小结。</p><p><br/></p>",
+                    "chapterData": [{
+                            "name": "",
+                            "url": "<p><img src=\"https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/%E5%AD%A6%E4%B9%A0%E5%8D%951675954207792.png\" style=\"max-width:100%;\"/><br/></p>",
+                            "type": 6
+                        },
+                        {
+                            "name": "",
+                            "url": "<p><img src=\"https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/%E6%B1%87%E6%8A%A5%E5%B0%8F%E7%BB%9311675954226240.jpg\" style=\"max-width:100%;\"/><br/></p>",
+                            "type": 6
+                        },
+                        {
+                            "name": "了解顺序码和校验码.mp4",
+                            "url": "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/%E4%BA%86%E8%A7%A3%E9%A1%BA%E5%BA%8F%E7%A0%81%E5%92%8C%E6%A0%A1%E9%AA%8C%E7%A0%811675954315920.mp4",
+                            "type": 2
+                        },
+                        {
+                            "name": "教师小结,介绍三性.pptx",
+                            "url": "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/%E6%95%99%E5%B8%88%E5%B0%8F%E7%BB%93%EF%BC%8C%E4%BB%8B%E7%BB%8D%E4%B8%89%E6%80%A71675955255658.pptx",
+                            "type": 3
+                        }
+                    ],
+                    "toolText": "",
+                    "toolChoose": [{
+                            "tool": [
+                                10
+                            ],
+                            "toolDetail": "",
+                            "toolType": 0,
+                            "askCount": 1,
+                            "askTitle": "",
+                            "askJson": [{
                                 "askstitle": "",
                                 "askItem": 1,
                                 "checkList": []
-                            }
-                        ],
-                        "checkJson": [
-                            {
-                                "checkCount": [],
-                                "checkPerent": []
-                            }
-                        ],
-                        "homeworkList": [],
-                        "id": "1-0"
-                    },
-                    {
-                        "task": "互学—寻找规律",
-                        "taskDetail": "<p>四人为一组,组内一起比对身份证号与前面的文字信息有什么关联,圈出对应的数字,并写下你们组的发现,拍照上传。</p>",
-                        "chapterData": [
-                            {
-                                "name": "",
-                                "url": "<p><img src=\"https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/%25E6%25AF%2594%25E5%259C%2588%25E5%2586%25991675952616584.jpg\" style=\"max-width:100%25;\"/><br/></p>",
-                                "type": 6
-                            }
-                        ],
-                        "toolText": "",
-                        "toolChoose": [
-                            {
-                                "tool": [
-                                    49
-                                ],
-                                "toolDetail": "",
-                                "toolType": 0,
-                                "askCount": 1,
-                                "askTitle": "",
-                                "askJson": [
-                                    {
-                                        "askstitle": "",
-                                        "askItem": 1,
-                                        "checkList": []
-                                    }
-                                ],
-                                "groupJson": {
-                                    "group": [
-                                        {
-                                            "name": "第1组"
-                                        },
-                                        {
-                                            "name": "第2组"
-                                        },
-                                        {
-                                            "name": "第3组"
-                                        },
-                                        {
-                                            "name": "第4组"
-                                        },
-                                        {
-                                            "name": "第5组"
-                                        },
-                                        {
-                                            "name": "第6组"
-                                        },
-                                        {
-                                            "name": "第7组"
-                                        },
-                                        {
-                                            "name": "第8组"
-                                        },
-                                        {
-                                            "name": "第9组"
-                                        },
-                                        {
-                                            "name": "第10组"
-                                        },
-                                        {
-                                            "name": "第11组"
-                                        }
+                            }]
+                        },
+                        {
+                            "tool": [
+                                45
+                            ],
+                            "toolDetail": "",
+                            "toolType": 2,
+                            "askCount": 1,
+                            "askTitle": "",
+                            "askJson": [{
+                                "askstitle": "",
+                                "askItem": 1,
+                                "checkList": []
+                            }],
+                            "testJson": {
+                                "testCount": 1,
+                                "testTitle": "",
+                                "testJson": [{
+                                    "teststitle": "身份证号码的前6位表示什么含义?",
+                                    "testItem": 2,
+                                    "checkList": [
+                                        "地区代码",
+                                        "出生年月日"
                                     ],
-                                    "number": 4,
-                                    "islock": 2
-                                }
-                            }
-                        ],
-                        "isShowTools": false,
-                        "askCount": 1,
-                        "isFold": 0,
-                        "askTitle": "",
-                        "askJson": [
-                            {
+                                    "answer": 0,
+                                    "type": "1"
+                                }]
+                            }
+                        },
+                        {
+                            "tool": [
+                                47
+                            ],
+                            "toolDetail": "按照身份证编码的顺序把打乱的身份证号码还原成正确的形式。",
+                            "toolType": 2,
+                            "askCount": 1,
+                            "askTitle": "",
+                            "askJson": [{
                                 "askstitle": "",
                                 "askItem": 1,
                                 "checkList": []
-                            }
-                        ],
-                        "checkJson": [
-                            {
-                                "checkCount": [],
-                                "checkPerent": []
-                            }
-                        ],
-                        "homeworkList": [],
-                        "id": "1-1"
-                    },
-                    {
-                        "task": "共学—提炼点拨",
-                        "taskDetail": "<p>1、小组上台汇报分享。</p><p>2、观看微课视频,了解顺序码和校验码。</p><p>3、教师小结。</p><p><br/></p>",
-                        "chapterData": [
-                            {
-                                "name": "",
-                                "url": "<p><img src=\"https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/%E5%AD%A6%E4%B9%A0%E5%8D%951675954207792.png\" style=\"max-width:100%;\"/><br/></p>",
-                                "type": 6
-                            },
-                            {
-                                "name": "",
-                                "url": "<p><img src=\"https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/%E6%B1%87%E6%8A%A5%E5%B0%8F%E7%BB%9311675954226240.jpg\" style=\"max-width:100%;\"/><br/></p>",
-                                "type": 6
-                            },
-                            {
-                                "name": "了解顺序码和校验码.mp4",
-                                "url": "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/%E4%BA%86%E8%A7%A3%E9%A1%BA%E5%BA%8F%E7%A0%81%E5%92%8C%E6%A0%A1%E9%AA%8C%E7%A0%811675954315920.mp4",
-                                "type": 2
-                            },
-                            {
-                                "name": "教师小结,介绍三性.pptx",
-                                "url": "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/%E6%95%99%E5%B8%88%E5%B0%8F%E7%BB%93%EF%BC%8C%E4%BB%8B%E7%BB%8D%E4%B8%89%E6%80%A71675955255658.pptx",
-                                "type": 3
-                            }
-                        ],
-                        "toolText": "",
-                        "toolChoose": [
-                            {
-                                "tool": [
-                                    10
-                                ],
-                                "toolDetail": "",
-                                "toolType": 0,
-                                "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": "身份证号码的前6位表示什么含义?",
-                                            "testItem": 2,
-                                            "checkList": [
-                                                "地区代码",
-                                                "出生年月日"
-                                            ],
-                                            "answer": 0,
-                                            "type": "1"
-                                        }
-                                    ]
-                                }
+                            }],
+                            "testJson": {
+                                "testCount": 1,
+                                "testTitle": "",
+                                "testJson": [{
+                                    "teststitle": "一位同学的身份证号码是44030820130805222X,请问这位同学出生于什么时候?",
+                                    "testItem": 3,
+                                    "checkList": [
+                                        "2011年3月8日",
+                                        "2013年1月13日",
+                                        "2013年8月5日"
+                                    ],
+                                    "answer": [],
+                                    "type": "1"
+                                }]
                             },
-                            {
-                                "tool": [
-                                    47
+                            "sentenceList": [{
+                                "sentenceTitle": "",
+                                "addSentence": [
+                                    "222",
+                                    "X",
+                                    "20130805",
+                                    "440308"
                                 ],
-                                "toolDetail": "按照身份证编码的顺序把打乱的身份证号码还原成正确的形式。",
-                                "toolType": 2,
-                                "askCount": 1,
-                                "askTitle": "",
-                                "askJson": [
-                                    {
-                                        "askstitle": "",
-                                        "askItem": 1,
-                                        "checkList": []
-                                    }
-                                ],
-                                "testJson": {
-                                    "testCount": 1,
-                                    "testTitle": "",
-                                    "testJson": [
-                                        {
-                                            "teststitle": "一位同学的身份证号码是44030820130805222X,请问这位同学出生于什么时候?",
-                                            "testItem": 3,
-                                            "checkList": [
-                                                "2011年3月8日",
-                                                "2013年1月13日",
-                                                "2013年8月5日"
-                                            ],
-                                            "answer": [],
-                                            "type": "1"
-                                        }
-                                    ]
-                                },
-                                "sentenceList": [
-                                    {
-                                        "sentenceTitle": "",
-                                        "addSentence": [
-                                            "222",
-                                            "X",
-                                            "20130805",
-                                            "440308"
-                                        ],
-                                        "rightAnswer": [
-                                            "440308",
-                                            "20130805",
-                                            "222",
-                                            "X"
-                                        ]
-                                    }
+                                "rightAnswer": [
+                                    "440308",
+                                    "20130805",
+                                    "222",
+                                    "X"
                                 ]
-                            },
-                            {
-                                "tool": [
-                                    45
-                                ],
-                                "toolDetail": "",
-                                "toolType": 2,
-                                "askCount": 1,
-                                "askTitle": "",
-                                "askJson": [
-                                    {
-                                        "askstitle": "",
-                                        "askItem": 1,
-                                        "checkList": []
-                                    }
-                                ],
-                                "testJson": {
-                                    "testCount": 1,
-                                    "testTitle": "",
-                                    "testJson": [
-                                        {
-                                            "teststitle": "一位同学的身份证号码是320508201103241188,那么这位同学是女性还是男性呢?",
-                                            "testItem": 2,
-                                            "checkList": [
-                                                "男",
-                                                "女"
-                                            ],
-                                            "answer": 1,
-                                            "type": "1"
-                                        }
-                                    ]
-                                }
-                            },
-                            {
-                                "tool": [
-                                    45
-                                ],
-                                "toolDetail": "",
-                                "toolType": 2,
-                                "askCount": 1,
-                                "askTitle": "",
-                                "askJson": [
-                                    {
-                                        "askstitle": "",
-                                        "askItem": 1,
-                                        "checkList": []
-                                    }
-                                ],
-                                "testJson": {
-                                    "testCount": 1,
-                                    "testTitle": "",
-                                    "testJson": [
-                                        {
-                                            "teststitle": "小红和小兰是一对双胞胎姐妹,那么她们俩的身份证号是一样的吗?",
-                                            "testItem": 2,
-                                            "checkList": [
-                                                "是",
-                                                "否"
-                                            ],
-                                            "answer": 1,
-                                            "type": "1"
-                                        }
-                                    ]
-                                }
-                            }
-                        ],
-                        "isShowTools": false,
-                        "askCount": 1,
-                        "isFold": 0,
-                        "askTitle": "",
-                        "askJson": [
-                            {
+                            }]
+                        },
+                        {
+                            "tool": [
+                                45
+                            ],
+                            "toolDetail": "",
+                            "toolType": 2,
+                            "askCount": 1,
+                            "askTitle": "",
+                            "askJson": [{
                                 "askstitle": "",
                                 "askItem": 1,
                                 "checkList": []
-                            }
-                        ],
-                        "checkJson": [
-                            {
-                                "checkCount": [],
-                                "checkPerent": []
-                            }
-                        ],
-                        "homeworkList": [],
-                        "id": "1-2",
-                        "progress": 100,
-                        "proVisible": false
-                    },
-                    {
-                        "task": "创学—案情推理",
-                        "taskDetail": "<p>1、根据身份证上的信息,排除嫌疑人。</p><p>2、根据银行卡上的信息,确定嫌疑人。</p>",
-                        "chapterData": [
-                            {
-                                "name": "5位嫌疑人的出生年份如上,再结合现场遗留的身份证信息,你有什么发现?",
-                                "url": "<p><img src=\"https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/%E4%BA%94%E4%BD%8D%E5%AB%8C%E7%96%91%E4%BA%BA1675955704074.jpg\" style=\"max-width:100%;\"/><br/></p>",
-                                "type": 6
-                            },
-                            {
-                                "name": "嫌疑人出生于1972年,可以排除掉1号和4号,还剩下2号、3号和5号。 究竟是三个人中的哪一个人呢?我们已经了解到三位嫌疑人分别持有甲、乙两个银行的银行卡,银行的相关资料显示甲乙两家银行的发卡银行标识代码如表格所示。现在结合这些信息,你们有什么发现呢?",
-                                "url": "<p><img src=\"https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/%E4%B8%89%E4%BD%8D%E5%AB%8C%E7%96%91%E4%BA%BA1675956513506.jpg\" style=\"max-width:100%;\"/><br/></p>",
-                                "type": 6
-                            },
-                            {
-                                "name": "锁定嫌疑人,实施抓捕",
-                                "url": "<p><img src=\"https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/%E9%94%81%E5%AE%9A%E5%AB%8C%E7%96%91%E4%BA%BA1675956711279.jpg\" style=\"max-width:100%;\"/><br/></p>",
-                                "type": 6
-                            },
-                            {
-                                "name": "11-14.pptx",
-                                "url": "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/11-141676345724382.pptx",
-                                "type": 3
-                            }
-                        ],
-                        "toolText": "",
-                        "toolChoose": [
-                            {
-                                "tool": [
-                                    45
-                                ],
-                                "toolDetail": "",
-                                "toolType": 2,
-                                "askCount": 1,
-                                "askTitle": "",
-                                "askJson": [
-                                    {
-                                        "askstitle": "",
-                                        "askItem": 1,
-                                        "checkList": []
-                                    }
-                                ],
-                                "testJson": {
-                                    "testCount": 1,
-                                    "testTitle": "",
-                                    "testJson": [
-                                        {
-                                            "teststitle": "结合图片上的信息,你认为谁最有可能是犯罪嫌疑人呢?",
-                                            "testItem": 4,
-                                            "checkList": [
-                                                "2号和3号",
-                                                "2号、3号和5号",
-                                                "1号和4号",
-                                                "1号、2号和4号"
-                                            ],
-                                            "answer": [
-                                                1
-                                            ],
-                                            "type": "2"
-                                        }
-                                    ]
-                                }
-                            },
-                            {
-                                "tool": [
-                                    45
-                                ],
-                                "toolDetail": "",
-                                "toolType": 2,
-                                "askCount": 1,
-                                "askTitle": "",
-                                "askJson": [
-                                    {
-                                        "askstitle": "",
-                                        "askItem": 1,
-                                        "checkList": []
-                                    }
-                                ],
-                                "testJson": {
-                                    "testCount": 1,
-                                    "testTitle": "",
-                                    "testJson": [
-                                        {
-                                            "teststitle": "结合以上的信息,你认为几号是嫌疑人?",
-                                            "testItem": 3,
-                                            "checkList": [
-                                                "2号",
-                                                "3号",
-                                                "5号"
-                                            ],
-                                            "answer": 2,
-                                            "type": "1"
-                                        }
-                                    ]
-                                }
-                            }
-                        ],
-                        "isShowTools": false,
-                        "askCount": 1,
-                        "isFold": 0,
-                        "askTitle": "",
-                        "askJson": [
-                            {
+                            }],
+                            "testJson": {
+                                "testCount": 1,
+                                "testTitle": "",
+                                "testJson": [{
+                                    "teststitle": "一位同学的身份证号码是320508201103241188,那么这位同学是女性还是男性呢?",
+                                    "testItem": 2,
+                                    "checkList": [
+                                        "男",
+                                        "女"
+                                    ],
+                                    "answer": 1,
+                                    "type": "1"
+                                }]
+                            }
+                        },
+                        {
+                            "tool": [
+                                45
+                            ],
+                            "toolDetail": "",
+                            "toolType": 2,
+                            "askCount": 1,
+                            "askTitle": "",
+                            "askJson": [{
                                 "askstitle": "",
                                 "askItem": 1,
                                 "checkList": []
-                            }
-                        ],
-                        "checkJson": [
-                            {
-                                "checkCount": [],
-                                "checkPerent": []
-                            }
-                        ],
-                        "homeworkList": [],
-                        "id": "1-3",
-                        "progress": 100,
-                        "proVisible": false
-                    }
-                ],
-                "itemCount": 1,
-                "fileList1": [],
-                "video": [],
-                "testData": [],
-                "pData": [],
-                "templateArray": []
-            }
-        ]
+                            }],
+                            "testJson": {
+                                "testCount": 1,
+                                "testTitle": "",
+                                "testJson": [{
+                                    "teststitle": "小红和小兰是一对双胞胎姐妹,那么她们俩的身份证号是一样的吗?",
+                                    "testItem": 2,
+                                    "checkList": [
+                                        "是",
+                                        "否"
+                                    ],
+                                    "answer": 1,
+                                    "type": "1"
+                                }]
+                            }
+                        }
+                    ],
+                    "isShowTools": false,
+                    "askCount": 1,
+                    "isFold": 0,
+                    "askTitle": "",
+                    "askJson": [{
+                        "askstitle": "",
+                        "askItem": 1,
+                        "checkList": []
+                    }],
+                    "checkJson": [{
+                        "checkCount": [],
+                        "checkPerent": []
+                    }],
+                    "homeworkList": [],
+                    "id": "1-2",
+                    "progress": 100,
+                    "proVisible": false
+                },
+                {
+                    "task": "创学—案情推理",
+                    "taskDetail": "<p>1、根据身份证上的信息,排除嫌疑人。</p><p>2、根据银行卡上的信息,确定嫌疑人。</p>",
+                    "chapterData": [{
+                            "name": "5位嫌疑人的出生年份如上,再结合现场遗留的身份证信息,你有什么发现?",
+                            "url": "<p><img src=\"https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/%E4%BA%94%E4%BD%8D%E5%AB%8C%E7%96%91%E4%BA%BA1675955704074.jpg\" style=\"max-width:100%;\"/><br/></p>",
+                            "type": 6
+                        },
+                        {
+                            "name": "嫌疑人出生于1972年,可以排除掉1号和4号,还剩下2号、3号和5号。 究竟是三个人中的哪一个人呢?我们已经了解到三位嫌疑人分别持有甲、乙两个银行的银行卡,银行的相关资料显示甲乙两家银行的发卡银行标识代码如表格所示。现在结合这些信息,你们有什么发现呢?",
+                            "url": "<p><img src=\"https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/%E4%B8%89%E4%BD%8D%E5%AB%8C%E7%96%91%E4%BA%BA1675956513506.jpg\" style=\"max-width:100%;\"/><br/></p>",
+                            "type": 6
+                        },
+                        {
+                            "name": "锁定嫌疑人,实施抓捕",
+                            "url": "<p><img src=\"https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/%E9%94%81%E5%AE%9A%E5%AB%8C%E7%96%91%E4%BA%BA1675956711279.jpg\" style=\"max-width:100%;\"/><br/></p>",
+                            "type": 6
+                        },
+                        {
+                            "name": "11-14.pptx",
+                            "url": "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/11-141676345724382.pptx",
+                            "type": 3
+                        }
+                    ],
+                    "toolText": "",
+                    "toolChoose": [{
+                            "tool": [
+                                45
+                            ],
+                            "toolDetail": "",
+                            "toolType": 2,
+                            "askCount": 1,
+                            "askTitle": "",
+                            "askJson": [{
+                                "askstitle": "",
+                                "askItem": 1,
+                                "checkList": []
+                            }],
+                            "testJson": {
+                                "testCount": 1,
+                                "testTitle": "",
+                                "testJson": [{
+                                    "teststitle": "结合图片上的信息,你认为谁最有可能是犯罪嫌疑人呢?",
+                                    "testItem": 4,
+                                    "checkList": [
+                                        "2号和3号",
+                                        "2号、3号和5号",
+                                        "1号和4号",
+                                        "1号、2号和4号"
+                                    ],
+                                    "answer": [
+                                        1
+                                    ],
+                                    "type": "2"
+                                }]
+                            }
+                        },
+                        {
+                            "tool": [
+                                45
+                            ],
+                            "toolDetail": "",
+                            "toolType": 2,
+                            "askCount": 1,
+                            "askTitle": "",
+                            "askJson": [{
+                                "askstitle": "",
+                                "askItem": 1,
+                                "checkList": []
+                            }],
+                            "testJson": {
+                                "testCount": 1,
+                                "testTitle": "",
+                                "testJson": [{
+                                    "teststitle": "结合以上的信息,你认为几号是嫌疑人?",
+                                    "testItem": 3,
+                                    "checkList": [
+                                        "2号",
+                                        "3号",
+                                        "5号"
+                                    ],
+                                    "answer": 2,
+                                    "type": "1"
+                                }]
+                            }
+                        }
+                    ],
+                    "isShowTools": false,
+                    "askCount": 1,
+                    "isFold": 0,
+                    "askTitle": "",
+                    "askJson": [{
+                        "askstitle": "",
+                        "askItem": 1,
+                        "checkList": []
+                    }],
+                    "checkJson": [{
+                        "checkCount": [],
+                        "checkPerent": []
+                    }],
+                    "homeworkList": [],
+                    "id": "1-3",
+                    "progress": 100,
+                    "proVisible": false
+                }
+            ],
+            "itemCount": 1,
+            "fileList1": [],
+            "video": [],
+            "testData": [],
+            "pData": [],
+            "templateArray": []
+        }]
     },
     {
         "dyName": "创意编码",
-        "chapterInfo": [
-            {
-                "isread": false,
-                "chapterid": "67c01ad8-0759-56ac-5fc8-684723d99c9b",
-                "title": "",
-                "courseName": "",
-                "taskJson": [
-                    {
-                        "task": "生活中的编码",
-                        "taskDetail": "<p>随着科技的发展,我们的生活已经步入到数字时代,数字编码不仅应用于数学领域,我们一起来看看生活当中还有哪些有关编码的例子吧。</p>",
-                        "chapterData": [
-                            {
-                                "name": "生活中的编码.mp4",
-                                "url": "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/%E7%94%9F%E6%B4%BB%E4%B8%AD%E7%9A%84%E7%BC%96%E7%A0%811675956860476.mp4",
-                                "type": 2
-                            }
-                        ],
-                        "toolText": "",
-                        "toolChoose": [
-                            {
-                                "tool": [],
-                                "toolDetail": "",
-                                "toolType": 5,
-                                "askCount": 1,
-                                "askTitle": "",
-                                "askJson": [
-                                    {
-                                        "askstitle": "",
-                                        "askItem": 1,
-                                        "checkList": []
-                                    }
-                                ]
-                            }
-                        ],
-                        "isShowTools": false,
+        "chapterInfo": [{
+            "isread": false,
+            "chapterid": "67c01ad8-0759-56ac-5fc8-684723d99c9b",
+            "title": "",
+            "courseName": "",
+            "taskJson": [{
+                    "task": "生活中的编码",
+                    "taskDetail": "<p>随着科技的发展,我们的生活已经步入到数字时代,数字编码不仅应用于数学领域,我们一起来看看生活当中还有哪些有关编码的例子吧。</p>",
+                    "chapterData": [{
+                        "name": "生活中的编码.mp4",
+                        "url": "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/%E7%94%9F%E6%B4%BB%E4%B8%AD%E7%9A%84%E7%BC%96%E7%A0%811675956860476.mp4",
+                        "type": 2
+                    }],
+                    "toolText": "",
+                    "toolChoose": [{
+                        "tool": [],
+                        "toolDetail": "",
+                        "toolType": 5,
                         "askCount": 1,
-                        "isFold": 0,
                         "askTitle": "",
-                        "askJson": [
-                            {
+                        "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>1、我写你猜</p><p>2、对照着密码纸,看看这串编码表示什么意思呢?</p>",
+                    "chapterData": [{
+                            "name": "猜猜黑板上的数字是表示什么意思?",
+                            "url": "<p><img src=\"https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/%E6%88%91%E5%86%99%E4%BD%A0%E7%8C%9C1675957280565.png\" style=\"max-width:100%;\"/><br/></p>",
+                            "type": 6
+                        },
+                        {
+                            "name": "破译编码 3.0.pptx",
+                            "url": "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/%E7%A0%B4%E8%AF%91%E7%BC%96%E7%A0%81%2031675959103041.pptx",
+                            "type": 3
+                        }
+                    ],
+                    "toolText": "",
+                    "toolChoose": [{
+                            "tool": [
+                                45
+                            ],
+                            "toolDetail": "",
+                            "toolType": 2,
+                            "askCount": 1,
+                            "askTitle": "",
+                            "askJson": [{
                                 "askstitle": "",
                                 "askItem": 1,
                                 "checkList": []
-                            }
-                        ],
-                        "checkJson": [
-                            {
-                                "checkCount": [],
-                                "checkPerent": []
-                            }
-                        ],
-                        "homeworkList": [],
-                        "progress": 100,
-                        "proVisible": false
-                    },
-                    {
-                        "task": "游戏中的编码",
-                        "taskDetail": "<p>1、我写你猜</p><p>2、对照着密码纸,看看这串编码表示什么意思呢?</p>",
-                        "chapterData": [
-                            {
-                                "name": "猜猜黑板上的数字是表示什么意思?",
-                                "url": "<p><img src=\"https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/%E6%88%91%E5%86%99%E4%BD%A0%E7%8C%9C1675957280565.png\" style=\"max-width:100%;\"/><br/></p>",
-                                "type": 6
-                            },
-                            {
-                                "name": "破译编码 3.0.pptx",
-                                "url": "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/%E7%A0%B4%E8%AF%91%E7%BC%96%E7%A0%81%2031675959103041.pptx",
-                                "type": 3
-                            }
-                        ],
-                        "toolText": "",
-                        "toolChoose": [
-                            {
-                                "tool": [
-                                    45
-                                ],
-                                "toolDetail": "",
-                                "toolType": 2,
-                                "askCount": 1,
-                                "askTitle": "",
-                                "askJson": [
-                                    {
-                                        "askstitle": "",
-                                        "askItem": 1,
-                                        "checkList": []
-                                    }
-                                ],
-                                "testJson": {
-                                    "testCount": 1,
-                                    "testTitle": "",
-                                    "testJson": [
-                                        {
-                                            "teststitle": "猜猜在这里的520想表达和传递什么信息呢?",
-                                            "testItem": 2,
-                                            "checkList": [
-                                                "我爱你",
-                                                "五百二十"
-                                            ],
-                                            "answer": 0,
-                                            "type": "1"
-                                        }
-                                    ]
-                                }
-                            },
-                            {
-                                "tool": [
-                                    45
-                                ],
-                                "toolDetail": "",
-                                "toolType": 2,
-                                "askCount": 1,
-                                "askTitle": "",
-                                "askJson": [
-                                    {
-                                        "askstitle": "",
-                                        "askItem": 1,
-                                        "checkList": []
-                                    }
-                                ],
-                                "testJson": {
-                                    "testCount": 1,
-                                    "testTitle": "",
-                                    "testJson": [
-                                        {
-                                            "teststitle": "猜猜这里的1314想表达和传递什么信息呢?",
-                                            "testItem": 2,
-                                            "checkList": [
-                                                "一千三百一十四",
-                                                "一生一世"
-                                            ],
-                                            "answer": 1,
-                                            "type": "1"
-                                        }
-                                    ]
-                                }
-                            }
-                        ],
-                        "isShowTools": false,
-                        "askCount": 1,
-                        "isFold": 0,
-                        "askTitle": "",
-                        "askJson": [
-                            {
+                            }],
+                            "testJson": {
+                                "testCount": 1,
+                                "testTitle": "",
+                                "testJson": [{
+                                    "teststitle": "猜猜在这里的520想表达和传递什么信息呢?",
+                                    "testItem": 2,
+                                    "checkList": [
+                                        "我爱你",
+                                        "五百二十"
+                                    ],
+                                    "answer": 0,
+                                    "type": "1"
+                                }]
+                            }
+                        },
+                        {
+                            "tool": [
+                                45
+                            ],
+                            "toolDetail": "",
+                            "toolType": 2,
+                            "askCount": 1,
+                            "askTitle": "",
+                            "askJson": [{
                                 "askstitle": "",
                                 "askItem": 1,
                                 "checkList": []
-                            }
-                        ],
-                        "checkJson": [
-                            {
-                                "checkCount": [],
-                                "checkPerent": []
-                            }
-                        ],
-                        "homeworkList": [],
-                        "progress": 100,
-                        "proVisible": false
-                    }
-                ],
-                "itemCount": 1,
-                "fileList1": [],
-                "video": [],
-                "testData": [],
-                "pData": [],
-                "templateArray": []
-            }
-        ]
+                            }],
+                            "testJson": {
+                                "testCount": 1,
+                                "testTitle": "",
+                                "testJson": [{
+                                    "teststitle": "猜猜这里的1314想表达和传递什么信息呢?",
+                                    "testItem": 2,
+                                    "checkList": [
+                                        "一千三百一十四",
+                                        "一生一世"
+                                    ],
+                                    "answer": 1,
+                                    "type": "1"
+                                }]
+                            }
+                        }
+                    ],
+                    "isShowTools": false,
+                    "askCount": 1,
+                    "isFold": 0,
+                    "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": "bc1c47cd-f39e-1344-ed04-bea8e1604d5a",
-                "title": "",
-                "courseName": "",
-                "taskJson": [
-                    {
-                        "task": "回顾与反思",
-                        "taskDetail": "<p>1、回顾本节课的知识,说一说你的收获?<br/>2、想一想本节课中,你遇到了哪些困难,是如何解决的?</p>",
-                        "chapterData": [],
-                        "toolText": "",
-                        "toolChoose": [
-                            {
-                                "tool": [],
-                                "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": []
-            }
-        ]
+        "chapterInfo": [{
+            "isread": false,
+            "chapterid": "bc1c47cd-f39e-1344-ed04-bea8e1604d5a",
+            "title": "",
+            "courseName": "",
+            "taskJson": [{
+                "task": "回顾与反思",
+                "taskDetail": "<p>1、回顾本节课的知识,说一说你的收获?<br/>2、想一想本节课中,你遇到了哪些困难,是如何解决的?</p>",
+                "chapterData": [],
+                "toolText": "",
+                "toolChoose": [{
+                    "tool": [],
+                    "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": []
+        }]
     }
 ]

+ 4 - 4
src/components/components/answerData.vue

@@ -1,8 +1,8 @@
 <template>
   <div class="data_body" v-resize="resize">
     <div class="title">
-      <span>答对数量</span>
-      <el-button type="primary" @click="getA()">查看学生</el-button>
+      <span>Statistics of correct answers</span>
+      <el-button type="primary" @click="getA()">Details</el-button>
     </div>
     <div style="width: 100%; height: 400px">
       <!-- <img src="../../assets/dataimage/1.png" style="width:90%" /> -->
@@ -13,7 +13,7 @@
       ></div>
     </div>
     <el-dialog
-      title="查看"
+      title="Details"
       :visible.sync="dialogVisible"
       :append-to-body="true"
       width="900px"
@@ -40,7 +40,7 @@
       </div>
       <span slot="footer" class="dialog-footer">
         <el-button @click="dialogVisible = false"
-          >关 闭</el-button
+          >Close</el-button
         >
       </span>
     </el-dialog>

+ 6 - 6
src/components/components/answerData2.vue

@@ -1,8 +1,8 @@
 <template>
   <div class="data_body" v-resize="resize">
     <div class="title">
-      <span>答对数量</span>
-      <el-button type="primary" @click="getA()">查看学生</el-button>
+      <span>Statistics of correct answers</span>
+      <el-button type="primary" @click="getA()">Details</el-button>
     </div>
     <div style="width: 100%; height: 400px">
       <!-- <img src="../../assets/dataimage/1.png" style="width:90%" /> -->
@@ -13,17 +13,17 @@
         <span>答题人数<span>{{ people.length + "人" }}</span></span>
       </div>
       <div class="correct">
-        <span>全部答对人数为<span>{{
+        <span>All correct<span>{{
         count+'人'
         }}</span></span>
       </div>
       <div class="correct">
-        <span>正确率为<span>{{
+        <span>Accuracy rate<span>{{
         people.length > 0 ? countA(count,people) : 0
         }}</span></span>
       </div>
     </div>
-    <el-dialog title="查看" :visible.sync="dialogVisible" :append-to-body="true" width="900px" :before-close="handleClose"
+    <el-dialog title="Details" :visible.sync="dialogVisible" :append-to-body="true" width="900px" :before-close="handleClose"
       class="dialog_diy">
       <div>
         <div v-for="(item, index) in timu" :key="index" class="borderB">
@@ -39,7 +39,7 @@
         </div>
       </div>
       <span slot="footer" class="dialog-footer">
-        <el-button @click="dialogVisible = false">关 闭</el-button>
+        <el-button @click="dialogVisible = false">Close</el-button>
       </span>
     </el-dialog>
   </div>

+ 6 - 6
src/components/components/askStatic.vue

@@ -41,13 +41,13 @@
           <el-button
             type="primary"
             @click="getA(checkJson[index].checkPerson, item.checkList)"
-            >查看学生</el-button
+            >Details</el-button
           >
         </div>
         <div class="a_add_body">
           <div class="a_add_input width100">
             <div class="a_add_persent a_add_persent_div a_add_persent_title">
-              <span>选项</span><span>小计</span><span>比例</span>
+              <span>Options</span><span>Subtotal</span><span>Ratio</span>
             </div>
             <div class="a_add_persent">
               <div
@@ -101,7 +101,7 @@
                 class="a_add_persent_div"
                 v-if="item.answer || item.answer == 0"
               >
-                <span>正确率</span>
+                <span>Accuracy rate</span>
                 <span>{{
                   (checkJson[index].right ? checkJson[index].right : 0) + "%"
                 }}</span>
@@ -113,7 +113,7 @@
       </div>
     </div>
     <el-dialog
-      title="查看"
+      title="Details"
       :visible.sync="dialogVisible"
       :append-to-body="true"
       width="900px"
@@ -125,7 +125,7 @@
           <div v-html="item" class="s_title"></div>
           <div class="stuBox" style="margin-top: 20px; align-items: flex-start">
             <div style="margin: 0 0 10px 0; min-width: 70px; color: #adadad;font-size:16px;">
-              选择同学
+              Student
             </div>
             <div class="stuBox" style="flex-wrap: wrap">
               <span
@@ -140,7 +140,7 @@
       </div>
       <span slot="footer" class="dialog-footer">
         <el-button @click="dialogVisible = false"
-          >关 闭</el-button
+          >Close</el-button
         >
       </span>
     </el-dialog>

+ 7 - 7
src/components/components/askStatic2.vue

@@ -58,13 +58,13 @@
           <el-button
             type="primary"
             @click="getA(checkJson[index].checkPerson, item.checkList)"
-            >查看学生</el-button
+            >Details</el-button
           >
         </div>
         <div class="a_add_body">
           <div class="a_add_input width100">
             <div class="a_add_persent a_add_persent_div a_add_persent_title">
-              <span>选项</span><span>小计</span><span>比例</span>
+              <span>Options</span><span>Subtotal</span><span>Ratio</span>
             </div>
             <div class="a_add_persent">
               <div
@@ -88,7 +88,7 @@
                       item.checkList[checkIndex].imgType == 1
                     "
                   >
-                    <!-- <div>选项{{checkIndex+1}}:</div> -->
+                    <!-- <div>Options{{checkIndex+1}}:</div> -->
                     <div
                       class="inImg"
                       @click.stop="previewImg(item.checkList[checkIndex].src)"
@@ -133,7 +133,7 @@
                 </span>
               </div>
               <div class="a_add_persent_div">
-                <span>正确率</span>
+                <span>Accuracy rate</span>
                 <span>{{
                   (checkJson[index].right ? checkJson[index].right : 0) + "%"
                 }}</span>
@@ -145,7 +145,7 @@
       </div>
     </div>
     <el-dialog
-      title="查看"
+      title="Details"
       :visible.sync="dialogVisible"
       :append-to-body="true"
       width="900px"
@@ -162,7 +162,7 @@
           <div v-else v-html="item" class="s_title"></div>
           <div class="stuBox" style="margin-top: 20px; align-items: flex-start">
             <div style="margin: 0 0 10px 0; min-width: 70px; color: #adadad;font-size:16px;">
-              选择同学
+              Student
             </div>
             <div class="stuBox" style="flex-wrap: wrap">
               <span
@@ -177,7 +177,7 @@
       </div>
       <span slot="footer" class="dialog-footer">
         <el-button @click="dialogVisible = false"
-          >关 闭</el-button
+          >Close</el-button
         >
       </span>
     </el-dialog>

+ 6 - 6
src/components/components/askStatic2GM.vue

@@ -9,12 +9,12 @@
           <div>
             <span>{{ index + 1 + "、" + item.teststitle }}</span>
           </div>
-          <el-button class="btnClassGM" type="primary" @click="getA(checkJson[index].checkPerson, item.checkList)">查看学生</el-button>
+          <el-button class="btnClassGM" type="primary" @click="getA(checkJson[index].checkPerson, item.checkList)">Details</el-button>
         </div>
         <div class="a_add_body">
           <div class="a_add_input width100">
             <div class="a_add_persent a_add_persent_div a_add_persent_title">
-              <span>选项</span><span>小计</span><span>比例</span>
+              <span>Options</span><span>Subtotal</span><span>Ratio</span>
             </div>
             <div class="a_add_persent">
               <div class="a_add_persent_div" v-for="(item1, checkIndex) in item.testItem" :key="checkIndex">
@@ -34,7 +34,7 @@
                 </span>
               </div>
               <div class="a_add_persent_div">
-                <span>正确率</span>
+                <span>Accuracy rate</span>
                 <span>{{
                 (checkJson[index].right
                 ? checkJson[index].right
@@ -48,14 +48,14 @@
         </div>
       </div>
     </div>
-    <el-dialog title="查看" :visible.sync="dialogVisible" :append-to-body="true" width="900px" :before-close="handleClose"
+    <el-dialog title="Details" :visible.sync="dialogVisible" :append-to-body="true" width="900px" :before-close="handleClose"
       class="dialog_diy">
       <div>
         <div v-for="(item, index) in timu" :key="index" class="borderB">
           <div v-html="item" class="s_title"></div>
           <div class="stuBox" style="margin-top: 20px;align-items: flex-start;">
             <div style="margin: 0 0 10px 0; min-width: 70px; color: #adadad">
-              选择同学
+              Student
             </div>
             <div class="stuBox" style="flex-wrap: wrap">
               <span class="studentClass" v-for="(pe, pi) in person[index]" :key="index + '-' + pi">{{ pe }}</span>
@@ -64,7 +64,7 @@
         </div>
       </div>
       <span slot="footer" class="dialog-footer">
-        <el-button type="primary" @click="dialogVisible = false" class="btnClassGM">关 闭</el-button>
+        <el-button type="primary" @click="dialogVisible = false" class="btnClassGM">Close</el-button>
       </span>
     </el-dialog>
   </div>

+ 6 - 6
src/components/components/askStaticGM.vue

@@ -9,12 +9,12 @@
           <div>
             <span>{{ index + 1 + "、" + item.askstitle }}</span>
           </div>
-          <el-button class="btnClassGM" type="primary" @click="getA(checkJson[index].checkPerson, item.checkList)">查看学生</el-button>
+          <el-button class="btnClassGM" type="primary" @click="getA(checkJson[index].checkPerson, item.checkList)">Details</el-button>
         </div>
         <div class="a_add_body">
           <div class="a_add_input width100">
             <div class="a_add_persent a_add_persent_div a_add_persent_title">
-              <span>选项</span><span>小计</span><span>比例</span>
+              <span>Options</span><span>Subtotal</span><span>Ratio</span>
             </div>
             <div class="a_add_persent">
               <div class="a_add_persent_div" v-for="(item1, checkIndex) in item.askItem" :key="checkIndex">
@@ -35,7 +35,7 @@
               </div>
               <div class="a_add_persent_div"
                 v-if=" item.answer || item.answer == 0">
-                <span>正确率</span>
+                <span>Accuracy rate</span>
                 <span>{{
                 (checkJson[index].right
                 ? checkJson[index].right
@@ -49,14 +49,14 @@
         </div>
       </div>
     </div>
-    <el-dialog title="查看" :visible.sync="dialogVisible" :append-to-body="true" width="900px" :before-close="handleClose"
+    <el-dialog title="Details" :visible.sync="dialogVisible" :append-to-body="true" width="900px" :before-close="handleClose"
       class="dialog_diy">
       <div>
         <div v-for="(item, index) in timu" :key="index" class="borderB">
           <div v-html="item" class="s_title"></div>
           <div class="stuBox" style="margin-top: 20px;align-items: flex-start;">
             <div style="margin: 0 0 10px 0; min-width: 70px; color: #adadad">
-              选择同学
+              Student
             </div>
             <div class="stuBox" style="flex-wrap: wrap">
               <span class="studentClass" v-for="(pe, pi) in person[index]" :key="index + '-' + pi">{{ pe }}</span>
@@ -65,7 +65,7 @@
         </div>
       </div>
       <span slot="footer" class="dialog-footer">
-        <el-button class="btnClassGM" type="primary" @click="dialogVisible = false">关 闭</el-button>
+        <el-button class="btnClassGM" type="primary" @click="dialogVisible = false">Close</el-button>
       </span>
     </el-dialog>
   </div>

+ 3 - 3
src/components/components/audio.vue

@@ -3,12 +3,12 @@
     <div>
       <el-button type="primary" :style="{ 'background': isRecord ? '#ee5255' : '', 'borderColor': isRecord ? '#ee5255' : '' }"
         @click="startRecorder()">{{
-        !isRecord ? "开始录音" : "结束录音"
+        !isRecord ? "Start" : "End"
         }}</el-button>
       <el-button type="primary" :style="{ 'background': isPlayerRecord ? '#ee5255' : '', 'borderColor': isPlayerRecord ? '#ee5255' : '' }" @click="playRecorder()">{{
-      !isPlayerRecord ? "录音播放" : "停止播放"
+      !isPlayerRecord ? "Play" : "Stop"
       }}</el-button>
-      <el-button type="primary" @click="getMp3Data()">上传录音</el-button>
+      <el-button type="primary" @click="getMp3Data()">Upload</el-button>
 
       <!-- <div style="margin: 10px auto 0; display: flex; align-items: center" v-if="LuAudioUrl">
         <span>已上传录音:</span>

+ 4 - 4
src/components/components/data/toolsData.vue

@@ -74,13 +74,13 @@ export default {
       this.tools.forEach((item, index) => {
         // 1电子白板 2便签 3思维导图 4问卷调查 5量规评分 6协同文档
         if (item == 1) {
-          this.ooption.xdata.push("电子白板");
+          this.ooption.xdata.push("Whiteboard");
         } else if (item == 2) {
           this.ooption.xdata.push("便签");
         } else if (item == 3) {
           this.ooption.xdata.push("思维导图");
         } else if (item == 4) {
-          this.ooption.xdata.push("问卷调查");
+          this.ooption.xdata.push("Questionnaire survey/Survey");
         } else if (item == 5) {
           this.ooption.xdata.push("量规评分");
         } else if (item == 6) {
@@ -112,13 +112,13 @@ export default {
     this.tools.forEach((item, index) => {
       // 1电子白板 2便签 3思维导图 4问卷调查 5量规评分 6协同文档
       if (item == 1) {
-        this.ooption.xdata.push("电子白板");
+        this.ooption.xdata.push("Whiteboard");
       } else if (item == 2) {
         this.ooption.xdata.push("便签");
       } else if (item == 3) {
         this.ooption.xdata.push("思维导图");
       } else if (item == 4) {
-        this.ooption.xdata.push("问卷调查");
+        this.ooption.xdata.push("Questionnaire survey/Survey");
       } else if (item == 5) {
         this.ooption.xdata.push("量规评分");
       } else if (item == 6) {

+ 3 - 3
src/components/components/englishEva.vue

@@ -43,7 +43,7 @@
           <div class="oldText">
             <div class="detailBox">
               <div class="oldDetail">
-                <div>标题:</div>
+                <div>Title:</div>
                 <div>{{ evaEngJson.studentJson.engTitle }}</div>
               </div>
               <div class="oldDetail1">
@@ -126,7 +126,7 @@
                 </div>
               </div>
               <div v-else>
-                <div>评分:</div>
+                <div>Score:</div>
                 <div>
                   <el-input
                     v-model="startList.score"
@@ -251,7 +251,7 @@
       class="dialog-footer"
       style="z-index: 999; position: relative"
     >
-      <el-button @click="close()">取 消</el-button>
+      <el-button @click="close()">Cancel</el-button>
       <el-button type="primary" @click="addCode">确 定</el-button>
     </span>
   </el-dialog>

+ 3 - 3
src/components/components/ganChart.vue

@@ -253,7 +253,7 @@ export default {
           let task = unitJson[i].chapterInfo[0].taskJson
           this.tasks.push({
               id: i ,
-              label2: '第' + (i + 1) + '阶段',
+              label2: 'Phrase' + (i + 1),
               label: this.datedifference('', ''),
               start: '',
               end: '',
@@ -269,7 +269,7 @@ export default {
           for (var j = 0; j < task.length; j++) {
             this.tasks.push({
               id: i + '-' + j,
-              label2: '任务' + (j + 1) + '-' + task[j].task,
+              label2: 'Task' + (j + 1) + '-' + task[j].task,
               label: this.datedifference(task[j].time ? task[j].time[0] : '', task[j].time ? task[j].time[1] : ''),
               start: this.getTody(task[j].time ? task[j].time[0] : ''),
               end: this.getTody(task[j].time ? task[j].time[1] : ''),
@@ -338,7 +338,7 @@ export default {
         for (var j = 0; j < task.length; j++) {
           this.tasks.push({
             id: i + '-' + j,
-            label2: '第' + (i + 1) + '阶段-' + '任务' + (j + 1) + '-' + task[j].task,
+            label2: 'Phrase' + (i + 1) + '-' + 'Task' + (j + 1) + '-' + task[j].task,
             label: this.datedifference(task[j].time ? task[j].time[0] : '', task[j].time ? task[j].time[1] : ''),
             start: this.getTody(task[j].time ? task[j].time[0] : ''),
             end: this.getTody(task[j].time ? task[j].time[1] : ''),

+ 4 - 4
src/components/components/onlineWrite.vue

@@ -34,7 +34,7 @@
     <div v-if="type == 1">
       <div class="ftypeBox">
         <div class="ftypeTitle">
-          <div>标题:</div>
+          <div>Title:</div>
           <div>
             <el-input
               v-model="myAnswerList.engTitle"
@@ -77,7 +77,7 @@
       >
         <div class="up_photo2">
           <img src="../../assets/icon/plwork.png" alt />
-          <span>点击上传文件</span>
+          <span>Click to upload</span>
         </div>
         <input
           type="file"
@@ -97,8 +97,8 @@
       </div>
       <div style="text-align: center">如已进行填写,确认后讲清空内容噢。</div>
       <span slot="footer" class="dialog-footer">
-        <el-button @click="uploadDialogVisible = false">取 消</el-button>
-        <el-button type="primary" @click="uploadIsType">确定</el-button>
+        <el-button @click="uploadDialogVisible = false">Cancel</el-button>
+        <el-button type="primary" @click="uploadIsType">Confirm</el-button>
       </span>
     </el-dialog>
   </div>

+ 2 - 2
src/components/components/studentData.vue

@@ -148,7 +148,7 @@ export default {
               { value: 0, name: "讨论交流" },
               { value: 0, name: "与大家分享你的“神兽”" },
               { value: 0, name: "总结其它动物保护自己" },
-              { value: 0, name: "作业提交" },
+              { value: 0, name: "File Upload" },
               { value: 0, name: "拓展思考,讨论交流" },
               { value: 0, name: "提交倡议书" },
               { value: 0, name: "提交学习手册" },
@@ -263,7 +263,7 @@ export default {
           { value: this.randomNum(0, 300), name: "討論交流" },
           { value: this.randomNum(0, 300), name: "與大家分享你的“神獸”" },
           { value: this.randomNum(0, 300), name: "總結其它動物保護自己" },
-          { value: this.randomNum(0, 300), name: "作业提交" },
+          { value: this.randomNum(0, 300), name: "File Upload" },
           { value: this.randomNum(0, 300), name: "拓展思考,討論交流" },
           { value: this.randomNum(0, 300), name: "提交倡議書" },
           { value: this.randomNum(0, 300), name: "提交學習手册" },

+ 3 - 3
src/components/components/voteStatic.vue

@@ -16,7 +16,7 @@
           <!-- <el-button
             type="primary"
             @click="getA(checkJson[index].checkPerson, item.checkList)"
-            >查看</el-button
+            >Details</el-button
           > -->
         </div>
         <div class="a_add_body">
@@ -58,7 +58,7 @@
       </div>
     </div>
     <el-dialog
-      title="查看"
+      title="Details"
       :visible.sync="dialogVisible"
       :append-to-body="true"
       width="900px"
@@ -85,7 +85,7 @@
       </div>
       <span slot="footer" class="dialog-footer">
         <el-button type="primary" @click="dialogVisible = false"
-          >关 闭</el-button
+          >Close</el-button
         >
       </span>
     </el-dialog>

+ 19 - 21
src/components/components/worksDetail2.vue

@@ -98,7 +98,7 @@
           ></el-table-column>
           <el-table-column
             prop="course"
-            label="阶段"
+            label="Phrase"
             min-width="20"
             align="center"
             show-overflow-tooltip
@@ -111,7 +111,7 @@
           </el-table-column>
           <el-table-column
             prop="course"
-            label="任务"
+            label="Task"
             min-width="20"
             align="center"
             show-overflow-tooltip
@@ -128,7 +128,7 @@
           </el-table-column>
           <el-table-column
             prop="time"
-            label="时间"
+            label="Time"
             width="100px"
             align="center"
           ></el-table-column>
@@ -176,7 +176,7 @@
                 <div class="cru_selectBox">
                   <div v-for="(dy, dyIndex) in dyList2" :key="dyIndex">
                     <div class="blue_box_one" @click="isOpen(dyIndex)">
-                      <div>第{{ dy.id + 1 }}阶段</div>
+                      <div>Phrase{{ dy.id + 1 }}</div>
                       <div>{{ dy.name }}</div>
                     </div>
                     <div class="twoChild" :class="{
@@ -195,7 +195,7 @@
                               dy.id + '-' + nav.id == navId &&
                               dy.id == stageIndex,
                           }" style="margin: 0">
-                            任务{{ navIndex + 1 }}
+                            Task{{ navIndex + 1 }}
                           </div>
                           <el-tooltip class="navTaskname item" effect="light" :content="nav.name" placement="top">
                             <div>{{ nav.name }}</div>
@@ -213,15 +213,14 @@
                       <div class="jdName">
                         <div>
                           {{
-                          "" +
+                          "Phrase" +
                           (sin.stage + 1) +
-                          "阶段 " +
                           dyList[sin.stage].name
                           }}
                         </div>
                         <div class="taskName" style="width: 100%; justify-content: space-between">
                           <div class="taskName" :id="sin.stage + '-' + sin.task" :scrollindex="sIndex">
-                            <div class="task">任务{{ sin.task + 1 }}</div>
+                            <div class="task">Task{{ sin.task + 1 }}</div>
                             <div>
                               {{ dyList[sin.stage].taskList[sin.task].name }}
                             </div>
@@ -292,7 +291,7 @@
                               flex-wrap: wrap;
                             ">
                             <div style="margin-right: 20px; font-size: 20px">
-                              标题:
+                              Title:
                             </div>
                             <div style="font-size: 20px">
                               {{ worksDetail[sIndex].askInfo[0].askTitle }}
@@ -308,7 +307,7 @@
                                 <div style="display: flex">
                                   {{ index1 + 1 + "、" }}
                                   <div>
-                                    题目:{{
+                                    Question:{{
                                     worksDetail[sIndex].askInfo[0].askJson[
                                     index1
                                     ].askstitle
@@ -412,10 +411,10 @@
         </div>
       </div>
       <span slot="footer" class="dialog-footer">
-        <el-button @click="dataVisible = false">关 闭</el-button>
+        <el-button @click="dataVisible = false">Close</el-button>
       </span>
     </el-dialog>
-    <el-dialog title="查看选择题" :visible.sync="dialogVisible4" :append-to-body="true" width="800px"
+    <el-dialog title="Choice question" :visible.sync="dialogVisible4" :append-to-body="true" width="800px"
       :before-close="handleClose" class="dialog_diy">
       <div>
         <div class="a_add_title" style="
@@ -432,7 +431,7 @@
             <div class="a_add_head">
               <div style="display: flex">
                 {{ index + 1 + "、" }}
-                <div>题目:{{ item.askstitle }}</div>
+                <div>Question:{{ item.askstitle }}</div>
               </div>
             </div>
             <div class="a_add_body">
@@ -447,7 +446,7 @@
         </div>
       </div>
       <span slot="footer" class="dialog-footer">
-        <el-button type="primary" @click="dialogVisible4 = false">关 闭</el-button>
+        <el-button type="primary" @click="dialogVisible4 = false">Close</el-button>
       </span>
     </el-dialog>
     <el-dialog title="文件预览" :visible.sync="dialogVisible6" width="100%" :before-close="handleClose" class="full_diy"
@@ -1462,14 +1461,13 @@ export default {
           var _course = `<h1>${this.sInfo.course}</h1>`;
           var _title =
             "<h2>" +
-            "" +
+            "Phrase" +
             (this.sInfo.stage + 1) +
-            "阶段 " +
             this.dyList[this.sInfo.stage].name +
             "</h2>";
           var _subtitle =
             "<h3>" +
-            "任务" +
+            "Task" +
             (this.sInfo.task + 1) +
             " " +
             this.dyList[this.sInfo.stage].taskList[this.sInfo.task].name +
@@ -1492,10 +1490,10 @@ export default {
 
           var _ask = "";
           if (workJson.askInfo.length > 0) {
-            var _ask = "<h3>选择题</h3>";
+            var _ask = "<h3>Choice question</h3>";
             for (var i = 0; i < workJson.askInfo.length; i++) {
               var _div = document.createElement("div");
-              _div.innerHTML = `<h4>标题:${workJson.askInfo[i].askTitle}</h4>`;
+              _div.innerHTML = `<h4>Title:${workJson.askInfo[i].askTitle}</h4>`;
               for (var j = 0; j < workJson.askInfo[i].askJson.length; j++) {
                 var _div2 = document.createElement("div");
                 _div2.innerHTML = `<h5>第${j + 1}题:${workJson.askInfo[i].askJson[j].askstitle
@@ -1518,10 +1516,10 @@ export default {
 
           var _answer = "";
           if (workJson.answerInfo.length > 0) {
-            var _answer = "<h3>问答</h3>";
+            var _answer = "<h3>Question</h3>";
             for (var i = 0; i < workJson.answerInfo.length; i++) {
               var _div = document.createElement("div");
-              _div.innerHTML = `<h4>问答:${workJson.answerInfo[i].answerTitle}</h4>`;
+              _div.innerHTML = `<h4>Question:${workJson.answerInfo[i].answerTitle}</h4>`;
               _div.innerHTML += `<div>${workJson.answerInfo[i].answer}</div>`;
               _answer += `<div>${_div.innerHTML}</div>`;
             }

+ 71 - 71
src/components/courseDetail.vue

@@ -26,7 +26,7 @@
             <div class="returnIndexImg">
               <img src="../assets/icon/newIcon/returnIndex.png" alt="" />
             </div>
-            <div>返回</div>
+            <div>Back</div>
             <!-- <img src="../assets/icon/return.png" alt="" /> -->
           </div>
           <div class="box_course">
@@ -47,8 +47,8 @@
             <div class="right_box">
               <div class="rightT">
                 <div class="right_box_title">{{ courseDetail.title }}</div>
-                <div class="jd">{{ chapInfo.length }}阶段</div>
-                <div class="jd">{{ rw }}任务</div>
+                <div class="jd">{{ chapInfo.length }}Phrase</div>
+                <div class="jd">{{ rw }}Tasks</div>
               </div>
               <div class="cType" v-if="courseType.length">
                 <div
@@ -75,14 +75,14 @@
                     font-weight: 400;
                   "
                 >
-                  创建者:<span style="font-weight: bold; color: #0e1e33">{{
+                  Owner:<span style="font-weight: bold; color: #0e1e33">{{
                     courseDetail.username
                   }}</span>
                 </div>
                 <div
                   style="display: flex; align-items: center; margin-left: 32px"
                 >
-                  <div style="color: #717c8d; font-weight: 400">参与人数:</div>
+                  <div style="color: #717c8d; font-weight: 400">Participants:</div>
                   <!-- <div class="man">
                     <img src="../assets/people.png" alt />
                   </div> -->
@@ -100,7 +100,7 @@
                   @click="TnameCheck = !TnameCheck"
                   style="color: #717c8d; font-weight: 400"
                 >
-                  协同成员:<span
+                  Collaborator:<span
                     v-for="(tname, tIndex) in TnameCheck
                       ? Tname
                       : Tname.slice(0, 6)"
@@ -110,7 +110,7 @@
                   ><span
                     style="margin: 0 5px; font-weight: 400; color: #b2b2b2"
                     v-if="!TnameCheck && Tname.length > 6"
-                    >展开</span
+                    >more</span
                   ><span style="margin: 0 5px; font-weight: 400; color: #b2b2b2" v-else-if="TnameCheck && Tname.length > 6">收起</span>
                 </div>
               </div>
@@ -126,7 +126,7 @@
                       @click="gotoCourse('')"
                       style="background: #4a9eed; color: #fff; margin: 0 5px"
                       v-if="classList.length != 1"
-                      >全部</el-button
+                      >All</el-button
                     ><el-button
                       @click="gotoCourse(item.id)"
                       v-for="(item, index) in classList"
@@ -149,7 +149,7 @@
                   <div class="returnIndexImg">
                     <img src="../assets/icon/newIcon/codeIcon.png" alt="" />
                   </div>
-                  <div>生成二维码</div>
+                  <div>QR code</div>
                 </div>
                 <div
                   class="now_study"
@@ -165,7 +165,7 @@
                       courseDetail.course_teacher &&
                       courseDetail.course_teacher.indexOf(userid) == -1
                         ? "加入分组"
-                        : "设置分组"
+                        : "Set group"
                     }}
                   </div>
                 </div>
@@ -173,14 +173,14 @@
                   <div class="returnIndexImg">
                     <img src="../assets/icon/newIcon/CourseInfo.png" alt="" />
                   </div>
-                  <div>导出信息</div>
+                  <div>Export outline</div>
                 </div>
                 <!--  -->
                 <div class="now_study" @click="uploadCourse" v-if="tType != 2">
                   <div class="returnIndexImg">
                     <img src="../assets/icon/newIcon/uploadCourse.png" alt="" />
                   </div>
-                  <div>导出文件</div>
+                  <div>Export file</div>
                 </div>
                 <!-- <div
                   class="now_group"
@@ -197,20 +197,20 @@
                 <div class="returnIndexImg">
                   <img src="../assets/icon/newIcon/people.png" alt="" />
                 </div>
-                <div>立即授课</div>
+                <div>Start</div>
               </div>
             </div>
           </div>
         </div>
         <div class="student_body">
           <div class="sLeft" v-if="courseDetail.brief">
-            <div class="courseT">项目详情</div>
+            <div class="courseT">Course Information</div>
             <div class="courseTd">{{ courseDetail.brief }}</div>
           </div>
           <div :class="courseDetail.brief != '' ? 'rightTd' : 'noBRight'">
             <div v-if="tType == 1 || tType == 4" class="checkBox">
               <span :class="{ active: type == 2 }" @click="type = 2"
-                >阶段选择
+                >Phase
                 <div v-show="false">
                   {{
                     courseDetail.state == 1
@@ -222,7 +222,7 @@
                 </div></span
               >
               <span :class="{ active: type == 1 }" @click="getCTwo"
-                >课程分析</span
+                >Analyse</span
               >
             </div>
             <div
@@ -240,7 +240,7 @@
                 }"
               >
                 <div class="jdAndTask">
-                  <div>第{{ index + 1 }}阶段</div>
+                  <div>{{ index + 1 }}Phase</div>
                   <div
                     v-if="courseDetail.state == 2 || courseDetail.state == 3"
                   >
@@ -251,7 +251,7 @@
                   </div>
                 </div>
                 <div style="font-size: 14px; font-weight: 400; color: 3681FC">
-                  {{ item.chapterInfo[0].taskJson.length }}个任务
+                  {{ item.chapterInfo[0].taskJson.length }}Task
                 </div>
               </div>
 
@@ -282,18 +282,18 @@
             >
               <div class="detail_box">
                 <div class="title">
-                  <span class="toolIcon">工具分析</span>
+                  <span class="toolIcon">Tool analysis</span>
                   <div class="statebox">
                     <div>
-                      <span class="taskIcon">全部阶段:</span
+                      <span class="taskIcon">Phase number:</span
                       ><span>{{ chaptersJson.state.stage }}</span>
                     </div>
                     <div>
-                      <span class="finishIcon">已进行:</span
+                      <span class="finishIcon">Started:</span
                       ><span>{{ chaptersJson.state.finish }}</span>
                     </div>
                     <div>
-                      <span class="learningIcon">未进行:</span
+                      <span class="learningIcon">Not started:</span
                       ><span style="color: #fe9999">{{
                         chaptersJson.state.learing
                       }}</span>
@@ -329,7 +329,7 @@
                               class="titleCss"
                               style="width: 80%; max-width: unset"
                             >
-                              第{{ index + 1 }}阶段 {{ item.name }}
+                              Phase{{ index + 1 }} {{ item.name }}
                             </div>
                           </el-tooltip>
                           <!-- <div
@@ -354,7 +354,7 @@
                           :class="item.array.length > 1 ? 'borderRight' : ''"
                         >
                           <div class="taskName">
-                            <div class="navIndex">任务{{ index2 + 1 }}:</div>
+                            <div class="navIndex">Task{{ index2 + 1 }}:</div>
                             <div>
                               <el-tooltip
                                 class="item"
@@ -386,7 +386,7 @@
                                   src="../assets/icon/secondToolList/whiteBoard.png"
                                   alt
                                 />
-                                <div>电子白板</div>
+                                <div>Whiteboard</div>
                               </div>
                               <div v-if="item3.tool == 3">
                                 <img
@@ -407,7 +407,7 @@
                                   src="../assets/icon/secondToolList/mindNetwork.png"
                                   alt
                                 />
-                                <div>思维网格</div>
+                                <div>Mind grid</div>
                               </div>
                               <div v-if="item3.tool == 8">
                                 <img
@@ -435,14 +435,14 @@
                                   src="../assets/icon/thirdToolList/ask.png"
                                   alt
                                 />
-                                <div>问卷调查</div>
+                                <div>Questionnaire survey/Survey</div>
                               </div>
                               <div v-if="item3.tool == 45">
                                 <img
                                   src="../assets/icon/thirdToolList/choose.png"
                                   alt
                                 />
-                                <div>选择题</div>
+                                <div>Choice question</div>
                               </div>
                               <!-- <div v-if="item3.tool == 5">
                             <img
@@ -457,14 +457,14 @@
                                   src="../assets/icon/thirdToolList/time.png"
                                   alt
                                 />
-                                <div>倒计时</div>
+                                <div>Timer</div>
                               </div>
                               <div v-if="item3.tool == 15">
                                 <img
                                   src="../assets/icon/thirdToolList/answer.png"
                                   alt
                                 />
-                                <div>问答</div>
+                                <div>Question</div>
                               </div>
                               <div v-if="item3.tool == 26">
                                 <img
@@ -485,7 +485,7 @@
                                   src="../assets/icon/thirdToolList/work.png"
                                   alt
                                 />
-                                <div>作业提交</div>
+                                <div>File Upload</div>
                               </div>
                               <div v-if="item3.tool == 21">
                                 <img
@@ -534,7 +534,7 @@
                                   src="../assets/icon/secondToolList/translation.png"
                                   alt
                                 />
-                                <div>翻译</div>
+                                <div>Translator</div>
                               </div>
                               <div v-if="item3.tool == 37">
                                 <img
@@ -562,7 +562,7 @@
                                   src="../assets/icon/thirdToolList/code.png"
                                   alt
                                 />
-                                <div>源码编辑</div>
+                                <div>Kitten Editor</div>
                               </div>
                               <div v-if="item3.tool == 40">
                                 <img
@@ -576,7 +576,7 @@
                                   src="../assets/icon/thirdToolList/select.png"
                                   alt
                                 />
-                                <div>选择匹配</div>
+                                <div>Match</div>
                               </div>
                               <div v-if="item3.tool == 44">
                                 <img
@@ -590,7 +590,7 @@
                                   src="../assets/icon/fourthToolList/conSentences.png"
                                   alt
                                 />
-                                <div>排序</div>
+                                <div>Ordering Question</div>
                               </div>
                               <div v-if="item3.tool == 48">
                                 <img
@@ -604,14 +604,14 @@
                                   src="../assets/icon/fourthToolList/group.png"
                                   alt
                                 />
-                                <div>学生分组</div>
+                                <div>Grouping</div>
                               </div>
                               <div v-if="item3.tool == 50">
                                 <img
                                   src="../assets/icon/thirdToolList/plwork.png"
                                   alt
                                 />
-                                <div>批量上传</div>
+                                <div>Batch upload</div>
                               </div>
                               <div v-if="item3.tool == 57">
                                 <img
@@ -660,21 +660,21 @@
                                   src="../assets/icon/fourthToolList/Wood.png"
                                   alt
                                 />
-                                <div>海龟编程</div>
+                                <div>Turtle Editor</div>
                               </div>
                               <div v-if="item3.tool == 65">
                                 <img
                                   src="../assets/icon/firstToolList/pickPeople.png"
                                   alt
                                 />
-                                <div>挑人</div>
+                                <div>Pick someone</div>
                               </div>
                               <div v-if="item3.tool == 66">
                                 <img
                                   src="../assets/icon/secondToolList/formulaEdi.png"
                                   alt
                                 />
-                                <div>公式编辑</div>
+                                <div>LaTeX</div>
                               </div>
                               <div v-if="item3.tool == 67">
                                 <img
@@ -688,7 +688,7 @@
                                   src="../assets/icon/secondToolList/timeAxis.png"
                                   alt
                                 />
-                                <div>时间轴</div>
+                                <div>Timeline</div>
                               </div>
                               <div v-if="item3.tool == 69">
                                 <img
@@ -717,7 +717,7 @@
                 v-if="Object.keys(chaptersJson.time).length"
               >
                 <div class="title">
-                  <span class="frequencyIcon">活跃频率</span>
+                  <span class="frequencyIcon">Active frequency</span>
                 </div>
                 <div class="box">
                   <div>
@@ -729,7 +729,7 @@
                 </div>
               </div>
               <div class="detail_box">
-                <div class="title"><span class="timeIcon">实施时间</span></div>
+                <div class="title"><span class="timeIcon">Timeline</span></div>
                 <div class="box">
                   <div
                     style="
@@ -781,7 +781,7 @@
                                 : '',
                           }"
                         >
-                          第{{ index + 1 }}阶段 {{ item.name }}
+                          Phase{{ index + 1 }} {{ item.name }}
                         </div>
                         <div
                           class="s_up"
@@ -827,7 +827,7 @@
                               "
                             ></div>
                             <div style="font-size: 20px; font-weight: bold">
-                              任务{{ index2 + 1 }}:{{ item2.name }}
+                              Task{{ index2 + 1 }}:{{ item2.name }}
                             </div>
                           </div>
 
@@ -861,24 +861,24 @@
                                     <div
                                       style="font-size: 16px; font-weight: bold"
                                     >
-                                      步骤{{ index3 + 1 }}:
+                                      Tool{{ index3 + 1 }}:
                                     </div>
-                                    <div v-if="item3.tool == 1">电子白板</div>
+                                    <div v-if="item3.tool == 1">Whiteboard</div>
                                     <div v-if="item3.tool == 3">思维导图</div>
                                     <div v-if="item3.tool == 6">协同文档</div>
-                                    <div v-if="item3.tool == 7">思维网格</div>
+                                    <div v-if="item3.tool == 7">Mind grid</div>
                                     <div v-if="item3.tool == 8">素材库</div>
                                     <div v-if="item3.tool == 17">学习资料</div>
                                     <div v-if="item3.tool == 2">便签</div>
-                                    <div v-if="item3.tool == 4">问卷调查</div>
-                                    <div v-if="item3.tool == 45">选择题</div>
-                                    <div v-if="item3.tool == 10">倒计时</div>
-                                    <div v-if="item3.tool == 15">问答</div>
+                                    <div v-if="item3.tool == 4">Questionnaire survey/Survey</div>
+                                    <div v-if="item3.tool == 45">Choice question</div>
+                                    <div v-if="item3.tool == 10">Timer</div>
+                                    <div v-if="item3.tool == 15">Question</div>
                                     <div v-if="item3.tool == 26">课程设计</div>
                                     <div v-if="item3.tool == 18">
                                       训练服务器
                                     </div>
-                                    <div v-if="item3.tool == 16">作业提交</div>
+                                    <div v-if="item3.tool == 16">File Upload</div>
                                     <div v-if="item3.tool == 21">
                                       AIoT Blockly
                                     </div>
@@ -889,18 +889,18 @@
                                     </div>
                                     <div v-if="item3.tool == 25">目标管理</div>
                                     <div v-if="item3.tool == 31">数学画板</div>
-                                    <div v-if="item3.tool == 28">翻译</div>
+                                    <div v-if="item3.tool == 28">Translator</div>
                                     <div v-if="item3.tool == 37">魔盒识字</div>
                                     <div v-if="item3.tool == 38">24点</div>
                                     <div v-if="item3.tool == 39">GeoGebra</div>
-                                    <div v-if="item3.tool == 32">源码编辑</div>
+                                    <div v-if="item3.tool == 32">Kitten Editor</div>
                                     <div v-if="item3.tool == 40">学生评价</div>
-                                    <div v-if="item3.tool == 41">选择匹配</div>
+                                    <div v-if="item3.tool == 41">Match</div>
                                     <div v-if="item3.tool == 44">汉字宫</div>
-                                    <div v-if="item3.tool == 47">排序</div>
+                                    <div v-if="item3.tool == 47">Ordering Question</div>
                                     <div v-if="item3.tool == 48">表格</div>
-                                    <div v-if="item3.tool == 49">学生分组</div>
-                                    <div v-if="item3.tool == 50">批量上传</div>
+                                    <div v-if="item3.tool == 49">Grouping</div>
+                                    <div v-if="item3.tool == 50">Batch upload</div>
                                     <div v-if="item3.tool == 57">CocoPi</div>
                                     <div v-if="item3.tool == 58">模拟驾驶</div>
                                     <div v-if="item3.tool == 59">路径搜索</div>
@@ -920,13 +920,13 @@
                                   <!-- works:[],likeCount: 0, commentCount: 0, score: 0, isScore: 0  -->
                                   <div class="disCss">
                                     <div class="blueBtn">
-                                      作业数量:{{ item3.works.length }}
+                                      Submission number:{{ item3.works.length }}
                                     </div>
                                     <div
                                       v-if="chaptersJson.studentCount"
                                       class="blueBtn"
                                     >
-                                      任务完成率:{{
+                                      Completion rate:{{
                                         (
                                           (item3.works.length /
                                             chaptersJson.studentCount) *
@@ -941,9 +941,9 @@
                                       }}
                                     </div>
                                     <div class="blueBtn">
-                                      <div>点赞:{{ item3.likeCount }}</div>
+                                      <div>Like:{{ item3.likeCount }}</div>
                                       <div style="margin-left: 15px">
-                                        评论:{{ item3.commentCount }}
+                                        Comment:{{ item3.commentCount }}
                                       </div>
                                     </div>
                                   </div>
@@ -1010,7 +1010,7 @@
               :key="index"
               @click="addUserRate(index)"
             >
-              <div>第{{ index + 1 }}阶段</div>
+              <div>Phrase{{ index + 1 }}</div>
               <div>{{ item.dyName }}</div>
               <div>{{ item.chapterInfo[0].taskJson.length }}个任务</div>
             </div>
@@ -1029,17 +1029,17 @@
         ></Group>
       </div>
     </div>
-    <el-dialog title="课程二维码" :visible.sync="dialogVisibleQR" width="400px">
+    <el-dialog title="Course QR code" :visible.sync="dialogVisibleQR" width="400px">
       <div class="qrcode" ref="qrCodeUrl"></div>
     </el-dialog>
     <el-dialog
-      title="选择授课班级"
+      title="Select the class of your Course"
       :visible.sync="dialogVisibleSk"
       width="626px"
       class="diy_sk"
     >
       <div class="classBox">
-        <div @click="gotoCourse('')">全部</div>
+        <div @click="gotoCourse('')">All</div>
         <div
           @click="gotoCourse(item.id)"
           v-for="(item, index) in classList"
@@ -1048,7 +1048,7 @@
           {{ item.name }}
         </div>
       </div>
-      <div class="cancelDiy" @click="dialogVisibleSk = false">取消</div>
+      <div class="cancelDiy" @click="dialogVisibleSk = false">Cancel</div>
     </el-dialog>
   </div>
 </template>
@@ -1872,12 +1872,12 @@ export default {
       let _chap = "";
 
       for (let i = 0; i < _chapInfo.length; i++) {
-        _chap += `<div style="font-size:40px;margin-top:70px;"><span>${
+        _chap += `<div style="font-size:40px;margin-top:70px;"><span>Phrase${
           i + 1
-        }阶段:${_chapInfo[i].dyName}</span></div>`;
+        }:${_chapInfo[i].dyName}</span></div>`;
         let _task = _chapInfo[i].chapterInfo[0].taskJson;
         for (let j = 0; j < _task.length; j++) {
-          _chap += `<div style="font-size:30px;margin-top:50px;"><span>任务${
+          _chap += `<div style="font-size:30px;margin-top:50px;"><span>Task${
             j + 1
           }:${_task[j].task}</span></div>`;
           if (_task[j].taskDetail) {

Dosya farkı çok büyük olduğundan ihmal edildi
+ 148 - 150
src/components/easy/studyStudent.vue


+ 4 - 4
src/components/easy2/commpont/onlineWrite.vue

@@ -34,7 +34,7 @@
     <div v-if="type == 1">
       <div class="ftypeBox">
         <div class="ftypeTitle">
-          <div>标题:</div>
+          <div>Title:</div>
           <div>
             <el-input
               v-model="myAnswerList.engTitle"
@@ -77,7 +77,7 @@
       >
         <div class="up_photo2">
           <img src="../../../assets/icon/plwork.png" alt />
-          <span>点击上传文件</span>
+          <span>Click to upload</span>
         </div>
         <input
           type="file"
@@ -97,8 +97,8 @@
       </div>
       <div style="text-align: center">如已进行填写,确认后讲清空内容噢。</div>
       <span slot="footer" class="dialog-footer">
-        <el-button @click="uploadDialogVisible = false">取 消</el-button>
-        <el-button type="primary" @click="uploadIsType">确定</el-button>
+        <el-button @click="uploadDialogVisible = false">Cancel</el-button>
+        <el-button type="primary" @click="uploadIsType">Confirm</el-button>
       </span>
     </el-dialog>
   </div>

Dosya farkı çok büyük olduğundan ihmal edildi
+ 131 - 131
src/components/easy2/studyStudent jiu.vue


Dosya farkı çok büyük olduğundan ihmal edildi
+ 131 - 131
src/components/easy2/studyStudent.vue


+ 4 - 4
src/components/easy3/commpont/onlineWrite.vue

@@ -34,7 +34,7 @@
     <div v-if="type == 1">
       <div class="ftypeBox">
         <div class="ftypeTitle">
-          <div>标题:</div>
+          <div>Title:</div>
           <div>
             <el-input
               v-model="myAnswerList.engTitle"
@@ -77,7 +77,7 @@
       >
         <div class="up_photo2">
           <img src="../../../assets/icon/plwork.png" alt />
-          <span>点击上传文件</span>
+          <span>Click to upload</span>
         </div>
         <input
           type="file"
@@ -97,8 +97,8 @@
       </div>
       <div style="text-align: center">如已进行填写,确认后讲清空内容噢。</div>
       <span slot="footer" class="dialog-footer">
-        <el-button @click="uploadDialogVisible = false">取 消</el-button>
-        <el-button type="primary" @click="uploadIsType">确定</el-button>
+        <el-button @click="uploadDialogVisible = false">Cancel</el-button>
+        <el-button type="primary" @click="uploadIsType">Confirm</el-button>
       </span>
     </el-dialog>
   </div>

Dosya farkı çok büyük olduğundan ihmal edildi
+ 131 - 131
src/components/easy3/studyStudent jiu.vue


Dosya farkı çok büyük olduğundan ihmal edildi
+ 131 - 131
src/components/easy3/studyStudent.vue


+ 38 - 38
src/components/group/group.vue

@@ -1,23 +1,23 @@
 <template>
     <div>
-        <el-dialog title="分组设置" :visible.sync="dialogVisibleGroup" :append-to-body="true" width="95%"
+        <el-dialog title="Group Setting" :visible.sync="dialogVisibleGroup" :append-to-body="true" width="95%"
             :before-close="handleClose2" class="dialog_diy">
             <div v-if="dialogVisibleGroup">
                 <div class="g_d_btnBox">
                     <div class="btn_left" v-if="type == 1 || type == 4">
-                        <div @click="setClassid('1')" :class="{ active: classid == '1' }" v-if="!classList.length">全部</div>
+                        <div @click="setClassid('1')" :class="{ active: classid == '1' }" v-if="!classList.length">All</div>
                         <div @click="setClassid(item.id)" :class="{ active: classid == item.id }"
                             v-for="(item, index) in classList" :key="index">{{ item.name }}</div>
                     </div>
                     <div class="btn_left" v-if="type == 2">
-                        <div @click="setClassid('1')" :class="{ active: classid == '1' }" v-if="!classList.length">全部</div>
+                        <div @click="setClassid('1')" :class="{ active: classid == '1' }" v-if="!classList.length">All</div>
                         <div @click="setClassid(item.id)" :class="{ active: classid == item.id }"
                             v-for="(item, index) in classList" :key="index">{{ item.name }}</div>
                     </div>
                     <div class="btn_right"
                         v-if="courseDetail.userid == userid || (courseDetail.course_teacher && courseDetail.course_teacher.indexOf(userid) != -1)">
                         <div style="color: rgb(171 171 171); margin: 0 10px 0 0">
-                            提示:开启【开放选座】,学生能够自由加入和退出小组。
+                            Tip: Turn on the "Choose seat" button, and students can freely join and leave the group.
                         </div>
                         <!-- 开放选座 -->
                         <!-- <div type="primary" v-if="groupJson.islock == 1 && groupJson.group.length" class="returnBtn"
@@ -29,18 +29,18 @@
                             解锁位置
                         </div> -->
                         <div class="group_switch">
-                            <span>开放选座</span>
+                            <span>Choose seat</span>
                             <el-switch v-model="islock" active-text="" class="switchCss" @change="lockChair"></el-switch>
                         </div>
                         <div class="group_switch">
-                            <span>开启分组</span>
+                            <span>Grouping</span>
                             <el-switch v-model="isopen" class="switchCss" @change="openChair"></el-switch>
                         </div>
                         <div type="primary" @click="updateGroup" class="returnBtn" style="background-color: #225bc7">
-                            分组设置
+                            Set group
                         </div>
                         <div type="primary" @click="deleteCourseGroup" class="returnBtn" style="background-color: #225bc7">
-                            删除分组
+                            Delete
                         </div>
                     </div>
                 </div>
@@ -64,7 +64,7 @@
                                                 groupStudent[g.id][0]
                                                 ? groupStudent[g.id] &&
                                                 groupStudent[g.id][0].name
-                                                : "空位置" }}</span>
+                                                : "Empty" }}</span>
                                 </div>
                                 <div v-if="groupJson.number > 4">
                                     <span :class="{
@@ -82,7 +82,7 @@
                                                 groupStudent[g.id][4]
                                                 ? groupStudent[g.id] &&
                                                 groupStudent[g.id][4].name
-                                                : "空位置" }}</span>
+                                                : "Empty" }}</span>
                                 </div>
                                 <div v-if="groupJson.number > 8">
                                     <span :class="{
@@ -100,7 +100,7 @@
                                                 groupStudent[g.id][8]
                                                 ? groupStudent[g.id] &&
                                                 groupStudent[g.id][8].name
-                                                : "空位置" }}</span>
+                                                : "Empty" }}</span>
                                 </div>
                             </div>
                             <div class="g_d_group_tableBox">
@@ -121,7 +121,7 @@
                                                     groupStudent[g.id][2]
                                                     ? groupStudent[g.id] &&
                                                     groupStudent[g.id][2].name
-                                                    : "空位置" }}</span>
+                                                    : "Empty" }}</span>
                                     </div>
                                     <div v-if="groupJson.number > 6">
                                         <span :class="{
@@ -139,7 +139,7 @@
                                                     groupStudent[g.id][6]
                                                     ? groupStudent[g.id] &&
                                                     groupStudent[g.id][6].name
-                                                    : "空位置" }}</span>
+                                                    : "Empty" }}</span>
                                     </div>
                                 </div>
                                 <div class="g_d_group_table">
@@ -149,7 +149,7 @@
                                     <div>
                                         <div v-if="courseDetail.userid == userid && groupJson.islock == 2"
                                             @click="deleteGroupChair(g.id, gindex)">
-                                            移除组员
+                                            Remove Group Member
                                         </div>
                                         <div @click="selectGroup(g.id)"
                                             v-else-if="groupStudentUid && groupStudentUid[g.id].indexOf(userid) == -1">
@@ -167,7 +167,7 @@
                                         <div style="margin-top:10px"
                                             v-if="(courseDetail.userid == userid || (courseDetail.course_teacher && courseDetail.course_teacher.indexOf(userid) != -1)) && groupStudent[g.id].length < groupJson.number"
                                             @click="addGroupStudent(g.id)">
-                                            添加组员
+                                            Add Group Member
                                         </div>
                                     </div>
                                 </div>
@@ -188,7 +188,7 @@
                                                     groupStudent[g.id][3]
                                                     ? groupStudent[g.id] &&
                                                     groupStudent[g.id][3].name
-                                                    : "空位置" }}</span>
+                                                    : "Empty" }}</span>
                                     </div>
                                     <div v-if="groupJson.number > 7">
                                         <span :class="{
@@ -206,7 +206,7 @@
                                                     groupStudent[g.id][7]
                                                     ? groupStudent[g.id] &&
                                                     groupStudent[g.id][7].name
-                                                    : "空位置" }}</span>
+                                                    : "Empty" }}</span>
                                     </div>
                                 </div>
                             </div>
@@ -227,7 +227,7 @@
                                                 groupStudent[g.id][1]
                                                 ? groupStudent[g.id] &&
                                                 groupStudent[g.id][1].name
-                                                : "空位置" }}</span>
+                                                : "Empty" }}</span>
                                 </div>
                                 <div v-if="groupJson.number > 5">
                                     <span :class="{
@@ -245,7 +245,7 @@
                                                 groupStudent[g.id][5]
                                                 ? groupStudent[g.id] &&
                                                 groupStudent[g.id][5].name
-                                                : "空位置" }}</span>
+                                                : "Empty" }}</span>
                                 </div>
                                 <div v-if="groupJson.number > 9">
                                     <span :class="{
@@ -263,26 +263,26 @@
                                                 groupStudent[g.id][9]
                                                 ? groupStudent[g.id] &&
                                                 groupStudent[g.id][9].name
-                                                : "空位置" }}</span>
+                                                : "Empty" }}</span>
                                 </div>
                             </div>
                         </div>
                     </div>
                     <div v-else-if="!groupJson.group.length" style="text-align: center;">{{ courseDetail.userid == userid ? "暂无分组,请点击右上角设置分组" :
-                        "老师暂未添加分组" }}</div>
+                        "No group" }}</div>
                     <div v-else-if="!isopen" style="text-align: center;">{{ "已关闭分组" }}</div>    
                 </div>
             </div>
             <span slot="footer" class="dialog-footer">
             </span>
         </el-dialog>
-        <el-dialog title="分组设置" :visible.sync="dialogVisibleGroup2" :append-to-body="true" width="650px"
+        <el-dialog title="Group Setting" :visible.sync="dialogVisibleGroup2" :append-to-body="true" width="650px"
             :before-close="handleClose" class="dialog_diy">
             <div class="groupBox">
                 <div v-if="groupJson2.group" class="groupContent">
                     <div class="groupTitle">请设置小组数量及名称</div>
                     <div v-for="(item, index) in groupJson2.group" :key="index" class="groupName">
-                        <span class="groupn">第{{ index + 1 }}组名称:</span>
+                        <span class="groupn">Group {{ index + 1 }}:</span>
                         <el-input v-model="item.name" placeholder="请输入名称..." style="width: 250px"></el-input>
                         <div class="groupBtn">
                             <el-button type="primary" size="small" @click="addGroup(index)" v-if="(groupJson2.group.length - 1) == index">
@@ -299,11 +299,11 @@
                 </div>
             </div>
             <span slot="footer" class="dialog-footer">
-                <el-button @click="dialogVisibleGroup2 = false">取 消</el-button>
-                <el-button type="primary" @click="updateGroupJson(2)">确定</el-button>
+                <el-button @click="dialogVisibleGroup2 = false">Cancel</el-button>
+                <el-button type="primary" @click="updateGroupJson(2)">Confirm</el-button>
             </span>
         </el-dialog>
-        <el-dialog title="移除组员" :visible.sync="dialogVisibleDeleteGroup" :append-to-body="true" width="350px"
+        <el-dialog title="Remove Group Member" :visible.sync="dialogVisibleDeleteGroup" :append-to-body="true" width="350px"
             :before-close="handleClose" class="dialog_diy">
             <div>
                 <h2>
@@ -318,8 +318,8 @@
                 </el-checkbox-group>
             </div>
             <span slot="footer" class="dialog-footer">
-                <el-button @click="dialogVisibleDeleteGroup = false">取 消</el-button>
-                <el-button type="primary" @click="deleteChair">确定</el-button>
+                <el-button @click="dialogVisibleDeleteGroup = false">Cancel</el-button>
+                <el-button type="primary" @click="deleteChair">Confirm</el-button>
             </span>
         </el-dialog>
         <el-dialog title="修改分组" :visible.sync="dialogVisibleUpdateGroup" :append-to-body="true" width="350px"
@@ -337,11 +337,11 @@
                 </el-radio-group>
             </div>
             <span slot="footer" class="dialog-footer">
-                <el-button @click="dialogVisibleUpdateGroup = false">取 消</el-button>
-                <el-button type="primary" @click="updateChair">确定</el-button>
+                <el-button @click="dialogVisibleUpdateGroup = false">Cancel</el-button>
+                <el-button type="primary" @click="updateChair">Confirm</el-button>
             </span>
         </el-dialog>
-        <el-dialog title="添加学生" :visible.sync="dialogVisibleMember" :append-to-body="true" width="540px" height="80%"
+        <el-dialog title="Add student" :visible.sync="dialogVisibleMember" :append-to-body="true" width="540px" height="80%"
             :before-close="handleClose" class="addNewPP">
             <div class="people">
                 <div class="people_top">
@@ -391,8 +391,8 @@
                     @current-change="handleCurrentChange"></el-pagination>
             </div> -->
             <span slot="footer" class="dialog-footer">
-                <el-button @click="dialogVisibleMember = false">取 消</el-button>
-                <el-button type="primary" @click="joinGroup2">确定</el-button>
+                <el-button @click="dialogVisibleMember = false">Cancel</el-button>
+                <el-button type="primary" @click="joinGroup2">Confirm</el-button>
             </span>
         </el-dialog>
     </div>
@@ -501,7 +501,7 @@ export default {
             this.groupJson2 = JSON.parse(JSON.stringify(this.groupJson));
             if (!this.groupJson2.group.length) {
                 this.groupJson2.group.push({
-                    name: "第" + (this.groupJson2.group.length + 1) + "组",
+                    name: "Group " + (this.groupJson2.group.length + 1),
                     id: this.guid()
                 });
             }
@@ -511,10 +511,10 @@ export default {
             this.$confirm(
                 // "您确定要删除该分组吗? 分组删除后将被清空并且无法恢复。",
                 "是否确定删除已有分组?删除后分组数据将被清空!",
-                "提示",
+                "Notification",
                 {
-                    confirmButtonText: "确定",
-                    cancelButtonText: "取消",
+                    confirmButtonText: "Confirm",
+                    cancelButtonText: "Cancel",
                     type: "warning",
                 }
             )
@@ -544,7 +544,7 @@ export default {
         },
         addGroup() {
             this.groupJson2.group.push({
-                name: "第" + (this.groupJson2.group.length + 1) + "组",
+                name: "Group " + (this.groupJson2.group.length + 1),
                 id: this.guid()
             });
         },

+ 6 - 6
src/components/index.vue

@@ -12,12 +12,12 @@
       </div>
       <div class="reBox">
         <div class="reTop">
-          <div>课程</div>
+          <div>Course</div>
           <div>
             <div class="search" @click="search">
               <img src="../assets/icon/search.png" alt="" />
             </div>
-            <input class="sInput" type="text" placeholder="请输入关键字" v-model="sCourse" @keyup.enter="search"/>
+            <input class="sInput" type="text" placeholder="Enter keywords" v-model="sCourse" @keyup.enter="search"/>
           </div>
         </div>
         <div class="pType_box all_choose"  v-if="oid == '69893dca-1d47-11ed-8c78-005056b86db5'">
@@ -43,7 +43,7 @@
                                   : true)">
               <div class="cName" @click="getCourse(item.name, '', item.id, 1)"
                 :class="typeE.indexOf(item.id) != -1 ? 'isCType' : ''">
-                全部
+                All
               </div>
               <div v-for="(item1, index1) in CourseTypeJson[item.id]" :key="index + '-' + index1" :label="item1.id"
                 @click="getCourse(item.name, item.id, item1.id, 2)">
@@ -61,7 +61,7 @@
       </div>
       <div class="body_student" v-loading="loading">
         <div class="typeCheck">
-          <el-switch v-model="typeCheck"></el-switch><span>分类显示</span>
+          <el-switch v-model="typeCheck"></el-switch><span>Sort</span>
         </div>
         <div>
           <div class="main_box">
@@ -98,7 +98,7 @@
                       <div>{{ item.typename }}</div>
                     </el-tooltip>
 
-                    <div>{{ JSON.parse(item.chapters).length }}阶段</div>
+                    <div>{{ JSON.parse(item.chapters).length }}Phrase</div>
                   </div>
                   <div class="school_box">
                     <el-tooltip effect="light" :content="item.school" placement="top">
@@ -167,7 +167,7 @@
                           <div>{{ item.typename }}</div>
                         </el-tooltip>
 
-                        <div>{{ JSON.parse(item.chapters).length }}阶段</div>
+                        <div>{{ JSON.parse(item.chapters).length }}Phrase</div>
                       </div>
                       <div class="school_box">
                         <el-tooltip effect="light" :content="item.school" placement="top">

+ 1 - 1
src/components/interVideo/index.vue

@@ -9,7 +9,7 @@
                 </div>
             </div>
             <span slot="footer" class="dialog-footer">
-                <el-button @click="close">关 闭</el-button>
+                <el-button @click="close">Close</el-button>
             </span>
         </el-dialog>
         <choiceD 

+ 28 - 28
src/components/liveProjectDetail(湖心亭看雪).vue

@@ -102,7 +102,7 @@
           </div>-->
           <div class="answerBox" v-if="isBlock == 1">
             <!-- <div>
-              <span class="timuButton">题目</span>
+              <span class="timuButton">Question</span>
               <span style="letter-spacing: 3px; line-height: 35px"
                 >小明有3本不同的语文书,2本不同的数学书,4本不同的英语书,小明整理书架时,要把这些书放在同一层,且相同科目的书要相邻摆放,问共有多少种摆放方式?</span
               >
@@ -154,7 +154,7 @@
                   >
                 </div>
                 <el-button style="margin: 0 auto" @click="showMember(item)"
-                  >提交</el-button
+                  >Submit</el-button
                 >
               </div>
             </div>
@@ -197,7 +197,7 @@
                 ></iframe>-->
                 <div class="toolImg">
                   <img src="../assets/icon/secondToolList/whiteBoard.png" alt />
-                  <div>电子白板</div>
+                  <div>Whiteboard</div>
                 </div>
               </div>
               <div
@@ -242,7 +242,7 @@
                 ></iframe>-->
                 <div class="toolImg">
                   <img src="../assets/icon/thirdToolList/ask.png" alt />
-                  <div>问卷调查</div>
+                  <div>Questionnaire survey/Survey</div>
                 </div>
               </div>
               <div
@@ -273,7 +273,7 @@
                     src="../assets/icon/secondToolList/mindNetwork.png"
                     alt
                   />
-                  <div>思维网格</div>
+                  <div>Mind grid</div>
                 </div>
               </div>
               <div
@@ -296,7 +296,7 @@
             src="https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/Grid"
                 ></iframe>-->
                 <div class="toolImg">
-                  <div>倒计时</div>
+                  <div>Timer</div>
                 </div>
               </div>
               <div v-if="toolsList[0].tools.indexOf(11) != -1" class="toolCss">
@@ -305,7 +305,7 @@
             src="https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/Grid"
                 ></iframe>-->
                 <div class="toolImg">
-                  <div>问答题</div>
+                  <div>Question</div>
                 </div>
               </div>
               <div v-if="toolsList[0].tools.indexOf(13) != -1" class="toolCss">
@@ -337,7 +337,7 @@
             <div style="height: 100%; width: 100%">
               <div v-if="toolCount == 1" class="tools_child_box">
                 <div class="tools_title">
-                  <span>电子白板</span>
+                  <span>Whiteboard</span>
                   <div>
                     <img
                       src="../assets/full.png"
@@ -393,7 +393,7 @@
                 class="tools_child_box"
               >
                 <div class="tools_title">
-                  <span>问卷调查</span>
+                  <span>Questionnaire survey/Survey</span>
                   <div>
                     <img
                       src="../assets/full.png"
@@ -428,7 +428,7 @@
               </div>
               <div v-if="toolCount == 7" class="tools_child_box">
                 <div class="tools_title">
-                  <span>思维网格</span>
+                  <span>Mind grid</span>
                   <div>
                     <img
                       src="../assets/full.png"
@@ -467,7 +467,7 @@
                 class="tools_child_box"
               >
                 <div class="tools_title">
-                  <span>选择题</span>
+                  <span>Choice question</span>
                   <div>
                     <img
                       src="../assets/full.png"
@@ -476,14 +476,14 @@
                     />
                   </div>
                 </div>
-                <div>选择题</div>
+                <div>Choice question</div>
               </div>
               <div
                 v-if="toolsList[0].tools[howTools] == 10"
                 class="tools_child_box"
               >
                 <div class="tools_title">
-                  <span>倒计时</span>
+                  <span>Timer</span>
                   <div>
                     <img
                       src="../assets/full.png"
@@ -492,14 +492,14 @@
                     />
                   </div>
                 </div>
-                <div>倒计时</div>
+                <div>Timer</div>
               </div>
               <div
                 v-if="toolsList[0].tools[howTools] == 11"
                 class="tools_child_box"
               >
                 <div class="tools_title">
-                  <span>问答题</span>
+                  <span>Question</span>
                   <div>
                     <img
                       src="../assets/full.png"
@@ -508,7 +508,7 @@
                     />
                   </div>
                 </div>
-                <div>问答题</div>
+                <div>Question</div>
               </div>
               <div
                 v-if="toolsList[0].tools[howTools] == 13"
@@ -543,7 +543,7 @@
               >
               <div style="color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;display:flex;align-items:center;">
                 <img src="https://pbl.cocorobo.cn/pbl-student-table/dist/js/loading.gif" alt="" style="width: 26px;margin-right: 10px;">
-                <span>上传中...</span>
+                <span>Uploading...</span>
               </div>
               </div>
               <div class="nextStepBox" v-if="toolsList[0].tools.length > 1">
@@ -561,7 +561,7 @@
                 >
                   下一步
                 </div>-->
-                <div class="nextStepOne" @click="isBlock = 4">返回</div>
+                <div class="nextStepOne" @click="isBlock = 4">Back</div>
               </div>
               <div
                 class="nextStepOne"
@@ -577,7 +577,7 @@
                 @click="addImg($event)"
                 v-if="toolCount == 1 || toolCount == 3 || toolCount == 7"
               >
-                上传文件
+                Upload files
                 <input
                   type="file"
                   accept="image/png, image/gif, image/jpeg"
@@ -675,9 +675,9 @@
                 bottom: 0;
               "
             >
-              <el-button @click="isBlock = 0">取消</el-button>
+              <el-button @click="isBlock = 0">Cancel</el-button>
               <el-button type="primary" @click="dialogVisible = true"
-                >确定</el-button
+                >Confirm</el-button
               >
             </span>
           </div>
@@ -798,7 +798,7 @@
             style="padding: 10% 10px 50px 0px"
           >
             <el-button @click="steps = 1">返回答题</el-button>
-            <el-button type="primary" @click="addWork">确定</el-button>
+            <el-button type="primary" @click="addWork">Confirm</el-button>
           </span>
         </div>
       </div>-->
@@ -808,7 +808,7 @@
     <div v-if="proVisible" class="mask">
       <div class="progressBox">
         <div class="lbox">
-          <img src="../assets/loading.gif" />上传中,请稍后
+          <img src="../assets/loading.gif" />Uploading
         </div>
         <el-progress
           :text-inside="true"
@@ -842,7 +842,7 @@
         "
         @click="dialogVisible = false"
       >
-        确定
+        Confirm
       </div>
     </el-dialog>
     <div v-html="iframeInnerHtml" ref="iframeIh" class="iframeBox"></div>
@@ -1181,10 +1181,10 @@ export default {
       if (this.isNoHomeWork == true) {
         this.$confirm(
           "您已经提交了该作业了,如果您再提交将覆盖上次提交的作业!",
-          "提示",
+          "Notification",
           {
-            confirmButtonText: "确定",
-            cancelButtonText: "取消",
+            confirmButtonText: "Confirm",
+            cancelButtonText: "Cancel",
             type: "warning",
           }
         )
@@ -1210,7 +1210,7 @@ export default {
           // this.dialogVisible = true;
           // this.selectSWork(); // this.upload = res.data[0][0].upload;
           this.$message({
-            message: "截图上传成功",
+            message: "Screenshot uploaded",
             type: "success",
           });
         })

+ 27 - 27
src/components/liveProjectDetail.vue

@@ -149,7 +149,7 @@
                   >
                 </div>
                 <el-button style="margin: 0 auto" @click="showMember(item)"
-                  >提交</el-button
+                  >Submit</el-button
                 >
               </div>
             </div>
@@ -191,7 +191,7 @@
               >
                 <div class="toolImg">
                   <img src="../assets/icon/secondToolList/whiteBoard.png" alt />
-                  <div>电子白板</div>
+                  <div>Whiteboard</div>
                 </div>
               </div>
               <div
@@ -220,7 +220,7 @@
               >
                 <div class="toolImg">
                   <img src="../assets/icon/thirdToolList/translation.png" alt />
-                  <div>翻译</div>
+                  <div>Translator</div>
                 </div>
               </div>
               <div
@@ -233,7 +233,7 @@
               >
                 <div class="toolImg">
                   <img src="../assets/icon/thirdToolList/ask.png" alt />
-                  <div>问卷调查</div>
+                  <div>Questionnaire survey/Survey</div>
                 </div>
               </div>
               <div
@@ -262,7 +262,7 @@
                     src="../assets/icon/secondToolList/mindNetwork.png"
                     alt
                   />
-                  <div>思维网格</div>
+                  <div>Mind grid</div>
                 </div>
               </div>
               <div
@@ -276,7 +276,7 @@
                 <div class="toolImg">
                   <img src="../assets/icon/firstToolList/myMessage.png" alt />
                   <div>
-                    上传文件
+                    Upload files
                     <input
                       type="file"
                       accept="image/*"
@@ -320,7 +320,7 @@
             <div style="height: 100%; width: 100%">
               <div v-if="toolCount == 1" class="tools_child_box">
                 <div class="tools_title">
-                  <span>电子白板</span>
+                  <span>Whiteboard</span>
                   <div>
                     <img
                       src="../assets/full.png"
@@ -360,7 +360,7 @@
               </div>
               <div v-if="toolCount == 28" class="tools_child_box">
                 <div class="tools_title">
-                  <span>翻译</span>
+                  <span>Translator</span>
                   <div>
                     <img
                       src="../assets/full.png"
@@ -399,7 +399,7 @@
               </div>
               <div v-if="toolCount == 7" class="tools_child_box">
                 <div class="tools_title">
-                  <span>思维网格</span>
+                  <span>Mind grid</span>
                   <div>
                     <img
                       src="../assets/full.png"
@@ -448,7 +448,7 @@
                     alt
                     style="width: 26px; margin-right: 10px"
                   />
-                  <span>上传中...</span>
+                  <span>Uploading...</span>
                 </div>
               </div>
               <!-- <div class="nextStepBox">
@@ -470,7 +470,7 @@
                 @click="addImg($event)"
                 v-if="toolCount == 1 || toolCount == 3 || toolCount == 7"
               >
-                上传文件
+                Upload files
                 <input
                   type="file"
                   accept="image/png, image/gif, image/jpeg"
@@ -510,7 +510,7 @@
               "
             >
               <!-- <el-button @click="isBlock = 0">取消</el-button> -->
-              <el-button type="primary" @click="addWork(6)">确定</el-button>
+              <el-button type="primary" @click="addWork(6)">Confirm</el-button>
             </span>
           </div>
           <div
@@ -560,7 +560,7 @@
               "
             >
               <!-- <el-button @click="isBlock = 0">取消</el-button> -->
-              <el-button type="primary" @click="addWork(5)">提交</el-button>
+              <el-button type="primary" @click="addWork(5)">Submit</el-button>
             </span>
           </div>
           <div
@@ -617,7 +617,7 @@
               </div>
             </div>
             <!-- <div class="nextStepBox">
-              <div class="nextStepOne" @click="isBlock = 0">关闭</div>
+              <div class="nextStepOne" @click="isBlock = 0">Close</div>
             </div>-->
           </div>
           <!-- <div class="answerBox" :class="{ fullStyle: full }" v-if="isBlock == 6">
@@ -649,7 +649,7 @@
                 ></iframe>
               </div>
               <div class="nextStepBox" style="margin-top: 5%">
-                <div class="nextStepOne" @click="isBlock = 5">返回</div>
+                <div class="nextStepOne" @click="isBlock = 5">Back</div>
               </div>
             </div>
           </div>
@@ -672,7 +672,7 @@
                 </div>
               </div>
               <!-- <div class="nextStepBox" style="margin-top: 5%">
-                <div class="nextStepOne" @click="isBlock = 0">关闭</div>
+                <div class="nextStepOne" @click="isBlock = 0">Close</div>
               </div>-->
             </div>
           </div>
@@ -710,7 +710,7 @@
                 </div>
               </div>
               <!-- <div class="nextStepBox" style="margin-top: 5%">
-                <div class="nextStepOne" @click="isBlock = 0">关闭</div>
+                <div class="nextStepOne" @click="isBlock = 0">Close</div>
               </div>-->
             </div>
           </div>
@@ -725,7 +725,7 @@
         @click="addImg($event)"
         v-if="tools[ppage - 1].tools && tools[ppage - 1].tools.indexOf(16) != -1"
       >
-        上传文件
+        Upload files
         <input
           type="file"
           accept="image/png, image/gif, image/jpeg"
@@ -751,7 +751,7 @@
     <div v-if="proVisible" class="mask">
       <div class="progressBox">
         <div class="lbox">
-          <img src="../assets/loading.gif" />上传中,请稍后
+          <img src="../assets/loading.gif" />Uploading
         </div>
         <el-progress
           :text-inside="true"
@@ -785,7 +785,7 @@
         "
         @click="dialogVisible = false"
       >
-        确定
+        Confirm
       </div>
     </el-dialog>
     <el-dialog
@@ -812,7 +812,7 @@
         "
         @click="pick2"
       >
-        确定
+        Confirm
       </div>
     </el-dialog>
     <div v-html="iframeInnerHtml" ref="iframeIh" class="iframeBox"></div>
@@ -1345,10 +1345,10 @@ export default {
       if (this.isNoHomeWork == true || this.isAnswer == true) {
         this.$confirm(
           "您已经提交了该作业了,如果您再提交将覆盖上次提交的作业!",
-          "提示",
+          "Notification",
           {
-            confirmButtonText: "确定",
-            cancelButtonText: "取消",
+            confirmButtonText: "Confirm",
+            cancelButtonText: "Cancel",
             type: "warning",
           }
         )
@@ -1385,9 +1385,9 @@ export default {
       }
 
       if (this.isNoHomeWork == true || this.isAnswer == true) {
-        this.$confirm(_str, "提示", {
-          confirmButtonText: "确定",
-          cancelButtonText: "取消",
+        this.$confirm(_str, "Notification", {
+          confirmButtonText: "Confirm",
+          cancelButtonText: "Cancel",
           type: "warning",
         })
           .then(() => {

+ 27 - 27
src/components/liveProjectDetailKH.vue

@@ -149,7 +149,7 @@
                   >
                 </div>
                 <el-button style="margin: 0 auto" @click="showMember(item)"
-                  >提交</el-button
+                  >Submit</el-button
                 >
               </div>
             </div>
@@ -191,7 +191,7 @@
               >
                 <div class="toolImg">
                   <img src="../assets/icon/secondToolList/whiteBoard.png" alt />
-                  <div>电子白板</div>
+                  <div>Whiteboard</div>
                 </div>
               </div>
               <div
@@ -220,7 +220,7 @@
               >
                 <div class="toolImg">
                   <img src="../assets/icon/thirdToolList/translation.png" alt />
-                  <div>翻译</div>
+                  <div>Translator</div>
                 </div>
               </div>
               <div
@@ -233,7 +233,7 @@
               >
                 <div class="toolImg">
                   <img src="../assets/icon/thirdToolList/ask.png" alt />
-                  <div>问卷调查</div>
+                  <div>Questionnaire survey/Survey</div>
                 </div>
               </div>
               <div
@@ -262,7 +262,7 @@
                     src="../assets/icon/secondToolList/mindNetwork.png"
                     alt
                   />
-                  <div>思维网格</div>
+                  <div>Mind grid</div>
                 </div>
               </div>
               <div
@@ -276,7 +276,7 @@
                 <div class="toolImg">
                   <img src="../assets/icon/firstToolList/myMessage.png" alt />
                   <div>
-                    上传文件
+                    Upload files
                     <input
                       type="file"
                       accept="image/*"
@@ -320,7 +320,7 @@
             <div style="height: 100%; width: 100%">
               <div v-if="toolCount == 1" class="tools_child_box">
                 <div class="tools_title">
-                  <span>电子白板</span>
+                  <span>Whiteboard</span>
                   <div>
                     <img
                       src="../assets/full.png"
@@ -360,7 +360,7 @@
               </div>
               <div v-if="toolCount == 28" class="tools_child_box">
                 <div class="tools_title">
-                  <span>翻译</span>
+                  <span>Translator</span>
                   <div>
                     <img
                       src="../assets/full.png"
@@ -399,7 +399,7 @@
               </div>
               <div v-if="toolCount == 7" class="tools_child_box">
                 <div class="tools_title">
-                  <span>思维网格</span>
+                  <span>Mind grid</span>
                   <div>
                     <img
                       src="../assets/full.png"
@@ -448,7 +448,7 @@
                     alt
                     style="width: 26px; margin-right: 10px"
                   />
-                  <span>上传中...</span>
+                  <span>Uploading...</span>
                 </div>
               </div>
               <!-- <div class="nextStepBox">
@@ -470,7 +470,7 @@
                 @click="addImg($event)"
                 v-if="toolCount == 1 || toolCount == 3 || toolCount == 7"
               >
-                上传文件
+                Upload files
                 <input
                   type="file"
                   accept="image/png, image/gif, image/jpeg"
@@ -510,7 +510,7 @@
               "
             >
               <!-- <el-button @click="isBlock = 0">取消</el-button> -->
-              <el-button type="primary" @click="addWork(6)">确定</el-button>
+              <el-button type="primary" @click="addWork(6)">Confirm</el-button>
             </span>
           </div>
           <div
@@ -560,7 +560,7 @@
               "
             >
               <!-- <el-button @click="isBlock = 0">取消</el-button> -->
-              <el-button type="primary" @click="addWork(5)">提交</el-button>
+              <el-button type="primary" @click="addWork(5)">Submit</el-button>
             </span>
           </div>
           <div
@@ -617,7 +617,7 @@
               </div>
             </div>
             <!-- <div class="nextStepBox">
-              <div class="nextStepOne" @click="isBlock = 0">关闭</div>
+              <div class="nextStepOne" @click="isBlock = 0">Close</div>
             </div>-->
           </div>
           <!-- <div class="answerBox" :class="{ fullStyle: full }" v-if="isBlock == 6">
@@ -649,7 +649,7 @@
                 ></iframe>
               </div>
               <div class="nextStepBox" style="margin-top: 5%">
-                <div class="nextStepOne" @click="isBlock = 5">返回</div>
+                <div class="nextStepOne" @click="isBlock = 5">Back</div>
               </div>
             </div>
           </div>
@@ -672,7 +672,7 @@
                 </div>
               </div>
               <!-- <div class="nextStepBox" style="margin-top: 5%">
-                <div class="nextStepOne" @click="isBlock = 0">关闭</div>
+                <div class="nextStepOne" @click="isBlock = 0">Close</div>
               </div>-->
             </div>
           </div>
@@ -710,7 +710,7 @@
                 </div>
               </div>
               <!-- <div class="nextStepBox" style="margin-top: 5%">
-                <div class="nextStepOne" @click="isBlock = 0">关闭</div>
+                <div class="nextStepOne" @click="isBlock = 0">Close</div>
               </div>-->
             </div>
           </div>
@@ -725,7 +725,7 @@
         @click="addImg($event)"
         v-if="tools[ppage - 1].tools && tools[ppage - 1].tools.indexOf(16) != -1"
       >
-        上传文件
+        Upload files
         <input
           type="file"
           accept="image/png, image/gif, image/jpeg"
@@ -751,7 +751,7 @@
     <div v-if="proVisible" class="mask">
       <div class="progressBox">
         <div class="lbox">
-          <img src="../assets/loading.gif" />上传中,请稍后
+          <img src="../assets/loading.gif" />Uploading
         </div>
         <el-progress
           :text-inside="true"
@@ -785,7 +785,7 @@
         "
         @click="dialogVisible = false"
       >
-        确定
+        Confirm
       </div>
     </el-dialog>
     <el-dialog
@@ -812,7 +812,7 @@
         "
         @click="pick2"
       >
-        确定
+        Confirm
       </div>
     </el-dialog>
     <div v-html="iframeInnerHtml" ref="iframeIh" class="iframeBox"></div>
@@ -1345,10 +1345,10 @@ export default {
       if (this.isNoHomeWork == true || this.isAnswer == true) {
         this.$confirm(
           "您已经提交了该作业了,如果您再提交将覆盖上次提交的作业!",
-          "提示",
+          "Notification",
           {
-            confirmButtonText: "确定",
-            cancelButtonText: "取消",
+            confirmButtonText: "Confirm",
+            cancelButtonText: "Cancel",
             type: "warning",
           }
         )
@@ -1385,9 +1385,9 @@ export default {
       }
 
       if (this.isNoHomeWork == true || this.isAnswer == true) {
-        this.$confirm(_str, "提示", {
-          confirmButtonText: "确定",
-          cancelButtonText: "取消",
+        this.$confirm(_str, "Notification", {
+          confirmButtonText: "Confirm",
+          cancelButtonText: "Cancel",
           type: "warning",
         })
           .then(() => {

+ 39 - 39
src/components/noTerminal/courseDetail.vue

@@ -19,7 +19,7 @@
               screenType
             )
           ">
-            返回
+            Back
             <!-- <img src="../../assets/icon/return.png" alt="" /> -->
           </div>
           <div class="box_course">
@@ -36,8 +36,8 @@
             <div class="right_box">
               <div class="rightT">
                 <div class="right_box_title">{{ courseDetail.title }}</div>
-                <div class="jd">{{ chapInfo.length }}阶段</div>
-                <div class="jd">{{ rw }}任务</div>
+                <div class="jd">{{ chapInfo.length }}Phrase</div>
+                <div class="jd">{{ rw }}Task</div>
               </div>
               <div class="cType">
                 <div class="all_choose" v-for="(item, index) in courseType" :key="index">
@@ -74,7 +74,7 @@
               <div class="cType" style="font-size: 18px; color: #6c6c6c" v-if="classList.length && tType != 2">
                 <div>
                   授课班级:<el-button @click="gotoCourse('')"
-                    style="background: #4a9eed; color: #fff; margin: 0 5px">全部</el-button><el-button
+                    style="background: #4a9eed; color: #fff; margin: 0 5px">All</el-button><el-button
                     @click="gotoCourse(item.id)" v-for="(item, index) in classList" :key="index"
                     style="background: #4a9eed; color: #fff; margin: 0 5px">{{ item.name }}</el-button>
                 </div>
@@ -103,9 +103,9 @@
             <div v-if="((tType == 1 || tType == 4) && type == 2) || tType == 2"
               :class="courseDetail.brief != '' ? 'rightTd' : 'noBRight'" style="width: 100%">
               <div class="blue_box_one" v-for="(item, index) in chapInfo" :key="index" @click="addUserRate(index)">
-                <div>第{{ index + 1 }}阶段</div>
+                <div>Phrase{{ index + 1 }}</div>
                 <div :title="item.dyName">{{ item.dyName }}</div>
-                <div>{{ item.chapterInfo[0].taskJson.length }}个任务</div>
+                <div>{{ item.chapterInfo[0].taskJson.length }}Task</div>
               </div>
             </div>
             <div v-if="
@@ -144,7 +144,7 @@
                             ">
                           <el-tooltip class="item" effect="light" :content="item.name" placement="top">
                             <div class="titleCss" style="width: 80%; max-width: unset">
-                              第{{ index + 1 }}阶段 {{ item.name }}
+                              Phrase{{ index + 1 }} {{ item.name }}
                             </div>
                           </el-tooltip>
                         </div>
@@ -154,7 +154,7 @@
                       <div class="task">
                         <div v-for="(item2, index2) in item.array" :key="index + '-' + index2" class="taskBox">
                           <div class="taskName">
-                            <div class="navIndex">任务{{ index2 + 1 }}</div>
+                            <div class="navIndex">Task{{ index2 + 1 }}</div>
                             <div>
                               <el-tooltip class="item" effect="light" :content="item2.name" placement="top">
                                 <div class="titleCss">{{ item2.name }}</div>
@@ -166,7 +166,7 @@
                               class="p_tool">
                               <div v-if="item3.tool == 1">
                                 <img src="../../assets/icon/secondToolList/whiteBoard.png" alt />
-                                <div>电子白板</div>
+                                <div>Whiteboard</div>
                               </div>
                               <div v-if="item3.tool == 3">
                                 <img src="../../assets/icon/secondToolList/mindMapping.png" alt />
@@ -178,7 +178,7 @@
                               </div>
                               <div v-if="item3.tool == 7">
                                 <img src="../../assets/icon/secondToolList/mindNetwork.png" alt />
-                                <div>思维网格</div>
+                                <div>Mind grid</div>
                               </div>
                               <div v-if="item3.tool == 8">
                                 <img src="../../assets/icon/secondToolList/library.png" alt />
@@ -194,11 +194,11 @@
                               </div>
                               <div v-if="item3.tool == 4">
                                 <img src="../../assets/icon/thirdToolList/ask.png" alt />
-                                <div>问卷调查</div>
+                                <div>Questionnaire survey/Survey</div>
                               </div>
                               <div v-if="item3.tool == 45">
                                 <img src="../../assets/icon/thirdToolList/choose.png" alt />
-                                <div>选择题</div>
+                                <div>Choice question</div>
                               </div>
                               <!-- <div v-if="item3.tool == 5">
                             <img
@@ -210,11 +210,11 @@
                           </div> -->
                               <div v-if="item3.tool == 10">
                                 <img src="../../assets/icon/thirdToolList/time.png" alt />
-                                <div>倒计时</div>
+                                <div>Timer</div>
                               </div>
                               <div v-if="item3.tool == 15">
                                 <img src="../../assets/icon/thirdToolList/answer.png" alt />
-                                <div>问答</div>
+                                <div>Question</div>
                               </div>
                               <div v-if="item3.tool == 26">
                                 <img src="../../assets/icon/thirdToolList/courseDesign.png" alt />
@@ -226,7 +226,7 @@
                               </div>
                               <div v-if="item3.tool == 16">
                                 <img src="../../assets/icon/thirdToolList/work.png" alt />
-                                <div>作业提交</div>
+                                <div>File Upload</div>
                               </div>
                               <div v-if="item3.tool == 21">
                                 <img src="../../assets/icon/fourthToolList/program.png" alt />
@@ -254,7 +254,7 @@
                               </div>
                               <div v-if="item3.tool == 28">
                                 <img src="../../assets/icon/secondToolList/translation.png" alt />
-                                <div>翻译</div>
+                                <div>Translator</div>
                               </div>
                               <div v-if="item3.tool == 37">
                                 <img src="../../assets/icon/secondToolList/mohe.png" alt />
@@ -270,7 +270,7 @@
                               </div>
                               <div v-if="item3.tool == 32">
                                 <img src="../../assets/icon/thirdToolList/code.png" alt />
-                                <div>源码编辑</div>
+                                <div>Kitten Editor</div>
                               </div>
                               <div v-if="item3.tool == 40">
                                 <img src="../../assets/icon/secondToolList/eval.png" alt />
@@ -278,7 +278,7 @@
                               </div>
                               <div v-if="item3.tool == 41">
                                 <img src="../../assets/icon/thirdToolList/select.png" alt />
-                                <div>选择匹配</div>
+                                <div>Match</div>
                               </div>
                               <div v-if="item3.tool == 44">
                                 <img src="../../assets/icon/thirdToolList/hanClass.png" alt />
@@ -286,7 +286,7 @@
                               </div>
                               <div v-if="item3.tool == 47">
                                 <img src="../../assets/icon/fourthToolList/conSentences.png" alt />
-                                <div>排序</div>
+                                <div>Ordering Question</div>
                               </div>
                               <div v-if="item3.tool == 48">
                                 <img src="../../assets/icon/fourthToolList/table.png" alt />
@@ -294,11 +294,11 @@
                               </div>
                               <div v-if="item3.tool == 49">
                                 <img src="../../assets/icon/fourthToolList/group.png" alt />
-                                <div>学生分组</div>
+                                <div>Grouping</div>
                               </div>
                               <div v-if="item3.tool == 50">
                                 <img src="../../assets/icon/thirdToolList/plwork.png" alt />
-                                <div>批量上传</div>
+                                <div>Batch upload</div>
                               </div>
                               <div v-if="item3.tool == 57">
                                 <img src="../../assets/icon/fourthToolList/cocopi.png" alt />
@@ -356,7 +356,7 @@
                         </div>
                         <div class="yuan"></div>
                         <div class="stage">
-                          第{{ index + 1 }}阶段 {{ item.name }}
+                          Phrase{{ index + 1 }} {{ item.name }}
                         </div>
                         <div class="s_up" :class="{ s_up2: !item.is }" @click="item.is = !item.is">
                           <img src="../../assets/icon/up.png" alt="" />
@@ -384,7 +384,7 @@
                                   font-size: 20px;
                                   font-weight: bold;
                                 ">
-                              任务{{ index2 + 1 }}:{{ item2.name }}
+                              Task{{ index2 + 1 }}:{{ item2.name }}
                             </div>
                           </div>
 
@@ -409,40 +409,40 @@
                                     <div style="font-size: 16px; font-weight: bold">
                                       步骤{{ index3 + 1 }}:
                                     </div>
-                                    <div v-if="item3.tool == 1">电子白板</div>
+                                    <div v-if="item3.tool == 1">Whiteboard</div>
                                     <div v-if="item3.tool == 3">思维导图</div>
                                     <div v-if="item3.tool == 6">协同文档</div>
-                                    <div v-if="item3.tool == 7">思维网格</div>
+                                    <div v-if="item3.tool == 7">Mind grid</div>
                                     <div v-if="item3.tool == 8">素材库</div>
                                     <div v-if="item3.tool == 17">学习资料</div>
                                     <div v-if="item3.tool == 2">便签</div>
-                                    <div v-if="item3.tool == 4">问卷调查</div>
-                                    <div v-if="item3.tool == 45">选择题</div>
-                                    <div v-if="item3.tool == 10">倒计时</div>
-                                    <div v-if="item3.tool == 15">问答</div>
+                                    <div v-if="item3.tool == 4">Questionnaire survey/Survey</div>
+                                    <div v-if="item3.tool == 45">Choice question</div>
+                                    <div v-if="item3.tool == 10">Timer</div>
+                                    <div v-if="item3.tool == 15">Question</div>
                                     <div v-if="item3.tool == 26">课程设计</div>
                                     <div v-if="item3.tool == 18">
                                       训练服务器
                                     </div>
-                                    <div v-if="item3.tool == 16">作业提交</div>
+                                    <div v-if="item3.tool == 16">File Upload</div>
                                     <div v-if="item3.tool == 21">AIoT Blockly</div>
                                     <div v-if="item3.tool == 22">AI体验</div>
                                     <div v-if="item3.tool == 23">AI Python</div>
                                     <div v-if="item3.tool == 24">AI Blockly</div>
                                     <div v-if="item3.tool == 25">目标管理</div>
                                     <div v-if="item3.tool == 31">数学画板</div>
-                                    <div v-if="item3.tool == 28">翻译</div>
+                                    <div v-if="item3.tool == 28">Translator</div>
                                     <div v-if="item3.tool == 37">魔盒识字</div>
                                     <div v-if="item3.tool == 38">24点</div>
                                     <div v-if="item3.tool == 39">GeoGebra</div>
-                                    <div v-if="item3.tool == 32">源码编辑</div>
+                                    <div v-if="item3.tool == 32">Kitten Editor</div>
                                     <div v-if="item3.tool == 40">学生评价</div>
-                                    <div v-if="item3.tool == 41">选择匹配</div>
+                                    <div v-if="item3.tool == 41">Match</div>
                                     <div v-if="item3.tool == 44">汉字宫</div>
-                                    <div v-if="item3.tool == 47">排序</div>
+                                    <div v-if="item3.tool == 47">Ordering Question</div>
                                     <div v-if="item3.tool == 48">表格</div>
-                                    <div v-if="item3.tool == 49">学生分组</div>
-                                    <div v-if="item3.tool == 50">批量上传</div>
+                                    <div v-if="item3.tool == 49">Grouping</div>
+                                    <div v-if="item3.tool == 50">Batch upload</div>
                                     <div v-if="item3.tool == 57">CocoPi</div>
                                     <div v-if="item3.tool == 58">模拟驾驶</div>
                                     <div v-if="item3.tool == 59">路径搜索</div>
@@ -508,7 +508,7 @@
                 </div>
               </div>
               <!-- <div v-for="(item, index) in Object.keys(chaptersJson.time)" :key="index">
-                {{ '时间:' + item + '次数:' + chaptersJson.time[item] }}</div> -->
+                {{ 'Time:' + item + '次数:' + chaptersJson.time[item] }}</div> -->
               <!-- <div>实施时间:{{ chaptersJson.startTime }}</div> -->
             </div>
           </div>
@@ -533,9 +533,9 @@
                 flex-wrap: wrap;
               ">
             <div class="blue_box" v-for="(item, index) in chapInfo" :key="index" @click="addUserRate(index)">
-              <div>第{{ index + 1 }}阶段</div>
+              <div>Phrase{{ index + 1 }}</div>
               <div>{{ item.dyName }}</div>
-              <div>{{ item.chapterInfo[0].taskJson.length }}个任务</div>
+              <div>{{ item.chapterInfo[0].taskJson.length }}Task</div>
             </div>
           </div>
         </el-dialog>

Dosya farkı çok büyük olduğundan ihmal edildi
+ 118 - 118
src/components/noTerminal/studyStudent.vue


+ 1 - 1
src/components/noticeDetail.vue

@@ -35,7 +35,7 @@
             ></div>
           </div>
           <div class="returnPage" @click="goTo('/notice?userid=' + userid)">
-            返回
+            Back
           </div>
         </div>
       </div>

+ 7 - 7
src/components/student/courseDetail.vue

@@ -21,7 +21,7 @@
               screenType
             )
             ">
-            返回
+            Back
           </div>
           <div class="box_course">
             <div class="wheel">
@@ -36,8 +36,8 @@
             <div class="right_box">
               <div class="rightT">
                 <div class="right_box_title">{{ courseDetail.title }}</div>
-                <div class="jd">{{ chapInfo.length }}阶段</div>
-                <div class="jd">{{ rw }}任务</div>
+                <div class="jd">{{ chapInfo.length }}Phrase</div>
+                <div class="jd">{{ rw }}Task</div>
               </div>
               <div class="cType">
                 <div class="all_choose" v-for="(item, index) in courseType" :key="index">
@@ -82,9 +82,9 @@
             </div>
             <div :class="courseDetail.brief != '' ? 'rightTd' : 'noBRight'" v-show="type == 1">
               <div class="blue_box_one" v-for="(item, index) in chapInfo" :key="index" @click="addUserRate(index)">
-                <div>第{{ index + 1 }}阶段</div>
+                <div>Phrase{{ index + 1 }}</div>
                 <div :title="item.dyName">{{ item.dyName }}</div>
-                <div>{{ item.chapterInfo[0].taskJson.length }}个任务</div>
+                <div>{{ item.chapterInfo[0].taskJson.length }}Task</div>
               </div>
             </div>
             <div :class="courseDetail.brief != '' ? 'rightTd' : 'noBRight'" v-if="type == 2">
@@ -103,9 +103,9 @@
               flex-wrap: wrap;
             ">
             <div class="blue_box" v-for="(item, index) in chapInfo" :key="index" @click="addUserRate(index)">
-              <div>第{{ index + 1 }}阶段</div>
+              <div>Phrase{{ index + 1 }}</div>
               <div>{{ item.dyName }}</div>
-              <div>{{ item.chapterInfo[0].taskJson.length }}个任务</div>
+              <div>{{ item.chapterInfo[0].taskJson.length }}Task</div>
             </div>
           </div>
         </el-dialog>

+ 2 - 2
src/components/student/courseProgress.vue

@@ -108,12 +108,12 @@ export default {
             gjson.nodes[0].text = json.title
             for (var i = 0; i < chapters.length; i++) {
                 let _chapter = chapters[i]
-                gjson.nodes.push({ id: 'chap' + i, text: '阶段' + (i + 1) + '-' + _chapter.dyName, borderWidth: -1, color: '#0672e1' })
+                gjson.nodes.push({ id: 'chap' + i, text: 'Phrase' + (i + 1) + '-' + _chapter.dyName, borderWidth: -1, color: '#0672e1' })
                 gjson.lines.push({ from: 'pid', to: 'chap' + i })
                 let tasks = _chapter.chapterInfo[0].taskJson
                 for (var j = 0; j < tasks.length; j++) {
                     let _task = tasks[j]
-                    gjson.nodes.push({ id: 'task' + i + '-' + j, text: '任务' + (j + 1) + '-' + _task.task, borderWidth: -1, color: '#3c59da' })
+                    gjson.nodes.push({ id: 'task' + i + '-' + j, text: 'Task' + (j + 1) + '-' + _task.task, borderWidth: -1, color: '#3c59da' })
                     gjson.lines.push({ from: 'chap' + i, to: 'task' + i + '-' + j })
                     if (_task.people) {
                         let _people = '负责人-' + this.getGMan(_task.people)

+ 44 - 44
src/components/student/studyStudent.vue

@@ -10,7 +10,7 @@
         <div class="cru_selectBox">
           <div v-for="(item, stageIndex) in navList" :key="stageIndex">
             <div class="blue_box_one" @click="get(stageIndex)">
-              <div>第{{ stageIndex + 1 }}阶段</div>
+              <div>Phrase{{ stageIndex + 1 }}</div>
               <div>{{ item.dyName }}</div>
             </div>
             <div class="twoChild" :class="{ navActive: item.isOpen }">
@@ -27,7 +27,7 @@
                       nav.id == navId &&
                       stageIndex == courseType,
                   }" style="margin: 0">
-                    任务{{ navIndex + 1 }}
+                    Task{{ navIndex + 1 }}
                   </div>
                   <el-tooltip class="navTaskname item" effect="light" :content="nav.taskName" placement="top">
                     <div :style="{
@@ -56,17 +56,17 @@
                 box-shadow: 0px 9px 0 0 #f2f2f2;
               ">
           <div class="courseIndex">
-            <div>第{{ courseType - 0 + 1 }}阶段</div>
+            <div>Phrase{{ courseType - 0 + 1 }}</div>
             <el-tooltip effect="light" :content="chapInfoList[courseType].dyName" placement="top">
               <div>{{ chapInfoList[courseType].dyName }}</div>
             </el-tooltip>
-            <div>任务{{ taskCount + 1 }}</div>
+            <div>Task{{ taskCount + 1 }}</div>
           </div>
           <div class="btnAll">
-            <div class="returnBtn" @click="nextOrpreSteps(0)">上一步</div>
-            <div class="returnBtn" @click="nextOrpreSteps(1)">下一步</div>
-            <div class="returnBtn" @click="refreshCourse">刷新</div>
-            <div class="returnBtn" @click="setPz" v-if="tType == 1" >评论</div>
+            <div class="returnBtn" @click="nextOrpreSteps(0)">Last</div>
+            <div class="returnBtn" @click="nextOrpreSteps(1)">Next</div>
+            <div class="returnBtn" @click="refreshCourse">Refresh</div>
+            <div class="returnBtn" @click="setPz" v-if="tType == 1" >Comment</div>
             <!-- <div v-if="tType != 5" class="returnBtn" @click="allScrell">全屏</div> -->
             <!-- <div class="returnBtn" @click="startRecording" v-if="(!videoStart && (tType == 1 || tType == 4))">开始录制</div>
             <div class="returnBtn" @click="stopRecording" v-else-if="(tType == 1 || tType == 4)"
@@ -94,7 +94,7 @@
                 screenType
               )
             ">
-              返回
+              Back
             </div>
           </div>
         </div>
@@ -342,7 +342,7 @@
                           <div v-if="tool.tool == 1">
                             <img src="../../assets/icon/secondToolList/whiteBoard.png" alt
                               @click="addTools(tool.tool, toolIndex, taskCount)" />
-                            <div style="margin: 5px 0">电子白板</div>
+                            <div style="margin: 5px 0">Whiteboard</div>
                           </div>
                           <div v-if="tool.tool == 3">
                             <img src="../../assets/icon/secondToolList/mindMapping.png" alt
@@ -357,7 +357,7 @@
                           <div v-if="tool.tool == 7">
                             <img src="../../assets/icon/secondToolList/mindNetwork.png" alt
                               @click="addTools(tool.tool, toolIndex, taskCount)" />
-                            <div style="margin: 5px 0">思维网格</div>
+                            <div style="margin: 5px 0">Mind grid</div>
                           </div>
                           <div v-if="tool.tool == 8">
                             <img src="../../assets/icon/secondToolList/library.png" alt
@@ -377,22 +377,22 @@
                           <div v-if="tool.tool == 4">
                             <img @click="addTools(tool.tool, toolIndex, taskCount)"
                               src="../../assets/icon/thirdToolList/ask.png" alt />
-                            <div style="margin: 5px 0">问卷调查</div>
+                            <div style="margin: 5px 0">Questionnaire survey/Survey</div>
                           </div>
                           <div v-if="tool.tool == 45">
                             <img @click="addTools(tool.tool, toolIndex, taskCount)"
                               src="../../assets/icon/thirdToolList/choose.png" alt />
-                            <div style="margin: 5px 0">选择题</div>
+                            <div style="margin: 5px 0">Choice question</div>
                           </div>
                           <div v-if="tool.tool == 10">
                             <img @click="addTools(tool.tool, toolIndex, taskCount)"
                               src="../../assets/icon/thirdToolList/time.png" alt />
-                            <div style="margin: 5px 0">倒计时</div>
+                            <div style="margin: 5px 0">Timer</div>
                           </div>
                           <div v-if="tool.tool == 15">
                             <img @click="addTools(tool.tool, toolIndex, taskCount)"
                               src="../../assets/icon/thirdToolList/answer.png" alt />
-                            <div style="margin: 5px 0">问答</div>
+                            <div style="margin: 5px 0">Question</div>
                           </div>
                           <div v-if="tool.tool == 26">
                             <img @click="addTools(tool.tool, toolIndex, taskCount)"
@@ -407,7 +407,7 @@
                           <div v-if="tool.tool == 16">
                             <img @click="addTools(tool.tool, toolIndex, taskCount)"
                               src="../../assets/icon/thirdToolList/work.png" alt />
-                            <div style="margin: 5px 0">作业提交</div>
+                            <div style="margin: 5px 0">File Upload</div>
                           </div>
                           <div v-if="tool.tool == 21">
                             <img @click="addTools(tool.tool, toolIndex, taskCount)"
@@ -442,7 +442,7 @@
                           <div v-if="tool.tool == 28">
                             <img @click="addTools(tool.tool, toolIndex, taskCount)"
                               src="../../assets/icon/secondToolList/translation.png" alt />
-                            <div style="margin: 5px 0">翻译</div>
+                            <div style="margin: 5px 0">Translator</div>
                           </div>
                           <div v-if="tool.tool == 37">
                             <img @click="addTools(tool.tool, toolIndex, taskCount)"
@@ -462,7 +462,7 @@
                           <div v-if="tool.tool == 32">
                             <img @click="addTools(tool.tool, toolIndex, taskCount)"
                               src="../../assets/icon/thirdToolList/code.png" alt />
-                            <div style="margin: 5px 0">源码编辑</div>
+                            <div style="margin: 5px 0">Kitten Editor</div>
                           </div>
                           <div v-if="tool.tool == 40">
                             <img @click="addTools(tool.tool, toolIndex, taskCount)"
@@ -472,7 +472,7 @@
                           <div v-if="tool.tool == 41">
                             <img @click="addTools(tool.tool, toolIndex, taskCount)"
                               src="../../assets/icon/thirdToolList/select.png" alt />
-                            <div style="margin: 5px 0">选择匹配</div>
+                            <div style="margin: 5px 0">Match</div>
                           </div>
                           <div v-if="tool.tool == 44">
                             <img @click="addTools(tool.tool, toolIndex, taskCount)"
@@ -482,7 +482,7 @@
                           <div v-if="tool.tool == 47">
                             <img @click="addTools(tool.tool, toolIndex, taskCount)"
                               src="../../assets/icon/fourthToolList/conSentences.png" alt />
-                            <div style="margin: 5px 0">排序</div>
+                            <div style="margin: 5px 0">Ordering Question</div>
                           </div>
                           <div v-if="tool.tool == 48">
                             <img @click="addTools(tool.tool, toolIndex, taskCount)"
@@ -492,7 +492,7 @@
                           <div v-if="tool.tool == 49">
                             <img @click="addTools(tool.tool, toolIndex, taskCount)"
                               src="../../assets/icon/fourthToolList/group.png" alt />
-                            <div style="margin: 5px 0">学生分组</div>
+                            <div style="margin: 5px 0">Grouping</div>
                           </div>
                         </div>
                       </div>
@@ -503,7 +503,7 @@
                     </div>
                   </div>
                   <div class="homeWorkBox" v-if="tool.toolPhoto.length && tool.tool != 51">
-                    <!-- <div class="htitle">作业预览</div> -->
+                    <!-- <div class="htitle">Preview</div> -->
                     <div class="toolPhoto_box">
                       <div class="photo_box" v-for="(photo, pIndex) in tool.toolPhoto" :key="pIndex">
                         <span>{{ photo.workContent }}</span>
@@ -658,11 +658,11 @@
           <img src="../assets/close1.png" alt="" />
         </div> -->
         <div class="checkbox">
-          <div class="check" style="font-size: 25px">评论</div>
+          <div class="check" style="font-size: 25px">Comment</div>
           <el-select v-model="pzStype" @change="selectPz" class="selectBox">
-            <el-option label="时间降序" :value="1"></el-option>
-            <el-option label="时间升序" :value="2"></el-option>
-            <el-option label="我的评课" :value="3"></el-option>
+            <el-option label="Time descending order" :value="1"></el-option>
+            <el-option label="Time ascending order" :value="2"></el-option>
+            <el-option label="My comment" :value="3"></el-option>
           </el-select>
           <img src="../../assets/pzBtn.png" @click="(pzDialog = false), setVHeight()" alt="" />
         </div>
@@ -819,7 +819,7 @@
           <div class="teacherPzImg">
             <img src="../../assets/icon/teacherPz.png" alt="" />
           </div>
-          <div style="margin-left: 10px; height: 25px">添加回复</div>
+          <div style="margin-left: 10px; height: 25px">Add reply</div>
         </div>
         <div @click="replyDialogVisible = false">
           <img src="../../assets/close1.png" class="pzClose" alt="" />
@@ -844,7 +844,7 @@
           ></editor-bar>
         </div>
         <div class="addTextCss" @click="addHf">
-          确定
+          Confirm
         </div>
       </div>
     </div>
@@ -871,7 +871,7 @@
           <Audio @addPz="addPz" class="pzAudioClass" v-if="pzType == 2"></Audio>
         </div>
         <div class="addTextCss" @click="addPz('1')" v-if="pzType == 1">
-          确定
+          Confirm
         </div>
       </div>
     </div>
@@ -906,13 +906,13 @@
                 {{ fullUrl.name }}
               </div>
             </el-form-item>
-            <!-- <div style="color: #918f8f; width: 85%">文档内容</div> -->
+            <!-- <div style="color: #918f8f; width: 85%">Content</div> -->
             <div v-html="fullUrl.url" class="textContent" style="height: auto"></div>
           </el-form>
         </div>
       </div>
       <!-- <div slot="footer">
-        <el-button @click="fullDialogVisible = false">关 闭</el-button>
+        <el-button @click="fullDialogVisible = false">Close</el-button>
       </div> -->
     </el-dialog>
     <el-dialog title="表格" :visible.sync="dialogVisibleTable2" :append-to-body="true" width="95%"
@@ -921,7 +921,7 @@
         <div class="cont" v-html="tableJson.text" style="line-height: 24px"></div>
       </el-form>
       <span slot="footer" class="dialog-footer">
-        <el-button @click="dialogVisibleTable2 = false">关 闭</el-button>
+        <el-button @click="dialogVisibleTable2 = false">Close</el-button>
       </span>
     </el-dialog>
     <el-dialog title="文件预览" :visible.sync="dialogVisible3" width="50%" :before-close="handleClose" class="dialog_diy"
@@ -942,7 +942,7 @@
         <div class="cont" v-html="tableJson.text" style="line-height: 24px"></div>
       </el-form>
       <span slot="footer" class="dialog-footer">
-        <el-button @click="dialogVisibleText2 = false">关 闭</el-button>
+        <el-button @click="dialogVisibleText2 = false">Close</el-button>
       </span>
     </el-dialog>
     <el-dialog title="查看视频" :visible.sync="videoVisible" :append-to-body="true" width="1000px" :before-close="handleClose"
@@ -953,7 +953,7 @@
       </div>
       <div slot="footer">
         <el-button style="background: #409efe; color: #fff" @click="(videoVisible = false), (videoDetail = {})">
-          关 闭</el-button>
+          Close</el-button>
       </div>
     </el-dialog>
     <el-dialog title="查看投票" :visible.sync="dialogVisible5" :append-to-body="true" width="1000px"
@@ -992,7 +992,7 @@
         </div>
       </div>
       <span slot="footer" class="dialog-footer">
-        <el-button @click="dialogVisible5 = false">关 闭</el-button>
+        <el-button @click="dialogVisible5 = false">Close</el-button>
       </span>
     </el-dialog>
   </div>
@@ -1451,7 +1451,7 @@ export default {
         .then((res) => {
           this.reply = "";
           this.$message({
-            message: "回复成功",
+            message: "Success",
             type: "success",
           });
           this.replyDialogVisible = false;
@@ -1463,9 +1463,9 @@ export default {
         });
     },
     deletePz(id) {
-      this.$confirm("确定删除此批注吗?", "提示", {
-        confirmButtonText: "确定",
-        cancelButtonText: "取消",
+      this.$confirm("确定删除此批注吗?", "Notification", {
+        confirmButtonText: "Confirm",
+        cancelButtonText: "Cancel",
         type: "warning",
       })
         .then(() => {
@@ -1478,7 +1478,7 @@ export default {
             .post(this.$store.state.api + "deletePz", params)
             .then((res) => {
               this.$message({
-                message: "删除成功",
+                message: "Success",
                 type: "success",
               });
               this.selectPz();
@@ -1491,9 +1491,9 @@ export default {
         .catch(() => { });
     },
     deleteReply(id){
-      this.$confirm("确定删除此回复吗?", "提示", {
-        confirmButtonText: "确定",
-        cancelButtonText: "取消",
+      this.$confirm("Are you sure you want to delete this reply?", "Notification", {
+        confirmButtonText: "Confirm",
+        cancelButtonText: "Cancel",
         type: "warning",
       })
         .then(() => {
@@ -1506,7 +1506,7 @@ export default {
             .post(this.$store.state.api + "deleteReply", params)
             .then((res) => {
               this.$message({
-                message: "删除成功",
+                message: "Success",
                 type: "success",
               });
               this.selectPz();

+ 3 - 3
src/components/studentIndex.vue

@@ -27,7 +27,7 @@
             <div class="typeCss" v-if="CourseTypeJson[item.id].length">
               <div class="cName" @click="getCourse(item.name, '', item.id, 1)"
                 :class="typeE.indexOf(item.id) != -1 ? 'isCType' : ''" style="min-width: fit-content;width: auto;">
-                全部
+                All
               </div>
               <div v-for="(item1, index1) in CourseTypeJson[item.id]" :key="index + '-' + index1" :label="item1.id"
                 @click="getCourse(item.name, item.id, item1.id, 2)">
@@ -84,7 +84,7 @@
                       <div>{{ item.typename }}</div>
                     </el-tooltip>
 
-                    <div>{{ JSON.parse(item.chapters).length }}阶段</div>
+                    <div>Phrase{{ JSON.parse(item.chapters).length }}</div>
                   </div>
                   <div class="school_box">
                     <el-tooltip effect="light" :content="item.school" placement="top">
@@ -160,7 +160,7 @@
                           <div>{{ item.typename }}</div>
                         </el-tooltip>
 
-                        <div>{{ JSON.parse(item.chapters).length }}阶段</div>
+                        <div>Phrase{{ JSON.parse(item.chapters).length }}</div>
                       </div>
                       <div class="school_box">
                         <el-tooltip effect="light" :content="item.school" placement="top">

+ 7 - 7
src/components/studio/courseDetail.vue

@@ -21,7 +21,7 @@
               screenType
             )
           ">
-            返回
+            Back
           </div>
           <div class="box_course">
             <div class="wheel">
@@ -37,8 +37,8 @@
             <div class="right_box">
               <div class="rightT">
                 <div class="right_box_title">{{ courseDetail.title }}</div>
-                <div class="jd">{{ chapInfo.length }}阶段</div>
-                <div class="jd">{{ rw }}任务</div>
+                <div class="jd">{{ chapInfo.length }}Phrase</div>
+                <div class="jd">{{ rw }}Task</div>
               </div>
               <div class="cType">
                 <div class="all_choose" v-for="(item, index) in courseType" :key="index">
@@ -78,9 +78,9 @@
             </div>
             <div :class="courseDetail.brief != '' ? 'rightTd' : 'noBRight'" v-show="type == 1">
               <div class="blue_box_one" v-for="(item, index) in chapInfo" :key="index" @click="addUserRate(index)">
-                <div>第{{ index + 1 }}阶段</div>
+                <div>Phrase{{ index + 1 }}</div>
                 <div :title="item.dyName">{{ item.dyName }}</div>
-                <div>{{ item.chapterInfo[0].taskJson.length }}个任务</div>
+                <div>{{ item.chapterInfo[0].taskJson.length }}Task</div>
               </div>
             </div>
             <div :class="courseDetail.brief != '' ? 'rightTd' : 'noBRight'" v-if="type == 2">
@@ -99,9 +99,9 @@
               flex-wrap: wrap;
             ">
             <div class="blue_box" v-for="(item, index) in chapInfo" :key="index" @click="addUserRate(index)">
-              <div>第{{ index + 1 }}阶段</div>
+              <div>Phrase{{ index + 1 }}</div>
               <div>{{ item.dyName }}</div>
-              <div>{{ item.chapterInfo[0].taskJson.length }}个任务</div>
+              <div>{{ item.chapterInfo[0].taskJson.length }}Task</div>
             </div>
           </div>
         </el-dialog>

+ 3 - 3
src/components/studio/courseProgress.vue

@@ -1,6 +1,6 @@
 <template>
     <div v-loading="loading" class="box">
-        <!-- <el-button type="primary" size="small" class="returnBtn" @click="retrunA()">返回</el-button> -->
+        <!-- <el-button type="primary" size="small" class="returnBtn" @click="retrunA()">Back</el-button> -->
         <!-- <div v-if="cPan == 2" class="noneClass">项目数据不完善,无法显示数据,请前去完善</div> -->
         <div class="proMan" v-if="cPan == 1">
             <div class="title"><img src="../../assets/icon/task.png" alt />任务进展甘特图</div>
@@ -108,12 +108,12 @@ export default {
             gjson.nodes[0].text = json.title
             for (var i = 0; i < chapters.length; i++) {
                 let _chapter = chapters[i]
-                gjson.nodes.push({ id: 'chap' + i, text: '阶段' + (i + 1) + '-' + _chapter.dyName, borderWidth: -1, color: '#0672e1' })
+                gjson.nodes.push({ id: 'chap' + i, text: 'Phrase' + (i + 1) + '-' + _chapter.dyName, borderWidth: -1, color: '#0672e1' })
                 gjson.lines.push({ from: 'pid', to: 'chap' + i })
                 let tasks = _chapter.chapterInfo[0].taskJson
                 for (var j = 0; j < tasks.length; j++) {
                     let _task = tasks[j]
-                    gjson.nodes.push({ id: 'task' + i + '-' + j, text: '任务' + (j + 1) + '-' + _task.task, borderWidth: -1, color: '#3c59da' })
+                    gjson.nodes.push({ id: 'task' + i + '-' + j, text: 'Task' + (j + 1) + '-' + _task.task, borderWidth: -1, color: '#3c59da' })
                     gjson.lines.push({ from: 'chap' + i, to: 'task' + i + '-' + j })
                     if (_task.people) {
                         let _people = '负责人-' + this.getGMan(_task.people)

+ 3 - 3
src/components/studio/index.vue

@@ -27,7 +27,7 @@
             <div class="typeCss" v-if="CourseTypeJson[item.id].length">
               <div class="cName" @click="getCourse(item.name, '', item.id, 1)"
                 :class="typeE.indexOf(item.id) != -1 ? 'isCType' : ''" style="min-width: fit-content;">
-                全部
+                All
               </div>
               <div v-for="(item1, index1) in CourseTypeJson[item.id]" :key="index + '-' + index1" :label="item1.id"
                 @click="getCourse(item.name, item.id, item1.id, 2)">
@@ -82,7 +82,7 @@
                       <div>{{ item.typename }}</div>
                     </el-tooltip>
 
-                    <div>{{ JSON.parse(item.chapters).length }}阶段</div>
+                    <div>{{ JSON.parse(item.chapters).length }}Phrase</div>
                   </div>
                   <div class="school_box">
                     <el-tooltip effect="light" :content="item.school" placement="top">
@@ -154,7 +154,7 @@
                           <div>{{ item.typename }}</div>
                         </el-tooltip>
 
-                        <div>{{ JSON.parse(item.chapters).length }}阶段</div>
+                        <div>{{ JSON.parse(item.chapters).length }}Phrase</div>
                       </div>
                       <div class="school_box">
                         <el-tooltip effect="light" :content="item.school" placement="top">

+ 44 - 44
src/components/studio/studyStudent.vue

@@ -10,7 +10,7 @@
         <div class="cru_selectBox">
           <div v-for="(item, stageIndex) in navList" :key="stageIndex">
             <div class="blue_box_one" @click="get(stageIndex)">
-              <div>第{{ stageIndex + 1 }}阶段</div>
+              <div>Phrase{{ stageIndex + 1 }}</div>
               <div>{{ item.dyName }}</div>
             </div>
             <div class="twoChild" :class="{ navActive: item.isOpen }">
@@ -27,7 +27,7 @@
                       nav.id == navId &&
                       stageIndex == courseType,
                   }" style="margin: 0">
-                    任务{{ navIndex + 1 }}
+                    Task{{ navIndex + 1 }}
                   </div>
                   <el-tooltip class="navTaskname item" effect="light" :content="nav.taskName" placement="top">
                     <div :style="{
@@ -56,18 +56,18 @@
                 box-shadow: 0px 9px 0 0 #f2f2f2;
               ">
           <div class="courseIndex">
-            <div>第{{ courseType - 0 + 1 }}阶段</div>
+            <div>Phrase{{ courseType - 0 + 1 }}</div>
             <el-tooltip effect="light" :content="chapInfoList[courseType].dyName" placement="top">
               <div>{{ chapInfoList[courseType].dyName }}</div>
             </el-tooltip>
-            <div>任务{{ taskCount + 1 }}</div>
+            <div>Task{{ taskCount + 1 }}</div>
           </div>
           <div class="btnAll">
-            <div class="returnBtn" @click="nextOrpreSteps(0)">上一步</div>
-            <div class="returnBtn" @click="nextOrpreSteps(1)">下一步</div>
+            <div class="returnBtn" @click="nextOrpreSteps(0)">Last</div>
+            <div class="returnBtn" @click="nextOrpreSteps(1)">Next</div>
             <!-- <div v-if="tType != 5" class="returnBtn" @click="allScrell">全屏</div> -->
-            <div class="returnBtn" @click="refreshCourse">刷新</div>
-            <div class="returnBtn" @click="setPz" v-if="tType == 1" >评论</div>
+            <div class="returnBtn" @click="refreshCourse">Refresh</div>
+            <div class="returnBtn" @click="setPz" v-if="tType == 1" >Comment</div>
             <!-- <div class="returnBtn" @click="startRecording" v-if="(!videoStart && (tType == 1 || tType == 4))">开始录制</div>
             <div class="returnBtn" @click="stopRecording" v-else-if="(tType == 1 || tType == 4)"
               style="background:#ee5255">下载录制</div>
@@ -94,7 +94,7 @@
                 screenType
               )
             ">
-              返回
+              Back
             </div>
           </div>
         </div>
@@ -336,7 +336,7 @@
                           <div v-if="tool.tool == 1">
                             <img src="../../assets/icon/secondToolList/whiteBoard.png" alt
                               @click="addTools(tool.tool, toolIndex, taskCount)" />
-                            <div style="margin: 5px 0">电子白板</div>
+                            <div style="margin: 5px 0">Whiteboard</div>
                           </div>
                           <div v-if="tool.tool == 3">
                             <img src="../../assets/icon/secondToolList/mindMapping.png" alt
@@ -351,7 +351,7 @@
                           <div v-if="tool.tool == 7">
                             <img src="../../assets/icon/secondToolList/mindNetwork.png" alt
                               @click="addTools(tool.tool, toolIndex, taskCount)" />
-                            <div style="margin: 5px 0">思维网格</div>
+                            <div style="margin: 5px 0">Mind grid</div>
                           </div>
                           <div v-if="tool.tool == 8">
                             <img src="../../assets/icon/secondToolList/library.png" alt
@@ -371,22 +371,22 @@
                           <div v-if="tool.tool == 4">
                             <img @click="addTools(tool.tool, toolIndex, taskCount)"
                               src="../../assets/icon/thirdToolList/ask.png" alt />
-                            <div style="margin: 5px 0">问卷调查</div>
+                            <div style="margin: 5px 0">Questionnaire survey/Survey</div>
                           </div>
                           <div v-if="tool.tool == 45">
                             <img @click="addTools(tool.tool, toolIndex, taskCount)"
                               src="../../assets/icon/thirdToolList/choose.png" alt />
-                            <div style="margin: 5px 0">选择题</div>
+                            <div style="margin: 5px 0">Choice question</div>
                           </div>
                           <div v-if="tool.tool == 10">
                             <img @click="addTools(tool.tool, toolIndex, taskCount)"
                               src="../../assets/icon/thirdToolList/time.png" alt />
-                            <div style="margin: 5px 0">倒计时</div>
+                            <div style="margin: 5px 0">Timer</div>
                           </div>
                           <div v-if="tool.tool == 15">
                             <img @click="addTools(tool.tool, toolIndex, taskCount)"
                               src="../../assets/icon/thirdToolList/answer.png" alt />
-                            <div style="margin: 5px 0">问答</div>
+                            <div style="margin: 5px 0">Question</div>
                           </div>
                           <div v-if="tool.tool == 26">
                             <img @click="addTools(tool.tool, toolIndex, taskCount)"
@@ -401,7 +401,7 @@
                           <div v-if="tool.tool == 16">
                             <img @click="addTools(tool.tool, toolIndex, taskCount)"
                               src="../../assets/icon/thirdToolList/work.png" alt />
-                            <div style="margin: 5px 0">作业提交</div>
+                            <div style="margin: 5px 0">File Upload</div>
                           </div>
                           <div v-if="tool.tool == 21">
                             <img @click="addTools(tool.tool, toolIndex, taskCount)"
@@ -436,7 +436,7 @@
                           <div v-if="tool.tool == 28">
                             <img @click="addTools(tool.tool, toolIndex, taskCount)"
                               src="../../assets/icon/secondToolList/translation.png" alt />
-                            <div style="margin: 5px 0">翻译</div>
+                            <div style="margin: 5px 0">Translator</div>
                           </div>
                           <div v-if="tool.tool == 37">
                             <img @click="addTools(tool.tool, toolIndex, taskCount)"
@@ -456,7 +456,7 @@
                           <div v-if="tool.tool == 32">
                             <img @click="addTools(tool.tool, toolIndex, taskCount)"
                               src="../../assets/icon/thirdToolList/code.png" alt />
-                            <div style="margin: 5px 0">源码编辑</div>
+                            <div style="margin: 5px 0">Kitten Editor</div>
                           </div>
                           <div v-if="tool.tool == 40">
                             <img @click="addTools(tool.tool, toolIndex, taskCount)"
@@ -466,7 +466,7 @@
                           <div v-if="tool.tool == 41">
                             <img @click="addTools(tool.tool, toolIndex, taskCount)"
                               src="../../assets/icon/thirdToolList/select.png" alt />
-                            <div style="margin: 5px 0">选择匹配</div>
+                            <div style="margin: 5px 0">Match</div>
                           </div>
                           <div v-if="tool.tool == 44">
                             <img @click="addTools(tool.tool, toolIndex, taskCount)"
@@ -476,7 +476,7 @@
                           <div v-if="tool.tool == 47">
                             <img @click="addTools(tool.tool, toolIndex, taskCount)"
                               src="../../assets/icon/fourthToolList/conSentences.png" alt />
-                            <div style="margin: 5px 0">排序</div>
+                            <div style="margin: 5px 0">Ordering Question</div>
                           </div>
                           <div v-if="tool.tool == 48">
                             <img @click="addTools(tool.tool, toolIndex, taskCount)"
@@ -486,7 +486,7 @@
                           <div v-if="tool.tool == 49">
                             <img @click="addTools(tool.tool, toolIndex, taskCount)"
                               src="../../assets/icon/fourthToolList/group.png" alt />
-                            <div style="margin: 5px 0">学生分组</div>
+                            <div style="margin: 5px 0">Grouping</div>
                           </div>
                         </div>
                       </div>
@@ -497,7 +497,7 @@
                     </div>
                   </div>
                   <div class="homeWorkBox" v-if="tool.toolPhoto.length && tool.tool != 51">
-                    <!-- <div class="htitle">作业预览</div> -->
+                    <!-- <div class="htitle">Preview</div> -->
                     <div class="toolPhoto_box">
                       <div class="photo_box" v-for="(photo, pIndex) in tool.toolPhoto" :key="pIndex">
                         <span>{{ photo.workContent }}</span>
@@ -643,11 +643,11 @@
           <img src="../assets/close1.png" alt="" />
         </div> -->
         <div class="checkbox">
-          <div class="check" style="font-size: 25px">评论</div>
+          <div class="check" style="font-size: 25px">Comment</div>
           <el-select v-model="pzStype" @change="selectPz" class="selectBox">
-            <el-option label="时间降序" :value="1"></el-option>
-            <el-option label="时间升序" :value="2"></el-option>
-            <el-option label="我的评课" :value="3"></el-option>
+            <el-option label="Time descending order" :value="1"></el-option>
+            <el-option label="Time ascending order" :value="2"></el-option>
+            <el-option label="My comment" :value="3"></el-option>
           </el-select>
           <img src="../../assets/pzBtn.png" @click="(pzDialog = false), setVHeight()" alt="" />
         </div>
@@ -805,7 +805,7 @@
           <div class="teacherPzImg">
             <img src="../../assets/icon/teacherPz.png" alt="" />
           </div>
-          <div style="margin-left: 10px; height: 25px">添加回复</div>
+          <div style="margin-left: 10px; height: 25px">Add reply</div>
         </div>
         <div @click="replyDialogVisible = false">
           <img src="../../assets/close1.png" class="pzClose" alt="" />
@@ -830,7 +830,7 @@
           ></editor-bar>
         </div>
         <div class="addTextCss" @click="addHf">
-          确定
+          Confirm
         </div>
       </div>
     </div>
@@ -857,7 +857,7 @@
           <Audio @addPz="addPz" class="pzAudioClass" v-if="pzType == 2"></Audio>
         </div>
         <div class="addTextCss" @click="addPz('1')" v-if="pzType == 1">
-          确定
+          Confirm
         </div>
       </div>
     </div>
@@ -892,13 +892,13 @@
                 {{ fullUrl.name }}
               </div>
             </el-form-item>
-            <!-- <div style="color: #918f8f; width: 85%">文档内容</div> -->
+            <!-- <div style="color: #918f8f; width: 85%">Content</div> -->
             <div v-html="fullUrl.url" class="textContent" style="height: auto"></div>
           </el-form>
         </div>
       </div>
       <!-- <div slot="footer">
-        <el-button @click="fullDialogVisible = false">关 闭</el-button>
+        <el-button @click="fullDialogVisible = false">Close</el-button>
       </div> -->
     </el-dialog>
     <el-dialog title="表格" :visible.sync="dialogVisibleTable2" :append-to-body="true" width="95%"
@@ -907,7 +907,7 @@
         <div class="cont" v-html="tableJson.text" style="line-height: 24px"></div>
       </el-form>
       <span slot="footer" class="dialog-footer">
-        <el-button @click="dialogVisibleTable2 = false">关 闭</el-button>
+        <el-button @click="dialogVisibleTable2 = false">Close</el-button>
       </span>
     </el-dialog>
     <el-dialog title="文件预览" :visible.sync="dialogVisible3" width="50%" :before-close="handleClose" class="dialog_diy"
@@ -928,7 +928,7 @@
         <div class="cont" v-html="tableJson.text" style="line-height: 24px"></div>
       </el-form>
       <span slot="footer" class="dialog-footer">
-        <el-button @click="dialogVisibleText2 = false">关 闭</el-button>
+        <el-button @click="dialogVisibleText2 = false">Close</el-button>
       </span>
     </el-dialog>
     <el-dialog title="查看视频" :visible.sync="videoVisible" :append-to-body="true" width="1000px" :before-close="handleClose"
@@ -939,7 +939,7 @@
       </div>
       <div slot="footer">
         <el-button style="background: #409efe; color: #fff" @click="(videoVisible = false), (videoDetail = {})">
-          关 闭</el-button>
+          Close</el-button>
       </div>
     </el-dialog>
     <el-dialog title="查看投票" :visible.sync="dialogVisible5" :append-to-body="true" width="1000px"
@@ -978,7 +978,7 @@
         </div>
       </div>
       <span slot="footer" class="dialog-footer">
-        <el-button @click="dialogVisible5 = false">关 闭</el-button>
+        <el-button @click="dialogVisible5 = false">Close</el-button>
       </span>
     </el-dialog>
   </div>
@@ -1437,7 +1437,7 @@ export default {
         .then((res) => {
           this.reply = "";
           this.$message({
-            message: "回复成功",
+            message: "Success",
             type: "success",
           });
           this.replyDialogVisible = false;
@@ -1449,9 +1449,9 @@ export default {
         });
     },
     deletePz(id) {
-      this.$confirm("确定删除此批注吗?", "提示", {
-        confirmButtonText: "确定",
-        cancelButtonText: "取消",
+      this.$confirm("确定删除此批注吗?", "Notification", {
+        confirmButtonText: "Confirm",
+        cancelButtonText: "Cancel",
         type: "warning",
       })
         .then(() => {
@@ -1464,7 +1464,7 @@ export default {
             .post(this.$store.state.api + "deletePz", params)
             .then((res) => {
               this.$message({
-                message: "删除成功",
+                message: "Success",
                 type: "success",
               });
               this.selectPz();
@@ -1477,9 +1477,9 @@ export default {
         .catch(() => { });
     },
     deleteReply(id){
-      this.$confirm("确定删除此回复吗?", "提示", {
-        confirmButtonText: "确定",
-        cancelButtonText: "取消",
+      this.$confirm("Are you sure you want to delete this reply?", "Notification", {
+        confirmButtonText: "Confirm",
+        cancelButtonText: "Cancel",
         type: "warning",
       })
         .then(() => {
@@ -1492,7 +1492,7 @@ export default {
             .post(this.$store.state.api + "deleteReply", params)
             .then((res) => {
               this.$message({
-                message: "删除成功",
+                message: "Success",
                 type: "success",
               });
               this.selectPz();

+ 87 - 88
src/components/study.vue

@@ -18,7 +18,7 @@
         <div class="cru_selectBox">
           <div v-for="(item, stageIndex) in navList" :key="stageIndex">
             <div class="blue_box_one" @click="get(stageIndex)">
-              <div>第{{ stageIndex + 1 }}阶段</div>
+              <div>Phrase{{ stageIndex + 1 }}</div>
               <div>{{ item.dyName }}</div>
             </div>
             <div class="twoChild" :class="{ navActive: item.isOpen }">
@@ -47,7 +47,7 @@
                     }"
                     style="margin: 0"
                   >
-                    任务{{ navIndex + 1 }}
+                    Task{{ navIndex + 1 }}
                   </div>
                   <el-tooltip
                     class="navTaskname item"
@@ -74,7 +74,7 @@
             style="width: 100%; box-shadow: 0px 9px 0 0 #f2f2f2"
           >
             <div class="courseIndex">
-              <div>第{{ jdIndex - 0 + 1 }}阶段</div>
+              <div>Phrase{{ jdIndex - 0 + 1 }}</div>
               <el-tooltip effect="light" :content="jd.dyName" placement="top">
                 <div>{{ jd.dyName }}</div>
               </el-tooltip>
@@ -90,7 +90,7 @@
                 @click="juriVisible = true"
                 v-if="jdIndex == 0 && tType == 3"
               >
-                权限
+                Permission
               </div>
               <div
                 class="returnBtn"
@@ -115,7 +115,7 @@
                   )
                 "
               >
-                返回
+                Back
               </div>
             </div>
           </div>
@@ -143,7 +143,7 @@
             :key="rwIndex"
           >
             <div class="rwCss">
-              <div :id="jdIndex + '-' + rwIndex">任务{{ rwIndex + 1 }}</div>
+              <div :id="jdIndex + '-' + rwIndex">Task{{ rwIndex + 1 }}</div>
               <div style="margin: 0px 0 0 10px">{{ rw.task }}</div>
             </div>
             <div
@@ -237,7 +237,7 @@
                             {{ textList[jdIndex][rwIndex][0].name }}
                           </div>
                         </el-form-item>
-                        <!-- <div style="color: #918f8f; width: 85%">文档内容</div> -->
+                        <!-- <div style="color: #918f8f; width: 85%">Content</div> -->
                         <div
                           v-html="textList[jdIndex][rwIndex][0].url"
                           class="textContent"
@@ -537,7 +537,7 @@
                   <div>{{ f.name }}</div>
                 </div>
               </div>
-              <div class="upFile" v-if="type == 3">提交</div>
+              <div class="upFile" v-if="type == 3">Submit</div>
             </div>-->
               <div
                 class="vedioBox"
@@ -620,7 +620,7 @@
                                 alt
                               />
                               <div style="margin: 5px 0; padding-left: 8px">
-                                电子白板
+                                Whiteboard
                               </div>
                               <!-- <div class="iframeName">电子白板</div>
                               <iframe src="https://iwb.cocorobo.cn/" class="iframeCss"></iframe> -->
@@ -664,7 +664,7 @@
                                 alt
                               />
                               <div style="margin: 5px 0; padding-left: 8px">
-                                思维网格
+                                Mind grid
                               </div>
                               <!-- <div class="iframeName">思维网格</div>
                               <iframe src="https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/Grid"
@@ -722,9 +722,9 @@
                                 alt
                               />
                               <div style="margin: 5px 0; padding-left: 8px">
-                                源码编辑
+                                Kitten Editor
                               </div>
-                              <!-- <div class="iframeName">源码编辑</div>
+                              <!-- <div class="iframeName">Kitten Editor</div>
                               <iframe src="//kitten.codemao.cn/" class="iframeCss"></iframe> -->
                             </div>
                             <div v-if="tooC == 31">
@@ -750,9 +750,9 @@
                                 alt
                               />
                               <div style="margin: 5px 0; padding-left: 8px">
-                                翻译
+                                Translator
                               </div>
-                              <!-- <div class="iframeName">翻译</div>
+                              <!-- <div class="iframeName">Translator</div>
                               <iframe src="//dict.youdao.com/" class="iframeCss"></iframe> -->
                             </div>
                             <div v-if="tooC == 37">
@@ -806,7 +806,7 @@
                                 alt
                               />
                               <div style="margin: 5px 0; padding-left: 8px">
-                                选择题
+                                Choice question
                               </div>
                               <!-- <div class="iframeName">选择题</div> -->
                               <!-- <div>
@@ -823,7 +823,7 @@
                                   <div
                                     style="margin-right: 20px; font-size: 20px"
                                   >
-                                    标题:
+                                    Title:
                                   </div>
                                   <div style="font-size: 20px">
                                     {{ tool.askTitle }}
@@ -845,7 +845,7 @@
                                       <div style="display: flex">
                                         {{ index1 + 1 + "、" }}
                                         <div>
-                                          题目:{{
+                                          Question:{{
                                             tool.askJson[index1].askstitle
                                           }}
                                         </div>
@@ -892,7 +892,7 @@
                                 alt
                               />
                               <div style="margin: 5px 0; padding-left: 8px">
-                                倒计时
+                                Timer
                               </div>
                               <!-- <div class="iframeName">倒计时</div>
                               <div>
@@ -900,7 +900,7 @@
                               </div> -->
                             </div>
                             <div v-if="tooC == 15">
-                              <div class="iframeName">问答</div>
+                              <div class="iframeName">Question</div>
                               <div>
                                 <div
                                   style="
@@ -922,7 +922,7 @@
                                     </div>
                                     <div class="queTitle">
                                       <div style="width: 90px; min-width: 90px">
-                                        提问
+                                        Question
                                       </div>
                                       <div>{{ tool.answerQ }}</div>
                                     </div>
@@ -954,7 +954,7 @@
                                 alt
                               />
                               <div style="margin: 5px 0; padding-left: 8px">
-                                训练平台
+                                Model-training
                               </div>
                               <!-- <div class="iframeName">训练平台</div>
                               <iframe src="https://xunlian.cocorobo.cn/" class="iframeCss"></iframe> -->
@@ -968,7 +968,7 @@
                                 alt
                               />
                               <div style="margin: 5px 0; padding-left: 8px">
-                                作业提交
+                                File Upload
                               </div>
                             </div>
                             <div v-if="tooC == 21">
@@ -1048,7 +1048,7 @@
                                 alt
                               />
                               <div style="margin: 5px 0; padding-left: 8px">
-                                选择匹配
+                                Match
                               </div>
                             </div>
                             <div v-if="tooC == 44">
@@ -1083,7 +1083,7 @@
                           worksStudent[jdIndex][rwIndex][toolIndex].length > 0
                         "
                       >
-                        作业预览
+                        Preview
                       </div>
                       <div
                         class="worksDetailBox"
@@ -1170,7 +1170,7 @@
                           </div>
                         </div>
                       </div>
-                      <div style="font-size: 18px">未提交</div>
+                      <div style="font-size: 18px">Not submitted</div>
                       <div class="noWorksS">
                         <div
                           v-for="(s, sIndex) in noWorksS[toolIndex]"
@@ -1208,7 +1208,7 @@
                           :key="checkIndex"
                           v-if="item.answer == checkIndex"
                         >
-                          <span>正确率</span>
+                          <span>Accuracy rate</span>
                           <span>{{
                             (checkJson[jdIndex][rwIndex][toolIndex][index]
                               .checkPerent[checkIndex]
@@ -1254,7 +1254,7 @@
                           worksStudent[jdIndex][rwIndex][toolIndex].length > 0
                         "
                       >
-                        作业预览
+                        Preview
                       </div>
                       <div>
                         <div
@@ -1310,7 +1310,7 @@
                         </div>
                       </div>
 
-                      <div style="font-size: 18px">未提交</div>
+                      <div style="font-size: 18px">Not submitted</div>
                       <div class="noWorksS">
                         <div
                           v-for="(s, sIndex) in noWorksS[toolIndex]"
@@ -1337,7 +1337,7 @@
                           worksStudent[jdIndex][rwIndex][toolIndex].length > 0
                         "
                       >
-                        作业预览
+                        Preview
                       </div>
                       <div
                         class="worksDetailBox"
@@ -1431,7 +1431,7 @@
                           </div>
                         </div>
                       </div>
-                      <div style="font-size: 18px">未提交</div>
+                      <div style="font-size: 18px">Not submitted</div>
                       <div class="noWorksS">
                         <div
                           v-for="(s, sIndex) in noWorksS[toolIndex]"
@@ -1458,7 +1458,7 @@
                           worksStudent[jdIndex][rwIndex][toolIndex].length > 0
                         "
                       >
-                        作业预览
+                        Preview
                       </div>
                       <div
                         class="worksDetailBox"
@@ -1534,7 +1534,7 @@
                           </div>
                         </div>
                       </div>
-                      <div style="font-size: 18px">未提交</div>
+                      <div style="font-size: 18px">Not submitted</div>
                       <div class="noWorksS">
                         <div
                           v-for="(s, sIndex) in noWorksS[toolIndex]"
@@ -1561,7 +1561,7 @@
                           worksStudent[jdIndex][rwIndex][toolIndex].length > 0
                         "
                       >
-                        作业预览
+                        Preview
                       </div>
                       <div
                         class="worksDetailBox"
@@ -1637,7 +1637,7 @@
                           </div>
                         </div>
                       </div>
-                      <div style="font-size: 18px">未提交</div>
+                      <div style="font-size: 18px">Not submitted</div>
                       <div class="noWorksS">
                         <div
                           v-for="(s, sIndex) in noWorksS[toolIndex]"
@@ -1664,7 +1664,7 @@
                           worksStudent[jdIndex][rwIndex][toolIndex].length > 0
                         "
                       >
-                        作业预览
+                        Preview
                       </div>
                       <div
                         class="worksDetailBox"
@@ -1740,7 +1740,7 @@
                           </div>
                         </div>
                       </div>
-                      <div style="font-size: 18px">未提交</div>
+                      <div style="font-size: 18px">Not submitted</div>
                       <div class="noWorksS">
                         <div
                           v-for="(s, sIndex) in noWorksS[toolIndex]"
@@ -1767,7 +1767,7 @@
                           worksStudent[jdIndex][rwIndex][toolIndex].length > 0
                         "
                       >
-                        作业预览
+                        Preview
                       </div>
                       <div
                         class="worksDetailBox"
@@ -1843,7 +1843,7 @@
                           </div>
                         </div>
                       </div>
-                      <div style="font-size: 18px">未提交</div>
+                      <div style="font-size: 18px">Not submitted</div>
                       <div class="noWorksS">
                         <div
                           v-for="(s, sIndex) in noWorksS[toolIndex]"
@@ -1870,7 +1870,7 @@
                           worksStudent[jdIndex][rwIndex][toolIndex].length > 0
                         "
                       >
-                        作业预览
+                        Preview
                       </div>
                       <div
                         class="worksDetailBox"
@@ -1902,7 +1902,7 @@
                           </div>
                         </div>
                       </div>
-                      <div style="font-size: 18px">未提交</div>
+                      <div style="font-size: 18px">Not submitted</div>
                       <div class="noWorksS">
                         <div
                           v-for="(s, sIndex) in noWorksS[toolIndex]"
@@ -1929,7 +1929,7 @@
                           worksStudent[jdIndex][rwIndex][toolIndex].length > 0
                         "
                       >
-                        作业预览
+                        Preview
                       </div>
                       <div
                         class="worksDetailBox"
@@ -2006,7 +2006,7 @@
                           </div>
                         </div>
                       </div>
-                      <div style="font-size: 18px">未提交</div>
+                      <div style="font-size: 18px">Not submitted</div>
                       <div class="noWorksS">
                         <div
                           v-for="(s, sIndex) in noWorksS[toolIndex]"
@@ -2054,7 +2054,7 @@
                           worksStudent[jdIndex][rwIndex][toolIndex].length > 0
                         "
                       >
-                        作业预览
+                        Preview
                       </div>
                       <div
                         class="worksDetailBox"
@@ -2098,7 +2098,7 @@
                           </div>
                         </div> -->
                       </div>
-                      <div style="font-size: 18px">未提交</div>
+                      <div style="font-size: 18px">Not submitted</div>
                       <div class="noWorksS">
                         <div
                           v-for="(s, sIndex) in noWorksS[toolIndex]"
@@ -2111,7 +2111,7 @@
                     </div>
                   </div>
                   <!-- <div class="upload_toolBtn" @click="addImg($event)">
-                  上传文件
+                  Upload files
                   <input
                     type="file"
                     accept="image/png, image/gif, image/jpeg"
@@ -2147,7 +2147,7 @@
                 <div class="queTitle">
                   <div>工具</div>
                 </div>-->
-                  评一评
+                  Evaluation
                 </div>
                 <div class="evaCss">
                   <div class="elist_input">
@@ -2327,7 +2327,7 @@
             class="dialog_change"
           >
             <div class="marginT">
-              <div>上传文件</div>
+              <div>Upload files</div>
               <div
                 class="chapter_add"
                 @click="addImg($event)"
@@ -2478,7 +2478,7 @@
             </div>
           </div>-->
             <div class="upload_send" @click="addCourseWorks(taskCount)">
-              提交
+              Submit
             </div>
           </el-dialog>
         </div>
@@ -2527,13 +2527,13 @@
         <div style="padding-top: 10px;height:80%">
           <textarea class="binfo_input pzConText" cols placeholder="请填写项目课程关键问题...." v-model="pzConText"></textarea>
         </div>
-        <div class="addTextCss" @click="addPz">确定</div>
+        <div class="addTextCss" @click="addPz">Confirm</div>
       </div>
     </div> -->
     <div v-if="proVisible" class="mask">
       <div class="progressBox">
         <div class="lbox">
-          <img src="../assets/loading.gif" />上传中,请稍后
+          <img src="../assets/loading.gif" />Uploading
         </div>
         <el-progress
           :text-inside="true"
@@ -2547,7 +2547,7 @@
       <img width="100%" :src="dialogImageUrl" alt />
     </el-dialog>
     <el-dialog
-      :title="noteName != '' ? noteName : '查看选择题'"
+      :title="noteName != '' ? noteName : 'Choice question'"
       :visible.sync="dialogVisible5"
       :append-to-body="true"
       width="1000px"
@@ -2564,7 +2564,7 @@
             justify-content: center;
           "
         >
-          <div style="margin-right: 20px; font-size: 20px">标题:</div>
+          <div style="margin-right: 20px; font-size: 20px">Title:</div>
           <div style="font-size: 20px">{{ askJson.askTitle }}</div>
         </div>
         <div class="a_addBox">
@@ -2577,7 +2577,7 @@
             <div class="a_add_head">
               <div style="display: flex">
                 {{ index1 + 1 + "、" }}
-                <div>题目:{{ askJson.askJson[index1].askstitle }}</div>
+                <div>Question:{{ askJson.askJson[index1].askstitle }}</div>
               </div>
               <img
                 v-if="askJson.askJson[index1].img"
@@ -2605,7 +2605,7 @@
       </div>
       <span slot="footer" class="dialog-footer">
         <el-button @click="dialogVisible5 = false" v-show="noteName == ''"
-          >取 消</el-button
+          >Cancel</el-button
         >
         <el-button type="primary" @click="addStudentAsk" v-show="noteName == ''"
           >确 定</el-button
@@ -2632,7 +2632,7 @@
       </el-form>
       <span slot="footer" class="dialog-footer">
         <el-button type="primary" @click="dialogVisible1 = false"
-          >确定</el-button
+          >Confirm</el-button
         >
       </span>
     </el-dialog>
@@ -2685,7 +2685,7 @@
       ></iframe>
     </el-dialog>
     <el-dialog
-      title="提示"
+      title="Notification"
       :visible.sync="dialogVisible4"
       :append-to-body="true"
       width="800px"
@@ -2693,10 +2693,10 @@
       class="dialog_diy notice"
     >
       <div>此功能暂未开放!</div>
-      <el-button type="primary" @click="dialogVisible4 = false">确定</el-button>
+      <el-button type="primary" @click="dialogVisible4 = false">Confirm</el-button>
     </el-dialog>
     <el-dialog
-      title="问答"
+      title="Question"
       :visible.sync="answerDialogVisible"
       :append-to-body="true"
       width="800px"
@@ -2717,7 +2717,7 @@
               <img src="../assets/icon/question.png" alt />
             </div>
             <div class="queTitle">
-              <div style="width: 90px; min-width: 90px">提问:</div>
+              <div style="width: 90px; min-width: 90px">Question:</div>
               <div>{{ answerQ }}</div>
             </div>
           </div>
@@ -2733,12 +2733,12 @@
         </div>
       </div>
       <div slot="footer">
-        <el-button @click="answerDialogVisible = false">取 消</el-button>
+        <el-button @click="answerDialogVisible = false">Cancel</el-button>
         <el-button type="primary" @click="addQuestion">提 交</el-button>
       </div>
     </el-dialog>
     <el-dialog
-      title="倒计时"
+      title="Timer"
       :visible.sync="timeDialogVisible"
       :append-to-body="true"
       width="800px"
@@ -2749,11 +2749,11 @@
         <Time v-if="timeDialogVisible"></Time>
       </div>
       <div slot="footer">
-        <el-button @click="timeDialogVisible = false">关 闭</el-button>
+        <el-button @click="timeDialogVisible = false">Close</el-button>
       </div>
     </el-dialog>
     <el-dialog
-      title="权限设置"
+      title="Permission"
       :visible.sync="juriVisible"
       :append-to-body="true"
       width="400px"
@@ -2765,7 +2765,7 @@
           <div>
             <el-switch
               v-model="sIsOpen"
-              active-text="允许学生查看所有作业"
+              active-text="Allow students to view all submission"
               class="switchCss"
               @change="updateSLook"
             ></el-switch>
@@ -2776,7 +2776,7 @@
         <el-button
           style="background: #409efe; color: #fff"
           @click="juriVisible = false"
-          >关 闭</el-button
+          >Close</el-button
         >
       </div>
     </el-dialog>
@@ -2802,12 +2802,12 @@
           style="background: #409efe; color: #fff"
           @click="(videoVisible = false), (videoDetail.sources[0].src = '')"
         >
-          关 闭</el-button
+          Close</el-button
         >
       </div>
     </el-dialog>
     <el-dialog
-      :title="noteName != '' ? noteName : '查看选择题'"
+      :title="noteName != '' ? noteName : 'Choice question'"
       :visible.sync="dialogVisible5"
       :append-to-body="true"
       width="1000px"
@@ -2824,7 +2824,7 @@
             justify-content: center;
           "
         >
-          <div style="margin-right: 20px; font-size: 20px">标题:</div>
+          <div style="margin-right: 20px; font-size: 20px">Title:</div>
           <div style="font-size: 20px">{{ askJson.askTitle }}</div>
         </div>
         <div class="a_addBox">
@@ -2837,7 +2837,7 @@
             <div class="a_add_head">
               <div style="display: flex">
                 {{ index1 + 1 + "、" }}
-                <div>题目:{{ askJson.askJson[index1].askstitle }}</div>
+                <div>Question:{{ askJson.askJson[index1].askstitle }}</div>
               </div>
               <img
                 v-if="askJson.askJson[index1].img"
@@ -2865,7 +2865,7 @@
       </div>
       <span slot="footer" class="dialog-footer">
         <el-button @click="dialogVisible5 = false" v-show="noteName == ''"
-          >取 消</el-button
+          >Cancel</el-button
         >
         <el-button type="primary" @click="addStudentAsk" v-show="noteName == ''"
           >确 定</el-button
@@ -2940,7 +2940,7 @@
           v-if="commentDetail.works && commentDetail.type == 4"
         >
           <div class="evalCss">
-            <div class="nav">请选择星星进行评分</div>
+            <div class="nav">Please select stars to rate</div>
             <div class="middleBox" v-if="eScore.eStar">
               <div class="pfBox" v-for="(e, eIndex) in rateJson" :key="eIndex">
                 <div class="nameAndrate">
@@ -2963,7 +2963,7 @@
                   "
                   cols
                   v-model="eScore.eBzText"
-                  placeholder="请输入评价内容..."
+                  placeholder="Please enter your comments"
                 ></textarea>
               </div>
             </div>
@@ -3066,7 +3066,7 @@
                 ? (videoDetail.sources[0].src = '')
                 : ''
           "
-          >取 消</el-button
+          >Cancel</el-button
         >
         <el-button
           type="primary"
@@ -3112,7 +3112,7 @@
                 {{ fullUrl.name }}
               </div>
             </el-form-item>
-            <!-- <div style="color: #918f8f; width: 85%">文档内容</div> -->
+            <!-- <div style="color: #918f8f; width: 85%">Content</div> -->
             <div
               v-html="fullUrl.url"
               class="textContent"
@@ -3122,7 +3122,7 @@
         </div>
       </div>
       <!-- <div slot="footer">
-        <el-button @click="fullDialogVisible = false">关 闭</el-button>
+        <el-button @click="fullDialogVisible = false">Close</el-button>
       </div> -->
     </el-dialog>
     <el-dialog
@@ -3134,7 +3134,7 @@
       class="dialog_diy"
     >
       <div class="evalCss">
-        <div class="nav">请选择星星进行评分</div>
+        <div class="nav">Please select stars to rate</div>
         <div class="middleBox">
           <div class="pfBox" v-for="(e, eIndex) in rateJson" :key="eIndex">
             <div class="nameAndrate">
@@ -3170,20 +3170,20 @@
               "
               cols
               v-model="eScore.eBzText"
-              placeholder="请输入评价内容..."
+              placeholder="Please enter your comments"
             ></textarea>
           </div>
         </div>
       </div>
       <div slot="footer">
-        <el-button @click="studentEvalDialogVisible = false">取 消</el-button>
+        <el-button @click="studentEvalDialogVisible = false">Cancel</el-button>
         <el-button type="primary" @click="addBzWorks" v-if="isStar"
           >确 定</el-button
         >
       </div>
     </el-dialog>
     <el-dialog
-      title="选择匹配"
+      title="Match"
       :visible.sync="dialogVisibleSelect"
       :append-to-body="true"
       width="90%"
@@ -3193,8 +3193,7 @@
       <div v-if="selectJson">
         <div class="select_box2">
           <div class="select_box2_title">
-            <div>选择匹配</div>
-            <div>请选择对应的答案进行答题!</div>
+            <div>Match</div>
           </div>
           <div class="select_box2_box">
             <div class="select_box2_img">
@@ -3210,7 +3209,7 @@
                   {{ selectAnswer.stu }}
                 </div>
                 <div class="select_answer_title" v-else>
-                  根据题目选择对应答案
+                  Select the matching answer for each question
                 </div>
                 <div
                   class="select_box2_answer_box"
@@ -3221,7 +3220,7 @@
                   <el-select
                     :disabled="isSelect"
                     v-model="selectAnswer.answer[checkIndex]"
-                    placeholder="请选择正确答案"
+                    placeholder="Choose the answer"
                   >
                     <el-option
                       v-for="(e, eIndex) in selectJson.select"
@@ -3267,7 +3266,7 @@
                 type="primary"
                 @click="addSelectAnswer"
                 v-if="!isSelect"
-                >提交答案</el-button
+                >Submit</el-button
               >
             </div>
           </div>
@@ -3984,7 +3983,7 @@ export default {
                         }
                       }
                       for (var l = 0; l < t.length; l++) {
-                        //评论
+                        //
                         if (t[l].workId == b[j].id) {
                           if (t[l].comment != "") {
                             commentCount++;
@@ -5112,10 +5111,10 @@ export default {
       if (this.isNoHomeWork) {
         this.$confirm(
           "您已经提交了该作业了,如果您再提交将覆盖上次提交的作业!",
-          "提示",
+          "Notification",
           {
-            confirmButtonText: "确定",
-            cancelButtonText: "取消",
+            confirmButtonText: "Confirm",
+            cancelButtonText: "Cancel",
             type: "warning",
           }
         )

Dosya farkı çok büyük olduğundan ihmal edildi
+ 131 - 131
src/components/studyStudent.vue


+ 8 - 8
src/components/tools/imgDraw/imgDraw.vue

@@ -40,14 +40,14 @@
             </button>
           </div>
           <div class="tool_item" v-for="item in btns" :key="item.icon">
-            <button @click.stop="item.fun" v-if="item.name == '上一步'" :disabled="prevDis"
+            <button @click.stop="item.fun" v-if="item.name == 'Last'" :disabled="prevDis"
               :style="prevDis ? 'cursor:not-allowed' : ''">
               <svg class="icon" aria-hidden="true">
                 <use :xlink:href="item.icon" />
               </svg>
               <span>{{ item.name }}</span>
             </button>
-            <button @click.stop="item.fun" v-else-if="item.name == '下一步'" :disabled="nextDis"
+            <button @click.stop="item.fun" v-else-if="item.name == 'Next'" :disabled="nextDis"
               :style="nextDis ? 'cursor:not-allowed' : ''">
               <svg class="icon" aria-hidden="true">
                 <use :xlink:href="item.icon" />
@@ -69,11 +69,11 @@
           </div>
           <div class="pull" v-if="!isExpand">
             <span class="line"></span>
-            <span class="round" title="展开" @click.stop="handleShowOrHide(1)"></span>
+            <span class="round" title="Show" @click.stop="handleShowOrHide(1)"></span>
           </div>
         </div>
         <div :class="['tools', 'bars', showTools ? '' : 'hideTools']">
-          <div class="el-icon-s-tools arrow" v-if="!showTools" title="展开" @click.stop="handleShowTools(1)"></div>
+          <div class="el-icon-s-tools arrow" v-if="!showTools" title="Show" @click.stop="handleShowTools(1)"></div>
           <div class="el-icon-arrow-right arrow" v-else title="收起" @click.stop="handleShowTools(0)"></div>
           <div :class="[
             'tool_item',
@@ -177,14 +177,14 @@ export default {
       btns: [
         {
           icon: "#icon-chexiao",
-          name: "上一步",
+          name: "Last",
           fun: () => {
             return this.handlePrev();
           },
         },
         {
           icon: "#icon-zhongzuo",
-          name: "下一步",
+          name: "Next",
           fun: () => {
             return this.handleNext();
           },
@@ -199,7 +199,7 @@ export default {
         {
           // icon: "#icon-baocun",
           icon: "",
-          name: "关闭",
+          name: "Close",
           fun: () => {
             // return this.handleCanvas2Img();
             // return (this.show = false);
@@ -575,7 +575,7 @@ export default {
         this.prevDis = true;
       }
     },
-    /** 下一步*/
+    /** */
     handleNext() {
       if (this.currentImg.index < this.canvasStore.length - 1) {
         this.prevDis = false;

+ 1 - 1
src/components/tools/jsmind.vue

@@ -24,7 +24,7 @@
       <el-button @click="removeNode" size="medium">删除节点</el-button>
       <el-button @click="zoomIn" size="medium" :disabled="isZoomIn">放大</el-button>
       <el-button @click="zoomOut" size="medium" :disabled="isZoomOut" class="pad">缩小</el-button>
-      <span>展开:</span>
+      <span>Show:</span>
       <el-select
         v-model="level"
         placeholder="展开节点"

+ 1 - 1
src/components/tools/leftBar.vue

@@ -119,7 +119,7 @@
                 alt=""
               />
             </div>
-            <span slot="title">问卷调查</span>
+            <span slot="title">Questionnaire survey/Survey</span>
           </el-menu-item> -->
         </el-menu>
       </el-col>

+ 3 - 3
src/components/tools/table.vue

@@ -36,7 +36,7 @@ export default {
     },
     placeholder: {
       type: String,
-      default: "请输入正文"
+      default: "Please click the button to insert the table"
     }
   },
   watch: {
@@ -65,7 +65,7 @@ export default {
       this.editor.config.menuFixed = false;
       // 普通的自定义菜单
       this.editor.config.menus = [
-        // "head", //标题
+        // "head", //Title
         // "bold", //加粗
         // "fontSize", //字体大小
         // "fontName", //字体
@@ -205,7 +205,7 @@ export default {
 }
 
 .editor >>> .w-e-icon-table2::after {
-  content: '插入表格';
+  content: 'Insert table';
   margin-left: 5px;
 }
 

+ 2 - 2
src/components/tools/time.vue

@@ -63,7 +63,7 @@
         @click="pauseTimer"
       ></button>
     </div>
-    <el-button type="primary" @click="reset" class="reset_btn">重置</el-button>
+    <el-button type="primary" @click="reset" class="reset_btn">Reset</el-button>
   </div>
 </template>
 
@@ -145,7 +145,7 @@ export default {
           //   btn.style.opacity = 1;
           // });
           _this.displayTimeLeft(_this.wholeTime);
-          _this.$message.success("时间到!!!");
+          _this.$message.success("Time out!");
           // pauseBtn.classList.remove("pause");
           // pauseBtn.classList.add("play");
           return;

+ 2 - 2
src/components/tools/wangEnduit.vue

@@ -61,7 +61,7 @@ export default {
       this.editor.config.menuFixed = false;
       // 普通的自定义菜单
       this.editor.config.menus = [
-        "head", //标题
+        "head", //Title
         "bold", //加粗
         "fontSize", //字体大小
         // "fontName", //字体
@@ -200,7 +200,7 @@ export default {
 }
 
 .editor >>> .w-e-icon-table2::after {
-  content: '插入表格';
+  content: 'Insert table';
   margin-left: 5px;
 }
 

+ 5 - 5
src/components/updateMore/updateMore.vue

@@ -1,14 +1,14 @@
 <template>
-  <el-dialog title="添加学生" :visible.sync="dialogVisibleMember" :append-to-body="true" width="540px" height="80%"
+  <el-dialog title="Add student" :visible.sync="dialogVisibleMember" :append-to-body="true" width="540px" height="80%"
     :before-close="handleClose" class="addNewPP">
     <div class="people" v-if="dialogVisibleMember">
       <div class="people_top">
         <div class="people_top_right">
           <div class="people_search">
-            <el-input placeholder="填写自定义姓名" v-model="name" @change="nameChange"></el-input>
+            <el-input placeholder="Fill in the name" v-model="name" @change="nameChange"></el-input>
           </div>
         </div>
-        <div class="people_nav">选择学生</div>
+        <div class="people_nav">Select student</div>
       </div>
       <div class="i_box_login2" v-if="cList.length">
         <div :class="{ active: cname == item.userid }" v-for="(item, index) in cList" :key="index"
@@ -22,8 +22,8 @@
     </div>
 
     <span slot="footer" class="dialog-footer">
-        <el-button @click="close">取 消</el-button>
-      <el-button type="primary" @click="joinUpMore">确定</el-button>
+        <el-button @click="close">Cancel</el-button>
+      <el-button type="primary" @click="joinUpMore">Confirm</el-button>
     </span>
   </el-dialog>
 </template>

+ 16 - 18
src/components/works.vue

@@ -57,7 +57,7 @@
               ></el-table-column>
               <el-table-column
                 prop="time"
-                label="时间"
+                label="Time"
                 min-width="20"
                 align="center"
               ></el-table-column>
@@ -110,7 +110,7 @@
                 <div class="cru_selectBox">
                   <div v-for="(dy, dyIndex) in dyList2" :key="dyIndex">
                     <div class="blue_box_one" @click="isOpen(dyIndex)">
-                      <div>第{{ dy.id + 1 }}阶段</div>
+                      <div>Phrase{{ dy.id + 1 }}</div>
                       <div>{{ dy.name }}</div>
                     </div>
                     <div class="twoChild" :class="{
@@ -129,7 +129,7 @@
                               dy.id + '-' + nav.id == navId &&
                               dy.id == stageIndex,
                           }" style="margin: 0">
-                            任务{{ navIndex + 1 }}
+                            Task{{ navIndex + 1 }}
                           </div>
                           <el-tooltip class="navTaskname item" effect="light" :content="nav.name" placement="top">
                             <div>{{ nav.name }}</div>
@@ -147,15 +147,14 @@
                       <div class="jdName">
                         <div>
                           {{
-                          "" +
+                          "Phrase" +
                           (sin.stage + 1) +
-                          "阶段 " +
                           dyList[sin.stage].name
                           }}
                         </div>
                         <div class="taskName" style="width: 100%; justify-content: space-between">
                           <div class="taskName" :id="sin.stage + '-' + sin.task" :scrollindex="sIndex">
-                            <div class="task">任务{{ sin.task + 1 }}</div>
+                            <div class="task">Task{{ sin.task + 1 }}</div>
                             <div>
                               {{ dyList[sin.stage].taskList[sin.task].name }}
                             </div>
@@ -226,7 +225,7 @@
                               flex-wrap: wrap;
                             ">
                             <div style="margin-right: 20px; font-size: 20px">
-                              标题:
+                              Title:
                             </div>
                             <div style="font-size: 20px">
                               {{ worksDetail[sIndex].askInfo[0].askTitle }}
@@ -242,7 +241,7 @@
                                 <div style="display: flex">
                                   {{ index1 + 1 + "、" }}
                                   <div>
-                                    题目:{{
+                                    Question:{{
                                     worksDetail[sIndex].askInfo[0].askJson[
                                     index1
                                     ].askstitle
@@ -329,7 +328,7 @@
             </div>
           </div>
         </el-dialog>
-        <el-dialog title="查看选择题" :visible.sync="dialogVisible4" :append-to-body="true" width="800px"
+        <el-dialog title="Choice question" :visible.sync="dialogVisible4" :append-to-body="true" width="800px"
       :before-close="handleClose" class="dialog_diy">
       <div>
         <div class="a_add_title" style="
@@ -346,7 +345,7 @@
             <div class="a_add_head">
               <div style="display: flex">
                 {{ index + 1 + "、" }}
-                <div>题目:{{ item.askstitle }}</div>
+                <div>Question:{{ item.askstitle }}</div>
               </div>
             </div>
             <div class="a_add_body">
@@ -361,7 +360,7 @@
         </div>
       </div>
       <span slot="footer" class="dialog-footer">
-        <el-button type="primary" @click="dialogVisible4 = false">关 闭</el-button>
+        <el-button type="primary" @click="dialogVisible4 = false">Close</el-button>
       </span>
     </el-dialog>
     <el-dialog :visible.sync="pictureDialog" size="tiny">
@@ -1180,14 +1179,13 @@ export default {
           var _course = `<h1>${this.sInfo.course}</h1>`;
           var _title =
             "<h2>" +
-            "" +
+            "Phrase" +
             (this.sInfo.stage + 1) +
-            "阶段 " +
             this.dyList[this.sInfo.stage].name +
             "</h2>";
           var _subtitle =
             "<h3>" +
-            "任务" +
+            "Task" +
             (this.sInfo.task + 1) +
             " " +
             this.dyList[this.sInfo.stage].taskList[this.sInfo.task].name +
@@ -1210,10 +1208,10 @@ export default {
 
           var _ask = "";
           if (workJson.askInfo.length > 0) {
-            var _ask = "<h3>选择题</h3>";
+            var _ask = "<h3>Choice question</h3>";
             for (var i = 0; i < workJson.askInfo.length; i++) {
               var _div = document.createElement("div");
-              _div.innerHTML = `<h4>标题:${workJson.askInfo[i].askTitle}</h4>`;
+              _div.innerHTML = `<h4>Title:${workJson.askInfo[i].askTitle}</h4>`;
               for (var j = 0; j < workJson.askInfo[i].askJson.length; j++) {
                 var _div2 = document.createElement("div");
                 _div2.innerHTML = `<h5>第${j + 1}题:${workJson.askInfo[i].askJson[j].askstitle
@@ -1236,10 +1234,10 @@ export default {
 
           var _answer = "";
           if (workJson.answerInfo.length > 0) {
-            var _answer = "<h3>问答</h3>";
+            var _answer = "<h3>Question</h3>";
             for (var i = 0; i < workJson.answerInfo.length; i++) {
               var _div = document.createElement("div");
-              _div.innerHTML = `<h4>问答:${workJson.answerInfo[i].answerTitle}</h4>`;
+              _div.innerHTML = `<h4>Question:${workJson.answerInfo[i].answerTitle}</h4>`;
               _div.innerHTML += `<div>${workJson.answerInfo[i].answer}</div>`;
               _answer += `<div>${_div.innerHTML}</div>`;
             }

Dosya farkı çok büyük olduğundan ihmal edildi
+ 129 - 129
src/components/横板极简和任务模式/easy2/studyStudent.vue


Dosya farkı çok büyük olduğundan ihmal edildi
+ 128 - 128
src/components/横板极简和任务模式/easy3/studyStudent.vue


Bu fark içinde çok fazla dosya değişikliği olduğu için bazı dosyalar gösterilmiyor