Browse Source

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

lsc 5 months ago
parent
commit
08c9686e02
33 changed files with 189 additions and 35 deletions
  1. 1 1
      dist/index.html
  2. 0 0
      dist/static/css/app.4dea0a06404a76a1c322ab95fcc82255.css
  3. 0 0
      dist/static/css/app.4dea0a06404a76a1c322ab95fcc82255.css.map
  4. 0 0
      dist/static/css/workPage.673db1442131b18b96fcbfafeb12735f.css
  5. 0 0
      dist/static/css/workPage.673db1442131b18b96fcbfafeb12735f.css.map
  6. 0 0
      dist/static/js/app.dfe099d58a3f581f7ea0.js
  7. 0 0
      dist/static/js/app.dfe099d58a3f581f7ea0.js.map
  8. 0 0
      dist/static/js/manifest.23ea04dc469b57e2b4f8.js.map
  9. 0 0
      dist/static/js/workPage-manifest.2ece51fa34be51c8610a.js.map
  10. 0 0
      dist/static/js/workPage.206eb2d76a4e1bfd472e.js
  11. 0 0
      dist/static/js/workPage.206eb2d76a4e1bfd472e.js.map
  12. 0 0
      dist/static/js/workPage.e2c802eb500064e07fc1.js
  13. 0 0
      dist/static/js/workPage.e2c802eb500064e07fc1.js.map
  14. 1 1
      dist/workPage.html
  15. 12 1
      src/components/pages/EnglishVoice/component/component/testRole.vue
  16. 12 1
      src/components/pages/EnglishVoiceNew/component/talkPreview.vue
  17. 10 1
      src/components/pages/aiAddCourse/aiBoxCourseDetail.vue
  18. 10 1
      src/components/pages/aiAddCourse/aiBoxRight.vue
  19. 12 1
      src/components/pages/aiAddCourse/record.vue
  20. 10 1
      src/components/pages/aiEasy/aiBoxCourseDetail.vue
  21. 10 1
      src/components/pages/aiEasy/aiBoxRight.vue
  22. 12 1
      src/components/pages/aiEasy/record.vue
  23. 10 1
      src/components/pages/classroomObservation/components/chatArea.vue
  24. 10 1
      src/components/pages/classroomObservation/dialog/batchCreationClassDialog.vue
  25. 31 6
      src/components/pages/pptEasy/addCourse2.vue
  26. 3 4
      src/components/pages/studentManageNew/component/table.vue
  27. 2 2
      src/components/pages/studentManageNew/index.vue
  28. 10 1
      src/components/pages/test/check/aiBoxRight.vue
  29. 10 1
      src/components/pages/test/checkAi/aiLeader.vue
  30. 12 1
      src/components/pages/workPage/components/questionsAndAnswers.vue
  31. 2 1
      src/lang/cn.json
  32. 7 6
      src/lang/en.json
  33. 2 1
      src/lang/hk.json

+ 1 - 1
dist/index.html

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

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


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


File diff suppressed because it is too large
+ 0 - 0
dist/static/css/workPage.673db1442131b18b96fcbfafeb12735f.css


File diff suppressed because it is too large
+ 0 - 0
dist/static/css/workPage.673db1442131b18b96fcbfafeb12735f.css.map


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


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


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


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/workPage-manifest.2ece51fa34be51c8610a.js.map


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/workPage.206eb2d76a4e1bfd472e.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/workPage.206eb2d76a4e1bfd472e.js.map


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


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


+ 1 - 1
dist/workPage.html

