jimmylee 3 недель назад
Родитель
Сommit
cfd4be56f0

+ 4 - 4
src/components/pages/synergyCourse/addCourse.vue

@@ -44,6 +44,7 @@
                       <div :class="{
                         updateTips: cid && userid != courseUserid && role != '1',
                       }">
+                        <span v-if="cid && userid != courseUserid && role != '1'" class="updateTipsText">{{lang.ssCocoNoteUpdateTips}}</span>
                         <div style="width: 100%;">
                           <div class="course_input_box">
                             <div class="bb_courseIcon"><img src="../../../assets/icon/new/course.png" /></div>
@@ -5173,10 +5174,10 @@ export default {
                 "*"
               );
             } else {
-              this.$message.error("没有加入分组请先加入分组");
+              this.$message.error(this.lang.joinone);
             }
           } else {
-            this.$message.error("没有加入分组请先加入分组");
+            this.$message.error(this.lang.joinone);
           }
         })
         .catch((err) => {
@@ -10810,8 +10811,7 @@ ol {
   height: 100%;
 }
 
-.updateTips::after {
-  content: "协同建构不支持修改基本信息,只支持加入分组。";
+.updateTipsText {
   font-size: 14px;
   margin-left: 20px;
   font-weight: 400;

+ 4 - 4
src/components/pages/synergyCourse/course.vue

@@ -644,9 +644,9 @@ export default {
               );
               this.addOp3('1', "", { courseid: cid , type: "CocoNote_open" }, "success")
             } else {
-              this.$message.error("没有加入分组请先加入分组");
+              this.$message.error(this.lang.joinone);
               this.goToCourse3(cid)
-              this.addOp3('1', "", { courseid: cid , type: "CocoNote_open" }, '没有加入分组请先加入分组')
+              this.addOp3('1', "", { courseid: cid , type: "CocoNote_open" }, this.lang.joinone)
 
               //  window.topU.postMessage(
               //   { 
@@ -658,9 +658,9 @@ export default {
               // );
             }
           } else {
-            this.$message.error("没有加入分组请先加入分组");
+            this.$message.error(this.lang.joinone);
             this.goToCourse3(cid)
-            this.addOp3('1', "", { courseid: cid , type: "CocoNote_open" }, '没有加入分组请先加入分组')
+            this.addOp3('1', "", { courseid: cid , type: "CocoNote_open" }, this.lang.joinone)
 
             //  window.topU.postMessage(
             //   { 

+ 2 - 1
src/lang/cn.json

@@ -1864,7 +1864,8 @@
   "ssThemeType": "主题",
   "ssSaveSuccess":"保存成功",
   "SelectWebImage":"选择网络文件",
-  "ssCreateCocoNote":"创建协同建构"
+  "ssCreateCocoNote":"创建协同建构",
+  "ssCocoNoteUpdateTips":"协同建构不支持修改基本信息,只支持加入分组。"
 
 
 

+ 5 - 4
src/lang/en.json

@@ -134,7 +134,7 @@
   "GroupNames":"Group Names",
   "Pleaseenteraname":"Please enter a name ..",
   "Teachernotaddedgroups":"Teacher has not added any groups yet",
-  "emptyplaces":"empty Place",
+  "emptyplaces":"Empty Seat",
   "Addteammembers": "Add team members",
   "Removeteammembers": "Remove team members",
   "selectteamdelete": "Please select the team member to delete",
@@ -684,7 +684,7 @@
   "PPTmode":"Interactive Slides",
   "Codeupload": "Code Upload",
   "StageTitle": "Stage Title",
-  
+
   "data11_7": "11.7",
 
   "data11_12": "11.12",
@@ -1863,6 +1863,7 @@
   "ssThemeType": "Theme",
   "ssSaveSuccess":"Saved successfully",
   "SelectWebImage":"Select Web Image",
-  "ssCreateCocoNote":"Edit CocoNote"
+  "ssCreateCocoNote":"Edit CocoNote",
+  "ssCocoNoteUpdateTips":"CocoNote does not support modifying basic information, only supports joining groups."
 
-}
+}