@@ -1,4 +1,4 @@
-<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><title>工作页面 - CocoFlow</title><link rel=icon href=../static/logo.ico><link href=./static/css/workPage.e88a32828c71174cbdd2d803968f5b6b.css rel=stylesheet></head><body><noscript><strong>We're sorry but this app doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script type=text/javascript src=./static/js/workPage-manifest.2ece51fa34be51c8610a.js></script><script type=text/javascript src=./static/js/workPage-vendor.7e4b52d86fde7f24e41c.js></script><script type=text/javascript src=./static/js/workPage.206eb2d76a4e1bfd472e.js></script></body></html><script>function stopSafari() {
+<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><title>工作页面 - CocoFlow</title><link rel=icon href=../static/logo.ico><link href=./static/css/workPage.673db1442131b18b96fcbfafeb12735f.css rel=stylesheet></head><body><noscript><strong>We're sorry but this app doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script type=text/javascript src=./static/js/workPage-manifest.2ece51fa34be51c8610a.js></script><script type=text/javascript src=./static/js/workPage-vendor.7e4b52d86fde7f24e41c.js></script><script type=text/javascript src=./static/js/workPage.e2c802eb500064e07fc1.js></script></body></html><script>function stopSafari() {
     //阻止safari浏览器双击放大功能
     let lastTouchEnd = 0  //更新手指弹起的时间
     document.documentElement.addEventListener("touchstart", function (event) {

+ 12 - 1
src/components/pages/EnglishVoice/component/component/testRole.vue

@@ -24,7 +24,7 @@
                 <input type="file" style="display: none;" @change="fileChange">
             </div>
             <iframe allow="camera *; microphone *;display-capture;midi;encrypted-media;"
-                src="https://beta.cloud.cocorobo.cn/browser/public/index.html" ref="iiframe" style="display: none;"></iframe>
+                :src="iframeUrl" ref="iiframe" style="display: none;"></iframe>
         </div>
     </el-dialog>
 </template>
@@ -71,6 +71,17 @@ export default {
             id: this.guid()
         };
     },
+    computed: {
+        iframeUrl() {
+            if (this.lang.lang == 'com') {
+                return `https://cloud.cocorobo.com/browser/public/index.html`;
+            }else if(this.lang.lang == 'hk'){
+                return `https://cloud.cocorobo.hk/browser/public/index.html`;
+            }else{
+                return `https://beta.cloud.cocorobo.cn/browser/public/index.html`;
+            }
+        }
+    },
     methods: {
         handleClose(done) {
             this.close();

+ 12 - 1
src/components/pages/EnglishVoiceNew/component/talkPreview.vue

@@ -143,7 +143,7 @@
     </div>
     <iframe
       allow="camera *; microphone *;display-capture;midi;encrypted-media;"
-      src="https://beta.cloud.cocorobo.cn/browser/public/index.html"
+      :src="iframeUrl"
       ref="iiframe"
       v-show="false"
     ></iframe>
@@ -207,6 +207,17 @@ export default {
         "Read the following text aloud.A Car Accident I saw a car accident this morning. A boy wanted to cross the road but he did not look carefully. He just ran out into the road. A car was coming and the driver stopped at once. Luckily, the boy was not hurt. However, there was a bus behind the car. It could not stop and hit the back of the car. Someone called the police and they arrived quickly.",
     };
   },
+  computed: {
+    iframeUrl() {
+      if (this.lang.lang == 'com') {
+        return `https://cloud.cocorobo.com/browser/public/index.html`;
+      }else if(this.lang.lang == 'hk'){
+        return `https://cloud.cocorobo.hk/browser/public/index.html`;
+      }else{
+        return `https://beta.cloud.cocorobo.cn/browser/public/index.html`;
+      }
+    }
+  },
   methods: {
     handleClose(done) {
       this.close();

+ 10 - 1
src/components/pages/aiAddCourse/aiBoxCourseDetail.vue

@@ -365,7 +365,7 @@
     </div>
     <iframe
       allow="camera *; microphone *;display-capture;midi;encrypted-media;"
-      src="https://beta.cloud.cocorobo.cn/browser/public/index.html"
+      :src="iframeUrl"
       ref="iiframe"
       v-show="false"
     ></iframe>
@@ -1612,6 +1612,15 @@ ${message}`;
     }
   },
   computed: {
+    iframeUrl() {
+      if (this.lang.lang == 'com') {
+        return `https://cloud.cocorobo.com/browser/public/index.html`;
+      }else if(this.lang.lang == 'hk'){
+        return `https://cloud.cocorobo.hk/browser/public/index.html`;
+      }else{
+        return `https://beta.cloud.cocorobo.cn/browser/public/index.html`;
+      }
+    },
     pan() {
       return content => {
         try {

+ 10 - 1
src/components/pages/aiAddCourse/aiBoxRight.vue

@@ -369,7 +369,7 @@
     </div>
     <iframe
       allow="camera *; microphone *;display-capture;midi;encrypted-media;"
-      src="https://beta.cloud.cocorobo.cn/browser/public/index.html"
+      :src="iframeUrl"
       ref="iiframe"
       v-show="false"
     ></iframe>
@@ -1893,6 +1893,15 @@ ${message}`;
     }
   },
   computed: {
+    iframeUrl() {
+      if (this.lang.lang == 'com') {
+        return `https://cloud.cocorobo.com/browser/public/index.html`;
+      }else if(this.lang.lang == 'hk'){
+        return `https://cloud.cocorobo.hk/browser/public/index.html`;
+      }else{
+        return `https://beta.cloud.cocorobo.cn/browser/public/index.html`;
+      }
+    },
     pan() {
       return content => {
         try {

+ 12 - 1
src/components/pages/aiAddCourse/record.vue

@@ -136,7 +136,7 @@
     </div>
     <iframe
       allow="camera *; microphone *;display-capture;midi;encrypted-media;"
-      src="https://beta.cloud.cocorobo.cn/browser/public/index.html"
+      :src="iframeUrl"
       ref="iiframe"
       v-show="false"
     ></iframe>
@@ -153,6 +153,17 @@ export default {
       type: String
     }
   },
+  computed: {
+    iframeUrl() {
+      if (this.lang.lang == 'com') {
+        return `https://cloud.cocorobo.com/browser/public/index.html`;
+      }else if(this.lang.lang == 'hk'){
+        return `https://cloud.cocorobo.hk/browser/public/index.html`;
+      }else{
+        return `https://beta.cloud.cocorobo.cn/browser/public/index.html`;
+      }
+    }
+  },
   data() {
     return {
       videoText: this.videoText2,

+ 10 - 1
src/components/pages/aiEasy/aiBoxCourseDetail.vue

@@ -365,7 +365,7 @@
     </div>
     <iframe
       allow="camera *; microphone *;display-capture;midi;encrypted-media;"
-      src="https://beta.cloud.cocorobo.cn/browser/public/index.html"
+      :src="iframeUrl"
       ref="iiframe"
       v-show="false"
     ></iframe>
@@ -1616,6 +1616,15 @@ ${message}`;
     }
   },
   computed: {
+    iframeUrl() {
+      if (this.lang.lang == 'com') {
+        return `https://cloud.cocorobo.com/browser/public/index.html`;
+      }else if(this.lang.lang == 'hk'){
+        return `https://cloud.cocorobo.hk/browser/public/index.html`;
+      }else{
+        return `https://beta.cloud.cocorobo.cn/browser/public/index.html`;
+      }
+    },
     pan() {
       return content => {
         try {

+ 10 - 1
src/components/pages/aiEasy/aiBoxRight.vue

@@ -363,7 +363,7 @@
     </div>
     <iframe
       allow="camera *; microphone *;display-capture;midi;encrypted-media;"
-      src="https://beta.cloud.cocorobo.cn/browser/public/index.html"
+      :src="iframeUrl"
       ref="iiframe"
       v-show="false"
     ></iframe>
@@ -1862,6 +1862,15 @@ ${message}`;
     }
   },
   computed: {
+    iframeUrl() {
+      if (this.lang.lang == 'com') {
+        return `https://cloud.cocorobo.com/browser/public/index.html`;
+      }else if(this.lang.lang == 'hk'){
+        return `https://cloud.cocorobo.hk/browser/public/index.html`;
+      }else{
+        return `https://beta.cloud.cocorobo.cn/browser/public/index.html`;
+      }
+    },
     pan() {
       return content => {
         try {

+ 12 - 1
src/components/pages/aiEasy/record.vue

@@ -136,7 +136,7 @@
     </div>
     <iframe
       allow="camera *; microphone *;display-capture;midi;encrypted-media;"
-      src="https://beta.cloud.cocorobo.cn/browser/public/index.html"
+      :src="iframeUrl"
       ref="iiframe"
       v-show="false"
     ></iframe>
@@ -185,6 +185,17 @@ export default {
       }
     };
   },
+  computed: {
+    iframeUrl() {
+      if (this.lang.lang == 'com') {
+        return `https://cloud.cocorobo.com/browser/public/index.html`;
+      }else if(this.lang.lang == 'hk'){
+        return `https://cloud.cocorobo.hk/browser/public/index.html`;
+      }else{
+        return `https://beta.cloud.cocorobo.cn/browser/public/index.html`;
+      }
+    }
+  },
   watch: {
     videoText(newValue) {
       this.$emit("update:videoText2", newValue);

+ 10 - 1
src/components/pages/classroomObservation/components/chatArea.vue

@@ -512,7 +512,7 @@
     <!-- 录音转文字 -->
     <iframe
       allow="camera *; microphone *;display-capture;midi;encrypted-media;"
-      src="https://beta.cloud.cocorobo.cn/browser/public/index.html"
+      :src="iframeUrl"
       ref="iiframe"
       v-show="false"
     ></iframe>
@@ -808,6 +808,15 @@ export default {
     };
   },
   computed: {
+    iframeUrl() {
+      if (this.lang.lang == 'com') {
+        return `https://cloud.cocorobo.com/browser/public/index.html`;
+      }else if(this.lang.lang == 'hk'){
+        return `https://cloud.cocorobo.hk/browser/public/index.html`;
+      }else{
+        return `https://beta.cloud.cocorobo.cn/browser/public/index.html`;
+      }
+    },
     // 选择可以@的角色
     choseRoleList() {
       let result = [...this.roleList, ...this.publicRoleList];

+ 10 - 1
src/components/pages/classroomObservation/dialog/batchCreationClassDialog.vue

@@ -111,7 +111,7 @@
     <!-- 录音转文字 -->
     <iframe
       allow="camera *; microphone *;display-capture;midi;encrypted-media;"
-      src="https://beta.cloud.cocorobo.cn/browser/public/index.html"
+      :src="iframeUrl"
       ref="iframeRef"
       v-show="false"
     ></iframe>
@@ -151,6 +151,15 @@ export default {
     };
   },
   computed: {
+    iframeUrl() {
+      if (this.lang.lang == 'com') {
+        return `https://cloud.cocorobo.com/browser/public/index.html`;
+      }else if(this.lang.lang == 'hk'){
+        return `https://cloud.cocorobo.hk/browser/public/index.html`;
+      }else{
+        return `https://beta.cloud.cocorobo.cn/browser/public/index.html`;
+      }
+    },
     selectAll: {
       get() {
         let _result = false;

+ 31 - 6
src/components/pages/pptEasy/addCourse2.vue

@@ -869,7 +869,7 @@
             ></el-input>
           </span>
         </el-form-item>
-        <el-form-item :label="lang.ssLink" :label-width="formLabelWidth">
+        <el-form-item :label="lang.URL" :label-width="formLabelWidth">
           <span>
             <el-input
               :placeholder="lang.ssEnterLink"
@@ -882,7 +882,7 @@
       </el-form>
       <span slot="footer" class="dialog-footer">
         <el-button @click="clearLine">{{ lang.ssCancel }}</el-button>
-        <el-button type="primary" @click="isAddOrUpdateLine">{{ lang.ssConfirm }}</el-button>
+        <el-button type="primary" @click="isAddOrUpdateLine">{{ lang.Add }}</el-button>
       </span>
     </el-dialog>
     <el-dialog
@@ -2013,6 +2013,9 @@ export default {
               }
             }
           }
+          if (this.CourseType[0] && this.CourseType[0].length && this.lang.lang == 'com') {
+            this.CourseType[0] = this.CourseType[0].filter(item => item.id != '34629bcc-d02f-11ec-8c78-005056b86db5');
+          }
           this.courseTypeId = _courseTypeId;
         })
         .catch(err => {
@@ -2422,6 +2425,14 @@ export default {
     // 打开应用中心
     openApplicationCenter(){
       // 创建Cocorobo链接工具项
+      let url = "";
+      if(this.lang.lang == 'com'){
+        url = "https://app.cocorobo.com";
+      }else if(this.lang.lang == 'hk'){
+        url = "https://app.cocorobo.hk";
+      }else{
+        url = "https://app.cocorobo.cn";
+      }
       let cocoroboItem = {
         id: new Date().getTime(),
         tool: 76, // 新的应用中心工具类型
@@ -2430,9 +2441,9 @@ export default {
         json: {
           title: this.lang.ssCreateSpace,
           detail: this.lang.ssCreateSpace,
-          url: "https://app.cocorobo.cn"
+          url: url
         },
-        url: "https://app.cocorobo.cn"
+        url: url
       };
       this.pptCourseJson.toolsList.push(cocoroboItem);
       this.addContent(cocoroboItem)
@@ -2530,7 +2541,14 @@ export default {
 
       this.dialogVisibleChoice = false;
       this.getWorkPageId(_data.id,45,testJson).then(res=>{
-        let url = `https://beta.pbl.cocorobo.cn/pbl-teacher-table/dist/workPage.html#/workPageNew?id=${res}`
+        let url = ``
+        if(this.lang.lang == 'com'){
+          url = `https://pbl.cocorobo.com/pbl-teacher-table/dist/workPage.html#/workPageNew?id=${res}`
+        }else if(this.lang.lang == 'hk'){
+          url = `https://pbl.cocorobo.hk/pbl-teacher-table/dist/workPage.html#/workPageNew?id=${res}`
+        }else{
+          url = `https://pbl.cocorobo.cn/pbl-teacher-table/dist/workPage.html#/workPageNew?id=${res}`
+        }
         this.pptCourseJson.toolsList.find(i=>i.id===_data.id).url = url;
         this.setPPtToolList();
         _data.url = url
@@ -2786,7 +2804,14 @@ export default {
 
       this.dialogVisible8 = false;
       this.getWorkPageId(_data.id,15,{answerQ:this.answerQ}).then(res=>{
-        let url = `https://beta.pbl.cocorobo.cn/pbl-teacher-table/dist/workPage.html#/workPageNew?id=${res}`;
+        let url = ``;
+        if(this.lang.lang == 'com'){
+          url = `https://pbl.cocorobo.com/pbl-teacher-table/dist/workPage.html#/workPageNew?id=${res}`
+        }else if(this.lang.lang == 'hk'){
+          url = `https://pbl.cocorobo.hk/pbl-teacher-table/dist/workPage.html#/workPageNew?id=${res}`
+        }else{
+          url = `https://pbl.cocorobo.cn/pbl-teacher-table/dist/workPage.html#/workPageNew?id=${res}`
+        }
         this.pptCourseJson.toolsList.find(i=>i.id===_data.id).url = url;
         this.setPPtToolList();
         _data.url = url

+ 3 - 4
src/components/pages/studentManageNew/component/table.vue

@@ -58,11 +58,8 @@
       <!-- 右边区域 -->
       <div class="topbox_area">
         <el-input
-          :placeholder="
-            boxType == 1 ? lang.ssSearchInterCla : lang.ssSearchStudent
-          "
+          :placeholder="lang.ssSearchStudent"
           v-model="inp"
-          @blur="refresh"
           @keyup.enter.native="refresh"
           v-if="
             boxType == 0 || boxType == 2 || (boxType == 1 && interestType == 1)
@@ -836,6 +833,7 @@ export default {
       this.popBoxdia = true;
       this.deltypy = 3;
     },
+    // 删除班级
     confirmdeleteCla() {
       let params = {
         id: this.delClaid
@@ -940,6 +938,7 @@ export default {
       this.deltypy = 9;
       this.popBoxdia = true;
     },
+    // 确定移动班级学生
     confirmMoveClaEditStu() {
       // this.$confirm("确定要移动到该班级吗?", "提示", {
       //   confirmButtonText: "确定",

+ 2 - 2
src/components/pages/studentManageNew/index.vue

@@ -9,7 +9,7 @@
 
       <template v-loading="boxLoading">
       <div style="display: flex; gap: 10px;">
-        <div v-if="orglist.includes(org)" class="Clabtn" @click="openaddClass(1)">
+        <div v-if="orglist.includes(org) || this.role == 1" class="Clabtn" @click="openaddClass(1)">
           <img src="../../../assets/stuImg/jia.svg" alt="" />
           <span>{{ lang.ssNewGrade }}</span>
         </div>
@@ -369,7 +369,7 @@ export default {
 .rigbox {
   background: #fff;
   height: 100%;
-  width: 176px;
+  width: 185px;
   background: #ffffff;
   border-radius: 8px 8px 8px 8px;
   padding: 10px;

+ 10 - 1
src/components/pages/test/check/aiBoxRight.vue

@@ -330,7 +330,7 @@
     </div>
     <iframe
       allow="camera *; microphone *;display-capture;midi;encrypted-media;"
-      src="https://beta.cloud.cocorobo.cn/browser/public/index.html"
+      :src="iframeUrl"
       ref="iiframe"
       v-show="false"
     ></iframe>
@@ -1483,6 +1483,15 @@ export default {
     }
   },
   computed: {
+    iframeUrl() {
+      if (this.lang.lang == 'com') {
+        return `https://cloud.cocorobo.com/browser/public/index.html`;
+      }else if(this.lang.lang == 'hk'){
+        return `https://cloud.cocorobo.hk/browser/public/index.html`;
+      }else{
+        return `https://beta.cloud.cocorobo.cn/browser/public/index.html`;
+      }
+    },
     pan() {
       return content => {
         try {

+ 10 - 1
src/components/pages/test/checkAi/aiLeader.vue

@@ -608,7 +608,7 @@
     </div>
     <iframe
       allow="camera *; microphone *;display-capture;midi;encrypted-media;"
-      src="https://beta.cloud.cocorobo.cn/browser/public/index.html"
+      :src="iframeUrl"
       ref="iiframe"
       v-show="false"
     ></iframe>
@@ -2653,6 +2653,15 @@ ${_echartsType[type].text}
     }
   },
   computed: {
+    iframeUrl() {
+      if (this.lang.lang == 'com') {
+        return `https://cloud.cocorobo.com/browser/public/index.html`;
+      }else if(this.lang.lang == 'hk'){
+        return `https://cloud.cocorobo.hk/browser/public/index.html`;
+      }else{
+        return `https://beta.cloud.cocorobo.cn/browser/public/index.html`;
+      }
+    },
     localFormList() {
       // 在 computed 属性中返回一个新的数组,而不是直接修改 prop
       let localFormList = [...this.formList];

+ 12 - 1
src/components/pages/workPage/components/questionsAndAnswers.vue

@@ -55,7 +55,7 @@
     <!-- 录音转文字 -->
     <iframe
       allow="camera *; microphone *;display-capture;midi;encrypted-media;"
-      src="https://beta.cloud.cocorobo.cn/browser/public/index.html"
+      :src="iframeUrl"
       ref="iframeRef"
       v-show="false"
     ></iframe>
@@ -89,6 +89,17 @@ export default {
 
     };
   },
+  computed: {
+    iframeUrl() {
+      if (this.lang.lang == 'com') {
+        return `https://cloud.cocorobo.com/browser/public/index.html`;
+      }else if(this.lang.lang == 'hk'){
+        return `https://cloud.cocorobo.hk/browser/public/index.html`;
+      }else{
+        return `https://beta.cloud.cocorobo.cn/browser/public/index.html`;
+      }
+    }
+  },
   watch: {
     work: {
       deep: true,

+ 2 - 1
src/lang/cn.json

@@ -2016,7 +2016,8 @@
   "ssPrevQ":"上一题",
   "ssNextQ":"下一题",
   "ssUntitledCourse":"暂未命名",
-  "ssPPtUpProgress":"上传进度(*)"
+  "ssPPtUpProgress":"上传进度(*)",
+  "ssBilibiliVideoSearchKeyword":"请输入关键词"
 
 
 

+ 7 - 6
src/lang/en.json

@@ -921,8 +921,8 @@
   "ssEnterTextT":"Enter Text Title...",
   "ssAddLink":"Add a Link",
   "ssTitle":"Title",
-  "ssEnterLinkT":"Enter link display text",
-  "ssEnterLink":"Enter URL",
+  "ssEnterLinkT":"Enter a title for this link...",
+  "ssEnterLink":"Enter URL...",
   "ssModifyRes":"Modify resources",
   "ssAddRes":"Add resources",
   "ssAddCourseM":"Add course members",
@@ -942,7 +942,7 @@
   "ssEnterQues":"Enter question",
   "ssDelete":"Delete",
   "ssEnterOpt":"Enter option",
-  "ssCreateChoice":"Create Multiple Choice Questions",
+  "ssCreateChoice":"Create Questionnaire",
   "ssUploadWait":"Uploading,please wait",
   "ssIntGen":"Intelligent Generation",
   "ssSmartPaste":"SMART Paste",
@@ -1740,7 +1740,7 @@
   "ssQuestionnaire":"Questionnaire",
   "ssSentence":"Sentence",
   "ssCocoFlow":"cocoFlow",
-  "ssClickAddCover":"Click to add cover",
+  "ssClickAddCover":"Add Cover Image",
   "ssSelectCollab":"Please select collaborators",
   "ssClear":"Clear",
   "ssAddObjMgmt":"Please add objective management",
@@ -1904,7 +1904,7 @@
   "ssPptLoad":"PPT is loading, please wait",
   "ssUploadPptFail":"Failed to upload PPT data",
   "ssCopyToolSucc":"Tool copied successfully",
-  "ssAddH5":"Add H5 Page",
+  "ssAddH5":"Add Web Page",
   "ssUploading":"Uploading...",
   "ssCompleted":"Complete",
   "ssBilibiliVideo":"Bilibili Video",
@@ -2015,5 +2015,6 @@
   "ssPrevQ":"Previous question",
   "ssNextQ":"Next question",
   "ssUntitledCourse":"Untitled Course",
-  "ssPPtUpProgress":"Uploading (*)"
+  "ssPPtUpProgress":"Uploading (*)",
+  "ssBilibiliVideoSearchKeyword":"Please enter a keyword"
 }

+ 2 - 1
src/lang/hk.json

@@ -2015,7 +2015,8 @@
   "ssPrevQ":"上一題",
   "ssNextQ":"下一題",
   "ssUntitledCourse":"暫未命名",
-  "ssPPtUpProgress":"上傳進度(*)"
+  "ssPPtUpProgress":"上傳進度(*)",
+  "ssBilibiliVideoSearchKeyword":"請輸入關鍵詞"
 
 
 

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