James 1 vuosi sitten
vanhempi
commit
a426452e72
100 muutettua tiedostoa jossa 3501 lisäystä ja 3501 poistoa
  1. 1 1
      src/App.vue
  2. 38 38
      src/components/login.vue
  3. 64 64
      src/components/pages/CaseDesign.vue
  4. 13 13
      src/components/pages/CaseDesignGM.vue
  5. 157 157
      src/components/pages/CaseDesignS.vue
  6. 16 16
      src/components/pages/GM/examine.vue
  7. 30 30
      src/components/pages/GM/notice.vue
  8. 50 50
      src/components/pages/GM/school.vue
  9. 53 53
      src/components/pages/GM/teacher.vue
  10. 57 57
      src/components/pages/Grid.vue
  11. 18 18
      src/components/pages/GridList.vue
  12. 93 93
      src/components/pages/Ttype.vue
  13. 97 97
      src/components/pages/Ttype2.vue
  14. 98 98
      src/components/pages/Ttype2S.vue
  15. 98 98
      src/components/pages/Ttype2Studio.vue
  16. 94 94
      src/components/pages/TtypeGM.vue
  17. 93 93
      src/components/pages/TtypeOrg.vue
  18. 144 144
      src/components/pages/addCourse.vue
  19. 170 170
      src/components/pages/addCourseGM.vue
  20. 15 15
      src/components/pages/addPPt.vue
  21. 40 40
      src/components/pages/ask.vue
  22. 16 16
      src/components/pages/askList.vue
  23. 17 17
      src/components/pages/audioDemo.vue
  24. 28 28
      src/components/pages/banner.vue
  25. 33 33
      src/components/pages/choice/index.vue
  26. 117 117
      src/components/pages/class.vue
  27. 13 13
      src/components/pages/classGM.vue
  28. 13 13
      src/components/pages/classRoom.vue
  29. 66 66
      src/components/pages/components/actualTimeData.vue
  30. 7 7
      src/components/pages/components/answerData.vue
  31. 5 5
      src/components/pages/components/answerData2.vue
  32. 14 14
      src/components/pages/components/classReport.vue
  33. 6 6
      src/components/pages/components/classStudentComponents/classStudentReport.vue
  34. 21 21
      src/components/pages/components/classStudentComponents/courseDetailReport.vue
  35. 14 14
      src/components/pages/components/classStudentComponents/courseInfo.vue
  36. 17 17
      src/components/pages/components/classStudentComponents/coursePie.vue
  37. 8 8
      src/components/pages/components/classStudentComponents/courseRadar.vue
  38. 20 20
      src/components/pages/components/classStudentComponents/studentAbility.vue
  39. 7 7
      src/components/pages/components/classStudentComponents/studentInfo.vue
  40. 107 107
      src/components/pages/components/classStudentComponents/worksDetail3.vue
  41. 6 6
      src/components/pages/components/classStudentReport.vue
  42. 19 19
      src/components/pages/components/courseCase.vue
  43. 9 9
      src/components/pages/components/courseProblem.vue
  44. 10 10
      src/components/pages/components/courseReport.vue
  45. 1 1
      src/components/pages/components/data/problelmData.vue
  46. 18 18
      src/components/pages/components/data/scoreData.vue
  47. 16 16
      src/components/pages/components/data/toolsData.vue
  48. 1 1
      src/components/pages/components/data/workData.vue
  49. 17 17
      src/components/pages/components/evaReport.vue
  50. 22 22
      src/components/pages/components/ganChart.vue
  51. 18 18
      src/components/pages/components/imgDraw/imgDraw.vue
  52. 8 8
      src/components/pages/components/pdf.vue
  53. 3 3
      src/components/pages/components/pdf2.vue
  54. 3 3
      src/components/pages/components/pdf3.vue
  55. 7 7
      src/components/pages/components/proMan.vue
  56. 26 26
      src/components/pages/components/report.vue
  57. 21 21
      src/components/pages/components/report/courseDetailReport.vue
  58. 13 13
      src/components/pages/components/report/courseInfo.vue
  59. 13 13
      src/components/pages/components/report/courseInfoGM.vue
  60. 17 17
      src/components/pages/components/report/coursePie.vue
  61. 17 17
      src/components/pages/components/report/coursePieGM.vue
  62. 6 6
      src/components/pages/components/report/courseRadar.vue
  63. 20 20
      src/components/pages/components/report/studentAbility.vue
  64. 20 20
      src/components/pages/components/report/studentAbilityGM.vue
  65. 9 9
      src/components/pages/components/report/studentInfo.vue
  66. 20 20
      src/components/pages/components/reportGM.vue
  67. 17 17
      src/components/pages/components/stReport.vue
  68. 102 102
      src/components/pages/components/studentData.vue
  69. 6 6
      src/components/pages/components/studentReport.vue
  70. 6 6
      src/components/pages/components/studentReportGM.vue
  71. 137 137
      src/components/pages/components/studentWorksDetail.vue
  72. 6 6
      src/components/pages/components/voteStatic.vue
  73. 2 2
      src/components/pages/components/vpdf.vue
  74. 75 75
      src/components/pages/components/workData.vue
  75. 75 75
      src/components/pages/components/workDataGM.vue
  76. 137 137
      src/components/pages/components/worksDetail2.vue
  77. 108 108
      src/components/pages/components/worksDetail2GM.vue
  78. 109 109
      src/components/pages/components/worksDetail3.vue
  79. 87 87
      src/components/pages/components/worksDetail3GM.vue
  80. 69 69
      src/components/pages/course.vue
  81. 11 11
      src/components/pages/courseDetail.vue
  82. 46 46
      src/components/pages/courseGM.vue
  83. 44 44
      src/components/pages/data.vue
  84. 9 9
      src/components/pages/dataBoard/course/chartList/cateRank.vue
  85. 6 6
      src/components/pages/dataBoard/course/chartList/courseAna.vue
  86. 1 1
      src/components/pages/dataBoard/course/chartList/toolUse.vue
  87. 1 1
      src/components/pages/dataBoard/course/chartList/workTime.vue
  88. 30 30
      src/components/pages/dataBoard/course/index.vue
  89. 8 8
      src/components/pages/dataBoard/index.vue
  90. 9 9
      src/components/pages/dataBoard/school/cateRank/index.vue
  91. 6 6
      src/components/pages/dataBoard/school/courseInfo/index.vue
  92. 33 33
      src/components/pages/dataBoard/school/index.vue
  93. 5 5
      src/components/pages/dataBoard/school/loginCount/index.vue
  94. 4 4
      src/components/pages/dataBoard/school/loginTime/index.vue
  95. 6 6
      src/components/pages/dataBoard/school/studentInfo/index.vue
  96. 1 1
      src/components/pages/dataBoard/school/teacherInfo/index.vue
  97. 22 22
      src/components/pages/dataBoard/student/index.vue
  98. 3 3
      src/components/pages/dataBoard/student/loginCount/index.vue
  99. 1 1
      src/components/pages/dataBoard/student/loginTime/index.vue
  100. 11 11
      src/components/pages/dataBoard/student/stuAct/index.vue

+ 1 - 1
src/App.vue

@@ -197,7 +197,7 @@ export default {
       this.$store.commit("update", ["isLogin", false]);
       this.$store.commit("update", ["userInfo", {}]);
       Message({
-        message: "退出成功",
+        message: "Successful exit",
         type: "success",
       });
       this.$router.push("/login");

+ 38 - 38
src/components/login.vue

@@ -4,7 +4,7 @@
 		<div class="login_box" v-show="islogin">
 			<div style="padding: 0px 20px">
 				<div class="login_title">
-					<span>PBL项目式平台</span>
+					<span>Project-Based Learning (PBL) platform</span>
 				</div>
 				<!-- <div class="userLogin">
           <img src="../assets/username.png" />
@@ -23,20 +23,20 @@
 					label-width="80px"
 					style="margin-top: 30px"
 				>
-					<el-form-item label="手机号码">
+					<el-form-item label="Mobile Number">
 						<el-input
 							v-model="phoneNum"
 							auto-complete="off"
-							placeholder="请输入手机号码"
+							placeholder="Please enter your mobile number"
 							style="width: 100%"
 							@keyup.enter.native="findPhone"
 						></el-input>
 					</el-form-item>
-					<el-form-item label="密码">
+					<el-form-item label="Password">
 						<el-input
 							v-model="password"
 							auto-complete="off"
-							placeholder="请输入密码"
+							placeholder="Please enter your password"
 							type="password"
 							style="width: 100%"
 							@keyup.enter.native="findPhone"
@@ -44,17 +44,17 @@
 					</el-form-item>
 				</el-form>
 				<div style="display: flex; justify-content: flex-end">
-					<el-button type="text" @click="islogin = false">立即注册</el-button>
+					<el-button type="text" @click="islogin = false">Register Now</el-button>
 				</div>
 				<div class="login_button">
-					<button @click="findPhone()">登录</button>
+					<button @click="findPhone()">Login</button>
 				</div>
 			</div>
 		</div>
 		<div class="login_box" v-show="!islogin">
 			<div style="padding: 0px 20px">
 				<div class="login_title">
-					<span>PBL项目平台注册</span>
+					<span>PBL Project Platform Registration</span>
 				</div>
 				<!-- <div class="userLogin">
           <img src="../assets/username.png" />
@@ -72,34 +72,34 @@
 					ref="ruleForm2"
 					:model="registerForm"
 				>
-					<el-form-item label="手机号码" prop="phone">
+					<el-form-item label="Mobile Number" prop="phone">
 						<el-input
 							v-model="registerForm.rphoneNum"
 							auto-complete="off"
-							placeholder="请输入手机号码"
+							placeholder="Please enter your mobile number"
 							style="width: 100%"
 						></el-input>
 					</el-form-item>
-					<el-form-item label="密码" prop="pass">
+					<el-form-item label="Password" prop="pass">
 						<el-input
 							v-model="registerForm.rpassword"
 							auto-complete="off"
-							placeholder="请输入密码"
+							placeholder="Please enter your password"
 							type="password"
 							style="width: 100%"
 						></el-input>
 					</el-form-item>
-					<el-form-item label="确认密码" prop="checkPass">
+					<el-form-item label="Confirm Password" prop="checkPass">
 						<el-input
 							v-model="registerForm.repassword"
 							auto-complete="off"
-							placeholder="请再输入一遍密码"
+							placeholder="Please re-enter your password"
 							type="password"
 							style="width: 100%"
 						></el-input>
 					</el-form-item>
-					<el-form-item label="学校" prop="school">
-						<el-select v-model="registerForm.school" placeholder="请选择学校">
+					<el-form-item label="School" prop="school">
+						<el-select v-model="registerForm.school" placeholder="Please select a school">
 							<el-option
 								v-for="(item, index) in schoolArray"
 								:key="index"
@@ -111,10 +111,10 @@
 					</el-form-item>
 				</el-form>
 				<div style="display: flex; justify-content: flex-end">
-					<el-button type="text" @click="islogin = true">返回登录</el-button>
+					<el-button type="text" @click="islogin = true">Return to Login</el-button>
 				</div>
 				<div class="login_button">
-					<button @click="register()">注册</button>
+					<button @click="register()">Register</button>
 				</div>
 			</div>
 		</div>
@@ -127,10 +127,10 @@
 			var validatePass = (rule, value, callback) => {
 				var _this = this;
 				if (_this.registerForm.rpassword === "") {
-					callback(new Error("请输入密码"));
+					callback(new Error("Please enter a password"));
 				} else {
 					if (_this.registerForm.rpassword.length < 6) {
-						callback(new Error("输入的密码需不少于6位"));
+						callback(new Error("The password must be at least 6 characters long"));
 					} else if (_this.registerForm.repassword !== "") {
 						_this.$refs.ruleForm2.validateField("checkPass");
 					}
@@ -140,11 +140,11 @@
 			var validatePass2 = (rule, value, callback) => {
 				var _this = this;
 				if (_this.registerForm.repassword === "") {
-					callback(new Error("请再次输入密码"));
+					callback(new Error("Please enter your password again"));
 				} else if (
 					_this.registerForm.repassword !== _this.registerForm.rpassword
 				) {
-					callback(new Error("两次输入密码不一致!"));
+					callback(new Error("Passwords do not match!"));
 				} else {
 					callback();
 				}
@@ -154,17 +154,17 @@
 				var _this = this;
 				let reg = /^1\d{10}$/;
 				if (_this.registerForm.rphoneNum === "") {
-					callback(new Error("请输入手机号码"));
+					callback(new Error("Please enter a phone number"));
 				} else {
 					if (!reg.test(_this.registerForm.rphoneNum)) {
-						callback(new Error("请输入11位手机号"));
+						callback(new Error("Please enter an 11-digit phone number"));
 					} else {
 						let params = { un: _this.registerForm.rphoneNum };
 						this.ajax
 							.get(this.$store.state.api + "findPhone", params)
 							.then((res) => {
 								if (res.data[0].length > 0) {
-									callback(new Error("此手机号已注册"));
+									callback(new Error("This phone number is already registered"));
 								} else {
 									callback();
 								}
@@ -204,7 +204,7 @@
 						{ required: true, validator: validatePass2, trigger: "blur" },
 					],
 					school: [
-						{ required: true, message: "请选择活动区域", trigger: "blur" },
+						{ required: true, message: "Please select activity area.", trigger: "blur" },
 					],
 				},
 				userInfo: [],
@@ -244,19 +244,19 @@
 								.post(this.$store.state.api + "register", params)
 								.then((res) => {
 									this.$message({
-										message: "注册成功",
+										message: "Registration successful",
 										type: "success",
 									});
 									this.registerForm = {
-										rphoneNum: "",
-										rpassword: "",
-										repassword: "",
+										phoneNum: "",
+										password: "",
+										confirmPassword: "",
 										school: "",
 									};
-									this.islogin = true;
+									this.isLoggedIn = true;
 								})
 								.catch((err) => {
-									this.$message.error("注册失败");
+									this.$message.error("Registration failed");
 									console.error(err);
 								});
 						}
@@ -272,7 +272,7 @@
 					.then((res) => {
 						if (res.data[0].length > 0) {
 							if (res.data[0][0].state == 0) {
-								this.$message.error("此账号已被屏蔽登录,请咨询管理员");
+								this.$message.error("This account has been blocked, please consult the administrator");
 								return;
 							}
 							if (res.data[0][0].type == 1) {
@@ -309,7 +309,7 @@
 							.then((res) => {
 								if (res.data.status == "1") {
 									_this.$message({
-										message: "登录成功",
+										message: "Login successful",
 										type: "success",
 									});
 
@@ -325,18 +325,18 @@
 									// console.log(_this.$store.state);
 									_this.$router.push("/course?userid=" + _this.userInfo.userid);
 								} else {
-									this.$message.error("密码错误");
+									this.$message.error("Incorrect password");
 								}
 								console.log(res.data);
 							})
 							.catch((err) => {
-								this.$message.error("登录失败");
+								this.$message.error("Login failed");
 								console.error(err);
 							});
 					} else if (isU == 2) {
-						this.$message.error("此账号角色不是老师");
+						this.$message.error("This account is not a teacher");
 					} else {
-						this.$message.error("此账号还未注册请去注册");
+						this.$message.error("This account is not registered, please go to register");
 					}
 				}
 

+ 64 - 64
src/components/pages/CaseDesign.vue

@@ -8,20 +8,20 @@
               width: 95%;
             ">
       <div class="pb_head">
-        <span>课程数据看板</span>
+        <span>Course Data Dashboard</span>
       </div>
       <div class="student_head">
         <div class="head_left">
-          <span>筛选:</span>
+          <span>Filter:</span>
           <el-select v-model="choose" @change="getData">
-            <el-option label="默认排序" value=""> </el-option>
-            <el-option label="学校名称" value="school"> </el-option>
-            <el-option label="任务数量" value="task"> </el-option>
-            <el-option label="评价" value="eval"> </el-option>
-            <el-option label="工具" value="tool"> </el-option>
-            <el-option label="字数" value="font"> </el-option>
+            <el-option label="Default Sorting" value=""> </el-option>
+            <el-option label="School Name" value="school"> </el-option>
+            <el-option label="Task Count" value="task"> </el-option>
+            <el-option label="Evaluation" value="eval"> </el-option>
+            <el-option label="Tool" value="tool"> </el-option>
+            <el-option label="Word Count" value="font"> </el-option>
           </el-select>
-          <el-input v-model="search" class="student_input" placeholder="请输入教师名称或学校名称" @input="getData"></el-input>
+          <el-input v-model="search" class="student_input" placeholder="Please enter teacher name or school name" @input="getData"></el-input>
         </div>
       </div>
     </div>
@@ -29,7 +29,7 @@
       <el-table ref="table" :data="tableData" border :fit="true" v-loading="isLoading" style="width: 100%"
         :header-cell-style="{ background: '#f1f1f1', fontSize: '17px' }" :row-class-name="tableRowClassName"
         class="table">
-        <el-table-column label="课程" min-width="15" align="center">
+        <el-table-column label="Course" min-width="15" align="center">
           <template slot-scope="scope">
             <div style="max-height: 180px; overflow: auto">
               <div v-if="scope.row.course.length">
@@ -45,170 +45,170 @@
             </div>
           </template>
         </el-table-column>
-        <el-table-column label="学校" prop="school" min-width="15" align="center">
+        <el-table-column label="School" prop="school" min-width="15" align="center">
         </el-table-column>
-        <el-table-column label="负责人" prop="username" min-width="15" align="center">
+        <el-table-column label="Headmaster" prop="username" min-width="15" align="center">
         </el-table-column>
-        <el-table-column label="更新时间" prop="time" min-width="15" align="center">
+        <el-table-column label="Update Time" prop="time" min-width="15" align="center">
           <template slot-scope="scope">
             <div v-if="scope.row.course.length">{{scope.row.time}}</div>
             <div v-else>—</div>
           </template>
         </el-table-column>
-        <el-table-column label="总计" min-width="15" align="center">
+        <el-table-column label="Total" min-width="15" align="center">
           <template slot-scope="scope">
             <div class="cd_d_span">
               <div>
                 <div>
-                  <span>{{ scope.row.jdz.taskC }}</span><span>任务</span>
+                  <span>{{ scope.row.jdz.taskC }}</span><span>Tasks</span>
                 </div>
                 <div>
-                  <span>{{ scope.row.jdz.toolC }}</span><span>工具</span>
+                  <span>{{ scope.row.jdz.toolC }}</span><span>Tools</span>
                 </div>
                 <div>
-                  <span>{{ scope.row.jdz.evalC }}</span><span>评价</span>
+                  <span>{{ scope.row.jdz.evalC }}</span><span>Evaluations</span>
                 </div>
                 <div>
-                  <span>{{ scope.row.jdz.fontC }}</span><span></span>
+                  <span>{{ scope.row.jdz.fontC }}</span><span>Words</span>
                 </div>
               </div>
             </div>
           </template>
         </el-table-column>
-        <el-table-column label="阶段1" min-width="15" align="center">
+        <el-table-column label="Stage 1" min-width="15" align="center">
           <template slot-scope="scope">
             <div v-if="scope.row.jd1">
               <div class="cd_d_span">
                 <div>
-                  <span>{{ scope.row.jd1.taskC }}</span><span>任务</span>
+                  <span>{{ scope.row.jd1.taskC }}</span><span>Tasks</span>
                 </div>
                 <div>
-                  <span>{{ scope.row.jd1.toolC }}</span><span>工具</span>
+                  <span>{{ scope.row.jd1.toolC }}</span><span>Tools</span>
                 </div>
                 <div>
-                  <span>{{ scope.row.jd1.evalC }}</span><span>评价</span>
+                  <span>{{ scope.row.jd1.evalC }}</span><span>Evaluations</span>
                 </div>
                 <div>
-                  <span>{{ scope.row.jd1.fontC }}</span><span></span>
+                  <span>{{ scope.row.jd1.fontC }}</span><span>Words</span>
                 </div>
               </div>
             </div>
             <div v-else>—</div>
           </template>
         </el-table-column>
-        <el-table-column label="阶段2" min-width="15" align="center">
+        <el-table-column label="Stage 2" min-width="15" align="center">
           <template slot-scope="scope">
             <div v-if="scope.row.jd2">
               <div class="cd_d_span">
                 <div>
-                  <span>{{ scope.row.jd2.taskC }}</span><span>任务</span>
+                  <span>{{ scope.row.jd2.taskC }}</span><span>Task</span>
                 </div>
                 <div>
-                  <span>{{ scope.row.jd2.toolC }}</span><span>工具</span>
+                  <span>{{ scope.row.jd2.toolC }}</span><span>Tool</span>
                 </div>
                 <div>
-                  <span>{{ scope.row.jd2.evalC }}</span><span>评价</span>
+                  <span>{{ scope.row.jd2.evalC }}</span><span>Evaluation</span>
                 </div>
                 <div>
-                  <span>{{ scope.row.jd2.fontC }}</span><span></span>
+                  <span>{{ scope.row.jd2.fontC }}</span><span>Font</span>
                 </div>
               </div>
             </div>
             <div v-else>—</div>
           </template>
         </el-table-column>
-        <el-table-column label="阶段3" min-width="15" align="center">
+        <el-table-column label="Stage 3" min-width="15" align="center">
           <template slot-scope="scope">
             <div v-if="scope.row.jd3">
               <div class="cd_d_span">
                 <div>
-                  <span>{{ scope.row.jd3.taskC }}</span><span>任务</span>
+                  <span>{{ scope.row.jd3.taskC }}</span><span>Task</span>
                 </div>
                 <div>
-                  <span>{{ scope.row.jd3.toolC }}</span><span>工具</span>
+                  <span>{{ scope.row.jd3.toolC }}</span><span>Tool</span>
                 </div>
                 <div>
-                  <span>{{ scope.row.jd3.evalC }}</span><span>评价</span>
+                  <span>{{ scope.row.jd3.evalC }}</span><span>Evaluation</span>
                 </div>
                 <div>
-                  <span>{{ scope.row.jd3.fontC }}</span><span></span>
+                  <span>{{ scope.row.jd3.fontC }}</span><span>Font</span>
                 </div>
               </div>
             </div>
             <div v-else>—</div>
           </template>
         </el-table-column>
-        <el-table-column label="阶段4" min-width="15" align="center">
+        <el-table-column label="Phase 4" min-width="15" align="center">
           <template slot-scope="scope">
             <div v-if="scope.row.jd4">
               <div class="cd_d_span">
                 <div>
-                  <span>{{ scope.row.jd4.taskC }}</span><span>任务</span>
+                  <span>{{ scope.row.jd4.taskC }}</span><span>Tasks</span>
                 </div>
                 <div>
-                  <span>{{ scope.row.jd4.toolC }}</span><span>工具</span>
+                  <span>{{ scope.row.jd4.toolC }}</span><span>Tools</span>
                 </div>
                 <div>
-                  <span>{{ scope.row.jd4.evalC }}</span><span>评价</span>
+                  <span>{{ scope.row.jd4.evalC }}</span><span>Evaluation</span>
                 </div>
                 <div>
-                  <span>{{ scope.row.jd4.fontC }}</span><span></span>
+                  <span>{{ scope.row.jd4.fontC }}</span><span>Characters</span>
                 </div>
               </div>
             </div>
             <div v-else>—</div>
           </template>
         </el-table-column>
-        <el-table-column label="阶段5" min-width="15" align="center">
+        <el-table-column label="Stage 5" min-width="15" align="center">
           <template slot-scope="scope">
             <div v-if="scope.row.jd5">
               <div class="cd_d_span">
                 <div>
-                  <span>{{ scope.row.jd5.taskC }}</span><span>任务</span>
+                  <span>{{ scope.row.jd5.taskC }}</span><span>Task</span>
                 </div>
                 <div>
-                  <span>{{ scope.row.jd5.toolC }}</span><span>工具</span>
+                  <span>{{ scope.row.jd5.toolC }}</span><span>Tool</span>
                 </div>
                 <div>
-                  <span>{{ scope.row.jd5.evalC }}</span><span>评价</span>
+                  <span>{{ scope.row.jd5.evalC }}</span><span>Evaluation</span>
                 </div>
                 <div>
-                  <span>{{ scope.row.jd5.fontC }}</span><span></span>
+                  <span>{{ scope.row.jd5.fontC }}</span><span>Font</span>
                 </div>
               </div>
             </div>
             <div v-else>—</div>
           </template>
         </el-table-column>
-        <el-table-column label="阶段6" min-width="15" align="center">
+        <el-table-column label="Stage 6" min-width="15" align="center">
           <template slot-scope="scope">
             <div v-if="scope.row.jd6">
               <div class="cd_d_span">
                 <div>
-                  <span>{{ scope.row.jd6.taskC }}</span><span>任务</span>
+                  <span>{{ scope.row.jd6.taskC }}</span><span>Task</span>
                 </div>
                 <div>
-                  <span>{{ scope.row.jd6.toolC }}</span><span>工具</span>
+                  <span>{{ scope.row.jd6.toolC }}</span><span>Tool</span>
                 </div>
                 <div>
-                  <span>{{ scope.row.jd6.evalC }}</span><span>评价</span>
+                  <span>{{ scope.row.jd6.evalC }}</span><span>Evaluation</span>
                 </div>
                 <div>
-                  <span>{{ scope.row.jd6.fontC }}</span><span></span>
+                  <span>{{ scope.row.jd6.fontC }}</span><span>Font</span>
                 </div>
               </div>
             </div>
             <div v-else>—</div>
           </template>
         </el-table-column>
-        <el-table-column label="操作" min-width="15">
+        <el-table-column label="Actions" min-width="15">
           <template slot-scope="scope">
             <!-- <div
               @click="getAll(scope.row)"
             >
               查看全部
             </div> -->
-            <el-button v-if="scope.row.course.length" type="primary" size="small" @click="getAll(scope.row)">查看详情</el-button>
+            <el-button v-if="scope.row.course.length" type="primary" size="small" @click="getAll(scope.row)">View Details</el-button>
             <div v-else>—</div>
           </template>
         </el-table-column>
@@ -218,54 +218,54 @@
           v-if="page && tableData.length" style="padding: 0px" @current-change="handleCurrentChange"></el-pagination>
       </div>
     </div>
-    <el-dialog title="查看" :visible.sync="dialogVisible" :append-to-body="true" width="620px" :before-close="handleClose"
+    <el-dialog title="View" :visible.sync="dialogVisible" :append-to-body="true" width="620px" :before-close="handleClose"
       class="dialog_diy">
       <div v-if="dataArray.length">
         <div class="cd_d_box">
-          <span>教师:</span><span>{{ data.username }}</span>
+          <span>Teacher:</span><span>{{ data.username }}</span>
         </div>
         <div class="cd_d_box">
-          <span>学校:</span><span>{{ data.school }}</span>
+          <span>School:</span><span>{{ data.school }}</span>
         </div>
         <div class="cd_d_jd">
           <div v-for="(item, index) in dataArray" :key="index" class="cd_d_jd_box">
-            <div class="cd_d_jd_name">{{ "阶段" + (index + 1) }}</div>
+            <div class="cd_d_jd_name">{{ "Phase " + (index + 1) }}</div>
             <div class="cd_d_jd_content cd_d_span">
               <div>
-                <span>{{ data[item].taskC }}</span><span>任务</span>
+                <span>{{ data[item].taskC }}</span><span>Tasks</span>
               </div>
               <div>
-                <span>{{ data[item].toolC }}</span><span>工具</span>
+                <span>{{ data[item].toolC }}</span><span>Tools</span>
               </div>
               <div>
-                <span>{{ data[item].evalC }}</span><span>评价</span>
+                <span>{{ data[item].evalC }}</span><span>Evaluation</span>
               </div>
               <div>
-                <span>{{ data[item].fontC }}</span><span></span>
+                <span>{{ data[item].fontC }}</span><span>Words</span>
               </div>
             </div>
           </div>
           <div class="cd_d_jd_box">
-            <div class="cd_d_jd_name">总计</div>
+            <div class="cd_d_jd_name">Total</div>
             <div class="cd_d_jd_content cd_d_span" style="background: #d4d4d4">
               <div>
-                <span>{{ data["jdz"].taskC }}</span><span>任务</span>
+                <span>{{ data["jdz"].taskC }}</span><span>Tasks</span>
               </div>
               <div>
-                <span>{{ data["jdz"].toolC }}</span><span>工具</span>
+                <span>{{ data["jdz"].toolC }}</span><span>Tools</span>
               </div>
               <div>
-                <span>{{ data["jdz"].evalC }}</span><span>评价</span>
+                <span>{{ data["jdz"].evalC }}</span><span>Evaluation</span>
               </div>
               <div>
-                <span>{{ data["jdz"].fontC }}</span><span></span>
+                <span>{{ data["jdz"].fontC }}</span><span>Words</span>
               </div>
             </div>
           </div>
         </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>

+ 13 - 13
src/components/pages/CaseDesignGM.vue

@@ -9,20 +9,20 @@
       ">
       <div class="pb_head">
         <img src="../../assets/case.png" style="margin-right: 10px; width: 45px;" alt="" />
-        <span>项目数据看板</span>
+        <span>Project Data Dashboard</span>
       </div>
       <div class="student_head">
         <div class="head_left">
-          <span>筛选:</span>
+          <span>Filter:</span>
           <el-select v-model="choose" @change="getData">
-            <el-option label="默认排序" value=""> </el-option>
-            <el-option label="学校名称" value="school"> </el-option>
+            <el-option label="Default Sorting" value=""> </el-option>
+            <el-option label="School Name" value="school"> </el-option>
             <!-- <el-option label="任务数量" value="task"> </el-option>
             <el-option label="评价" value="eval"> </el-option>
             <el-option label="工具" value="tool"> </el-option>
             <el-option label="字数" value="font"> </el-option> -->
           </el-select>
-          <el-input v-model="search" class="student_input" placeholder="请输入教师名称或学校名称" @input="getData"></el-input>
+          <el-input v-model="search" class="student_input" placeholder="Please enter teacher name or school name" @input="getData"></el-input>
         </div>
       </div>
     </div>
@@ -30,7 +30,7 @@
       <el-table ref="table" :data="tableData" border :fit="true" v-loading="isLoading" style="width: 100%"
         :header-cell-style="{ background: '#f1f1f1', fontSize: '17px' }" :row-class-name="tableRowClassName"
         class="table">
-        <el-table-column label="课程" min-width="15" align="center">
+        <el-table-column label="Course" min-width="15" align="center">
           <template slot-scope="scope">
             <div style="max-height: 180px; overflow: auto">
               <div v-for="(item, index) in scope.row.course" :key="index" class="cd_course"
@@ -42,11 +42,11 @@
             </div>
           </template>
         </el-table-column>
-        <el-table-column label="学校" prop="school" min-width="15" align="center">
+        <el-table-column label="School" prop="school" min-width="15" align="center">
         </el-table-column>
-        <el-table-column label="负责人" prop="username" min-width="15" align="center">
+        <el-table-column label="Responsible Person" prop="username" min-width="15" align="center">
         </el-table-column>
-        <el-table-column label="更新时间" prop="time" min-width="15" align="center">
+        <el-table-column label="Last Updated" prop="time" min-width="15" align="center">
         </el-table-column>
         <!-- <el-table-column label="总计" min-width="15" align="center">
           <template slot-scope="scope">
@@ -222,15 +222,15 @@
             <div v-else>—</div>
           </template>
         </el-table-column> -->
-        <el-table-column label="操作" width="150px">
+        <el-table-column label="Action" width="150px">
           <template slot-scope="scope">
             <!-- <div
               @click="getAll(scope.row)"
             >
-              查看全部
+              View All
             </div> -->
             <el-button type="primary" size="small" style="background: rgb(147, 125, 223); border: none"
-              @click="getAll(scope.row)">查看详情</el-button>
+              @click="getAll(scope.row)">View Details</el-button>
           </template>
         </el-table-column>
       </el-table>
@@ -290,7 +290,7 @@
     <div v-if="dialogVisible" class="vbody">
       <CourseCase :data="data"></CourseCase>
       <el-button class="btn" @click="dialogVisible = false" type="primary" size="small"
-        style="background: rgb(147, 125, 223); border: none">关闭</el-button>
+        style="background: rgb(147, 125, 223); border: none">Close</el-button>
     </div>
   </div>
 </template>

+ 157 - 157
src/components/pages/CaseDesignS.vue

@@ -8,34 +8,34 @@
                       width: 95%;
                     ">
       <div class="pb_head">
-        <span>项目数据看板</span>
+        <span>Project Data Dashboard</span>
         <div style="display: flex;align-items: center;">
-          <!-- <el-button type="primary" size="small" @click="exportHtml" style="margin-right: 10px;">导出html</el-button> -->
-          <el-button type="primary" size="small" @click="exportExcel" style="margin-right: 10px;">导出Excel</el-button>
-          <el-switch v-model="mode" active-text="详情模式" inactive-text="简易模式" @change="changeMode">
+          <!-- <el-button type="primary" size="small" @click="exportHtml" style="margin-right: 10px;">Export HTML</el-button> -->
+          <el-button type="primary" size="small" @click="exportExcel" style="margin-right: 10px;">Export Excel</el-button>
+          <el-switch v-model="mode" active-text="Detail Mode" inactive-text="Simple Mode" @change="changeMode">
           </el-switch>
         </div>
       </div>
       <div class="student_head">
         <div class="head_left">
-          <span>筛选:</span>
+          <span>Filter:</span>
           <el-select v-model="choose" @change="isLoading = true, getData()" style="margin-right: 10px;">
-            <el-option label="默认排序" value=""> </el-option>
-            <el-option label="学校名称" value="school"> </el-option>
-            <el-option label="任务数量" value="task"> </el-option>
-            <el-option label="评审结果" value="score"> </el-option>
-            <!-- <el-option label="评价" value="eval"> </el-option> -->
-            <el-option label="工具" value="tool"> </el-option>
-            <el-option label="字数" value="font"> </el-option>
+            <el-option label="Default Sorting" value=""> </el-option>
+            <el-option label="School Name" value="school"> </el-option>
+            <el-option label="Task Quantity" value="task"> </el-option>
+            <el-option label="Review Result" value="score"> </el-option>
+            <!-- <el-option label="Evaluation" value="eval"> </el-option> -->
+            <el-option label="Tool" value="tool"> </el-option>
+            <el-option label="Word Count" value="font"> </el-option>
           </el-select>
 
           <el-select v-model="ttype" @change="page = 1, isLoading = true, getData()">
-            <el-option label="全部" value=""></el-option>
+            <el-option label="All" value=""></el-option>
             <el-option v-for="item in courseTypeId" :key="item.id" :label="item.name" :value="item.id">
             </el-option>
           </el-select>
 
-          <el-input v-model="search" class="student_input" placeholder="请输入教师名称或学校名称" @input="getData"></el-input>
+          <el-input v-model="search" class="student_input" placeholder="Enter teacher's name or school's name" @input="getData"></el-input>
         </div>
       </div>
     </div>
@@ -43,9 +43,9 @@
       <el-table ref="table" :data="tableData" border :fit="true" v-loading="isLoading" style="width: 100%"
         :header-cell-style="{ background: '#f1f1f1', fontSize: '17px' }" :row-class-name="tableRowClassName" class="table"
         :height="tableHeight" :key="mode">
-        <el-table-column label="序号" prop="number" width="70px" align="center">
+        <el-table-column label="Number" prop="number" width="70px" align="center">
         </el-table-column>
-        <el-table-column label="项目" width="150px" align="center">
+        <el-table-column label="Item" width="150px" align="center">
           <template slot-scope="scope">
             <div style="max-height: 180px; overflow: auto">
               <div v-for="(item, index) in scope.row.course" :key="index" class="cd_course" @click="jump(item.courseId)">
@@ -56,175 +56,175 @@
             </div>
           </template>
         </el-table-column>
-        <el-table-column label="分类" prop="typename" width="130px" align="center">
+        <el-table-column label="Category" prop="typename" width="130px" align="center">
         </el-table-column>
-        <el-table-column label="学校" prop="school" width="100px" align="center">
+        <el-table-column label="School" prop="school" width="100px" align="center">
         </el-table-column>
-        <el-table-column label="负责人" prop="username" width="80px" align="center">
+        <el-table-column label="Principal" prop="username" width="80px" align="center">
         </el-table-column>
-        <el-table-column label="协同人员" prop="cteacher" width="100px" align="center">
+        <el-table-column label="Collaborators" prop="cteacher" width="100px" align="center">
           <template slot-scope="scope">
             <div>{{ scope.row.cteacher ? scope.row.cteacher : '—' }}</div>
           </template>
         </el-table-column>
-        <el-table-column label="创建时间" prop="ctime" width="85px" align="center">
+        <el-table-column label="Creation Time" prop="ctime" width="85px" align="center">
         </el-table-column>
-        <el-table-column label="更新时间" prop="time" width="85px" align="center">
+        <el-table-column label="Update Time" prop="time" width="85px" align="center">
         </el-table-column>
-        <el-table-column label="总计" width="85px" align="center">
+        <el-table-column label="Total" width="85px" align="center">
           <template slot-scope="scope">
             <div class="cd_d_span">
               <div>
                 <div>
-                  <span>{{ scope.row.jdz.taskC }}</span><span>任务</span>
+                  <span>{{ scope.row.jdz.taskC }}</span><span>Tasks</span>
                 </div>
                 <div>
-                  <span>{{ scope.row.jdz.toolC }}</span><span>工具</span>
+                  <span>{{ scope.row.jdz.toolC }}</span><span>Tools</span>
                 </div>
                 <!-- <div>
                   <span>{{ scope.row.jdz.evalC }}</span
                   ><span>评价</span>
                 </div> -->
                 <div>
-                  <span>{{ scope.row.jdz.fontC }}</span><span></span>
+                  <span>{{ scope.row.jdz.fontC }}</span><span>word</span>
                 </div>
               </div>
             </div>
           </template>
         </el-table-column>
-        <el-table-column label="阶段1" v-if="mode" width="85px" align="center">
+        <el-table-column label="Stage 1" v-if="mode" width="85px" align="center">
           <template slot-scope="scope">
             <div v-if="scope.row.jd1">
               <div class="cd_d_span">
                 <div>
-                  <span>{{ scope.row.jd1.taskC }}</span><span>任务</span>
+                  <span>{{ scope.row.jd1.taskC }}</span><span>task</span>
                 </div>
                 <div>
-                  <span>{{ scope.row.jd1.toolC }}</span><span>工具</span>
+                  <span>{{ scope.row.jd1.toolC }}</span><span>tool</span>
                 </div>
                 <!-- <div>
                   <span>{{ scope.row.jd1.evalC }}</span
-                  ><span>评价</span>
+                  ><span>evaluation</span>
                 </div> -->
                 <div>
-                  <span>{{ scope.row.jd1.fontC }}</span><span></span>
+                  <span>{{ scope.row.jd1.fontC }}</span><span>word</span>
                 </div>
               </div>
             </div>
             <div v-else>—</div>
           </template>
         </el-table-column>
-        <el-table-column label="阶段2" v-if="mode" width="85px" align="center">
+        <el-table-column label="Stage 2" v-if="mode" width="85px" align="center">
           <template slot-scope="scope">
             <div v-if="scope.row.jd2">
               <div class="cd_d_span">
                 <div>
-                  <span>{{ scope.row.jd2.taskC }}</span><span>任务</span>
+                  <span>{{ scope.row.jd2.taskC }}</span><span>task</span>
                 </div>
                 <div>
-                  <span>{{ scope.row.jd2.toolC }}</span><span>工具</span>
+                  <span>{{ scope.row.jd2.toolC }}</span><span>tool</span>
                 </div>
                 <!-- <div>
                   <span>{{ scope.row.jd2.evalC }}</span
-                  ><span>评价</span>
+                  ><span>evaluation</span>
                 </div> -->
                 <div>
-                  <span>{{ scope.row.jd2.fontC }}</span><span></span>
+                  <span>{{ scope.row.jd2.fontC }}</span><span>word</span>
                 </div>
               </div>
             </div>
             <div v-else>—</div>
           </template>
         </el-table-column>
-        <el-table-column label="阶段3" v-if="mode" width="85px" align="center">
+        <el-table-column label="Stage 3" v-if="mode" width="85px" align="center">
           <template slot-scope="scope">
             <div v-if="scope.row.jd3">
               <div class="cd_d_span">
                 <div>
-                  <span>{{ scope.row.jd3.taskC }}</span><span>任务</span>
+                  <span>{{ scope.row.jd3.taskC }}</span><span>task</span>
                 </div>
                 <div>
-                  <span>{{ scope.row.jd3.toolC }}</span><span>工具</span>
+                  <span>{{ scope.row.jd3.toolC }}</span><span>tool</span>
                 </div>
                 <!-- <div>
                   <span>{{ scope.row.jd3.evalC }}</span
                   ><span>评价</span>
                 </div> -->
                 <div>
-                  <span>{{ scope.row.jd3.fontC }}</span><span></span>
+                  <span>{{ scope.row.jd3.fontC }}</span><span>word</span>
                 </div>
               </div>
             </div>
             <div v-else>—</div>
           </template>
         </el-table-column>
-        <el-table-column label="阶段4" v-if="mode" width="85px" align="center">
+        <el-table-column label="Phase 4" v-if="mode" width="85px" align="center">
           <template slot-scope="scope">
             <div v-if="scope.row.jd4">
               <div class="cd_d_span">
                 <div>
-                  <span>{{ scope.row.jd4.taskC }}</span><span>任务</span>
+                  <span>{{ scope.row.jd4.taskC }}</span><span>task</span>
                 </div>
                 <div>
-                  <span>{{ scope.row.jd4.toolC }}</span><span>工具</span>
+                  <span>{{ scope.row.jd4.toolC }}</span><span>tool</span>
                 </div>
                 <!-- <div>
                   <span>{{ scope.row.jd4.evalC }}</span
-                  ><span>评价</span>
+                  ><span>evaluation</span>
                 </div> -->
                 <div>
-                  <span>{{ scope.row.jd4.fontC }}</span><span></span>
+                  <span>{{ scope.row.jd4.fontC }}</span><span>word</span>
                 </div>
               </div>
             </div>
             <div v-else>—</div>
           </template>
         </el-table-column>
-        <el-table-column label="阶段5" v-if="mode" width="85px" align="center">
+        <el-table-column label="Phase 5" v-if="mode" width="85px" align="center">
           <template slot-scope="scope">
             <div v-if="scope.row.jd5">
               <div class="cd_d_span">
                 <div>
-                  <span>{{ scope.row.jd5.taskC }}</span><span>任务</span>
+                  <span>{{ scope.row.jd5.taskC }}</span><span>task</span>
                 </div>
                 <div>
-                  <span>{{ scope.row.jd5.toolC }}</span><span>工具</span>
+                  <span>{{ scope.row.jd5.toolC }}</span><span>tool</span>
                 </div>
                 <!-- <div>
                   <span>{{ scope.row.jd5.evalC }}</span
-                  ><span>评价</span>
+                  ><span>evaluation</span>
                 </div> -->
                 <div>
-                  <span>{{ scope.row.jd5.fontC }}</span><span></span>
+                  <span>{{ scope.row.jd5.fontC }}</span><span>word</span>
                 </div>
               </div>
             </div>
             <div v-else>—</div>
           </template>
         </el-table-column>
-        <el-table-column label="阶段6" v-if="mode" width="85px" align="center">
+        <el-table-column label="Phase 6" v-if="mode" width="85px" align="center">
           <template slot-scope="scope">
             <div v-if="scope.row.jd6">
               <div class="cd_d_span">
                 <div>
-                  <span>{{ scope.row.jd6.taskC }}</span><span>任务</span>
+                  <span>{{ scope.row.jd6.taskC }}</span><span>task</span>
                 </div>
                 <div>
-                  <span>{{ scope.row.jd6.toolC }}</span><span>工具</span>
+                  <span>{{ scope.row.jd6.toolC }}</span><span>tool</span>
                 </div>
                 <!-- <div>
                   <span>{{ scope.row.jd6.evalC }}</span
-                  ><span>评价</span>
+                  ><span>evaluation</span>
                 </div> -->
                 <div>
-                  <span>{{ scope.row.jd6.fontC }}</span><span></span>
+                  <span>{{ scope.row.jd6.fontC }}</span><span>word</span>
                 </div>
               </div>
             </div>
             <div v-else>—</div>
           </template>
         </el-table-column>
-        <el-table-column label="项目简介" v-if="!mode" min-width="80px" align="center">
+        <el-table-column label="Project Summary" v-if="!mode" min-width="80px" align="center">
           <template slot-scope="scope">
             <div v-if="scope.row.brief" class="tooltip">
               <el-tooltip :content="scope.row.brief" class="my-tooltip-class" popper-class="text_tooltip">
@@ -236,36 +236,36 @@
             </div>
           </template>
         </el-table-column>
-        <el-table-column label="项目所处阶段" prop="lastTask" width="130px" align="center">
+        <el-table-column label="Project Phase" prop="lastTask" width="130px" align="center">
           <template slot-scope="scope">
             <div>{{ scope.row.lastTask ? scope.row.lastTask : '—' }}</div>
           </template>
         </el-table-column>
-        <el-table-column label="评审状态" width="80px" align="center">
+        <el-table-column label="Review Status" width="80px" align="center">
           <template slot-scope="scope">
-            <div>{{ scope.row.score ? '已评分' : '未评分' }}</div>
+            <div>{{ scope.row.score ? 'Reviewed' : 'Not Reviewed' }}</div>
           </template>
         </el-table-column>
-        <el-table-column label="评审结果" prop="score" width="80px" align="center">
+        <el-table-column label="Review Result" prop="score" width="80px" align="center">
           <template slot-scope="scope">
-            <div>{{ scope.row.score }}</div>
+            <div>{{ scope.row.score }} points</div>
           </template>
         </el-table-column>
-        <el-table-column label="评审类型" prop="psType" width="80px" align="center">
+        <el-table-column label="Review Type" prop="psType" width="80px" align="center">
           <template slot-scope="scope">
-            <div>{{ scope.row.psType == '1' ? '造型结构' : scope.row.psType == '2' ? '开源硬件' : scope.row.psType == '3' ? '软件设计'
-              : scope.row.psType == '4' ? '总分' : '—' }}</div>
+            <div>{{ scope.row.psType == '1' ? 'Structural Design' : scope.row.psType == '2' ? 'Open Source Hardware' : scope.row.psType == '3' ? 'Software Design'
+              : scope.row.psType == '4' ? 'Overall Score' : '—' }}</div>
           </template>
         </el-table-column>
-        <el-table-column fixed="right" label="操作" width="180px" align="center">
+        <el-table-column fixed="right" label="Actions" width="180px" align="center">
           <template slot-scope="scope">
             <!-- <div
               @click="getAll(scope.row)"
             >
               查看全部
             </div> -->
-            <el-button type="primary" size="small" @click="jump2(scope.row.course[0].courseId)">评审</el-button>
-            <el-button type="primary" size="small" @click="setMan(scope.row)">导出</el-button>
+            <el-button type="primary" size="small" @click="jump2(scope.row.course[0].courseId)">Review</el-button>
+            <el-button type="primary" size="small" @click="setMan(scope.row)">Export</el-button>
           </template>
         </el-table-column>
       </el-table>
@@ -275,56 +275,56 @@
           @size-change="handleSizeChange"></el-pagination>
       </div>
     </div>
-    <el-dialog title="查看" :visible.sync="dialogVisible" :append-to-body="true" width="620px" :before-close="handleClose"
+    <el-dialog title="View" :visible.sync="dialogVisible" :append-to-body="true" width="620px" :before-close="handleClose"
       class="dialog_diy">
       <div v-if="dataArray.length">
         <div class="cd_d_box">
-          <span>教师:</span><span>{{ data.username }}</span>
+          <span>Teacher:</span><span>{{ data.username }}</span>
         </div>
         <div class="cd_d_box">
-          <span>学校:</span><span>{{ data.school }}</span>
+          <span>School:</span><span>{{ data.school }}</span>
         </div>
         <div class="cd_d_jd">
           <div v-for="(item, index) in dataArray" :key="index" class="cd_d_jd_box">
-            <div class="cd_d_jd_name">{{ "阶段" + (index + 1) }}</div>
+            <div class="cd_d_jd_name">{{ "Phase " + (index + 1) }}</div>
             <div class="cd_d_jd_content cd_d_span">
               <div>
-                <span>{{ data[item].taskC }}</span><span>任务</span>
+                <span>{{ data[item].taskC }}</span><span>Tasks</span>
               </div>
               <div>
-                <span>{{ data[item].toolC }}</span><span>工具</span>
+                <span>{{ data[item].toolC }}</span><span>Tools</span>
               </div>
               <!-- <div>
                 <span>{{ data[item].evalC }}</span
                 ><span>评价</span>
               </div> -->
               <div>
-                <span>{{ data[item].fontC }}</span><span></span>
+                <span>{{ data[item].fontC }}</span><span>character</span>
               </div>
             </div>
           </div>
           <div class="cd_d_jd_box">
-            <div class="cd_d_jd_name">总计</div>
+            <div class="cd_d_jd_name">Total</div>
             <div class="cd_d_jd_content cd_d_span" style="background: #d4d4d4">
               <div>
-                <span>{{ data["jdz"].taskC }}</span><span>任务</span>
+                <span>{{ data["jdz"].taskC }}</span><span>tasks</span>
               </div>
               <div>
-                <span>{{ data["jdz"].toolC }}</span><span>工具</span>
+                <span>{{ data["jdz"].toolC }}</span><span>tools</span>
               </div>
               <!-- <div>
                 <span>{{ data["jdz"].evalC }}</span
-                ><span>评价</span>
+                ><span>evaluations</span>
               </div> -->
               <div>
-                <span>{{ data["jdz"].fontC }}</span><span></span>
+                <span>{{ data["jdz"].fontC }}</span><span>characters</span>
               </div>
             </div>
           </div>
         </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>
@@ -464,7 +464,7 @@ export default {
               for (var ttask = _tasks.length - 1; ttask >= 0; ttask--) {
                 let _tools = _tasks[ttask].toolArray ? _tasks[ttask].toolArray : [];
                 if (_tools.length) {
-                  _res[i].lastTask = `第${tk + 1}阶段任务${ttask + 1}步骤${_tools.length}`
+                  _res[i].lastTask = `Step ${tk + 1} of Phase ${ttask + 1}, Task ${_tools.length}`
                   break;
                 } else {
                   continue;
@@ -630,7 +630,7 @@ export default {
     },
     exportExcel() {
       if (!this.tableData.length) {
-        this.$message.error('请等待加载数据')
+        this.$message.error('Please wait for the data to load.')
         return;
       }
 
@@ -640,29 +640,29 @@ export default {
       var array = [];
       for (var i = 0; i < res.length; i++) {
         var _json = {};
-        _json["序号"] = res[i].number;
-        _json["负责人"] = res[i].username;
-        _json["项目"] = res[i].course[0].title;
-        _json["分类"] = res[i].typename;
-        _json["学校"] = res[i].school;
-        _json["协同人员"] = res[i].cteacher ? res[i].cteacher : '—';
-        _json["创建时间"] = res[i].ctime;
-        _json["更新时间"] = res[i].time;
-        _json["总计"] = `${res[i].jdz.taskC}任务 ${res[i].jdz.toolC}工具 ${res[i].jdz.fontC}字数`;
+        _json["Index"] = res[i].number;
+        _json["Responsible Person"] = res[i].username;
+        _json["Project"] = res[i].course[0].title;
+        _json["Category"] = res[i].typename;
+        _json["School"] = res[i].school;
+        _json["Collaborators"] = res[i].cteacher ? res[i].cteacher : '—';
+        _json["Creation Time"] = res[i].ctime;
+        _json["Update Time"] = res[i].time;
+        _json["Total"] = `${res[i].jdz.taskC} tasks ${res[i].jdz.toolC} tools ${res[i].jdz.fontC} words`;
         if (this.mode) {
-          _json["阶段1"] = res[i].jd1 ? res[i].brief : '—';
-          _json["阶段2"] = res[i].jd2 ? res[i].brief : '—';
-          _json["阶段3"] = res[i].jd3 ? res[i].brief : '—';
-          _json["阶段4"] = res[i].jd4 ? res[i].brief : '—';
-          _json["阶段5"] = res[i].jd5 ? res[i].brief : '—';
-          _json["阶段6"] = res[i].jd6 ? res[i].brief : '—';
+          _json["Phase 1"] = res[i].jd1 ? res[i].brief : '—';
+          _json["Phase 2"] = res[i].jd2 ? res[i].brief : '—';
+          _json["Phase 3"] = res[i].jd3 ? res[i].brief : '—';
+          _json["Phase 4"] = res[i].jd4 ? res[i].brief : '—';
+          _json["Phase 5"] = res[i].jd5 ? res[i].brief : '—';
+          _json["Phase 6"] = res[i].jd6 ? res[i].brief : '—';
         } else {
-          _json["项目简介"] = res[i].brief ? res[i].brief : '—';
+          _json["Project Summary"] = res[i].brief ? res[i].brief : '—';
         }
-        _json["项目所处阶段"] = res[i].lastTask ? res[i].lastTask : '—';
-        _json["评审状态"] = res[i].score ? '已评分' : '未评分';
-        _json["评审结果"] = res[i].score + '分';
-        _json["评审类型"] = res[i].psType == '1' ? '造型结构' : res[i].psType == '2' ? '开源硬件' : res[i].psType == '3' ? '软件设计' : res[i].psType == '4' ? '总分' : '—';
+        _json["Project Phase"] = res[i].lastTask ? res[i].lastTask : '—';
+        _json["Review Status"] = res[i].score ? 'Reviewed' : 'Not Reviewed';
+        _json["Review Result"] = res[i].score + ' points';
+        _json["Review Type"] = res[i].psType == '1' ? 'Structural Design' : res[i].psType == '2' ? 'Open Source Hardware' : res[i].psType == '3' ? 'Software Design' : res[i].psType == '4' ? 'Total Score' : '—';
         array.push(_json);
       }
 
@@ -676,12 +676,12 @@ export default {
       //   { wch: 50 },
       // ];
       XLSX.utils.book_append_sheet(workbook, ws, "sheet1"); //把sheet添加到workbook里,第三个参数是sheet名
-      XLSX.writeFile(workbook, "项目数据导出.xlsx");
+      XLSX.writeFile(workbook, "Project Data Export.xlsx");
       // const wopts = { bookType: "xlsx", bookSST: false, type: "array" };//写入的样式bookType:输出的文件类型,type:输出的数据类型,bookSST: 是否生成Shared String Table,官方解释是,如果开启生成速度会下降,但在低版本IOS设备上有更好的兼容性
       // const wbout = XLSX.write(workbook, wopts);// 浏览器端和node共有的API,实际上node可以直接使用xlsx.writeFile来写入文件,但是浏览器没有该API
       // FileSaver.saveAs(new Blob([wbout], { type: "application/octet-stream" }), `${title} demo.xlsx`);//保存文件
       this.$message({
-        message: "导出成功",
+        message: "Export successful",
         type: "success",
       });
     },
@@ -695,82 +695,82 @@ export default {
       // 项目名称、项目创建人、协同人员、创建时间、修改时间、所属赛道、所属主题、项目详情简介;项目阶段数量、项目任务数量、项目进展
       // if possible 项目所处阶段、各阶段负责人/任务周期/协同者/任务描述/项目方案
       let _course = `<h1>${course.course[0].title}</h1>`
-      let _people = `<h2>负责人:${course.username}</h2>`
-      let _cteacher = `<h3>协同人员:${course.cteacher ? course.cteacher : '—'}</h3>`
-      let _time = `<h2>创建时间:${course.ctime} 修改时间:${course.time}</h2>`
-      let _type = `<h2>分类:${course.typename}</h2>`
-      let _detail = `<h2>项目详情:${course.brief}</h2>`
-      let _jdZ = `<h2>项目阶段数量:${course.chapters.length} 项目任务任数量:${course.jdz.taskC}</h2>`
+      let _people = `<h2>Responsible Person: ${course.username}</h2>`
+      let _cteacher = `<h3>Collaborators: ${course.cteacher ? course.cteacher : '—'}</h3>`
+      let _time = `<h2>Creation Time: ${course.ctime} Modification Time: ${course.time}</h2>`
+      let _type = `<h2>Category: ${course.typename}</h2>`
+      let _detail = `<h2>Project Details: ${course.brief}</h2>`
+      let _jdZ = `<h2>Number of Project Stages: ${course.chapters.length} Number of Project Tasks: ${course.jdz.taskC}</h2>`
       let _lasttask = ''
       if (course.lastTask) {
-        _lasttask = `<h2>项目所处阶段:${course.lastTask}</h2>`
+        _lasttask = `<h2>Project Stage: ${course.lastTask}</h2>`
       }
 
       let _chapter = course.chapters
       let chapterHTML = ''
       for (var i = 0; i < _chapter.length; i++) {
-        chapterHTML += `<h2 style="border-top: 1px solid #ddd;padding: 10px 0 0 0;">第${i + 1}阶段-${_chapter[i].dyName}</h2>`
+        chapterHTML += `<h2 style="border-top: 1px solid #ddd;padding: 10px 0 0 0;">Stage ${i + 1}-${_chapter[i].dyName}</h2>`
         let taskJson = _chapter[i].chapterInfo[0].taskJson
         for (var j = 0; j < taskJson.length; j++) {
-          chapterHTML += `<h3>任务${j + 1}-${taskJson[j].task}</h3>`
+          chapterHTML += `<h3>Task ${j + 1}-${taskJson[j].task}</h3>`
           if (taskJson[j].time && taskJson[j].time.length) {
-            chapterHTML += `<p>任务周期:${this.timeB(taskJson[j].time[0])}至${this.timeB(taskJson[j].time[1])}</p>`
+            chapterHTML += `<p>Task Period: ${this.timeB(taskJson[j].time[0])} to ${this.timeB(taskJson[j].time[1])}</p>`
           }
           if (taskJson[j].people) {
-            chapterHTML += `<p>负责人:${this.getMan(Man, taskJson[j].people)}</p>`
+            chapterHTML += `<p>Responsible Person: ${this.getMan(Man, taskJson[j].people)}</p>`
           }
           if (taskJson[j].tcMember && taskJson[j].tcMember.length) {
             let tcMember = []
             for (var tc = 0; tc < taskJson[j].tcMember.length; tc++) {
               tcMember.push(this.getMan(Man, taskJson[j].tcMember[tc]))
             }
-            chapterHTML += `<p>协同者:${tcMember.join(",")}</p>`
+            chapterHTML += `<p>Collaborators: ${tcMember.join(",")}</p>`
           }
-          chapterHTML += `<div>任务描述</div>`
+          chapterHTML += `<div>Task Description</div>`
           chapterHTML += `<div>${taskJson[j].taskDetail}</div>`
           let _tool = taskJson[j].toolArray ? taskJson[j].toolArray : []
           for (var tool = 0; tool < _tool.length; tool++) {
             if (_tool[tool].tool == 1) {
-              chapterHTML += `<h4>步骤${tool + 1}:电子白板</h4>`
+              chapterHTML += `<h4>Step ${tool + 1}: Electronic Whiteboard</h4>`
             } else if (_tool[tool].tool == 3) {
-              chapterHTML += `<h4>步骤${tool + 1}:思维导图</h4>`
+              chapterHTML += `<h4>Step ${tool + 1}: Mind Map</h4>`
             } else if (_tool[tool].tool == 6) {
-              chapterHTML += `<h4>步骤${tool + 1}:协同文档</h4>`
+              chapterHTML += `<h4>Step ${tool + 1}: Collaborative Document</h4>`
             } else if (_tool[tool].tool == 15) {
-              chapterHTML += `<h4>步骤${tool + 1}:问答工具</h4>`
+              chapterHTML += `<h4>Step ${tool + 1}: Q&A Tool</h4>`
             } else if (_tool[tool].tool == 53) {
-              chapterHTML += `<h4>步骤${tool + 1}:文件上传</h4>`
+              chapterHTML += `<h4>Step ${tool + 1}: File Upload</h4>`
             } else if (_tool[tool].tool == 54) {
-              chapterHTML += `<h4>步骤${tool + 1}:拍照</h4>`
+              chapterHTML += `<h4>Step ${tool + 1}: Take Photo</h4>`
             } else if (_tool[tool].tool == 55) {
-              chapterHTML += `<h4>步骤${tool + 1}:压缩文件</h4>`
+              chapterHTML += `<h4>Step ${tool + 1}: Compress File</h4>`
             } else if (_tool[tool].tool == 56) {
-              chapterHTML += `<h4>步骤${tool + 1}:投票</h4>`
+              chapterHTML += `<h4>Step ${tool + 1}: Vote</h4>`
             } else if (_tool[tool].tool == 48) {
-              chapterHTML += `<h4>步骤${tool + 1}:表格</h4>`
+              chapterHTML += `<h4>Step ${tool + 1}: Spreadsheet</h4>`
             } else if (_tool[tool].tool == 52) {
-              chapterHTML += `<h4>步骤${tool + 1}:文档</h4>`
+              chapterHTML += `<h4>Step ${tool + 1}: Document</h4>`
             } else if (_tool[tool].tool == 51) {
-              chapterHTML += `<h4>步骤${tool + 1}:资源库</h4>`
+              chapterHTML += `<h4>Step ${tool + 1}: Resource Library</h4>`
             } else if (_tool[tool].tool == 56) {
-              chapterHTML += `<h4>步骤${tool + 1}:投票</h4>`
+              chapterHTML += `<h4>Step ${tool + 1}: Vote</h4>`
             } else if (_tool[tool].tool == 57) {
-              chapterHTML += `<h4>步骤${tool + 1}:CocoPi</h4>`
+              chapterHTML += `<h4>Step ${tool + 1}: CocoPi</h4>`
             }
 
-            if (_tool[tool].tool == 51) {
+            if (_tool[tool].tool === 51) {
               if (_tool[tool].toolData.length) {
-                for (var ti = 0; ti < _tool[tool].toolData.length; ti++) {
-                  let _td = _tool[tool].toolData[ti]
-                  if (_td.type == 2) {
-                    chapterHTML += `<div><span>视频链接:</span><a href='${_td.url}'>${_td.name}</a></div>`
-                  } else if (_td.type == 3) {
-                    chapterHTML += `<div><span>文档链接:</span><a href='${_td.url}'>${_td.name}</a></div>`
-                  } else if (_td.type == 6) {
-                    chapterHTML += `<div>图文标题:${_td.name}</div>`
-                    chapterHTML += `<div class="cont"><span>图文内容:</span>${_td.url}</div>`
-                  } else if (_td.type == 8) {
-                    chapterHTML += `<div><span>链接:</span><a href='${_td.src}'>${_td.title}</a></div>`
+                for (let ti = 0; ti < _tool[tool].toolData.length; ti++) {
+                  let _td = _tool[tool].toolData[ti];
+                  if (_td.type === 2) {
+                    chapterHTML += `<div><span>Video Link:</span><a href='${_td.url}'>${_td.name}</a></div>`;
+                  } else if (_td.type === 3) {
+                    chapterHTML += `<div><span>Document Link:</span><a href='${_td.url}'>${_td.name}</a></div>`;
+                  } else if (_td.type === 6) {
+                    chapterHTML += `<div>Image Text Title: ${_td.name}</div>`;
+                    chapterHTML += `<div class="cont"><span>Image Text Content:</span>${_td.url}</div>`;
+                  } else if (_td.type === 8) {
+                    chapterHTML += `<div><span>Link:</span><a href='${_td.src}'>${_td.title}</a></div>`;
                   }
                 }
               }
@@ -783,15 +783,15 @@ export default {
                   } else if (photo.type == 10) {
                     chapterHTML += `<div class="cont">${JSON.parse(photo.content)}</div>`
                   } else if (photo.type == 4) {
-                    chapterHTML += `<div><span>文档链接:</span><a href='${photo.content}'>${photo.content}</a></div>`
+                    chapterHTML += `<div><span>Document Link:</span><a href='${photo.content}'>${photo.content}</a></div>`
                   } else if (photo.type == 5) {
-                    chapterHTML += `<div><span>视频链接:</span><a href='${photo.content}'>${photo.content}</a></div>`
+                    chapterHTML += `<div><span>Video Link:</span><a href='${photo.content}'>${photo.content}</a></div>`
                   } else if (photo.type == 12) {
                     chapterHTML += `<div class="cont">${JSON.parse(photo.content)}</div>`
                   } else if (photo.type == 14) {
                     var _ask = "";
                     var _div = document.createElement("div");
-                    _div.innerHTML = `<h4>标题:${_tool[tool].askJson.askTitle}</h4>`;
+                    _div.innerHTML = `<h4>Title:${_tool[tool].askJson.askTitle}</h4>`;
                     for (
                       var j = 0;
                       j < _tool[tool].askJson.askJson.length;
@@ -799,8 +799,8 @@ export default {
                     ) {
                       let answer = JSON.parse(photo.content)
                       var _div2 = document.createElement("div");
-                      _div2.innerHTML = `<h5>第${j + 1}题:${_tool[tool].askJson.askJson[j].askstitle
-                        }  选择:${answer &&
+                      _div2.innerHTML = `<h5>Question ${j + 1}:${_tool[tool].askJson.askJson[j].askstitle
+                        }  Choice:${answer &&
                           answer.length > 0
                           ? answer[j]
                           : 1
@@ -822,7 +822,7 @@ export default {
                     _ask += `<div>${_div.innerHTML}</div>`;
                     chapterHTML += _ask
                   } else if (photo.type == 13) {
-                    chapterHTML += `<div><span>文件链接:</span><a href='${photo.content}'>${photo.content}</a></div>`
+                    chapterHTML += `<div><span>File Link:</span><a href='${photo.content}'>${photo.content}</a></div>`
                   }
                   // <img v-if="photo.type == 1" :src="photo.content" @click="previewImg(photo.content)" />
                   //         <img v-if="photo.type == 10" :src="word" @click="openTable(photo.content)" />
@@ -838,7 +838,7 @@ export default {
             }
 
             if (_tool[tool].toolDetail) {
-              chapterHTML += `<div>工具描述</div>`
+              chapterHTML += `<div>Tool Description</div>`
               chapterHTML += `<div>${_tool[tool].toolDetail}</div>`
             }
           }
@@ -918,7 +918,7 @@ export default {
           <meta charset="UTF-8">
           <meta http-equiv="X-UA-Compatible" content="IE=edge">
           <meta name="viewport" content="width=device-width, initial-scale=1.0">
-          <title>报告</title>
+          <title>Report</title>
           <style>
           .cont{
             word-break: break-all;
@@ -941,10 +941,10 @@ export default {
 
             .cont table th {
               border-bottom: 2px solid #ccc;
-              text-align: center;
+              text-align: centre;
             }
 
-            /* blockquote 样式 */
+            /* blockquote style */
             .cont blockquote {
               display: block;
               border-left: 8px solid #d0e5f2;
@@ -952,15 +952,15 @@ export default {
               margin: 10px 0;
               line-height: 1.4;
               font-size: 100%;
-              background-color: #f1f1f1;
+              background-colour: #f1f1f1;
             }
 
-            /* code 样式 */
+            /* code style */
             .cont code {
               display: inline-block;
               *display: inline;
               *zoom: 1;
-              background-color: #f1f1f1;
+              background-colour: #f1f1f1;
               border-radius: 3px;
               padding: 3px 5px;
               margin: 0 3px;
@@ -970,7 +970,7 @@ export default {
               display: block;
             }
 
-            /* ul ol 样式 */
+            /* ul ol style */
             .cont ul,
             .cont ol {
               margin: 10px 0 10px 20px;
@@ -1011,7 +1011,7 @@ export default {
       time.setTime(time.getTime());
       var s2 = time.getFullYear() + "-" + ((time.getMonth() + 1) < 10 ? '0' + (time.getMonth() + 1) : (time.getMonth() + 1)) + "-"
         + ((time.getDate()) < 10 ? '0' + (time.getDate()) : (time.getDate()));
-      return time.getFullYear() ? s2 : ''
+      return time.getFullYear() ? s2 : 'None'
     },
   },
   beforeDestroy() {

+ 16 - 16
src/components/pages/GM/examine.vue

@@ -14,14 +14,14 @@
           margin: 10px auto 0;
         ">
         <div class="pb_head">
-          <span>项目审核</span>
+          <span>Project Review</span>
           <!-- <span>备注:教师可以根据课程、班级条件筛选学生并查看该学生信息</span> -->
         </div>
         <div class="student_head">
           <div class="student_search">
             <div class="searchBox">
-              <div>项目筛选</div>
-              <el-input v-model="cn" placeholder="筛选项目名称" @input="search"></el-input>
+              <div>Project Filtering</div>
+              <el-input v-model="cn" placeholder="Filter Project Names" @input="search"></el-input>
             </div>
           </div>
         </div>
@@ -32,19 +32,19 @@
             background: '#f1f1f1',
           
           }" style="width: 100%" :height="tableHeight" v-loading="isLoading">
-            <el-table-column prop="title" label="项目名称" min-width="300px" align="center">
+            <el-table-column prop="title" label="Project Name" min-width="300px" align="center">
             </el-table-column>
-            <el-table-column prop="uname" label="创建人" min-width="300px" align="center">
+            <el-table-column prop="uname" label="Creator" min-width="300px" align="center">
             </el-table-column>
-            <el-table-column prop="school" label="学校名称" min-width="300px" align="center">
+            <el-table-column prop="school" label="School Name" min-width="300px" align="center">
             </el-table-column>
-            <el-table-column prop="date" label="操作" width="300px" align="left">
+            <el-table-column prop="date" label="Actions" width="300px" align="left">
               <template slot-scope="scope">
                 <div class="pb_buttonBox">
                   <el-button class="btnClassGM" size="mini" type="primary"
-                    @click="get(scope.row.courseId)">查看课程</el-button>
+                    @click="get(scope.row.courseId)">View Courses</el-button>
                   <el-button class="btnClassGM" size="mini" type="primary" @click="examine(scope.row.courseId,scope.row.examine,scope.row.title)">
-                    {{scope.row.examine == '1' ? "审核" : "撤销审核"}}
+                    {{scope.row.examine == '1' ? "Review" : "Revoke Review"}}
                   </el-button>
                 </div>
               </template>
@@ -141,11 +141,11 @@ export default {
     examine(cid,examine,title){
       // examineCourse
       this.$confirm(
-        examine=='1' ? "确认此课程通过审核吗?" : "确认撤销此课程的审核吗?",
-          "提示",
+        examine=='1' ? "Confirm this course has passed review?" : "Confirm revocation of this course's review?",
+          "Tip",
           {
-            confirmButtonText: "确定",
-            cancelButtonText: "取消",
+            confirmButtonText: "Confirm",
+            cancelButtonText: "Cancel",
             type: "warning",
           }
         )
@@ -155,7 +155,7 @@ export default {
                 {
                   cid:cid,
                   exa:examine == '1' ? '2' : '1',
-                  title:'新项目:'+title,
+                  title:'New Project:'+title,
                   oid:this.oid,
                   org:this.org,
                 },
@@ -164,13 +164,13 @@ export default {
                 .post(this.$store.state.api + "examineCourse", params)
                 .then((res) => {
                   this.$message({
-                    message: "审核成功",
+                    message: "Review Successful",
                     type: "success",
                   });
                   this.selectCourse();
                 })
                 .catch((err) => {
-                  this.$message.error("审核失败");
+                  this.$message.error("Review Failed");
                   console.error(err);
                 });
             // }

+ 30 - 30
src/components/pages/GM/notice.vue

@@ -11,10 +11,10 @@
           margin: 10px auto 0;
       ">
       <div class="pb_head">
-        <span>通知公告</span>
+        <span>Announcements</span>
         <div class="student_button">
           <el-button type="primary" class="bgColor btnClassGM" @click="dialogVisibleAdd = true"
-            v-if="role == '1'">新建通知</el-button>
+            v-if="role == '1'">New Notification</el-button>
         </div>
       </div>
     </div>
@@ -22,24 +22,24 @@
       <div class="student_table">
         <el-table ref="table" :data="tableData" border :height="tableHeight" :fit="true" style="width: 100%"
           :header-cell-style="{ background: '#f1f1f1' }" :row-class-name="tableRowClassName" v-loading="loading">
-          <el-table-column prop="title" label="通知标题" min-width="15" align="center" :show-overflow-tooltip="true">
+          <el-table-column prop="title" label="Notification Title" min-width="15" align="center" :show-overflow-tooltip="true">
           </el-table-column>
-          <el-table-column prop="content" label="通知内容" min-width="35" align="center" :show-overflow-tooltip="true">
+          <el-table-column prop="content" label="Notification Content" min-width="35" align="center" :show-overflow-tooltip="true">
             <template slot-scope="scope">
               <div v-html="snippet(scope.row.content)"></div>
             </template>
           </el-table-column>
-          <el-table-column prop="creatMen" label="创建者" min-width="25" align="center">
-            管理员
+          <el-table-column prop="creatMen" label="Creator" min-width="25" align="center">
+            Administrator
           </el-table-column>
-          <el-table-column prop="creatTime" label="创建时间" min-width="25" align="center">
+          <el-table-column prop="creatTime" label="Creation Time" min-width="25" align="center">
           </el-table-column>
-          <el-table-column label="操作" min-width="20">
+          <el-table-column label="Actions" min-width="20">
             <template slot-scope="scope">
               <el-button type="primary" size="small" @click="getNewDetail(scope.row)"
-                class="btnClassGM">查看通知</el-button>
+                class="btnClassGM">View Notification</el-button>
               <el-button type="primary" size="small" @click="deleteNotice(scope.row.id)" v-if="role == '1'"
-                class="btnClassGM">删除</el-button>
+                class="btnClassGM">Delete</el-button>
             </template>
           </el-table-column>
         </el-table>
@@ -50,34 +50,34 @@
         </el-pagination>
       </div>
     </div>
-    <el-dialog title="查看通知" :visible.sync="dialogVisible" :append-to-body="true" width="50%" :before-close="handleClose"
+    <el-dialog title="View Notification" :visible.sync="dialogVisible" :append-to-body="true" width="50%" :before-close="handleClose"
       class="dialog_diy">
       <div>
         <div class="pb_head">
           <span style="font-size: 20px">{{ res.title }}</span>
-          <span style="font-size: 15px; line-height: 35px">管理员</span>
+          <span style="font-size: 15px; line-height: 35px">Administrator</span>
         </div>
         <div class="notice_content cont" v-html="res.content"></div>
       </div>
       <span slot="footer" class="dialog-footer">
-        <el-button class="close btnClassGM" @click="dialogVisible = false" type="primary">关闭</el-button>
+        <el-button class="close btnClassGM" @click="dialogVisible = false" type="primary">Close</el-button>
       </span>
     </el-dialog>
-    <el-dialog title="添加全站通知" :visible.sync="dialogVisibleAdd" width="550px" :before-close="handleClose"
+    <el-dialog title="Add Site-wide Notification" :visible.sync="dialogVisibleAdd" width="550px" :before-close="handleClose"
       class="dialog_diy" center>
       <div>
         <div class="tian1">
-          <span>通知标题</span>
-          <el-input v-model="noticeTitle" style="width: 250px; margin: 15px 0px" placeholder="请输入通知标题"></el-input>
+          <span>Notification Title</span>
+          <el-input v-model="noticeTitle" style="width: 250px; margin: 15px 0px" placeholder="Please Enter Notification Title"></el-input>
         </div>
         <div class="tian1">
-          <span>通知内容</span>
+          <span>Notification Content</span>
           <editor-bar v-model="detail" :isClear="isClear" @change="change"></editor-bar>
         </div>
       </div>
       <span slot="footer" class="dialog-footer">
-        <el-button type="primary" @click="addNotice">确认通知</el-button>
-        <el-button @click="dialogVisibleAdd = false">取 消</el-button>
+        <el-button type="primary" @click="addNotice">Confirm Notification</el-button>
+        <el-button @click="dialogVisibleAdd = false">Cancel</el-button>
       </span>
     </el-dialog>
   </div>
@@ -189,13 +189,13 @@ export default {
         }
       }
     },
-    //添加通知
+    //Add通知
     addNotice() {
       if (this.noticeTitle === "") {
-        this.$message.error("请输入文章标题");
+        this.$message.error("Please Enter Article Title");
         return;
       } else if (this.detail === "") {
-        this.$message.error("请输入文章内容");
+        this.$message.error("Please Enter Article Content");
         return;
       }
       if (this.time()) {
@@ -211,7 +211,7 @@ export default {
           .post(this.$store.state.api + "addNotice", params)
           .then((res) => {
             this.$message({
-              message: "添加成功",
+              message: "Addition Successful",
               type: "success",
             });
             this.noticeTitle = ""
@@ -220,18 +220,18 @@ export default {
             this.dialogVisibleAdd = false;
           })
           .catch((err) => {
-            this.$message.error("添加失败");
+            this.$message.error("Addition Failed");
             console.error(err);
           });
       }
     },
     deleteNotice(id) {
       this.$confirm(
-        "确定删除此公告吗?",
-        "提示",
+        "Are You Sure You Want to Delete This Announcement?",
+        "Tip",
         {
-          confirmButtonText: "确定",
-          cancelButtonText: "取消",
+          confirmButtonText: "Confirm",
+          cancelButtonText: "Cancel",
           type: "warning",
         }
       )
@@ -245,13 +245,13 @@ export default {
             .post(this.$store.state.api + "deleteNotice", params)
             .then((res) => {
               this.$message({
-                message: "删除成功",
+                message: "Deletion Successful",
                 type: "success",
               });
               this.getNews();
             })
             .catch((err) => {
-              this.$message.error("删除失败");
+              this.$message.error("Deletion Failed");
               console.error(err);
             });
         })

+ 50 - 50
src/components/pages/GM/school.vue

@@ -14,13 +14,13 @@
           margin: 10px auto 0;
         ">
         <div class="pb_head">
-          <span>学校管理</span>
+          <span>School Management</span>
           <!-- <span>备注:教师可以根据课程、班级条件筛选学生并查看该学生信息</span> -->
         </div>
         <div class="student_head">
           <div class="student_search">
             <el-button class="btnClassGM" size="small" type="primary" @click="dialogVisible = true" v-if="step == 0">
-              添加学校</el-button>
+              Add School</el-button>
           </div>
         </div>
       </div>
@@ -31,14 +31,14 @@
             'text-align': 'center',
           }" :cell-style="{ 'text-align': 'center' }" style="width: 100%" :height="tableHeight"
             v-loading="isLoading">
-            <el-table-column prop="name" label="学校名称" min-width="70">
+            <el-table-column prop="name" label="School Name" min-width="70">
             </el-table-column>
-            <el-table-column prop="date" label="操作" min-width="30">
+            <el-table-column prop="date" label="Actions" min-width="30">
               <template slot-scope="scope">
                 <div class="pb_buttonBox">
                   <el-button class="btnClassGM" size="mini" type="primary"
-                    @click="updateS(scope.row.id, scope.row.name)">修改</el-button>
-                  <el-button class="btnClassGM" size="mini" type="primary" @click="deleteSchool(scope.row.id)">删除
+                    @click="updateS(scope.row.id, scope.row.name)">Edit</el-button>
+                  <el-button class="btnClassGM" size="mini" type="primary" @click="deleteSchool(scope.row.id)">Delete
                   </el-button>
                 </div>
               </template>
@@ -51,26 +51,26 @@
           @current-change="handleCurrentChange"></el-pagination>
       </div>
     </div>
-    <el-dialog title="添加学校" :visible.sync="dialogVisible" width="500px" :before-close="handleClose" class="dialog_diy"
+    <el-dialog title="Add School" :visible.sync="dialogVisible" width="500px" :before-close="handleClose" class="dialog_diy"
       center>
       <div class="addBox">
-        <span class="tian1">学校名称</span>
-        <el-input v-model="schoolName" style="width: 250px; margin: 15px 0px" placeholder="请输入学校名称"></el-input>
+        <span class="tian1">School Name</span>
+        <el-input v-model="schoolName" style="width: 250px; margin: 15px 0px" placeholder="Please Enter School Name"></el-input>
       </div>
       <span slot="footer" class="dialog-footer">
-        <el-button @click="dialogVisible = false">取 消</el-button>
-        <el-button class="btnClassGM" type="primary" @click="addSchool">确 定</el-button>
+        <el-button @click="dialogVisible = false">Cancel</el-button>
+        <el-button class="btnClassGM" type="primary" @click="addSchool">Confirm</el-button>
       </span>
     </el-dialog>
-    <el-dialog title="修改学校" :visible.sync="dialogVisible1" width="500px" :before-close="handleClose" class="dialog_diy"
+    <el-dialog title="Edit School" :visible.sync="dialogVisible1" width="500px" :before-close="handleClose" class="dialog_diy"
       center>
       <div class="addBox">
-        <span class="tian1">学校名称</span>
-        <el-input v-model="schoolName" style="width: 250px; margin: 15px 0px" placeholder="请输入学校名称"></el-input>
+        <span class="tian1">School Name</span>
+        <el-input v-model="schoolName" style="width: 250px; margin: 15px 0px" placeholder="Please Enter School Name"></el-input>
       </div>
       <span slot="footer" class="dialog-footer">
-        <el-button @click="dialogVisible1 = false">取 消</el-button>
-        <el-button class="btnClassGM" type="primary" @click="updateSchool">确 定</el-button>
+        <el-button @click="dialogVisible1 = false">Cancel</el-button>
+        <el-button class="btnClassGM" type="primary" @click="updateSchool">Confirm</el-button>
       </span>
     </el-dialog>
   </div>
@@ -241,7 +241,7 @@ export default {
             if (err) {
               var a = _this.$refs.upload.uploadFiles;
               a.splice(a.length - 1, a.length);
-              _this.$message.error("上传失败");
+              _this.$message.error("Upload Failed");
             } else {
               //上传成功处理
               _this.fileList.push({
@@ -258,18 +258,18 @@ export default {
     addBanner() {
       if (this.isBanner == true) {
         this.$confirm(
-          "您已经添加过Banner了,如果您再提交将覆盖上次提交的Banner!",
-          "提示",
+          "You've already added a Banner. If you submit again, it will overwrite the previous Banner!",
+          "Tip",
           {
-            confirmButtonText: "确定",
-            cancelButtonText: "取消",
+            confirmButtonText: "Confirm",
+            cancelButtonText: "Cancel",
             type: "warning",
           }
         )
           .then(() => {
             var list = this.fileList;
             if (list.length == 0) {
-              this.$message.error("请上传需要添加的banner");
+              this.$message.error("Please Upload the Banner to Add");
               return;
             }
             if (this.time()) {
@@ -285,14 +285,14 @@ export default {
                 .post(this.$store.state.api + "addBanner", params)
                 .then((res) => {
                   this.$message({
-                    message: "添加成功",
+                    message: "Addition Successful",
                     type: "success",
                   });
                   this.dialogVisible6 = false;
                   this.init();
                 })
                 .catch((err) => {
-                  this.$message.error("添加失败");
+                  this.$message.error("Addition Failed");
                   console.error(err);
                 });
             }
@@ -301,7 +301,7 @@ export default {
       } else {
         var list = this.fileList;
         if (list.length == 0) {
-          this.$message.error("请上传需要添加的banner");
+          this.$message.error("Please Upload the Banner to Add");
           return;
         }
         if (this.time()) {
@@ -317,14 +317,14 @@ export default {
             .post(this.$store.state.api + "addBanner", params)
             .then((res) => {
               this.$message({
-                message: "添加成功",
+                message: "Addition Successful",
                 type: "success",
               });
               this.dialogVisible6 = false;
               this.init();
             })
             .catch((err) => {
-              this.$message.error("添加失败");
+              this.$message.error("Addition Failed");
               console.error(err);
             });
         }
@@ -332,7 +332,7 @@ export default {
     },
     setBannerUrl() {
       if (this.checkBannerCourse == "") {
-        this.$message.error("请选择作为banner链接的课程");
+        this.$message.error("Please Select the Course for the Banner Link");
         return;
       }
       this.bannerCourse = this.checkBannerCourse;
@@ -368,7 +368,7 @@ export default {
         .post(this.$store.state.api + "addSchoolOrg", params)
         .then((res) => {
           this.$message({
-            message: "添加成功",
+            message: "Addition Successful",
             type: "success",
           });
           this.dialogVisible = false;
@@ -376,7 +376,7 @@ export default {
           this.selectSchool();
         })
         .catch((err) => {
-          this.$message.error("添加失败");
+          this.$message.error("Addition Failed");
           console.error(err);
         });
     },
@@ -404,7 +404,7 @@ export default {
         .get(this.$store.state.api + "updateSN", params)
         .then((res) => {
           this.$message({
-            message: "修改成功",
+            message: "Edit Successful",
             type: "success",
           });
           this.dialogVisible1 = false;
@@ -413,7 +413,7 @@ export default {
           this.selectSchool();
         })
         .catch((err) => {
-          this.$message.error("修改失败");
+          this.$message.error("Update failed");
           console.error(err);
         });
     },
@@ -425,9 +425,9 @@ export default {
       ];
       let _this = this
       _this
-        .$confirm("确定删除此学校吗?", "提示", {
-          confirmButtonText: "确定",
-          cancelButtonText: "取消",
+        .$confirm("Are You Sure You Want to Delete This School??", "Tip", {
+          confirmButtonText: "Confirm",
+          cancelButtonText: "Cancel",
           type: "warning",
         })
         .then(() => {
@@ -435,7 +435,7 @@ export default {
             .post(this.$store.state.api + "deleteSchoolAdmin", params)
             .then((res) => {
               _this.$message({
-                message: "删除成功",
+                message: "Deletion Successful",
                 type: "success",
               });
               _this.updateId = "";
@@ -443,7 +443,7 @@ export default {
               _this.selectSchool();
             })
             .catch((err) => {
-              _this.$message.error("删除成功");
+              _this.$message.error("Deletion Successful");
               console.error(err);
             });
         })
@@ -518,7 +518,7 @@ export default {
         .get(this.$store.state.api + "addPtype", params)
         .then((res) => {
           this.$message({
-            message: "添加成功",
+            message: "Addition Successful",
             type: "success",
           });
           this.dialogVisible2 = false;
@@ -526,7 +526,7 @@ export default {
           this.selectType();
         })
         .catch((err) => {
-          this.$message.error("添加失败");
+          this.$message.error("Addition Failed");
           console.error(err);
         });
     },
@@ -539,7 +539,7 @@ export default {
         .get(this.$store.state.api + "updatePtype", params)
         .then((res) => {
           this.$message({
-            message: "修改成功",
+            message: "Edit Successful",
             type: "success",
           });
           this.dialogVisible3 = false;
@@ -548,7 +548,7 @@ export default {
           this.selectType();
         })
         .catch((err) => {
-          this.$message.error("修改失败");
+          this.$message.error("Update failed");
           console.error(err);
         });
     },
@@ -560,7 +560,7 @@ export default {
         .get(this.$store.state.api + "deletePtype", params)
         .then((res) => {
           this.$message({
-            message: "删除成功",
+            message: "Deletion Successful",
             type: "success",
           });
           this.updateId = "";
@@ -568,7 +568,7 @@ export default {
           this.selectType();
         })
         .catch((err) => {
-          this.$message.error("删除失败");
+          this.$message.error("Deletion Failed");
           console.error(err);
         });
     },
@@ -583,7 +583,7 @@ export default {
         .get(this.$store.state.api + "addStype", params)
         .then((res) => {
           this.$message({
-            message: "添加成功",
+            message: "Addition Successful",
             type: "success",
           });
           this.dialogVisible4 = false;
@@ -591,7 +591,7 @@ export default {
           this.selectSType();
         })
         .catch((err) => {
-          this.$message.error("添加成功");
+          this.$message.error("Addition Successful");
           console.error(err);
         });
     },
@@ -604,7 +604,7 @@ export default {
         .get(this.$store.state.api + "updatePtype", params)
         .then((res) => {
           this.$message({
-            message: "修改成功",
+            message: "Edit Successful",
             type: "success",
           });
           this.dialogVisible5 = false;
@@ -613,11 +613,11 @@ export default {
           this.selectSType();
         })
         .catch((err) => {
-          this.$message.error("修改失败");
+          this.$message.error("Update failed");
           console.error(err);
         });
     },
-    //打开添加弹窗
+    //打开Add弹窗
     addBannerUrlPop() {
       this.dialogVisible7 = true;
       this.searchClassName = "";
@@ -654,7 +654,7 @@ export default {
         .get(this.$store.state.api + "deletePtype", params)
         .then((res) => {
           this.$message({
-            message: "删除成功",
+            message: "Deletion Successful",
             type: "success",
           });
           this.updateId = "";
@@ -662,7 +662,7 @@ export default {
           this.selectSType();
         })
         .catch((err) => {
-          this.$message.error("删除失败");
+          this.$message.error("Deletion Failed");
           console.error(err);
         });
     },

+ 53 - 53
src/components/pages/GM/teacher.vue

@@ -14,22 +14,22 @@
       "
     >
       <div class="pb_head">
-        <span>教师管理</span>
+        <span>Teacher Management</span>
       </div>
       <div class="student_head">
         <div class="head_left">
           <el-input
             v-model="sPhoneUser"
             class="student_input"
-            placeholder="请输入用户名"
+            placeholder="Please enter username"
           ></el-input>
           <el-select
             v-model="cid"
-            placeholder="请选择学校"
+            placeholder="Please select a school"
             class="student_input inputClass"
             @change="searchStudent"
           >
-            <el-option label="所有学校" value=""></el-option>
+            <el-option label="All Schools" value=""></el-option>
             <el-option
               v-for="(item, index) in classJuri"
               :key="index"
@@ -38,11 +38,11 @@
             ></el-option>
           </el-select>
           <el-button class="student_button" @click="searchStudent"
-            >查询</el-button
+            >Search</el-button
           >
         </div>
         <div class="head_right">
-          <el-button @click="addStudent">添加教师</el-button>
+          <el-button @click="addStudent">Add Teacher</el-button>
           <el-upload
             v-show="false"
             class="upload-demo newCss"
@@ -53,14 +53,14 @@
             accept=".xlsx"
           >
             <el-button class="btnClassGM" size="primary" type="primary"
-              >批量添加</el-button
+              >Bulk Add</el-button
             >
             <div slot="tip" class="el-upload__tip" style="margin-left: 10px">
-              只能上传xlsx文件,且不超过500kb
+              Only xlsx files can be uploaded, not exceeding 500kb
             </div>
           </el-upload>
           <!-- <el-button @click="exportExcel">导出学生</el-button> -->
-          <div @click="getExcel" v-show="false">xls 上传样例</div>
+          <div @click="getExcel" v-show="false">xls Upload Example</div>
         </div>
       </div>
     </div>
@@ -77,7 +77,7 @@
           :header-cell-style="{ background: '#f1f1f1', fontSize: '17px' }"
           :row-class-name="tableRowClassName"
         >
-          <el-table-column label="姓名" min-width="10" align="center">
+          <el-table-column label="Name" min-width="10" align="center">
             <template slot-scope="scope">
               <div class="userImg">
                 <div class="tx">
@@ -104,19 +104,19 @@
               </div>
             </template>
           </el-table-column>
-          <el-table-column label="邮箱" min-width="15" align="center">
+          <el-table-column label="Email" min-width="15" align="center">
             <template slot-scope="scope">
               <div>{{ scope.row.un ? scope.row.un : "" }}</div>
             </template>
           </el-table-column>
           <el-table-column
             prop="schoolName"
-            label="学校"
+            label="School"
             min-width="15"
             align="center"
           >
           </el-table-column>
-          <el-table-column label="操作" width="220px">
+          <el-table-column label="Actions" width="220px">
             <template slot-scope="scope">
               <div
                 class="delete"
@@ -150,33 +150,33 @@
         <div class="logoImg">
           <img src="../../../assets/logo.png" alt />
         </div>
-        <div class="title_add_student">添加教师</div>
+        <div class="title_add_student">Add Teacher</div>
       </div>
       <el-form class="inputClass">
-        <el-form-item label="教师名称" :label-width="formLabelWidth">
+        <el-form-item label="Teacher's Name" :label-width="formLabelWidth">
           <span>
             <el-input
-              placeholder="请输入教师姓名"
+              placeholder="Please enter teacher's name"
               clearable
               v-model="sName"
               class="add_input"
             ></el-input>
           </span>
         </el-form-item>
-        <el-form-item label="教师账号" :label-width="formLabelWidth">
+        <el-form-item label="eacher's Account" :label-width="formLabelWidth">
           <span>
             <el-input
-              placeholder="请输入教师账号"
+              placeholder="Please enter teacher's account"
               clearable
               v-model="sMail"
               class="add_input"
             ></el-input>
           </span>
         </el-form-item>
-        <el-form-item label="所属学校" :label-width="formLabelWidth">
+        <el-form-item label="Affiliated School" :label-width="formLabelWidth">
           <el-select
             v-model="schoolName"
-            placeholder="请选择学校"
+            placeholder="Please select a school"
             @change="checkEva"
           >
             <el-option
@@ -188,11 +188,11 @@
           </el-select>
         </el-form-item>
         <div style="text-align: center; color: #adb3b7">
-          注:添加教师的账号密码为123456
+          Note: The account password for adding a teacher is 123456
         </div>
       </el-form>
       <span slot="footer" class="dialog-footer flex">
-        <el-button class="right" @click="insertStudent">确认</el-button>
+        <el-button class="right" @click="insertStudent">Confirm</el-button>
       </span>
     </el-dialog>
   </div>
@@ -270,9 +270,9 @@ export default {
         const {
           export_json_to_excel,
         } = require("../../../common/Export2Excel");
-        const tHeader = ["教师姓名", "教师账号", "学校"];
+        const tHeader = ["Teacher Name", "eacher's Account", "School"];
         const data = [];
-        export_json_to_excel(tHeader, data, "上传教师样例");
+        export_json_to_excel(tHeader, data, "Upload Teacher Example");
       });
     },
     handleCurrentChange(val) {
@@ -297,18 +297,18 @@ export default {
     insertStudent() {
       this.dialogVisible = true;
       if (this.sName === "") {
-        this.$message.error("教师姓名不能为空");
+        this.$message.error("Teacher's name cannot be empty");
         return;
       } else if (this.sMail === "") {
-        this.$message.error("教师账号不能为空");
+        this.$message.error("Teacher's account cannot be empty");
         return;
       } else if (
         !/^([a-zA-Z0-9_-])+@([a-zA-Z0-9_-])+(\.[a-zA-Z0-9_-])+/.test(this.sMail)
       ) {
-        this.$message.error("邮箱格式不正确");
+        this.$message.error("Email format is incorrect");
         return;
       }else if(this.schoolName === ""){
-        this.$message.error("请选择学校");
+        this.$message.error("Please select a school");
         return;
       }
       if (this.time()) {
@@ -317,7 +317,7 @@ export default {
           .get(this.$store.state.api + "findMail", params)
           .then((res) => {
             if (res.data[0].length > 0) {
-              this.$message.error("此邮箱已被注册");
+              this.$message.error("This email has already been registered");
             } else {
               this.add_Student();
             }
@@ -367,7 +367,7 @@ export default {
               console.error(err);
             });
           this.$message({
-            message: "新增成功",
+            message: "Successfully added",
             type: "success",
           });
           this.dialogVisible = false;
@@ -379,7 +379,7 @@ export default {
         .catch((err) => {
           this.isLoading = false;
           this.$message({
-            message: "新增失败",
+            message: "Addition failed",
             type: "error",
           });
           console.error(err);
@@ -451,13 +451,13 @@ export default {
         } else {
           this.$message({
             type: "warning",
-            message: "附件格式错误,请删除后重新上传!",
+            message: "Attachment format is incorrect, please delete and re-upload!",
           });
         }
       } else {
         this.$message({
           type: "warning",
-          message: "请上传附件!",
+          message: "Please upload an attachment!",
         });
       }
     },
@@ -478,14 +478,14 @@ export default {
             var array = [];
             for (var i = 0; i < res.length; i++) {
               var _json = {};
-              _json["用户名"] = res[i].username;
-              _json["姓名"] = res[i].alias ? res[i].alias : "";
-              _json["班级"] = res[i].classid ? res[i].classid : "";
+              _json["Username"] = res[i].username;
+              _json["Name"] = res[i].alias ? res[i].alias : "";
+              _json["Class"] = res[i].classid ? res[i].classid : "";
               array.push(_json);
             }
 
             var XLSX = require("xlsx");
-            const workbook = XLSX.utils.book_new(); //创建一新的工作簿对象
+            const workbook = XLSX.utils.book_new(); //创建一Number新的工作簿对象
             let ws = XLSX.utils.json_to_sheet(array); //将json对象数组转化成工作表
             ws["!cols"] = [
               //设置每一列的宽度
@@ -493,13 +493,13 @@ export default {
               { wch: 50 },
               { wch: 50 },
             ];
-            XLSX.utils.book_append_sheet(workbook, ws, "sheet1"); //把sheet添加到workbook里,第三个参数是sheet名
-            XLSX.writeFile(workbook, "学生信息.xlsx");
+            XLSX.utils.book_append_sheet(workbook, ws, "sheet1"); //把sheetAdd到workbook里,No.三Number参数是sheet名
+            XLSX.writeFile(workbook, "Student Information.xlsx");
             // const wopts = { bookType: "xlsx", bookSST: false, type: "array" };//写入的样式bookType:输出的文件类型,type:输出的数据类型,bookSST: 是否生成Shared String Table,官方解释是,如果开启生成速度会下降,但在低版本IOS设备上有更好的兼容性
             // const wbout = XLSX.write(workbook, wopts);// 浏览器端和node共有的API,实际上node可以直接使用xlsx.writeFile来写入文件,但是浏览器没有该API
             // FileSaver.saveAs(new Blob([wbout], { type: "application/octet-stream" }), `${title} demo.xlsx`);//保存文件
             this.$message({
-              message: "导出成功",
+              message: "Export Successful",
               type: "success",
             });
           })
@@ -553,9 +553,9 @@ export default {
           let arr = [];
           this.da.map((v) => {
             let obj = {};
-            obj.name = v["教师姓名"];
-            obj.mail = v["教师账号"];
-            obj.school = v["学校"];
+            obj.name = v["Teacher Name"];
+            obj.mail = v["eacher's Account"];
+            obj.school = v["School"];
             arr.push(obj);
           });
           console.log(arr);
@@ -564,22 +564,22 @@ export default {
             let item = arr[i];
             if (item.school === "") {
               _b = 1;
-              _this.$message.error("教师学校不能为空,请重新上传");
+              _this.$message.error("Teacher's school cannot be empty,Please re-upload");
               break;
             } else if (item.name === "") {
               _b = 1;
-              _this.$message.error("教师姓名不能为空,请重新上传");
+              _this.$message.error("Teacher's name cannot be empty,Please re-upload");
               break;
             } else if (item.mail === "") {
               _b = 1;
-              _this.$message.error("教师账号不能为空,请重新上传");
+              _this.$message.error("Teacher's account cannot be empty,Please re-upload");
             }else if (
               !/^([a-zA-Z0-9_-])+@([a-zA-Z0-9_-])+(\.[a-zA-Z0-9_-])+/.test(
                 item.mail
               )
             ) {
               _b = 1;
-              _this.$message.error("有教师账号格式不正确,请重新上传");
+              _this.$message.error("Some teacher account formats are incorrect,Please re-upload");
               break;
             }
           }
@@ -597,7 +597,7 @@ export default {
             .then((res) => {
               if (z == 2) {
                 _this.$message({
-                  message: "新增成功",
+                  message: "Successfully added",
                   type: "success",
                 });
                 _this.getStudent();
@@ -635,9 +635,9 @@ export default {
     deleteStudent(id, state) {
       state = 0;
       let params = [{ uid: id, state: state }];
-      this.$confirm("确定" + "删除" + "此教师吗?", "提示", {
-        confirmButtonText: "确定",
-        cancelButtonText: "取消",
+      this.$confirm("Confirm" + "Delete" + "This teacher??", "Tip", {
+        confirmButtonText: "Confirm",
+        cancelButtonText: "Cancel",
         type: "warning",
       })
         .then(() => {
@@ -645,13 +645,13 @@ export default {
             .post(this.$store.state.api + "deleteStudent", params)
             .then((res) => {
               this.$message({
-                message: "操作成功",
+                message: "Operation Successful",
                 type: "success",
               });
               this.getStudent();
             })
             .catch((err) => {
-              this.$message.error("操作失败");
+              this.$message.error("Operation failed");
               console.error(err);
             });
         })

+ 57 - 57
src/components/pages/Grid.vue

@@ -32,10 +32,10 @@
           fit="cover"
         ></el-image>
       </div>-->
-      <el-button type="text" @click="dialogVisible2 = true">邀请成员</el-button>
-      <!-- <el-button type="text">成员</el-button> -->
+      <el-button type="text" @click="dialogVisible2 = true">Invite Members</el-button>
+      <!-- <el-button type="text">Members</el-button> -->
       <el-button type="text" v-if="RoomInfo.userid == userid" @click="dismiss"
-        >解散房间</el-button
+        >Dismiss Room</el-button
       >
     </div>
     <draggable
@@ -70,21 +70,21 @@
               :src="require('../../assets/grid/upload.png')"
               fit="cover"
             ></el-image>
-            <span>修改</span>
+            <span>Edit</span>
           </div>
           <div class="pChild" @click="deleteGrid(index)">
             <el-image
               :src="require('../../assets/grid/deleteT.png')"
               fit="cover"
             ></el-image>
-            <span>删除</span>
+            <span>Delete</span>
           </div>
           <div class="pChild" @click="check(index, 2)">
             <el-image
               :src="require('../../assets/grid/edit.png')"
               fit="cover"
             ></el-image>
-            <span>添加备注</span>
+            <span>Add Note</span>
           </div>
         </div>
         <div class="rrrrbox" v-if="item && item.remarks && !item.photo && !item.video" @click="check(index, 3)">
@@ -124,7 +124,7 @@
               </div>
             </div>
             <div v-else-if="x.remarks == '' && y == 0">
-              {{ x.username }}暂无备注
+              {{ x.username }}No comments for now
             </div>
           </div>
         </div>
@@ -153,7 +153,7 @@
       </div>
     </draggable>
     <el-dialog
-      title="上传文件"
+      title="Upload File"
       :visible.sync="dialogVisible"
       :append-to-body="true"
       width="800px"
@@ -161,7 +161,7 @@
       class="look_notice"
     >
       <div slot="title" class="header-title">
-        <div class="title_add_student">上传文件</div>
+        <div class="title_add_student">Upload File</div>
       </div>
       <div>
         <div class="upload_box" v-show="!file.userid || file.userid == userid">
@@ -235,7 +235,7 @@
           </div>
         </div>
         <div class="textarea_box">
-          <div class="textarea_title">添加描述</div>
+          <div class="textarea_title">Add Description</div>
           <el-input
             type="textarea"
             v-model="remarks"
@@ -248,12 +248,12 @@
       </div>
       <span slot="footer" class="dialog-footer">
         <el-button class="close" @click="addGrid()" type="primary"
-          >确定</el-button
+          >Confirm</el-button
         >
       </span>
     </el-dialog>
     <el-dialog
-      title="邀请成员"
+      title="Invite Members"
       :visible.sync="dialogVisible2"
       :append-to-body="true"
       width="400px"
@@ -261,24 +261,24 @@
       class="look_notice invite_dialog"
     >
       <div slot="title" class="header-title">
-        <div class="title_add_student">邀请成员</div>
+        <div class="title_add_student">Invite Members</div>
       </div>
       <div>
         <div class="invite_box">
           <div class="invite_title" ref="inviteT">
-            {{ userinfo ? this.userinfo.name : "用户" }}邀请您参加思维网格
+            {{ userinfo ? this.userinfo.name : "User" }} invites you to join the Mind Grid
           </div>
           <div class="line"></div>
           <div class="invite_link">
-            <div ref="invite1">复制链接加入房间:</div>
+            <div ref="invite1">Copy the link to join the room:</div>
             <div ref="invite2" style="color:#3E8DE6;">https://cloud.cocorobo.cn/</div>
           </div>
           <div class="invite_num" ref="invite3">
-            房间号:
+            Room number:
             <span style="color:#3E8DE6;">{{ goNum }}</span>
           </div>
           <div class="invite_num" ref="invite4">
-            复制房间号信息,打开思维网格输入即可加入。
+            Copy the room number and open the Mind Grid to enter.
           </div>
         </div>
       </div>
@@ -288,12 +288,12 @@
           @click="copy"
           type="primary"
           :data-clipboard-text="copyText"
-          >一键复制信息</el-button
+          >Copy Information</el-button
         >
       </span>
     </el-dialog>
     <el-dialog
-      title="创建/加入房间"
+      title="Create/Join Room"
       :visible.sync="dialogVisible3"
       :append-to-body="true"
       width="400px"
@@ -301,23 +301,23 @@
       class="look_notice invite_dialog room_dialog"
     >
       <div slot="title" class="header-title">
-        <div class="title_add_student">创建/加入房间</div>
+        <div class="title_add_student">Create/Join Room</div>
       </div>
       <div class="addRoom_box">
         <div>
           <el-input
             v-model="goNum"
-            placeholder="请输入要加入的房间号"
+            placeholder="Enter the room number to join"
           ></el-input>
           <div class="room_b">
-            备注:输入房间号点击加入房间或点击创建房间直接创建房间
+            Note: Enter the room number and click "Join Room" or click "Create Room" to create a room directly
           </div>
           <div class="room_btn">
             <el-button class="roomBtn" type="primary" @click="goRoom(goNum)"
-              >加入房间</el-button
+              >Join Room</el-button
             >
             <el-button class="roomBtn" type="primary" @click="checkNum"
-              >创建房间</el-button
+              >Create Room</el-button
             >
           </div>
         </div>
@@ -326,7 +326,7 @@
     <div v-if="proVisible" class="mask">
       <div class="progressBox">
         <div class="lbox">
-          <img :src="require('../../assets/loading.gif')" />上传中,请稍后
+          <img :src="require('../../assets/loading.gif')" />Uploading, please wait.
         </div>
         <el-progress
           :text-inside="true"
@@ -387,7 +387,7 @@ export default {
         ],
         // poster: require("../../assets/tu31.png"), //你的封面地址
         // poster: dataRes.imgUrl, //你的封面地址
-        notSupportedMessage: "此视频暂无法播放,请稍后再试", //允许覆盖Video.js无法播放媒体源时显示的默认信息。
+        notSupportedMessage: "This video is currently unavailable for playback. Please try again later.", //允许覆盖Video.js无法播放媒体源时显示的默认信息。
         controlBar: {
           timeDivider: true, //当前时间和持续时间的分隔符
           durationDisplay: true, //显示持续时间
@@ -486,13 +486,13 @@ export default {
         this.$refs.invite4.innerHTML;
       var clipboard = new Clipboard(".tag-read");
       clipboard.on("success", (e) => {
-        this.$message.success("复制成功");
-        console.log("复制成功");
-        clipboard.destroy(); // 释放内存
+        this.$message.success("Copied successfully");
+        console.log("Copied successfully");
+        clipboard.destroy(); // Release memory
       });
       clipboard.on("error", (e) => {
-        console.log("不支持复制,该浏览器不支持自动复制");
-        clipboard.destroy(); // 释放内存
+        console.log("Copy not supported, this browser does not support automatic copying");
+        clipboard.destroy(); // Release memory
       });
     },
     handleClose(done) {
@@ -513,12 +513,12 @@ export default {
     },
     deleteGrid(index) {
       if (this.data[index].userid != this.userid) {
-        this.$message.error("你不是上传人无权限删除");
+        this.$message.error("You do not have permission to delete as you are not the uploader");
         return;
       }
-      this.$confirm("确定删除吗?", "提示", {
-        confirmButtonText: "确定",
-        cancelButtonText: "取消",
+      this.$confirm("Are you sure you want to delete?", "Prompt", {
+        confirmButtonText: "Confirm",
+        cancelButtonText: "Cancel",
         type: "warning",
       })
         .then(() => {
@@ -553,12 +553,12 @@ export default {
     check(index, type) {
       this.gIndex = index;
       if (this.data[index].userid != this.userid && type != 2 && type != 3) {
-        this.$message.error("你不是上传人无权限修改");
+        this.$message.error("You do not have permission to modify as you are not the uploader.");
         return;
       }
       if (this.data[index] && this.data[index].userid == this.userid) {
         if (this.data[index].userid != this.userid) {
-          this.$message.error("你不是上传人无权限修改");
+          this.$message.error("You do not have permission to modify as you are not the uploader.");
           return;
         }
         this.file = {
@@ -602,8 +602,8 @@ export default {
     },
     addGrid() {
       if (!this.file.userid || this.file.userid == this.userid) {
-        if (!this.file.video && !this.file.photo && this.remarks == "") {
-          this.$message.error("至少上传一个视频、一张图片或者备注");
+        if (!this.file.video && !this.file.photo && this.remarks === "") {
+          this.$message.error("Please upload at least one video, one photo, or add remarks.");
           return;
         }
         if (!this.data[this.gIndex]) {
@@ -621,14 +621,14 @@ export default {
           this.data[this.gIndex].remarks[0] = {
             remarks: this.remarks,
             userid: this.userinfo ? this.userinfo.userid : this.userid,
-            username: this.userinfo ? this.userinfo.name : "用户",
+            username: this.userinfo ? this.userinfo.name : "User",
           };
         } else {
           this.data[this.gIndex].remarks = [
             {
               remarks: this.remarks,
               userid: this.userinfo ? this.userinfo.userid : this.userid,
-              username: this.userinfo ? this.userinfo.name : "用户",
+              username: this.userinfo ? this.userinfo.name : "User",
             },
           ];
         }
@@ -637,7 +637,7 @@ export default {
           : this.userid;
       } else {
         if (!this.remarks) {
-          this.$message.error("备注不能为空");
+          this.$message.error("Remarks cannot be empty");
           return;
         }
         var a = 0;
@@ -647,7 +647,7 @@ export default {
             this.data[this.gIndex].remarks[i] = {
               remarks: this.remarks,
               userid: this.userinfo ? this.userinfo.userid : this.userid,
-              username: this.userinfo ? this.userinfo.name : "用户",
+              username: this.userinfo ? this.userinfo.name : "User",
             };
             break;
           }
@@ -656,7 +656,7 @@ export default {
           this.data[this.gIndex].remarks.push({
             remarks: this.remarks,
             userid: this.userinfo ? this.userinfo.userid : this.userid,
-            username: this.userinfo ? this.userinfo.name : "用户",
+            username: this.userinfo ? this.userinfo.name : "User",
           });
         }
       }
@@ -679,11 +679,11 @@ export default {
     beforeUpload(event, type) {
       // debugger;
       if (this.file.photo && type != 1) {
-        this.$message.error("只能上传一个视频或者一张图片");
+        this.$message.error("You can only upload a video or an image");
         this.$refs.pathClear2.value = "";
         return;
       } else if (this.file.video && type != 2) {
-        this.$message.error("只能上传一个视频或者一张图片");
+        this.$message.error("Upload a video or an image");
         this.$refs.pathClear1.value = "";
         return;
       }
@@ -706,7 +706,7 @@ export default {
               [file.name.split(".").length - 1].toLocaleLowerCase()
           ) == "-1"
         ) {
-          _this.$message.error("请上传jpg或者png的图片格式文件");
+          _this.$message.error("Please upload image files in jpg or png format");
           return;
         }
       } else {
@@ -718,7 +718,7 @@ export default {
               [file.name.split(".").length - 1].toLocaleLowerCase()
           ) == "-1"
         ) {
-          _this.$message.error("请上传mp4视频格式文件");
+          _this.$message.error("Please upload video files in mp4 format");
           return;
         }
       }
@@ -754,7 +754,7 @@ export default {
               _this.proVisible = false;
             }, 1000);
             if (err) {
-              _this.$message.error("上传失败");
+              _this.$message.error("Upload failed.");
             } else {
               if (type == 1) {
                 _this.file.photo = data.Location;
@@ -822,11 +822,11 @@ export default {
       this.ajax
         .post(this.$store.state.api + "insertRoom", params)
         .then((res) => {
-          this.$message.success("创建成功");
+          this.$message.success("Creation successful");
           this.getRoom(res.data[0][0].fid);
         })
         .catch((err) => {
-          this.$message.error("创建失败");
+          this.$message.error("Creation failed");
           console.error(err);
         });
     },
@@ -890,7 +890,7 @@ export default {
         .get(this.$store.state.api + "selectRoom", params)
         .then((res) => {
           if (res.data[0].length) {
-            this.$message.success("加入成功");
+            this.$message.success("Join successful");
             // this.RoomInfo = res.data[0][0];
             this.data = JSON.parse(res.data[0][0].data);
             this.dialogVisible3 = false;
@@ -903,7 +903,7 @@ export default {
             //   this.selectRoom2(uid);
             // }, 5000);
           } else {
-            this.$message.error("此房间不存在或已被解散");
+            this.$message.error("This room does not exist or has been disbanded");
           }
         })
         .catch((err) => {
@@ -925,9 +925,9 @@ export default {
         });
     },
     dismiss() {
-      this.$confirm("确定解散房间吗?", "提示", {
-        confirmButtonText: "确定",
-        cancelButtonText: "取消",
+      this.$confirm("Are you sure you want to dismiss the room?", "Warning", {
+        confirmButtonText: "Confirm",
+        cancelButtonText: "Cancel",
         type: "warning",
       })
         .then(() => {
@@ -939,7 +939,7 @@ export default {
           this.ajax
             .post(this.$store.state.api + "dismiss", params)
             .then((res) => {
-              this.$message.success("解散成功");
+              this.$message.success("Dismissed successfully");
               this.$router.go(0);
             })
             .catch((err) => {

+ 18 - 18
src/components/pages/GridList.vue

@@ -5,26 +5,26 @@
         <div class="docImg">
           <img src="../../assets/icon/word/gridIcon.png" alt="" />
         </div>
-        <div>思维网格</div>
+        <div>Thought Grid</div>
       </div>
       <div class="searchRoom">
         <div class="firstTop">
           <input
             type="text"
-            placeholder="输入房间名称/号码...."
+            placeholder="Enter room name/number...."
             v-model="roomS"
           />
-          <div @click="getRoomList">确定</div>
+          <div @click="getRoomList">Confirm</div>
         </div>
         <div class="lastTop">
           <div class="notice">
             <img src="../../assets/icon/word/notice.png" alt="" />
           </div>
-          <div>若找不到房间,输入房间号或名称进行搜索哦!</div>
+          <div>If you can't find the room, enter the room number or name to search!</div>
         </div>
       </div>
       <div class="addOrCreateRoom">
-        <div @click="dialogVisible = true">加入房间</div>
+        <div @click="dialogVisible = true">Join Room</div>
         <div
           v-if="tType == '1'"
           @click="
@@ -40,7 +40,7 @@
             )
           "
         >
-          创建房间
+          Create Room
         </div>
       </div>
     </div>
@@ -50,10 +50,10 @@
           <img src="../../assets/icon/word/noImg.png" alt="" />
         </div>
         <div class="roomName">
-          <div>{{ r.name ? r.name : "暂无房间名称" }}</div>
-          <div>房间号 {{ r.num }}</div>
+          <div>{{ r.name ? r.name : "No room name yet" }}</div>
+          <div>Room Number: {{ r.num }}</div>
         </div>
-        <div class="enterRoom" @click="enterRoom(r.num)">进入房间</div>
+        <div class="enterRoom" @click="enterRoom(r.num)">Enter Room</div>
       </div>
       <div v-if="roomList.length == 0" class="noRoom">
         <img src="../../assets/icon/word/noRoom.png" alt="" />
@@ -61,7 +61,7 @@
     </div>
 
     <el-dialog
-      title="加入房间"
+      title="Join Room"
       class="addOrCreateRoom"
       :visible.sync="dialogVisible"
       :append-to-body="true"
@@ -69,16 +69,16 @@
       :before-close="handleClose"
     >
       <div slot="title" class="header-title">
-        <div class="title_add_student">加入房间</div>
+        <div class="title_add_student">Join Room</div>
       </div>
       <div class="addRoom_box">
         <div class="inputBox">
           <el-input
             v-model="goNum"
-            placeholder="请输入要加入的房间号"
+            placeholder="Enter the room number you want to join"
           ></el-input>
           <div class="room_b">
-            备注:输入房间号点击加入房间或点击创建房间直接创建房间
+            Note: Enter the room number and click "Join Room" or click "Create Room" to create a room directly.
           </div>
           <div class="room_btn">
             <el-button
@@ -98,7 +98,7 @@
                     goNum
                 )
               "
-              >加入房间</el-button
+              >Join Room</el-button
             >
             <!-- <el-button class="roomBtn" type="primary" @click="goRoom(goNum)"
               >加入房间</el-button
@@ -151,12 +151,12 @@ export default {
         this.$refs.invite4.innerHTML;
       var clipboard = new Clipboard(".tag-read");
       clipboard.on("success", (e) => {
-        this.$message.success("复制成功");
-        console.log("复制成功");
-        clipboard.destroy(); // 释放内存
+        this.$message.success("Copy successful");
+        console.log("Copy successful");
+        clipboard.destroy(); // Release memory
       });
       clipboard.on("error", (e) => {
-        console.log("不支持复制,该浏览器不支持自动复制");
+        console.log("Copy not supported, this browser does not support automatic copying");
         clipboard.destroy(); // 释放内存
       });
     },

+ 93 - 93
src/components/pages/Ttype.vue

@@ -22,7 +22,7 @@
           border-radius: 5px;
         ">
         <div class="pb_head">
-          <span>分组管理</span>
+          <span>Group management</span>
           <!-- <span>备注:教师可以根据课程、班级条件筛选学生并查看该学生信息</span> -->
         </div>
 
@@ -35,25 +35,25 @@
         <div v-if="step == 2" class="student_search1">
           <el-breadcrumb separator-class="el-icon-arrow-right" style="margin-top: 15px">
             <el-breadcrumb-item>
-              <span @click="step = 1" style="cursor: pointer">分类列表</span>
+              <span @click="step = 1" style="cursor: pointer">Category List</span>
             </el-breadcrumb-item>
             <el-breadcrumb-item>
-              <span style="color: rgb(15, 126, 255)">子分类列表</span>
+              <span style="color: rgb(15, 126, 255)">Subcategory List</span>
             </el-breadcrumb-item>
           </el-breadcrumb>
-          <el-button size="small" type="primary" @click="dialogVisible4 = true">添加子分类</el-button>
+          <el-button size="small" type="primary" @click="dialogVisible4 = true">Add Subcategory</el-button>
         </div>
         <el-table ref="table" :data="tableData1" stripe border
           :header-cell-style="{ background: '#f1f1f1', 'text-align': 'center' }"
           :cell-style="{ 'text-align': 'center' }" style="width: 100%" :height="tableHeight" v-loading="isLoading"
           v-if="step == 1">
-          <el-table-column prop="name" label="分类名称" min-width="70">
+          <el-table-column prop="name" label="Category Name" min-width="70">
           </el-table-column>
-          <el-table-column prop="date" label="操作" min-width="30">
+          <el-table-column prop="date" label="Action" min-width="30">
             <template slot-scope="scope">
               <div class="pb_buttonBox">
                 <el-button size="mini" type="primary" @click="selectSType(scope.row.id)">
-                  查看子分类
+                  View Subcategories
                 </el-button>
               </div>
             </template>
@@ -63,13 +63,13 @@
           :header-cell-style="{ background: '#f1f1f1', 'text-align': 'center' }"
           :cell-style="{ 'text-align': 'center' }" style="width: 100%" :height="tableHeight" v-loading="isLoading"
           v-if="step == 2">
-          <el-table-column prop="name" label="子分类名称" min-width="70">
+          <el-table-column prop="name" label="Subcategory Name" min-width="70">
           </el-table-column>
-          <el-table-column prop="date" label="操作" min-width="30">
+          <el-table-column prop="date" label="Action" min-width="30">
             <template slot-scope="scope">
               <div class="pb_buttonBox">
-                <el-button size="mini" type="primary" @click="updateSPType(scope.row.id, scope.row.name)">修改</el-button>
-                <el-button size="mini" type="primary" @click="deleteStype(scope.row.id)">删除</el-button>
+                <el-button size="mini" type="primary" @click="updateSPType(scope.row.id, scope.row.name)">Modify</el-button>
+                <el-button size="mini" type="primary" @click="deleteStype(scope.row.id)">Delete</el-button>
               </div>
             </template>
           </el-table-column>
@@ -88,77 +88,77 @@
           @current-change="handleCurrentChange2"></el-pagination>
       </div>
     </div>
-    <el-dialog title="添加学校" :visible.sync="dialogVisible" width="500px" :before-close="handleClose" class="dialog_diy"
+    <el-dialog title="Add School" :visible.sync="dialogVisible" width="500px" :before-close="handleClose" class="dialog_diy"
       center>
       <div class="addBox">
-        <span class="tian1">学校名称</span>
-        <el-input v-model="schoolName" style="width: 250px; margin: 15px 0px" placeholder="请输入学校名称"></el-input>
+        <span class="tian1">School Name</span>
+        <el-input v-model="schoolName" style="width: 250px; margin: 15px 0px" placeholder="Enter school name"></el-input>
       </div>
       <span slot="footer" class="dialog-footer">
-        <el-button @click="dialogVisible = false">取 消</el-button>
-        <el-button type="primary" @click="addSchool">确 定</el-button>
+        <el-button @click="dialogVisible = false">Cancel</el-button>
+        <el-button type="primary" @click="addSchool">Confirm</el-button>
       </span>
     </el-dialog>
-    <el-dialog title="修改学校" :visible.sync="dialogVisible1" width="500px" :before-close="handleClose" class="dialog_diy"
+    <el-dialog title="Modify School" :visible.sync="dialogVisible1" width="500px" :before-close="handleClose" class="dialog_diy"
       center>
       <div class="addBox">
-        <span class="tian1">学校名称</span>
-        <el-input v-model="schoolName" style="width: 250px; margin: 15px 0px" placeholder="请输入学校名称"></el-input>
+        <span class="tian1">School Name</span>
+        <el-input v-model="schoolName" style="width: 250px; margin: 15px 0px" placeholder="Enter school name"></el-input>
       </div>
       <span slot="footer" class="dialog-footer">
-        <el-button @click="dialogVisible1 = false">取 消</el-button>
-        <el-button type="primary" @click="updateSchool">确 定</el-button>
+        <el-button @click="dialogVisible1 = false">Cancel</el-button>
+        <el-button type="primary" @click="updateSchool">Confirm</el-button>
       </span>
     </el-dialog>
-    <el-dialog title="添加分类" :visible.sync="dialogVisible2" width="500px" :before-close="handleClose" class="dialog_diy"
+    <el-dialog title="Add Category" :visible.sync="dialogVisible2" width="500px" :before-close="handleClose" class="dialog_diy"
       center>
       <div class="addBox">
-        <span class="tian1">分类名称</span>
-        <el-input v-model="typeName" style="width: 250px; margin: 15px 0px" placeholder="请输入分类名称"></el-input>
+        <span class="tian1">Category Name</span>
+        <el-input v-model="typeName" style="width: 250px; margin: 15px 0px" placeholder="Enter category name"></el-input>
       </div>
       <span slot="footer" class="dialog-footer">
-        <el-button @click="dialogVisible2 = false">取 消</el-button>
-        <el-button type="primary" @click="addType">确 定</el-button>
+        <el-button @click="dialogVisible2 = false">Cancel</el-button>
+        <el-button type="primary" @click="addType">Confirm</el-button>
       </span>
     </el-dialog>
-    <el-dialog title="修改分类" :visible.sync="dialogVisible3" width="500px" :before-close="handleClose" class="dialog_diy"
+    <el-dialog title="Modify Category" :visible.sync="dialogVisible3" width="500px" :before-close="handleClose" class="dialog_diy"
       center>
       <div class="addBox">
-        <span class="tian1">分类名称</span>
-        <el-input v-model="typeName" style="width: 250px; margin: 15px 0px" placeholder="请输入分类名称"></el-input>
+        <span class="tian1">Category Name</span>
+        <el-input v-model="typeName" style="width: 250px; margin: 15px 0px" placeholder="Enter category name"></el-input>
       </div>
       <span slot="footer" class="dialog-footer">
-        <el-button @click="dialogVisible3 = false">取 消</el-button>
-        <el-button type="primary" @click="updatePtype">确 定</el-button>
+        <el-button @click="dialogVisible3 = false">Cancel</el-button>
+        <el-button type="primary" @click="updatePtype">Confirm</el-button>
       </span>
     </el-dialog>
-    <el-dialog title="添加子分类" :visible.sync="dialogVisible4" width="500px" :before-close="handleClose" class="dialog_diy"
+    <el-dialog title="Add Subcategory" :visible.sync="dialogVisible4" width="500px" :before-close="handleClose" class="dialog_diy"
       center>
       <div class="addBox">
-        <span class="tian1">子分类名称</span>
-        <el-input v-model="sTypeName" style="width: 250px; margin: 15px 0px" placeholder="请输入子分类名称"></el-input>
+        <span class="tian1">Subcategory Name</span>
+        <el-input v-model="sTypeName" style="width: 250px; margin: 15px 0px" placeholder="Please enter subcategory name"></el-input>
       </div>
       <span slot="footer" class="dialog-footer">
-        <el-button @click="dialogVisible4 = false">取 消</el-button>
-        <el-button type="primary" @click="addStype">确 定</el-button>
+        <el-button @click="dialogVisible4 = false">Cancel</el-button>
+        <el-button type="primary" @click="addStype">Confirm</el-button>
       </span>
     </el-dialog>
-    <el-dialog title="修改子分类" :visible.sync="dialogVisible5" width="500px" :before-close="handleClose" class="dialog_diy"
+    <el-dialog title="Edit Subcategory" :visible.sync="dialogVisible5" width="500px" :before-close="handleClose" class="dialog_diy"
       center>
       <div class="addBox">
-        <span class="tian1">子分类名称</span>
-        <el-input v-model="sTypeName" style="width: 250px; margin: 15px 0px" placeholder="请输入子分类名称"></el-input>
+        <span class="tian1">Subcategory Name</span>
+        <el-input v-model="sTypeName" style="width: 250px; margin: 15px 0px" placeholder="Please enter subcategory name"></el-input>
       </div>
       <span slot="footer" class="dialog-footer">
-        <el-button @click="dialogVisible5 = false">取 消</el-button>
-        <el-button type="primary" @click="updateStype">确 定</el-button>
+        <el-button @click="dialogVisible5 = false">Cancel</el-button>
+        <el-button type="primary" @click="updateStype">Confirm</el-button>
       </span>
     </el-dialog>
-    <el-dialog title="添加图片" :visible.sync="dialogVisible6" width="500px" :before-close="handleClose" class="dialog_diy"
+    <el-dialog title="Add Image" :visible.sync="dialogVisible6" width="500px" :before-close="handleClose" class="dialog_diy"
       center>
       <div>
         <div class="dialogBox">
-          <span>添加图片</span>
+          <span>Add Image</span>
 
           <el-upload :class="{ disUoloadSty: noneBtnImg }" action="#" list-type="picture-card"
             :on-preview="handlePictureCardPreview" :on-remove="handleRemove" v-loading="uploadLoading"
@@ -167,7 +167,7 @@
           </el-upload>
         </div>
         <div class="dialogBox" style="color: #bebebe; margin: 10px 0 0 0">
-          注:适宜上传banner尺寸为1218×300
+          Note: Suitable banner size for upload is 1218×300
         </div>
         <!-- <div class="dialogBox" style="margin: 10px 0 0 0">
           <span>Banner课程链接</span>
@@ -178,39 +178,39 @@
         </div> -->
       </div>
       <span slot="footer" class="dialog-footer">
-        <el-button @click="dialogVisible6 = false">取 消</el-button>
-        <el-button type="primary" @click="addBanner">确 定</el-button>
+        <el-button @click="dialogVisible6 = false">Cancel</el-button>
+        <el-button type="primary" @click="addBanner">OK</el-button>
       </span>
     </el-dialog>
     <el-dialog :visible.sync="imgVisible">
       <img width="100%" :src="dialogImageUrl" alt="" />
     </el-dialog>
-    <el-dialog title="添加链接" :visible.sync="dialogVisible7" width="500px" :before-close="handleClose" class="dialog_diy"
+    <el-dialog title="Add Link" :visible.sync="dialogVisible7" width="500px" :before-close="handleClose" class="dialog_diy"
       style="text-align: center" center>
       <div>
         <el-card class="box-card">
           <div slot="header" class="cardHead">
-            <el-input v-model="searchClassName" placeholder="请输入需要添加的课程" @keypress.native.enter="Search"></el-input>
-            <el-button type="text" style="margin: 0 0 0 20px" @click="Search">搜索</el-button>
+            <el-input v-model="searchClassName" placeholder="Enter the course to be added" @keypress.native.enter="Search"></el-input>
+            <el-button type="text" style="margin: 0 0 0 20px" @click="Search">Search</el-button>
           </div>
           <div class="cardList">
             <div v-for="item in courseList" :key="item.courseId">
               <el-popover placement="top-start" trigger="hover">
-                <p style="max-width: 380px">课程名称: {{ item.title }}</p>
-                <p style="max-width: 380px">简介: {{ item.brief }}</p>
-                <el-radio :label="item" slot="reference" v-model="checkBannerCourse"><span>课程名称:</span><span>{{
+                <p style="max-width: 380px">Course Name: {{ item.title }}</p>
+                <p style="max-width: 380px">Brief: {{ item.brief }}</p>
+                <el-radio :label="item" slot="reference" v-model="checkBannerCourse"><span>Course Name:</span><span>{{
                     item.title
                 }}</span></el-radio>
               </el-popover>
             </div>
             <!-- </el-checkbox-group> -->
-            <div v-if="courseList.length == 0">暂无数据</div>
+            <div v-if="courseList.length == 0">No data available</div>
           </div>
         </el-card>
       </div>
       <span slot="footer" class="dialog-footer">
-        <el-button @click="dialogVisible7 = false">取 消</el-button>
-        <el-button type="primary" @click="setBannerUrl">确 定</el-button>
+        <el-button @click="dialogVisible7 = false">Cancel</el-button>
+        <el-button type="primary" @click="setBannerUrl">OK</el-button>
       </span>
     </el-dialog>
   </div>
@@ -380,7 +380,7 @@ export default {
             if (err) {
               var a = _this.$refs.upload.uploadFiles;
               a.splice(a.length - 1, a.length);
-              _this.$message.error("上传失败");
+              _this.$message.error("Upload failed.");
             } else {
               //上传成功处理
               _this.fileList.push({
@@ -397,18 +397,18 @@ export default {
     addBanner() {
       if (this.isBanner == true) {
         this.$confirm(
-          "您已经添加过Banner了,如果您再提交将覆盖上次提交的Banner!",
-          "提示",
+          "You have already added a banner. If you submit again, it will overwrite the previous submission!",
+          "Prompt",
           {
-            confirmButtonText: "确定",
-            cancelButtonText: "取消",
+            confirmButtonText: "Confirm",
+            cancelButtonText: "Cancel",
             type: "warning",
           }
         )
           .then(() => {
             var list = this.fileList;
             if (list.length == 0) {
-              this.$message.error("请上传需要添加的banner");
+              this.$message.error("Please upload the banner you want to add.");
               return;
             }
             if (this.time()) {
@@ -424,14 +424,14 @@ export default {
                 .post(this.$store.state.api + "addBanner", params)
                 .then((res) => {
                   this.$message({
-                    message: "添加成功",
+                    message: "Added successfully",
                     type: "success",
                   });
                   this.dialogVisible6 = false;
                   this.init();
                 })
                 .catch((err) => {
-                  this.$message.error("添加失败");
+                  this.$message.error("Failed to add");
                   console.error(err);
                 });
             }
@@ -440,7 +440,7 @@ export default {
       } else {
         var list = this.fileList;
         if (list.length == 0) {
-          this.$message.error("请上传需要添加的banner");
+          this.$message.error("Please upload the banner you want to add.");
           return;
         }
         if (this.time()) {
@@ -456,14 +456,14 @@ export default {
             .post(this.$store.state.api + "addBanner", params)
             .then((res) => {
               this.$message({
-                message: "添加成功",
+                message: "Added successfully",
                 type: "success",
               });
               this.dialogVisible6 = false;
               this.init();
             })
             .catch((err) => {
-              this.$message.error("添加失败");
+              this.$message.error("Failed to add");
               console.error(err);
             });
         }
@@ -471,7 +471,7 @@ export default {
     },
     setBannerUrl() {
       if (this.checkBannerCourse == "") {
-        this.$message.error("请选择作为banner链接的课程");
+        this.$message.error("Please select a course to use as the banner link.");
         return;
       }
       this.bannerCourse = this.checkBannerCourse;
@@ -505,7 +505,7 @@ export default {
         .post(this.$store.state.api + "addSchoolAdmin", params)
         .then((res) => {
           this.$message({
-            message: "添加成功",
+            message: "Add successful",
             type: "success",
           });
           this.dialogVisible = false;
@@ -513,7 +513,7 @@ export default {
           this.selectSchool();
         })
         .catch((err) => {
-          this.$message.error("添加失败");
+          this.$message.error("Add failed");
           console.error(err);
         });
     },
@@ -541,7 +541,7 @@ export default {
         .get(this.$store.state.api + "updateSN", params)
         .then((res) => {
           this.$message({
-            message: "修改成功",
+            message: "Update successful",
             type: "success",
           });
           this.dialogVisible1 = false;
@@ -550,7 +550,7 @@ export default {
           this.selectSchool();
         })
         .catch((err) => {
-          this.$message.error("修改失败");
+          this.$message.error("Update failed");
           console.error(err);
         });
     },
@@ -564,7 +564,7 @@ export default {
         .post(this.$store.state.api + "deleteSchoolAdmin", params)
         .then((res) => {
           this.$message({
-            message: "删除成功",
+            message: "Delete successful",
             type: "success",
           });
           this.updateId = "";
@@ -572,7 +572,7 @@ export default {
           this.selectSchool();
         })
         .catch((err) => {
-          this.$message.error("删除成功");
+          this.$message.error("Delete failed");
           console.error(err);
         });
     },
@@ -639,7 +639,7 @@ export default {
         .get(this.$store.state.api + "addPtype", params)
         .then((res) => {
           this.$message({
-            message: "添加成功",
+            message: "Add successful",
             type: "success",
           });
           this.dialogVisible2 = false;
@@ -647,7 +647,7 @@ export default {
           this.selectType();
         })
         .catch((err) => {
-          this.$message.error("添加失败");
+          this.$message.error("Add failed");
           console.error(err);
         });
     },
@@ -660,7 +660,7 @@ export default {
         .get(this.$store.state.api + "updatePtype", params)
         .then((res) => {
           this.$message({
-            message: "修改成功",
+            message: "Update successful",
             type: "success",
           });
           this.dialogVisible3 = false;
@@ -669,17 +669,17 @@ export default {
           this.selectType();
         })
         .catch((err) => {
-          this.$message.error("修改失败");
+          this.$message.error("Update failed");
           console.error(err);
         });
     },
     deletePtype(id) {
       this.$confirm(
-        "确定删除此分类吗?",
-        "提示",
+        "Are you sure you want to delete this category?",
+        "Warning",
         {
-          confirmButtonText: "确定",
-          cancelButtonText: "取消",
+          confirmButtonText: "Confirm",
+          cancelButtonText: "Cancel",
           type: "warning",
         }
       )
@@ -691,7 +691,7 @@ export default {
             .get(this.$store.state.api + "deletePtype", params)
             .then((res) => {
               this.$message({
-                message: "删除成功",
+                message: "Delete successful",
                 type: "success",
               });
               this.updateId = "";
@@ -699,7 +699,7 @@ export default {
               this.selectType();
             })
             .catch((err) => {
-              this.$message.error("删除失败");
+              this.$message.error("Delete failed");
               console.error(err);
             });
         })
@@ -717,7 +717,7 @@ export default {
         .get(this.$store.state.api + "addStype", params)
         .then((res) => {
           this.$message({
-            message: "添加成功",
+            message: "Add successful",
             type: "success",
           });
           this.dialogVisible4 = false;
@@ -725,7 +725,7 @@ export default {
           this.selectSType();
         })
         .catch((err) => {
-          this.$message.error("添加成功");
+          this.$message.error("Add successful");
           console.error(err);
         });
     },
@@ -738,7 +738,7 @@ export default {
         .get(this.$store.state.api + "updatePtype", params)
         .then((res) => {
           this.$message({
-            message: "修改成功",
+            message: "Update successful",
             type: "success",
           });
           this.dialogVisible5 = false;
@@ -747,7 +747,7 @@ export default {
           this.selectSType();
         })
         .catch((err) => {
-          this.$message.error("修改失败");
+          this.$message.error("Update failed");
           console.error(err);
         });
     },
@@ -782,11 +782,11 @@ export default {
     },
     deleteStype(id) {
       this.$confirm(
-        "确定删除此分类吗?",
-        "提示",
+        "Are you sure you want to delete this category?",
+        "Prompt",
         {
-          confirmButtonText: "确定",
-          cancelButtonText: "取消",
+          confirmButtonText: "Confirm",
+          cancelButtonText: "Cancel",
           type: "warning",
         }
       )
@@ -798,7 +798,7 @@ export default {
             .get(this.$store.state.api + "deletePtype", params)
             .then((res) => {
               this.$message({
-                message: "删除成功",
+                message: "Delete successful",
                 type: "success",
               });
               this.updateId = "";
@@ -806,7 +806,7 @@ export default {
               this.selectSType();
             })
             .catch((err) => {
-              this.$message.error("删除失败");
+              this.$message.error("Delete failed");
               console.error(err);
             });
         })

+ 97 - 97
src/components/pages/Ttype2.vue

@@ -30,7 +30,7 @@
         "
       >
         <div class="pb_head">
-          <span>分组管理</span>
+          <span>Group Management</span>
           <!-- <span>备注:教师可以根据课程、班级条件筛选学生并查看该学生信息</span> -->
         </div>
         <div class="student_head">
@@ -40,18 +40,18 @@
               type="primary"
               @click="dialogVisible = true"
               v-if="step == 0"
-              >添加学校</el-button
+              > Add School</el-button
             >
             <div class="student_search" v-if="step == 0">
               <span style="margin-right: 10px">
                 <el-input
-                  placeholder="请输入班级名称"
+                  placeholder="Enter class name"
                   v-model="sSchoolName"
                   clearable
                 >
                 </el-input>
               </span>
-              <el-button type="primary" @click="searchSchool">查询</el-button>
+              <el-button type="primary" @click="searchSchool">Search</el-button>
             </div>
             <div v-if="step == 1" class="student_search1">
               <el-breadcrumb
@@ -60,11 +60,11 @@
               >
                 <el-breadcrumb-item>
                   <span @click="step = 0" style="cursor: pointer"
-                    >学校列表</span
+                    >School List</span
                   ></el-breadcrumb-item
                 >
                 <el-breadcrumb-item>
-                  <span style="color: rgb(15, 126, 255)">分类列表</span>
+                  <span style="color: rgb(15, 126, 255)">Category List</span>
                 </el-breadcrumb-item>
               </el-breadcrumb>
               <div>
@@ -72,7 +72,7 @@
                   size="small"
                   type="primary"
                   @click="dialogVisible6 = true"
-                  >修改Banner</el-button
+                  >Modify Banner</el-button
                 >
                 <!-- <el-button
                   size="small"
@@ -89,23 +89,23 @@
               >
                 <el-breadcrumb-item>
                   <span @click="step = 0" style="cursor: pointer"
-                    >学校列表</span
+                    >School List</span
                   ></el-breadcrumb-item
                 >
                 <el-breadcrumb-item>
                   <span @click="step = 1" style="cursor: pointer"
-                    >分类列表</span
+                    >Category List</span
                   >
                 </el-breadcrumb-item>
                 <el-breadcrumb-item>
-                  <span style="color: rgb(15, 126, 255)">子分类列表</span>
+                  <span style="color: rgb(15, 126, 255)">Subcategory List</span>
                 </el-breadcrumb-item>
               </el-breadcrumb>
               <el-button
                 size="small"
                 type="primary"
                 @click="dialogVisible4 = true"
-                >添加子分类</el-button
+                >Add Subcategory</el-button
               >
             </div>
           </div>
@@ -122,9 +122,9 @@
           v-loading="isLoading"
           v-if="step == 0"
         >
-          <el-table-column prop="name" label="学校名称" min-width="70">
+          <el-table-column prop="name" label="School Name" min-width="70">
           </el-table-column>
-          <el-table-column prop="date" label="操作" min-width="30">
+          <el-table-column prop="date" label="Action" min-width="30">
             <template slot-scope="scope">
               <div class="pb_buttonBox">
                 <el-button
@@ -132,19 +132,19 @@
                   type="primary"
                   @click="selectType(scope.row.id)"
                 >
-                  查看分类
+                  View Categories
                 </el-button>
                 <el-button
                   size="mini"
                   type="primary"
                   @click="updateS(scope.row.id, scope.row.name)"
-                  >修改</el-button
+                  >Edit</el-button
                 >
                 <el-button
                   size="mini"
                   type="primary"
                   @click="deleteSchool(scope.row.id)"
-                  >删除</el-button
+                  >Delete</el-button>
                 >
               </div>
             </template>
@@ -162,9 +162,9 @@
           v-loading="isLoading"
           v-if="step == 1"
         >
-          <el-table-column prop="name" label="分类名称" min-width="70">
+          <el-table-column prop="name" label="Category Name" min-width="70">
           </el-table-column>
-          <el-table-column prop="date" label="操作" min-width="30">
+          <el-table-column prop="date" label="Action" min-width="30">
             <template slot-scope="scope">
               <div class="pb_buttonBox">
                 <el-button
@@ -172,7 +172,7 @@
                   type="primary"
                   @click="selectSType(scope.row.id)"
                 >
-                  查看子分类
+                  View Subcategories
                 </el-button>
                 <!-- <el-button
                   size="mini"
@@ -202,9 +202,9 @@
           v-loading="isLoading"
           v-if="step == 2"
         >
-          <el-table-column prop="name" label="子分类名称" min-width="70">
+          <el-table-column prop="name" label="Subcategory Name" min-width="70">
           </el-table-column>
-          <el-table-column prop="date" label="操作" min-width="30">
+          <el-table-column prop="date" label="Action" min-width="30">
             <template slot-scope="scope">
               <div class="pb_buttonBox">
                 <!-- <el-button size="mini" type="primary" @click="selectType">
@@ -214,13 +214,13 @@
                   size="mini"
                   type="primary"
                   @click="updateSPType(scope.row.id, scope.row.name)"
-                  >修改</el-button
+                  >Modify</el-button
                 >
                 <el-button
                   size="mini"
                   type="primary"
                   @click="deleteStype(scope.row.id)"
-                  >删除</el-button
+                  >Delete</el-button
                 >
               </div>
             </template>
@@ -259,7 +259,7 @@
       </div>
     </div>
     <el-dialog
-      title="添加学校"
+      title="Add School"
       :visible.sync="dialogVisible"
       width="500px"
       :before-close="handleClose"
@@ -267,20 +267,20 @@
       center
     >
       <div class="addBox">
-        <span class="tian1">学校名称</span>
+        <span class="tian1">School Name</span>
         <el-input
           v-model="schoolName"
           style="width: 250px; margin: 15px 0px"
-          placeholder="请输入学校名称"
+          placeholder="Please enter the school name"
         ></el-input>
       </div>
       <span slot="footer" class="dialog-footer">
-        <el-button @click="dialogVisible = false">取 消</el-button>
-        <el-button type="primary" @click="addSchool">确 定</el-button>
+        <el-button @click="dialogVisible = false">Cancel</el-button>
+        <el-button type="primary" @click="addSchool">Confirm</el-button>
       </span>
     </el-dialog>
     <el-dialog
-      title="修改学校"
+      title="Edit School"
       :visible.sync="dialogVisible1"
       width="500px"
       :before-close="handleClose"
@@ -288,20 +288,20 @@
       center
     >
       <div class="addBox">
-        <span class="tian1">学校名称</span>
+        <span class="tian1">School Name</span>
         <el-input
           v-model="schoolName"
           style="width: 250px; margin: 15px 0px"
-          placeholder="请输入学校名称"
+          placeholder="Please enter the school name"
         ></el-input>
       </div>
       <span slot="footer" class="dialog-footer">
-        <el-button @click="dialogVisible1 = false">取 消</el-button>
-        <el-button type="primary" @click="updateSchool">确 定</el-button>
+        <el-button @click="dialogVisible1 = false">Cancel</el-button>
+        <el-button type="primary" @click="updateSchool">Confirm</el-button>
       </span>
     </el-dialog>
     <el-dialog
-      title="添加分类"
+      title="Add Category"
       :visible.sync="dialogVisible2"
       width="500px"
       :before-close="handleClose"
@@ -309,20 +309,20 @@
       center
     >
       <div class="addBox">
-        <span class="tian1">分类名称</span>
+        <span class="tian1">Category Name</span>
         <el-input
           v-model="typeName"
           style="width: 250px; margin: 15px 0px"
-          placeholder="请输入分类名称"
+          placeholder="Please enter the category name"
         ></el-input>
       </div>
       <span slot="footer" class="dialog-footer">
-        <el-button @click="dialogVisible2 = false">取 消</el-button>
-        <el-button type="primary" @click="addType">确 定</el-button>
+        <el-button @click="dialogVisible2 = false">Cancel</el-button>
+        <el-button type="primary" @click="addType">Confirm</el-button>
       </span>
     </el-dialog>
     <el-dialog
-      title="修改分类"
+      title="Edit Category"
       :visible.sync="dialogVisible3"
       width="500px"
       :before-close="handleClose"
@@ -330,20 +330,20 @@
       center
     >
       <div class="addBox">
-        <span class="tian1">分类名称</span>
+        <span class="tian1">Category Name</span>
         <el-input
           v-model="typeName"
           style="width: 250px; margin: 15px 0px"
-          placeholder="请输入分类名称"
+          placeholder="Please enter the category name"
         ></el-input>
       </div>
       <span slot="footer" class="dialog-footer">
-        <el-button @click="dialogVisible3 = false">取 消</el-button>
-        <el-button type="primary" @click="updatePtype">确 定</el-button>
+        <el-button @click="dialogVisible3 = false">Cancel</el-button>
+        <el-button type="primary" @click="updatePtype">Confirm</el-button>
       </span>
     </el-dialog>
     <el-dialog
-      title="添加子分类"
+      title="Add Subcategory"
       :visible.sync="dialogVisible4"
       width="500px"
       :before-close="handleClose"
@@ -351,20 +351,20 @@
       center
     >
       <div class="addBox">
-        <span class="tian1">子分类名称</span>
+        <span class="tian1">Subcategory Name</span>
         <el-input
           v-model="sTypeName"
           style="width: 250px; margin: 15px 0px"
-          placeholder="请输入子分类名称"
+          placeholder="Please enter subcategory name"
         ></el-input>
       </div>
       <span slot="footer" class="dialog-footer">
-        <el-button @click="dialogVisible4 = false">取 消</el-button>
-        <el-button type="primary" @click="addStype">确 定</el-button>
+        <el-button @click="dialogVisible4 = false">Cancel</el-button>
+        <el-button type="primary" @click="addStype">Confirm</el-button>
       </span>
     </el-dialog>
     <el-dialog
-      title="修改子分类"
+      title="Modify Subcategory"
       :visible.sync="dialogVisible5"
       width="500px"
       :before-close="handleClose"
@@ -372,20 +372,20 @@
       center
     >
       <div class="addBox">
-        <span class="tian1">子分类名称</span>
+        <span class="tian1">Subcategory Name</span>
         <el-input
           v-model="sTypeName"
           style="width: 250px; margin: 15px 0px"
-          placeholder="请输入子分类名称"
+          placeholder="Please enter subcategory name"
         ></el-input>
       </div>
       <span slot="footer" class="dialog-footer">
-        <el-button @click="dialogVisible5 = false">取 消</el-button>
-        <el-button type="primary" @click="updateStype">确 定</el-button>
+        <el-button @click="dialogVisible5 = false">Cancel</el-button>
+        <el-button type="primary" @click="updateStype">Confirm</el-button>
       </span>
     </el-dialog>
     <el-dialog
-      title="添加图片"
+      title="Add Image"
       :visible.sync="dialogVisible6"
       width="500px"
       :before-close="handleClose"
@@ -394,7 +394,7 @@
     >
       <div>
         <div class="dialogBox">
-          <span>添加图片</span>
+          <span>Add Image</span>
 
           <el-upload
             :class="{ disUoloadSty: noneBtnImg }"
@@ -413,7 +413,7 @@
           </el-upload>
         </div>
         <div class="dialogBox" style="color: #bebebe; margin: 10px 0 0 0">
-          注:适宜上传banner尺寸为1218×300
+          Note: Suitable banner size for upload is 1218×300
         </div>
         <!-- <div class="dialogBox" style="margin: 10px 0 0 0">
           <span>Banner课程链接</span>
@@ -424,15 +424,15 @@
         </div> -->
       </div>
       <span slot="footer" class="dialog-footer">
-        <el-button @click="dialogVisible6 = false">取 消</el-button>
-        <el-button type="primary" @click="addBanner">确 定</el-button>
+        <el-button @click="dialogVisible6 = false">Cancel</el-button>
+        <el-button type="primary" @click="addBanner">Confirm</el-button>
       </span>
     </el-dialog>
     <el-dialog :visible.sync="imgVisible">
       <img width="100%" :src="dialogImageUrl" alt="" />
     </el-dialog>
     <el-dialog
-      title="添加链接"
+      title="Add Link"
       :visible.sync="dialogVisible7"
       width="500px"
       :before-close="handleClose"
@@ -445,35 +445,35 @@
           <div slot="header" class="cardHead">
             <el-input
               v-model="searchClassName"
-              placeholder="请输入需要添加的课程"
+              placeholder="Please enter the course to be added"
               @keypress.native.enter="Search"
             ></el-input>
             <el-button type="text" style="margin: 0 0 0 20px" @click="Search"
-              >搜索</el-button
+              >Search</el-button
             >
           </div>
           <div class="cardList">
             <div v-for="item in courseList" :key="item.courseId">
               <el-popover placement="top-start" trigger="hover">
-                <p style="max-width: 380px">课程名称: {{ item.title }}</p>
-                <p style="max-width: 380px">简介: {{ item.brief }}</p>
+                <p style="max-width: 380px">Course Name: {{ item.title }}</p>
+                <p style="max-width: 380px">Brief: {{ item.brief }}</p>
                 <el-radio
                   :label="item"
                   slot="reference"
                   v-model="checkBannerCourse"
-                  ><span>课程名称:</span
+                  ><span>Course Name:</span
                   ><span>{{ item.title }}</span></el-radio
                 >
               </el-popover>
             </div>
             <!-- </el-checkbox-group> -->
-            <div v-if="courseList.length == 0">暂无数据</div>
+            <div v-if="courseList.length == 0">No data available</div>
           </div>
         </el-card>
       </div>
       <span slot="footer" class="dialog-footer">
-        <el-button @click="dialogVisible7 = false">取 消</el-button>
-        <el-button type="primary" @click="setBannerUrl">确 定</el-button>
+        <el-button @click="dialogVisible7 = false">Cancel</el-button>
+        <el-button type="primary" @click="setBannerUrl">Confirm</el-button>
       </span>
     </el-dialog>
   </div>
@@ -644,7 +644,7 @@ export default {
             if (err) {
               var a = _this.$refs.upload.uploadFiles;
               a.splice(a.length - 1, a.length);
-              _this.$message.error("上传失败");
+              _this.$message.error("Upload failed.");
             } else {
               //上传成功处理
               _this.fileList.push({
@@ -661,18 +661,18 @@ export default {
     addBanner() {
       if (this.isBanner == true) {
         this.$confirm(
-          "您已经添加过Banner了,如果您再提交将覆盖上次提交的Banner!",
-          "提示",
+          "You have already added a Banner. Submitting again will overwrite the previous submission!",
+          "Alert",
           {
-            confirmButtonText: "确定",
-            cancelButtonText: "取消",
+            confirmButtonText: "OK",
+            cancelButtonText: "Cancel",
             type: "warning",
           }
         )
           .then(() => {
             var list = this.fileList;
             if (list.length == 0) {
-              this.$message.error("请上传需要添加的banner");
+              this.$message.error("Please upload the banner to be added");
               return;
             }
             if (this.time()) {
@@ -688,14 +688,14 @@ export default {
                 .post(this.$store.state.api + "addBanner", params)
                 .then((res) => {
                   this.$message({
-                    message: "添加成功",
+                    message: "Added successfully",
                     type: "success",
                   });
                   this.dialogVisible6 = false;
                   this.init();
                 })
                 .catch((err) => {
-                  this.$message.error("添加失败");
+                  this.$message.error("Failed to add");
                   console.error(err);
                 });
             }
@@ -704,7 +704,7 @@ export default {
       } else {
         var list = this.fileList;
         if (list.length == 0) {
-          this.$message.error("请上传需要添加的banner");
+          this.$message.error("Please upload the banner to be added");
           return;
         }
         if (this.time()) {
@@ -720,14 +720,14 @@ export default {
             .post(this.$store.state.api + "addBanner", params)
             .then((res) => {
               this.$message({
-                message: "添加成功",
+                message: "Added successfully",
                 type: "success",
               });
               this.dialogVisible6 = false;
               this.init();
             })
             .catch((err) => {
-              this.$message.error("添加失败");
+              this.$message.error("Failed to add");
               console.error(err);
             });
         }
@@ -735,7 +735,7 @@ export default {
     },
     setBannerUrl() {
       if (this.checkBannerCourse == "") {
-        this.$message.error("请选择作为banner链接的课程");
+        this.$message.error("Please select the course as the banner link");
         return;
       }
       this.bannerCourse = this.checkBannerCourse;
@@ -775,7 +775,7 @@ export default {
         .post(this.$store.state.api + "addSchoolAdmin", params)
         .then((res) => {
           this.$message({
-            message: "添加成功",
+            message: "Add successful",
             type: "success",
           });
           this.dialogVisible = false;
@@ -783,7 +783,7 @@ export default {
           this.selectSchool();
         })
         .catch((err) => {
-          this.$message.error("添加失败");
+          this.$message.error("Add failed");
           console.error(err);
         });
     },
@@ -811,7 +811,7 @@ export default {
         .get(this.$store.state.api + "updateSN", params)
         .then((res) => {
           this.$message({
-            message: "修改成功",
+            message: "Update successful",
             type: "success",
           });
           this.dialogVisible1 = false;
@@ -820,7 +820,7 @@ export default {
           this.selectSchool();
         })
         .catch((err) => {
-          this.$message.error("修改失败");
+          this.$message.error("Update failed");
           console.error(err);
         });
     },
@@ -834,7 +834,7 @@ export default {
         .post(this.$store.state.api + "deleteSchoolAdmin", params)
         .then((res) => {
           this.$message({
-            message: "删除成功",
+            message: "Delete successful",
             type: "success",
           });
           this.updateId = "";
@@ -842,7 +842,7 @@ export default {
           this.selectSchool();
         })
         .catch((err) => {
-          this.$message.error("删除成功");
+          this.$message.error("Delete failed");
           console.error(err);
         });
     },
@@ -912,7 +912,7 @@ export default {
         .get(this.$store.state.api + "addPtype", params)
         .then((res) => {
           this.$message({
-            message: "添加成功",
+            message: "Add successful",
             type: "success",
           });
           this.dialogVisible2 = false;
@@ -920,7 +920,7 @@ export default {
           this.selectType();
         })
         .catch((err) => {
-          this.$message.error("添加失败");
+          this.$message.error("Add failed");
           console.error(err);
         });
     },
@@ -933,7 +933,7 @@ export default {
         .get(this.$store.state.api + "updatePtype", params)
         .then((res) => {
           this.$message({
-            message: "修改成功",
+            message: "Update successful",
             type: "success",
           });
           this.dialogVisible3 = false;
@@ -942,7 +942,7 @@ export default {
           this.selectType();
         })
         .catch((err) => {
-          this.$message.error("修改失败");
+          this.$message.error("Update failed");
           console.error(err);
         });
     },
@@ -954,7 +954,7 @@ export default {
         .get(this.$store.state.api + "deletePtype", params)
         .then((res) => {
           this.$message({
-            message: "删除成功",
+            message: "Delete successful",
             type: "success",
           });
           this.updateId = "";
@@ -962,7 +962,7 @@ export default {
           this.selectType();
         })
         .catch((err) => {
-          this.$message.error("删除失败");
+          this.$message.error("Delete failed");
           console.error(err);
         });
     },
@@ -977,7 +977,7 @@ export default {
         .get(this.$store.state.api + "addStype", params)
         .then((res) => {
           this.$message({
-            message: "添加成功",
+            message: "Add successful",
             type: "success",
           });
           this.dialogVisible4 = false;
@@ -985,7 +985,7 @@ export default {
           this.selectSType();
         })
         .catch((err) => {
-          this.$message.error("添加成功");
+          this.$message.error("Add successful");
           console.error(err);
         });
     },
@@ -998,7 +998,7 @@ export default {
         .get(this.$store.state.api + "updatePtype", params)
         .then((res) => {
           this.$message({
-            message: "修改成功",
+            message: "Update successful",
             type: "success",
           });
           this.dialogVisible5 = false;
@@ -1007,7 +1007,7 @@ export default {
           this.selectSType();
         })
         .catch((err) => {
-          this.$message.error("修改失败");
+          this.$message.error("Update failed");
           console.error(err);
         });
     },
@@ -1048,7 +1048,7 @@ export default {
         .get(this.$store.state.api + "deletePtype", params)
         .then((res) => {
           this.$message({
-            message: "删除成功",
+            message: "Deletion successful",
             type: "success",
           });
           this.updateId = "";
@@ -1056,7 +1056,7 @@ export default {
           this.selectSType();
         })
         .catch((err) => {
-          this.$message.error("删除失败");
+          this.$message.error("Deletion failed");
           console.error(err);
         });
     },

+ 98 - 98
src/components/pages/Ttype2S.vue

@@ -30,7 +30,7 @@
         "
       >
         <div class="pb_head">
-          <span>分组管理</span>
+          <span>Group Management</span>
           <!-- <span>备注:教师可以根据课程、班级条件筛选学生并查看该学生信息</span> -->
         </div>
         <div class="student_head">
@@ -40,18 +40,18 @@
               type="primary"
               @click="dialogVisible = true"
               v-if="step == 0"
-              >添加学校</el-button
+              > Add School</el-button
             >
             <div class="student_search" v-if="step == 0">
               <span style="margin-right: 10px">
                 <el-input
-                  placeholder="请输入班级名称"
+                  placeholder="Enter class name"
                   v-model="sSchoolName"
                   clearable
                 >
                 </el-input>
               </span>
-              <el-button type="primary" @click="searchSchool">查询</el-button>
+              <el-button type="primary" @click="searchSchool">Search</el-button>
             </div>
             <div v-if="step == 1" class="student_search1">
               <el-breadcrumb
@@ -60,11 +60,11 @@
               >
                 <el-breadcrumb-item>
                   <span @click="step = 0;" style="cursor: pointer"
-                    >学校列表</span
+                    >School List</span
                   ></el-breadcrumb-item
                 >
                 <el-breadcrumb-item>
-                  <span style="color: rgb(15, 126, 255)">分类列表</span>
+                  <span style="color: rgb(15, 126, 255)">Category List</span>
                 </el-breadcrumb-item>
               </el-breadcrumb>
               <div>
@@ -72,7 +72,7 @@
                   size="small"
                   type="primary"
                   @click="dialogVisible6 = true"
-                  >修改Banner</el-button
+                  >Modify Banner</el-button
                 >
                 <!-- <el-button
                   size="small"
@@ -89,23 +89,23 @@
               >
                 <el-breadcrumb-item>
                   <span @click="step = 0" style="cursor: pointer"
-                    >学校列表</span
+                    >School List</span
                   ></el-breadcrumb-item
                 >
                 <el-breadcrumb-item>
                   <span @click="step = 1" style="cursor: pointer"
-                    >分类列表</span
+                    >Category List</span
                   >
                 </el-breadcrumb-item>
                 <el-breadcrumb-item>
-                  <span style="color: rgb(15, 126, 255)">子分类列表</span>
+                  <span style="color: rgb(15, 126, 255)">Subcategory List</span>
                 </el-breadcrumb-item>
               </el-breadcrumb>
               <el-button
                 size="small"
                 type="primary"
                 @click="dialogVisible4 = true"
-                >添加子分类</el-button
+                >Add Subcategory</el-button
               >
             </div>
           </div>
@@ -122,9 +122,9 @@
           v-loading="isLoading"
           v-if="step == 0"
         >
-          <el-table-column prop="name" label="学校名称" min-width="70">
+          <el-table-column prop="name" label="School Name" min-width="70">
           </el-table-column>
-          <el-table-column prop="date" label="操作" min-width="30">
+          <el-table-column prop="date" label="Action" min-width="30">
             <template slot-scope="scope">
               <div class="pb_buttonBox">
                 <el-button
@@ -132,19 +132,19 @@
                   type="primary"
                   @click="selectType(scope.row.id)"
                 >
-                  查看分类
+                  View Categories
                 </el-button>
                 <el-button
                   size="mini"
                   type="primary"
                   @click="updateS(scope.row.id, scope.row.name)"
-                  >修改</el-button
+                  >Modify</el-button
                 >
                 <el-button
                   size="mini"
                   type="primary"
                   @click="deleteSchool(scope.row.id)"
-                  >删除</el-button
+                  >Delete</el-button
                 >
               </div>
             </template>
@@ -162,9 +162,9 @@
           v-loading="isLoading"
           v-if="step == 1"
         >
-          <el-table-column prop="name" label="分类名称" min-width="70">
+          <el-table-column prop="name" label="Category Name" min-width="70">
           </el-table-column>
-          <el-table-column prop="date" label="操作" min-width="30">
+          <el-table-column prop="date" label="Actions" min-width="30">
             <template slot-scope="scope">
               <div class="pb_buttonBox">
                 <el-button
@@ -172,7 +172,7 @@
                   type="primary"
                   @click="selectSType(scope.row.id)"
                 >
-                  查看子分类
+                  View Subcategories
                 </el-button>
                 <!-- <el-button
                   size="mini"
@@ -202,7 +202,7 @@
           v-loading="isLoading"
           v-if="step == 2"
         >
-          <el-table-column prop="name" label="子分类名称" min-width="70">
+          <el-table-column prop="name" label="Subcategory Name" min-width="70">
           </el-table-column>
           <el-table-column prop="date" label="操作" min-width="30">
             <template slot-scope="scope">
@@ -214,13 +214,13 @@
                   size="mini"
                   type="primary"
                   @click="updateSPType(scope.row.id, scope.row.name)"
-                  >修改</el-button
+                  >Modify</el-button
                 >
                 <el-button
                   size="mini"
                   type="primary"
                   @click="deleteStype(scope.row.id)"
-                  >删除</el-button
+                  >Delete</el-button
                 >
               </div>
             </template>
@@ -259,7 +259,7 @@
       </div>
     </div>
     <el-dialog
-      title="添加学校"
+      title="Add School"
       :visible.sync="dialogVisible"
       width="500px"
       :before-close="handleClose"
@@ -267,20 +267,20 @@
       center
     >
       <div class="addBox">
-        <span class="tian1">学校名称</span>
+        <span class="tian1">School Name</span>
         <el-input
           v-model="schoolName"
           style="width: 250px; margin: 15px 0px"
-          placeholder="请输入学校名称"
+          placeholder="Please enter school name"
         ></el-input>
       </div>
       <span slot="footer" class="dialog-footer">
-        <el-button @click="dialogVisible = false">取 消</el-button>
-        <el-button type="primary" @click="addSchool">确 定</el-button>
+        <el-button @click="dialogVisible = false">Cancel</el-button>
+        <el-button type="primary" @click="addSchool">Confirm</el-button>
       </span>
     </el-dialog>
     <el-dialog
-      title="修改学校"
+      title="Edit School"
       :visible.sync="dialogVisible1"
       width="500px"
       :before-close="handleClose"
@@ -288,20 +288,20 @@
       center
     >
       <div class="addBox">
-        <span class="tian1">学校名称</span>
+        <span class="tian1">School Name</span>
         <el-input
           v-model="schoolName"
           style="width: 250px; margin: 15px 0px"
-          placeholder="请输入学校名称"
+          placeholder="Please enter school name"
         ></el-input>
       </div>
       <span slot="footer" class="dialog-footer">
-        <el-button @click="dialogVisible1 = false">取 消</el-button>
-        <el-button type="primary" @click="updateSchool">确 定</el-button>
+        <el-button @click="dialogVisible1 = false">Cancel</el-button>
+        <el-button type="primary" @click="updateSchool">Confirm</el-button>
       </span>
     </el-dialog>
     <el-dialog
-      title="添加分类"
+      title="Add Category"
       :visible.sync="dialogVisible2"
       width="500px"
       :before-close="handleClose"
@@ -309,20 +309,20 @@
       center
     >
       <div class="addBox">
-        <span class="tian1">分类名称</span>
+        <span class="tian1">Category Name</span>
         <el-input
           v-model="typeName"
           style="width: 250px; margin: 15px 0px"
-          placeholder="请输入分类名称"
+          placeholder="Please enter category name"
         ></el-input>
       </div>
       <span slot="footer" class="dialog-footer">
-        <el-button @click="dialogVisible2 = false">取 消</el-button>
-        <el-button type="primary" @click="addType">确 定</el-button>
+        <el-button @click="dialogVisible2 = false">Cancel</el-button>
+        <el-button type="primary" @click="addType">Confirm</el-button>
       </span>
     </el-dialog>
     <el-dialog
-      title="修改分类"
+      title="Edit Category"
       :visible.sync="dialogVisible3"
       width="500px"
       :before-close="handleClose"
@@ -330,20 +330,20 @@
       center
     >
       <div class="addBox">
-        <span class="tian1">分类名称</span>
+        <span class="tian1">Category Name</span>
         <el-input
           v-model="typeName"
           style="width: 250px; margin: 15px 0px"
-          placeholder="请输入分类名称"
+          placeholder="Enter category name"
         ></el-input>
       </div>
       <span slot="footer" class="dialog-footer">
-        <el-button @click="dialogVisible3 = false">取 消</el-button>
-        <el-button type="primary" @click="updatePtype">确 定</el-button>
+        <el-button @click="dialogVisible3 = false">Cancel</el-button>
+        <el-button type="primary" @click="updatePtype">Confirm</el-button>
       </span>
     </el-dialog>
     <el-dialog
-      title="添加子分类"
+      title="Add Subcategory"
       :visible.sync="dialogVisible4"
       width="500px"
       :before-close="handleClose"
@@ -351,20 +351,20 @@
       center
     >
       <div class="addBox">
-        <span class="tian1">子分类名称</span>
+        <span class="tian1">Subcategory Name</span>
         <el-input
           v-model="sTypeName"
           style="width: 250px; margin: 15px 0px"
-          placeholder="请输入子分类名称"
+          placeholder="Enter subcategory name"
         ></el-input>
       </div>
       <span slot="footer" class="dialog-footer">
-        <el-button @click="dialogVisible4 = false">取 消</el-button>
-        <el-button type="primary" @click="addStype">确 定</el-button>
+        <el-button @click="dialogVisible4 = false">Cancel</el-button>
+        <el-button type="primary" @click="addStype">Confirm</el-button>
       </span>
     </el-dialog>
     <el-dialog
-      title="修改子分类"
+      title="Edit Subcategory"
       :visible.sync="dialogVisible5"
       width="500px"
       :before-close="handleClose"
@@ -372,20 +372,20 @@
       center
     >
       <div class="addBox">
-        <span class="tian1">子分类名称</span>
+        <span class="tian1">Subcategory Name</span>
         <el-input
           v-model="sTypeName"
           style="width: 250px; margin: 15px 0px"
-          placeholder="请输入子分类名称"
+          placeholder="Enter subcategory name"
         ></el-input>
       </div>
       <span slot="footer" class="dialog-footer">
-        <el-button @click="dialogVisible5 = false">取 消</el-button>
-        <el-button type="primary" @click="updateStype">确 定</el-button>
+        <el-button @click="dialogVisible5 = false">Cancel</el-button>
+        <el-button type="primary" @click="updateStype">Confirm</el-button>
       </span>
     </el-dialog>
     <el-dialog
-      title="添加图片"
+      title="Add Image"
       :visible.sync="dialogVisible6"
       width="500px"
       :before-close="handleClose"
@@ -394,7 +394,7 @@
     >
       <div>
         <div class="dialogBox">
-          <span>添加图片</span>
+          <span>Add Image</span>
 
           <el-upload
             :class="{ disUoloadSty: noneBtnImg }"
@@ -412,8 +412,8 @@
             <i class="el-icon-plus"></i>
           </el-upload>
         </div>
-        <div class="dialogBox" style="color: #bebebe; margin: 10px 0 0 0">
-          注:适宜上传banner尺寸为1218×300
+        <div class="dialogBox" style="colour: #bebebe; margin: 10px 0 0 0">
+          Note: Suitable banner dimensions for upload are 1218×300.
         </div>
         <!-- <div class="dialogBox" style="margin: 10px 0 0 0">
           <span>Banner课程链接</span>
@@ -424,15 +424,15 @@
         </div> -->
       </div>
       <span slot="footer" class="dialog-footer">
-        <el-button @click="dialogVisible6 = false">取 消</el-button>
-        <el-button type="primary" @click="addBanner">确 定</el-button>
+        <el-button @click="dialogVisible6 = false">Cancel</el-button>
+        <el-button type="primary" @click="addBanner">Confirm</el-button>
       </span>
     </el-dialog>
     <el-dialog :visible.sync="imgVisible">
       <img width="100%" :src="dialogImageUrl" alt="" />
     </el-dialog>
     <el-dialog
-      title="添加链接"
+      title="Add Link"
       :visible.sync="dialogVisible7"
       width="500px"
       :before-close="handleClose"
@@ -445,35 +445,35 @@
           <div slot="header" class="cardHead">
             <el-input
               v-model="searchClassName"
-              placeholder="请输入需要添加的课程"
+              placeholder="Please enter the course to add"
               @keypress.native.enter="Search"
             ></el-input>
             <el-button type="text" style="margin: 0 0 0 20px" @click="Search"
-              >搜索</el-button
+              >Search</el-button
             >
           </div>
           <div class="cardList">
             <div v-for="item in courseList" :key="item.courseId">
               <el-popover placement="top-start" trigger="hover">
-                <p style="max-width: 380px">课程名称: {{ item.title }}</p>
-                <p style="max-width: 380px">简介: {{ item.brief }}</p>
+                <p style="max-width: 380px">Course Title: {{ item.title }}</p>
+                <p style="max-width: 380px">Brief: {{ item.brief }}</p>
                 <el-radio
                   :label="item"
                   slot="reference"
                   v-model="checkBannerCourse"
-                  ><span>课程名称:</span
+                  ><span>Course Title:</span
                   ><span>{{ item.title }}</span></el-radio
                 >
               </el-popover>
             </div>
             <!-- </el-checkbox-group> -->
-            <div v-if="courseList.length == 0">暂无数据</div>
+            <div v-if="courseList.length == 0">No data available</div>
           </div>
         </el-card>
       </div>
       <span slot="footer" class="dialog-footer">
-        <el-button @click="dialogVisible7 = false">取 消</el-button>
-        <el-button type="primary" @click="setBannerUrl">确 定</el-button>
+        <el-button @click="dialogVisible7 = false">Cancel</el-button>
+        <el-button type="primary" @click="setBannerUrl">Confirm</el-button>
       </span>
     </el-dialog>
   </div>
@@ -644,9 +644,9 @@ export default {
             if (err) {
               var a = _this.$refs.upload.uploadFiles;
               a.splice(a.length - 1, a.length);
-              _this.$message.error("上传失败");
+              _this.$message.error("Upload failed");
             } else {
-              //上传成功处理
+              // Upload success handling
               _this.fileList.push({
                 name: file.name,
                 url: data.Location,
@@ -661,18 +661,18 @@ export default {
     addBanner() {
       if (this.isBanner == true) {
         this.$confirm(
-          "您已经添加过Banner了,如果您再提交将覆盖上次提交的Banner!",
-          "提示",
+          "You have already added a banner. If you submit again, it will overwrite the previous banner!",
+          "Prompt",
           {
-            confirmButtonText: "确定",
-            cancelButtonText: "取消",
+            confirmButtonText: "Confirm",
+            cancelButtonText: "Cancel",
             type: "warning",
           }
         )
           .then(() => {
             var list = this.fileList;
             if (list.length == 0) {
-              this.$message.error("请上传需要添加的banner");
+              this.$message.error("Please upload the banner to be added");
               return;
             }
             if (this.time()) {
@@ -688,14 +688,14 @@ export default {
                 .post(this.$store.state.api + "addBanner", params)
                 .then((res) => {
                   this.$message({
-                    message: "添加成功",
+                    message: "Added successfully",
                     type: "success",
                   });
                   this.dialogVisible6 = false;
                   this.init();
                 })
                 .catch((err) => {
-                  this.$message.error("添加失败");
+                  this.$message.error("Add failed");
                   console.error(err);
                 });
             }
@@ -704,7 +704,7 @@ export default {
       } else {
         var list = this.fileList;
         if (list.length == 0) {
-          this.$message.error("请上传需要添加的banner");
+          this.$message.error("Please upload the banner to be added");
           return;
         }
         if (this.time()) {
@@ -720,14 +720,14 @@ export default {
             .post(this.$store.state.api + "addBanner", params)
             .then((res) => {
               this.$message({
-                message: "添加成功",
+                message: "Added successfully",
                 type: "success",
               });
               this.dialogVisible6 = false;
               this.init();
             })
             .catch((err) => {
-              this.$message.error("添加失败");
+              this.$message.error("Add failed");
               console.error(err);
             });
         }
@@ -735,7 +735,7 @@ export default {
     },
     setBannerUrl() {
       if (this.checkBannerCourse == "") {
-        this.$message.error("请选择作为banner链接的课程");
+        this.$message.error("Please select a course as the banner link");
         return;
       }
       this.bannerCourse = this.checkBannerCourse;
@@ -775,7 +775,7 @@ export default {
         .post(this.$store.state.api + "addSchoolAdmin", params)
         .then((res) => {
           this.$message({
-            message: "添加成功",
+           message: "Add successful",
             type: "success",
           });
           this.dialogVisible = false;
@@ -783,7 +783,7 @@ export default {
           this.selectSchool();
         })
         .catch((err) => {
-          this.$message.error("添加失败");
+          this.$message.error("Add failed");
           console.error(err);
         });
     },
@@ -811,7 +811,7 @@ export default {
         .get(this.$store.state.api + "updateSN", params)
         .then((res) => {
           this.$message({
-            message: "修改成功",
+            message: "Update successful",
             type: "success",
           });
           this.dialogVisible1 = false;
@@ -820,7 +820,7 @@ export default {
           this.selectSchool();
         })
         .catch((err) => {
-          this.$message.error("修改失败");
+          this.$message.error("Update failed");
           console.error(err);
         });
     },
@@ -834,7 +834,7 @@ export default {
         .post(this.$store.state.api + "deleteSchoolAdmin", params)
         .then((res) => {
           this.$message({
-            message: "删除成功",
+            message: "Delete successful",
             type: "success",
           });
           this.updateId = "";
@@ -842,7 +842,7 @@ export default {
           this.selectSchool();
         })
         .catch((err) => {
-          this.$message.error("删除成功");
+          this.$message.error("Delete failed");
           console.error(err);
         });
     },
@@ -912,7 +912,7 @@ export default {
         .get(this.$store.state.api + "addPtype", params)
         .then((res) => {
           this.$message({
-            message: "添加成功",
+            message: "Add successful",
             type: "success",
           });
           this.dialogVisible2 = false;
@@ -920,7 +920,7 @@ export default {
           this.selectType();
         })
         .catch((err) => {
-          this.$message.error("添加失败");
+          this.$message.error("Add failed");
           console.error(err);
         });
     },
@@ -933,7 +933,7 @@ export default {
         .get(this.$store.state.api + "updatePtype", params)
         .then((res) => {
           this.$message({
-            message: "修改成功",
+            message: "Update successful",
             type: "success",
           });
           this.dialogVisible3 = false;
@@ -942,7 +942,7 @@ export default {
           this.selectType();
         })
         .catch((err) => {
-          this.$message.error("修改失败");
+          this.$message.error("Update failed");
           console.error(err);
         });
     },
@@ -954,7 +954,7 @@ export default {
         .get(this.$store.state.api + "deletePtype", params)
         .then((res) => {
           this.$message({
-            message: "删除成功",
+            message: "Delete successful",
             type: "success",
           });
           this.updateId = "";
@@ -962,7 +962,7 @@ export default {
           this.selectType();
         })
         .catch((err) => {
-          this.$message.error("删除失败");
+          this.$message.error("Delete failed");
           console.error(err);
         });
     },
@@ -977,7 +977,7 @@ export default {
         .get(this.$store.state.api + "addSStype", params)
         .then((res) => {
           this.$message({
-            message: "添加成功",
+            message: "Add successful",
             type: "success",
           });
           this.dialogVisible4 = false;
@@ -985,7 +985,7 @@ export default {
           this.selectSType();
         })
         .catch((err) => {
-          this.$message.error("添加成功");
+          this.$message.error("Add successful");
           console.error(err);
         });
     },
@@ -998,7 +998,7 @@ export default {
         .get(this.$store.state.api + "updateSPtype", params)
         .then((res) => {
           this.$message({
-            message: "修改成功",
+            message: "Update successful",
             type: "success",
           });
           this.dialogVisible5 = false;
@@ -1007,7 +1007,7 @@ export default {
           this.selectSType();
         })
         .catch((err) => {
-          this.$message.error("修改失败");
+          this.$message.error("Update failed");
           console.error(err);
         });
     },
@@ -1048,7 +1048,7 @@ export default {
         .get(this.$store.state.api + "deleteSPtype", params)
         .then((res) => {
           this.$message({
-            message: "删除成功",
+            message: "Deletion successful",
             type: "success",
           });
           this.updateId = "";
@@ -1056,7 +1056,7 @@ export default {
           this.selectSType();
         })
         .catch((err) => {
-          this.$message.error("删除失败");
+          this.$message.error("Deletion failed");
           console.error(err);
         });
     },

+ 98 - 98
src/components/pages/Ttype2Studio.vue

@@ -30,7 +30,7 @@
         "
       >
         <div class="pb_head">
-          <span>分组管理</span>
+          <span>Group Management</span>
           <!-- <span>备注:教师可以根据课程、班级条件筛选学生并查看该学生信息</span> -->
         </div>
         <div class="student_head">
@@ -40,18 +40,18 @@
               type="primary"
               @click="dialogVisible = true"
               v-if="step == 0"
-              >添加学校</el-button
+              > Add School </el-button>
             >
             <div class="student_search" v-if="step == 0">
               <span style="margin-right: 10px">
                 <el-input
-                  placeholder="请输入班级名称"
+                  placeholder="Enter Class Name"
                   v-model="sSchoolName"
                   clearable
                 >
                 </el-input>
               </span>
-              <el-button type="primary" @click="searchSchool">查询</el-button>
+              <el-button type="primary" @click="searchSchool">Search</el-button>
             </div>
             <div v-if="step == 1" class="student_search1">
               <el-breadcrumb
@@ -60,11 +60,11 @@
               >
                 <el-breadcrumb-item>
                   <span @click="step = 0;" style="cursor: pointer"
-                    >学校列表</span
+                    >School List</span
                   ></el-breadcrumb-item
                 >
                 <el-breadcrumb-item>
-                  <span style="color: rgb(15, 126, 255)">分类列表</span>
+                  <span style="color: rgb(15, 126, 255)">Category List</span>
                 </el-breadcrumb-item>
               </el-breadcrumb>
               <div>
@@ -72,7 +72,7 @@
                   size="small"
                   type="primary"
                   @click="dialogVisible6 = true"
-                  >修改Banner</el-button
+                  >Modify Banner</el-button
                 >
                 <!-- <el-button
                   size="small"
@@ -89,23 +89,23 @@
               >
                 <el-breadcrumb-item>
                   <span @click="step = 0" style="cursor: pointer"
-                    >学校列表</span
+                    >School List</span
                   ></el-breadcrumb-item
                 >
                 <el-breadcrumb-item>
                   <span @click="step = 1" style="cursor: pointer"
-                    >分类列表</span
+                    >Category List</span
                   >
                 </el-breadcrumb-item>
                 <el-breadcrumb-item>
-                  <span style="color: rgb(15, 126, 255)">子分类列表</span>
+                  <span style="color: rgb(15, 126, 255)">Subcategory List</span>
                 </el-breadcrumb-item>
               </el-breadcrumb>
               <el-button
                 size="small"
                 type="primary"
                 @click="dialogVisible4 = true"
-                >添加子分类</el-button
+                >Add Subcategory</el-button
               >
             </div>
           </div>
@@ -122,9 +122,9 @@
           v-loading="isLoading"
           v-if="step == 0"
         >
-          <el-table-column prop="name" label="学校名称" min-width="70">
+          <el-table-column prop="name" label="School Name" min-width="70">
           </el-table-column>
-          <el-table-column prop="date" label="操作" min-width="30">
+          <el-table-column prop="date" label="Actions" min-width="30">
             <template slot-scope="scope">
               <div class="pb_buttonBox">
                 <el-button
@@ -132,19 +132,19 @@
                   type="primary"
                   @click="selectType(scope.row.id)"
                 >
-                  查看分类
+                  View Categories
                 </el-button>
                 <el-button
                   size="mini"
                   type="primary"
                   @click="updateS(scope.row.id, scope.row.name)"
-                  >修改</el-button
+                  >Modify</el-button
                 >
                 <el-button
                   size="mini"
                   type="primary"
                   @click="deleteSchool(scope.row.id)"
-                  >删除</el-button
+                  >Delete</el-button
                 >
               </div>
             </template>
@@ -162,9 +162,9 @@
           v-loading="isLoading"
           v-if="step == 1"
         >
-          <el-table-column prop="name" label="分类名称" min-width="70">
+          <el-table-column prop="name" label="Category Name" min-width="70">
           </el-table-column>
-          <el-table-column prop="date" label="操作" min-width="30">
+          <el-table-column prop="date" label="Actions" min-width="30">
             <template slot-scope="scope">
               <div class="pb_buttonBox">
                 <el-button
@@ -172,7 +172,7 @@
                   type="primary"
                   @click="selectSType(scope.row.id)"
                 >
-                  查看子分类
+                  View Subcategories
                 </el-button>
                 <!-- <el-button
                   size="mini"
@@ -202,9 +202,9 @@
           v-loading="isLoading"
           v-if="step == 2"
         >
-          <el-table-column prop="name" label="子分类名称" min-width="70">
+          <el-table-column prop="name" label="Subcategory Name" min-width="70">
           </el-table-column>
-          <el-table-column prop="date" label="操作" min-width="30">
+          <el-table-column prop="date" label="Actions" min-width="30">
             <template slot-scope="scope">
               <div class="pb_buttonBox">
                 <!-- <el-button size="mini" type="primary" @click="selectType">
@@ -214,13 +214,13 @@
                   size="mini"
                   type="primary"
                   @click="updateSPType(scope.row.id, scope.row.name)"
-                  >修改</el-button
+                  >Edit</el-button
                 >
                 <el-button
                   size="mini"
                   type="primary"
                   @click="deleteStype(scope.row.id)"
-                  >删除</el-button
+                  >Delete</el-button
                 >
               </div>
             </template>
@@ -259,7 +259,7 @@
       </div>
     </div>
     <el-dialog
-      title="添加学校"
+      title="Add School"
       :visible.sync="dialogVisible"
       width="500px"
       :before-close="handleClose"
@@ -267,20 +267,20 @@
       center
     >
       <div class="addBox">
-        <span class="tian1">学校名称</span>
+        <span class="tian1">School Name</span>
         <el-input
           v-model="schoolName"
           style="width: 250px; margin: 15px 0px"
-          placeholder="请输入学校名称"
+          placeholder="Enter school name"
         ></el-input>
       </div>
       <span slot="footer" class="dialog-footer">
-        <el-button @click="dialogVisible = false">取 消</el-button>
-        <el-button type="primary" @click="addSchool">确 定</el-button>
+        <el-button @click="dialogVisible = false">Cancel</el-button>
+        <el-button type="primary" @click="addSchool">Confirm</el-button>
       </span>
     </el-dialog>
     <el-dialog
-      title="修改学校"
+      title="Edit School"
       :visible.sync="dialogVisible1"
       width="500px"
       :before-close="handleClose"
@@ -288,20 +288,20 @@
       center
     >
       <div class="addBox">
-        <span class="tian1">学校名称</span>
+        <span class="tian1">School Name</span>
         <el-input
           v-model="schoolName"
           style="width: 250px; margin: 15px 0px"
-          placeholder="请输入学校名称"
+          placeholder="Enter school name"
         ></el-input>
       </div>
       <span slot="footer" class="dialog-footer">
-        <el-button @click="dialogVisible1 = false">取 消</el-button>
-        <el-button type="primary" @click="updateSchool">确 定</el-button>
+        <el-button @click="dialogVisible1 = false">Cancel</el-button>
+        <el-button type="primary" @click="updateSchool">Confirm</el-button>
       </span>
     </el-dialog>
     <el-dialog
-      title="添加分类"
+      title="Add Category"
       :visible.sync="dialogVisible2"
       width="500px"
       :before-close="handleClose"
@@ -309,20 +309,20 @@
       center
     >
       <div class="addBox">
-        <span class="tian1">分类名称</span>
+        <span class="tian1">Category Name</span>
         <el-input
           v-model="typeName"
           style="width: 250px; margin: 15px 0px"
-          placeholder="请输入分类名称"
+          placeholder="Enter category name"
         ></el-input>
       </div>
       <span slot="footer" class="dialog-footer">
-        <el-button @click="dialogVisible2 = false">取 消</el-button>
-        <el-button type="primary" @click="addType">确 定</el-button>
+        <el-button @click="dialogVisible2 = false">Cancel</el-button>
+        <el-button type="primary" @click="addType">Confirm</el-button>
       </span>
     </el-dialog>
     <el-dialog
-      title="修改分类"
+      title="Edit Category"
       :visible.sync="dialogVisible3"
       width="500px"
       :before-close="handleClose"
@@ -330,20 +330,20 @@
       center
     >
       <div class="addBox">
-        <span class="tian1">分类名称</span>
+        <span class="tian1">Category Name</span>
         <el-input
           v-model="typeName"
           style="width: 250px; margin: 15px 0px"
-          placeholder="请输入分类名称"
+          placeholder="Enter category name"
         ></el-input>
       </div>
       <span slot="footer" class="dialog-footer">
-        <el-button @click="dialogVisible3 = false">取 消</el-button>
-        <el-button type="primary" @click="updatePtype">确 定</el-button>
+        <el-button @click="dialogVisible3 = false">Cancel</el-button>
+        <el-button type="primary" @click="updatePtype">Confirm</el-button>
       </span>
     </el-dialog>
     <el-dialog
-      title="添加子分类"
+      title="Add Subcategory"
       :visible.sync="dialogVisible4"
       width="500px"
       :before-close="handleClose"
@@ -351,20 +351,20 @@
       center
     >
       <div class="addBox">
-        <span class="tian1">子分类名称</span>
+        <span class="tian1">Subcategory Name</span>
         <el-input
           v-model="sTypeName"
           style="width: 250px; margin: 15px 0px"
-          placeholder="请输入子分类名称"
+          placeholder="Enter subcategory name"
         ></el-input>
       </div>
       <span slot="footer" class="dialog-footer">
-        <el-button @click="dialogVisible4 = false">取 消</el-button>
-        <el-button type="primary" @click="addStype">确 定</el-button>
+        <el-button @click="dialogVisible4 = false">Cancel</el-button>
+        <el-button type="primary" @click="addStype">Confirm</el-button>
       </span>
     </el-dialog>
     <el-dialog
-      title="修改子分类"
+      title="Edit Subcategory"
       :visible.sync="dialogVisible5"
       width="500px"
       :before-close="handleClose"
@@ -372,20 +372,20 @@
       center
     >
       <div class="addBox">
-        <span class="tian1">子分类名称</span>
+        <span class="tian1">Subcategory Name</span>
         <el-input
           v-model="sTypeName"
           style="width: 250px; margin: 15px 0px"
-          placeholder="请输入子分类名称"
+          placeholder="Enter subcategory name"
         ></el-input>
       </div>
       <span slot="footer" class="dialog-footer">
-        <el-button @click="dialogVisible5 = false">取 消</el-button>
-        <el-button type="primary" @click="updateStype">确 定</el-button>
+        <el-button @click="dialogVisible5 = false">Cancel</el-button>
+        <el-button type="primary" @click="updateStype">Confirm</el-button>
       </span>
     </el-dialog>
     <el-dialog
-      title="添加图片"
+      title="Add Image"
       :visible.sync="dialogVisible6"
       width="500px"
       :before-close="handleClose"
@@ -394,7 +394,7 @@
     >
       <div>
         <div class="dialogBox">
-          <span>添加图片</span>
+          <span>Add Image</span>
 
           <el-upload
             :class="{ disUoloadSty: noneBtnImg }"
@@ -413,7 +413,7 @@
           </el-upload>
         </div>
         <div class="dialogBox" style="color: #bebebe; margin: 10px 0 0 0">
-          注:适宜上传banner尺寸为1218×300
+          Note: Recommended banner size for upload is 1218×300.
         </div>
         <!-- <div class="dialogBox" style="margin: 10px 0 0 0">
           <span>Banner课程链接</span>
@@ -424,15 +424,15 @@
         </div> -->
       </div>
       <span slot="footer" class="dialog-footer">
-        <el-button @click="dialogVisible6 = false">取 消</el-button>
-        <el-button type="primary" @click="addBanner">确 定</el-button>
+        <el-button @click="dialogVisible6 = false">Cancel</el-button>
+        <el-button type="primary" @click="addBanner">Confirm</el-button>
       </span>
     </el-dialog>
     <el-dialog :visible.sync="imgVisible">
       <img width="100%" :src="dialogImageUrl" alt="" />
     </el-dialog>
     <el-dialog
-      title="添加链接"
+      title="Add Link"
       :visible.sync="dialogVisible7"
       width="500px"
       :before-close="handleClose"
@@ -445,35 +445,35 @@
           <div slot="header" class="cardHead">
             <el-input
               v-model="searchClassName"
-              placeholder="请输入需要添加的课程"
+              placeholder="Please enter the course to be added"
               @keypress.native.enter="Search"
             ></el-input>
             <el-button type="text" style="margin: 0 0 0 20px" @click="Search"
-              >搜索</el-button
+              >Search</el-button
             >
           </div>
           <div class="cardList">
             <div v-for="item in courseList" :key="item.courseId">
               <el-popover placement="top-start" trigger="hover">
-                <p style="max-width: 380px">课程名称: {{ item.title }}</p>
-                <p style="max-width: 380px">简介: {{ item.brief }}</p>
+                <p style="max-width: 380px">Course Title: {{ item.title }}</p>
+                <p style="max-width: 380px">Brief: {{ item.brief }}</p>
                 <el-radio
                   :label="item"
                   slot="reference"
                   v-model="checkBannerCourse"
-                  ><span>课程名称:</span
+                  ><span>Course Title:</span
                   ><span>{{ item.title }}</span></el-radio
                 >
               </el-popover>
             </div>
             <!-- </el-checkbox-group> -->
-            <div v-if="courseList.length == 0">暂无数据</div>
+            <div v-if="courseList.length == 0">No data available</div>
           </div>
         </el-card>
       </div>
       <span slot="footer" class="dialog-footer">
-        <el-button @click="dialogVisible7 = false">取 消</el-button>
-        <el-button type="primary" @click="setBannerUrl">确 定</el-button>
+        <el-button @click="dialogVisible7 = false">Cancel</el-button>
+        <el-button type="primary" @click="setBannerUrl">Confirm</el-button>
       </span>
     </el-dialog>
   </div>
@@ -644,9 +644,9 @@ export default {
             if (err) {
               var a = _this.$refs.upload.uploadFiles;
               a.splice(a.length - 1, a.length);
-              _this.$message.error("上传失败");
+              _this.$message.error("Upload failed");
             } else {
-              //上传成功处理
+              // Successful upload handling
               _this.fileList.push({
                 name: file.name,
                 url: data.Location,
@@ -661,18 +661,18 @@ export default {
     addBanner() {
       if (this.isBanner == true) {
         this.$confirm(
-          "您已经添加过Banner了,如果您再提交将覆盖上次提交的Banner!",
-          "提示",
+          "You have already added a banner. If you submit again, it will overwrite the previous submission!",
+          "Prompt",
           {
-            confirmButtonText: "确定",
-            cancelButtonText: "取消",
+            confirmButtonText: "Confirm",
+            cancelButtonText: "Cancel",
             type: "warning",
           }
         )
           .then(() => {
             var list = this.fileList;
             if (list.length == 0) {
-              this.$message.error("请上传需要添加的banner");
+              this.$message.error("Please upload the banner to be added");
               return;
             }
             if (this.time()) {
@@ -688,14 +688,14 @@ export default {
                 .post(this.$store.state.api + "addBanner", params)
                 .then((res) => {
                   this.$message({
-                    message: "添加成功",
+                    message: "Added successfully",
                     type: "success",
                   });
                   this.dialogVisible6 = false;
                   this.init();
                 })
                 .catch((err) => {
-                  this.$message.error("添加失败");
+                  this.$message.error("Failed to add");
                   console.error(err);
                 });
             }
@@ -704,7 +704,7 @@ export default {
       } else {
         var list = this.fileList;
         if (list.length == 0) {
-          this.$message.error("请上传需要添加的banner");
+          this.$message.error("Please upload the banner to be added");
           return;
         }
         if (this.time()) {
@@ -720,14 +720,14 @@ export default {
             .post(this.$store.state.api + "addBanner", params)
             .then((res) => {
               this.$message({
-                message: "添加成功",
+                message: "Added successfully",
                 type: "success",
               });
               this.dialogVisible6 = false;
               this.init();
             })
             .catch((err) => {
-              this.$message.error("添加失败");
+              this.$message.error("Failed to add");
               console.error(err);
             });
         }
@@ -735,7 +735,7 @@ export default {
     },
     setBannerUrl() {
       if (this.checkBannerCourse == "") {
-        this.$message.error("请选择作为banner链接的课程");
+        this.$message.error("Please select a course as the banner link");
         return;
       }
       this.bannerCourse = this.checkBannerCourse;
@@ -775,7 +775,7 @@ export default {
         .post(this.$store.state.api + "addSchoolAdmin", params)
         .then((res) => {
           this.$message({
-            message: "添加成功",
+            message: "Added successfully",
             type: "success",
           });
           this.dialogVisible = false;
@@ -783,7 +783,7 @@ export default {
           this.selectSchool();
         })
         .catch((err) => {
-          this.$message.error("添加失败");
+          this.$message.error("Failed to add");
           console.error(err);
         });
     },
@@ -811,7 +811,7 @@ export default {
         .get(this.$store.state.api + "updateSN", params)
         .then((res) => {
           this.$message({
-            message: "修改成功",
+            message: "Modification successful",
             type: "success",
           });
           this.dialogVisible1 = false;
@@ -820,7 +820,7 @@ export default {
           this.selectSchool();
         })
         .catch((err) => {
-          this.$message.error("修改失败");
+          this.$message.error("Modification failed");
           console.error(err);
         });
     },
@@ -834,7 +834,7 @@ export default {
         .post(this.$store.state.api + "deleteSchoolAdmin", params)
         .then((res) => {
           this.$message({
-            message: "删除成功",
+            message: "Deletion successful",
             type: "success",
           });
           this.updateId = "";
@@ -842,7 +842,7 @@ export default {
           this.selectSchool();
         })
         .catch((err) => {
-          this.$message.error("删除成功");
+          this.$message.error("Deletion failed");
           console.error(err);
         });
     },
@@ -912,7 +912,7 @@ export default {
         .get(this.$store.state.api + "addPtype", params)
         .then((res) => {
           this.$message({
-            message: "添加成功",
+            message: "Add successful",
             type: "success",
           });
           this.dialogVisible2 = false;
@@ -920,7 +920,7 @@ export default {
           this.selectType();
         })
         .catch((err) => {
-          this.$message.error("添加失败");
+          this.$message.error("Add failed");
           console.error(err);
         });
     },
@@ -933,7 +933,7 @@ export default {
         .get(this.$store.state.api + "updatePtype", params)
         .then((res) => {
           this.$message({
-            message: "修改成功",
+            message: "Update successful",
             type: "success",
           });
           this.dialogVisible3 = false;
@@ -942,7 +942,7 @@ export default {
           this.selectType();
         })
         .catch((err) => {
-          this.$message.error("修改失败");
+          this.$message.error("Update failed");
           console.error(err);
         });
     },
@@ -954,7 +954,7 @@ export default {
         .get(this.$store.state.api + "deletePtype", params)
         .then((res) => {
           this.$message({
-            message: "删除成功",
+            message: "Delete successful",
             type: "success",
           });
           this.updateId = "";
@@ -962,7 +962,7 @@ export default {
           this.selectType();
         })
         .catch((err) => {
-          this.$message.error("删除失败");
+          this.$message.error("Delete failed");
           console.error(err);
         });
     },
@@ -977,7 +977,7 @@ export default {
         .get(this.$store.state.api + "addStudioStype", params)
         .then((res) => {
           this.$message({
-            message: "添加成功",
+            message: "Add successful",
             type: "success",
           });
           this.dialogVisible4 = false;
@@ -985,7 +985,7 @@ export default {
           this.selectSType();
         })
         .catch((err) => {
-          this.$message.error("添加成功");
+          this.$message.error("Add successful");
           console.error(err);
         });
     },
@@ -998,7 +998,7 @@ export default {
         .get(this.$store.state.api + "updateStudioPtype", params)
         .then((res) => {
           this.$message({
-            message: "修改成功",
+            message: "Update successful",
             type: "success",
           });
           this.dialogVisible5 = false;
@@ -1007,7 +1007,7 @@ export default {
           this.selectSType();
         })
         .catch((err) => {
-          this.$message.error("修改失败");
+          this.$message.error("Update failed");
           console.error(err);
         });
     },
@@ -1048,7 +1048,7 @@ export default {
         .get(this.$store.state.api + "deleteStudioPtype", params)
         .then((res) => {
           this.$message({
-            message: "删除成功",
+            message: "Deletion successful",
             type: "success",
           });
           this.updateId = "";
@@ -1056,7 +1056,7 @@ export default {
           this.selectSType();
         })
         .catch((err) => {
-          this.$message.error("删除失败");
+          this.$message.error("Deletion failed");
           console.error(err);
         });
     },

+ 94 - 94
src/components/pages/TtypeGM.vue

@@ -22,7 +22,7 @@
           border-radius: 5px;
         ">
         <div class="pb_head">
-          <span>分组管理</span>
+          <span>Group Management</span>
           <!-- <span>备注:教师可以根据课程、班级条件筛选学生并查看该学生信息</span> -->
         </div>
 
@@ -35,25 +35,25 @@
         <div v-if="step == 2" class="student_search1">
           <el-breadcrumb separator-class="el-icon-arrow-right" style="margin-top: 15px">
             <el-breadcrumb-item>
-              <span @click="step = 1" style="cursor: pointer">分类列表</span>
+              <span @click="step = 1" style="cursor: pointer">Category List</span>
             </el-breadcrumb-item>
             <el-breadcrumb-item>
-              <span style="color: #5c549f">子分类列表</span>
+              <span style="color: #5c549f">Subcategory List</span>
             </el-breadcrumb-item>
           </el-breadcrumb>
-          <el-button size="small" type="primary" @click="dialogVisible4 = true" class="btnClassGM">添加子分类</el-button>
+          <el-button size="small" type="primary" @click="dialogVisible4 = true" class="btnClassGM">Add Subcategory</el-button>
         </div>
         <el-table ref="table" :data="tableData1" stripe border
           :header-cell-style="{ background: '#f1f1f1', 'text-align': 'center' }"
           :cell-style="{ 'text-align': 'center' }" style="width: 100%" :height="tableHeight" v-loading="isLoading"
           v-if="step == 1">
-          <el-table-column prop="name" label="分类名称" min-width="70">
+          <el-table-column prop="name" label="Category Name" min-width="70">
           </el-table-column>
-          <el-table-column prop="date" label="操作" min-width="30">
+          <el-table-column prop="date" label="Action" min-width="30">
             <template slot-scope="scope">
               <div class="pb_buttonBox">
                 <el-button size="mini" type="primary" @click="selectSType(scope.row.id)" class="btnClassGM">
-                  查看子分类
+                  View Subcategories
                 </el-button>
               </div>
             </template>
@@ -63,13 +63,13 @@
           :header-cell-style="{ background: '#f1f1f1', 'text-align': 'center' }"
           :cell-style="{ 'text-align': 'center' }" style="width: 100%" :height="tableHeight" v-loading="isLoading"
           v-if="step == 2">
-          <el-table-column prop="name" label="子分类名称" min-width="70">
+          <el-table-column prop="name" label="Subcategory Name" min-width="70">
           </el-table-column>
-          <el-table-column prop="date" label="操作" min-width="30">
+          <el-table-column prop="date" label="Action" min-width="30">
             <template slot-scope="scope">
               <div class="pb_buttonBox">
-                <el-button size="mini" type="primary" @click="updateSPType(scope.row.id, scope.row.name)" class="btnClassGM">修改</el-button>
-                <el-button size="mini" type="primary" @click="deleteStype(scope.row.id)" class="btnClassGM">删除</el-button>
+                <el-button size="mini" type="primary" @click="updateSPType(scope.row.id, scope.row.name)" class="btnClassGM">Modify</el-button>
+                <el-button size="mini" type="primary" @click="deleteStype(scope.row.id)" class="btnClassGM">Delete</el-button>
               </div>
             </template>
           </el-table-column>
@@ -88,77 +88,77 @@
           @current-change="handleCurrentChange2"></el-pagination>
       </div>
     </div>
-    <el-dialog title="添加学校" :visible.sync="dialogVisible" width="500px" :before-close="handleClose" class="dialog_diy"
+    <el-dialog title="Add School" :visible.sync="dialogVisible" width="500px" :before-close="handleClose" class="dialog_diy"
       center>
       <div class="addBox">
-        <span class="tian1">学校名称</span>
-        <el-input v-model="schoolName" style="width: 250px; margin: 15px 0px" placeholder="请输入学校名称"></el-input>
+        <span class="tian1">School Name</span>
+        <el-input v-model="schoolName" style="width: 250px; margin: 15px 0px" placeholder="Please enter school name"></el-input>
       </div>
       <span slot="footer" class="dialog-footer">
-        <el-button @click="dialogVisible = false" class="cancelbtnGM">取 消</el-button>
-        <el-button type="primary" @click="addSchool" class="btnClassGM">确 定</el-button>
+        <el-button @click="dialogVisible = false" class="cancelbtnGM">Cancel</el-button>
+        <el-button type="primary" @click="addSchool" class="btnClassGM">Confirm</el-button>
       </span>
     </el-dialog>
-    <el-dialog title="修改学校" :visible.sync="dialogVisible1" width="500px" :before-close="handleClose" class="dialog_diy"
+    <el-dialog title="Edit School" :visible.sync="dialogVisible1" width="500px" :before-close="handleClose" class="dialog_diy"
       center>
       <div class="addBox">
-        <span class="tian1">学校名称</span>
-        <el-input v-model="schoolName" style="width: 250px; margin: 15px 0px" placeholder="请输入学校名称"></el-input>
+        <span class="tian1">School Name</span>
+        <el-input v-model="schoolName" style="width: 250px; margin: 15px 0px" placeholder="Please enter school name"></el-input>
       </div>
       <span slot="footer" class="dialog-footer">
-        <el-button @click="dialogVisible1 = false" class="cancelbtnGM">取 消</el-button>
-        <el-button type="primary" @click="updateSchool" class="btnClassGM">确 定</el-button>
+        <el-button @click="dialogVisible1 = false" class="cancelbtnGM">Cancel</el-button>
+        <el-button type="primary" @click="updateSchool" class="btnClassGM">Confirm</el-button>
       </span>
     </el-dialog>
-    <el-dialog title="添加分类" :visible.sync="dialogVisible2" width="500px" :before-close="handleClose" class="dialog_diy"
+    <el-dialog title="Add Category" :visible.sync="dialogVisible2" width="500px" :before-close="handleClose" class="dialog_diy"
       center>
       <div class="addBox">
-        <span class="tian1">分类名称</span>
-        <el-input v-model="typeName" style="width: 250px; margin: 15px 0px" placeholder="请输入分类名称"></el-input>
+        <span class="tian1">Category Name</span>
+        <el-input v-model="typeName" style="width: 250px; margin: 15px 0px" placeholder="Please enter category name"></el-input>
       </div>
       <span slot="footer" class="dialog-footer">
-        <el-button @click="dialogVisible2 = false" class="cancelbtnGM">取 消</el-button>
-        <el-button type="primary" @click="addType" class="btnClassGM">确 定</el-button>
+        <el-button @click="dialogVisible2 = false" class="cancelbtnGM">Cancel</el-button>
+        <el-button type="primary" @click="addType" class="btnClassGM">Confirm</el-button>
       </span>
     </el-dialog>
-    <el-dialog title="修改分类" :visible.sync="dialogVisible3" width="500px" :before-close="handleClose" class="dialog_diy"
+    <el-dialog title="Edit Category" :visible.sync="dialogVisible3" width="500px" :before-close="handleClose" class="dialog_diy"
       center>
       <div class="addBox">
-        <span class="tian1">分类名称</span>
-        <el-input v-model="typeName" style="width: 250px; margin: 15px 0px" placeholder="请输入分类名称"></el-input>
+        <span class="tian1">Category Name</span>
+        <el-input v-model="typeName" style="width: 250px; margin: 15px 0px" placeholder="Please enter category name"></el-input>
       </div>
       <span slot="footer" class="dialog-footer">
-        <el-button @click="dialogVisible3 = false" class="cancelbtnGM">取 消</el-button>
-        <el-button type="primary" @click="updatePtype" class="btnClassGM">确 定</el-button>
+        <el-button @click="dialogVisible3 = false" class="cancelbtnGM">Cancel</el-button>
+        <el-button type="primary" @click="updatePtype" class="btnClassGM">Confirm</el-button>
       </span>
     </el-dialog>
-    <el-dialog title="添加子分类" :visible.sync="dialogVisible4" width="500px" :before-close="handleClose" class="dialog_diy"
+    <el-dialog title="Add Subcategory" :visible.sync="dialogVisible4" width="500px" :before-close="handleClose" class="dialog_diy"
       center>
       <div class="addBox">
-        <span class="tian1">子分类名称</span>
-        <el-input v-model="sTypeName" style="width: 250px; margin: 15px 0px" placeholder="请输入子分类名称"></el-input>
+        <span class="tian1">Subcategory Name</span>
+        <el-input v-model="sTypeName" style="width: 250px; margin: 15px 0px" placeholder="Please enter subcategory name"></el-input>
       </div>
       <span slot="footer" class="dialog-footer">
-        <el-button @click="dialogVisible4 = false" class="cancelbtnGM">取 消</el-button>
-        <el-button type="primary" @click="addStype" class="btnClassGM">确 定</el-button>
+        <el-button @click="dialogVisible4 = false" class="cancelbtnGM">Cancel</el-button>
+        <el-button type="primary" @click="addStype" class="btnClassGM">Confirm</el-button>
       </span>
     </el-dialog>
-    <el-dialog title="修改子分类" :visible.sync="dialogVisible5" width="500px" :before-close="handleClose" class="dialog_diy"
+    <el-dialog title="Edit Subcategory" :visible.sync="dialogVisible5" width="500px" :before-close="handleClose" class="dialog_diy"
       center>
       <div class="addBox">
-        <span class="tian1">子分类名称</span>
-        <el-input v-model="sTypeName" style="width: 250px; margin: 15px 0px" placeholder="请输入子分类名称"></el-input>
+        <span class="tian1">Subcategory Name</span>
+        <el-input v-model="sTypeName" style="width: 250px; margin: 15px 0px" placeholder="Please enter subcategory name"></el-input>
       </div>
       <span slot="footer" class="dialog-footer">
-        <el-button @click="dialogVisible5 = false" class="cancelbtnGM">取 消</el-button>
-        <el-button type="primary" @click="updateStype" class="btnClassGM">确 定</el-button>
+        <el-button @click="dialogVisible5 = false" class="cancelbtnGM">Cancel</el-button>
+        <el-button type="primary" @click="updateStype" class="btnClassGM">Confirm</el-button>
       </span>
     </el-dialog>
-    <el-dialog title="添加图片" :visible.sync="dialogVisible6" width="500px" :before-close="handleClose" class="dialog_diy"
+    <el-dialog title="Add Image" :visible.sync="dialogVisible6" width="500px" :before-close="handleClose" class="dialog_diy"
       center>
       <div>
         <div class="dialogBox">
-          <span>添加图片</span>
+          <span>Add Image</span>
 
           <el-upload :class="{ disUoloadSty: noneBtnImg }" action="#" list-type="picture-card"
             :on-preview="handlePictureCardPreview" :on-remove="handleRemove" v-loading="uploadLoading"
@@ -167,7 +167,7 @@
           </el-upload>
         </div>
         <div class="dialogBox" style="color: #bebebe; margin: 10px 0 0 0">
-          注:适宜上传banner尺寸为1218×300
+          Note: Recommended banner size is 1218×300
         </div>
         <!-- <div class="dialogBox" style="margin: 10px 0 0 0">
           <span>Banner课程链接</span>
@@ -178,39 +178,39 @@
         </div> -->
       </div>
       <span slot="footer" class="dialog-footer">
-        <el-button @click="dialogVisible6 = false" class="cancelbtnGM">取 消</el-button>
-        <el-button type="primary" @click="addBanner" class="btnClassGM">确 定</el-button>
+        <el-button @click="dialogVisible6 = false" class="cancelbtnGM">Cancel</el-button>
+        <el-button type="primary" @click="addBanner" class="btnClassGM">OK</el-button>
       </span>
     </el-dialog>
     <el-dialog :visible.sync="imgVisible">
       <img width="100%" :src="dialogImageUrl" alt="" />
     </el-dialog>
-    <el-dialog title="添加链接" :visible.sync="dialogVisible7" width="500px" :before-close="handleClose" class="dialog_diy"
+    <el-dialog title="Add Link" :visible.sync="dialogVisible7" width="500px" :before-close="handleClose" class="dialog_diy"
       style="text-align: center" center>
       <div>
         <el-card class="box-card">
           <div slot="header" class="cardHead">
-            <el-input v-model="searchClassName" placeholder="请输入需要添加的课程" @keypress.native.enter="Search"></el-input>
-            <el-button type="text" style="margin: 0 0 0 20px" @click="Search">搜索</el-button>
+            <el-input v-model="searchClassName" placeholder="Enter the course to be added" @keypress.native.enter="Search"></el-input>
+            <el-button type="text" style="margin: 0 0 0 20px" @click="Search">Search</el-button>
           </div>
           <div class="cardList">
             <div v-for="item in courseList" :key="item.courseId">
               <el-popover placement="top-start" trigger="hover">
-                <p style="max-width: 380px">课程名称: {{ item.title }}</p>
-                <p style="max-width: 380px">简介: {{ item.brief }}</p>
-                <el-radio :label="item" slot="reference" v-model="checkBannerCourse"><span>课程名称:</span><span>{{
+                <p style="max-width: 380px">Course Name: {{ item.title }}</p>
+                <p style="max-width: 380px">Brief: {{ item.brief }}</p>
+                <el-radio :label="item" slot="reference" v-model="checkBannerCourse"><span>Course Name:</span><span>{{
                     item.title
                 }}</span></el-radio>
               </el-popover>
             </div>
             <!-- </el-checkbox-group> -->
-            <div v-if="courseList.length == 0">暂无数据</div>
+            <div v-if="courseList.length == 0">No data available</div>
           </div>
         </el-card>
       </div>
       <span slot="footer" class="dialog-footer">
-        <el-button @click="dialogVisible7 = false" class="cancelbtnGM">取 消</el-button>
-        <el-button type="primary" @click="setBannerUrl" class="btnClassGM">确 定</el-button>
+        <el-button @click="dialogVisible7 = false" class="cancelbtnGM">Cancel</el-button>
+        <el-button type="primary" @click="setBannerUrl" class="btnClassGM">OK</el-button>
       </span>
     </el-dialog>
   </div>
@@ -380,9 +380,9 @@ export default {
             if (err) {
               var a = _this.$refs.upload.uploadFiles;
               a.splice(a.length - 1, a.length);
-              _this.$message.error("上传失败");
+              _this.$message.error("Upload failed");
             } else {
-              //上传成功处理
+              // Upload successful processing
               _this.fileList.push({
                 name: file.name,
                 url: data.Location,
@@ -397,18 +397,18 @@ export default {
     addBanner() {
       if (this.isBanner == true) {
         this.$confirm(
-          "您已经添加过Banner了,如果您再提交将覆盖上次提交的Banner!",
-          "提示",
+          "You have already added a banner. If you submit again, it will overwrite the last submitted banner!",
+          "Warning",
           {
-            confirmButtonText: "确定",
-            cancelButtonText: "取消",
+            confirmButtonText: "Confirm",
+            cancelButtonText: "Cancel",
             type: "warning",
           }
         )
           .then(() => {
             var list = this.fileList;
             if (list.length == 0) {
-              this.$message.error("请上传需要添加的banner");
+              this.$message.error("Please upload the banner to be added");
               return;
             }
             if (this.time()) {
@@ -424,14 +424,14 @@ export default {
                 .post(this.$store.state.api + "addBanner", params)
                 .then((res) => {
                   this.$message({
-                    message: "添加成功",
+                    message: "Added successfully",
                     type: "success",
                   });
                   this.dialogVisible6 = false;
                   this.init();
                 })
                 .catch((err) => {
-                  this.$message.error("添加失败");
+                  this.$message.error("Failed to add");
                   console.error(err);
                 });
             }
@@ -440,7 +440,7 @@ export default {
       } else {
         var list = this.fileList;
         if (list.length == 0) {
-          this.$message.error("请上传需要添加的banner");
+          this.$message.error("Please upload the banner to be added");
           return;
         }
         if (this.time()) {
@@ -456,14 +456,14 @@ export default {
             .post(this.$store.state.api + "addBanner", params)
             .then((res) => {
               this.$message({
-                message: "添加成功",
+                message: "Added successfully",
                 type: "success",
               });
               this.dialogVisible6 = false;
               this.init();
             })
             .catch((err) => {
-              this.$message.error("添加失败");
+              this.$message.error("Failed to add");
               console.error(err);
             });
         }
@@ -471,7 +471,7 @@ export default {
     },
     setBannerUrl() {
       if (this.checkBannerCourse == "") {
-        this.$message.error("请选择作为banner链接的课程");
+        this.$message.error("Please select a course as the banner link");
         return;
       }
       this.bannerCourse = this.checkBannerCourse;
@@ -505,7 +505,7 @@ export default {
         .post(this.$store.state.api + "addSchoolAdmin", params)
         .then((res) => {
           this.$message({
-            message: "添加成功",
+            message: "Add successful",
             type: "success",
           });
           this.dialogVisible = false;
@@ -513,7 +513,7 @@ export default {
           this.selectSchool();
         })
         .catch((err) => {
-          this.$message.error("添加失败");
+          this.$message.error("Add failed");
           console.error(err);
         });
     },
@@ -541,7 +541,7 @@ export default {
         .get(this.$store.state.api + "updateSN", params)
         .then((res) => {
           this.$message({
-            message: "修改成功",
+            message: "Update successful",
             type: "success",
           });
           this.dialogVisible1 = false;
@@ -550,7 +550,7 @@ export default {
           this.selectSchool();
         })
         .catch((err) => {
-          this.$message.error("修改失败");
+          this.$message.error("Update failed");
           console.error(err);
         });
     },
@@ -564,7 +564,7 @@ export default {
         .post(this.$store.state.api + "deleteSchoolAdmin", params)
         .then((res) => {
           this.$message({
-            message: "删除成功",
+            message: "Delete successful",
             type: "success",
           });
           this.updateId = "";
@@ -572,7 +572,7 @@ export default {
           this.selectSchool();
         })
         .catch((err) => {
-          this.$message.error("删除成功");
+          this.$message.error("Delete failed");
           console.error(err);
         });
     },
@@ -639,7 +639,7 @@ export default {
         .get(this.$store.state.api + "addPtype", params)
         .then((res) => {
           this.$message({
-            message: "添加成功",
+            message: "Add successful",
             type: "success",
           });
           this.dialogVisible2 = false;
@@ -647,7 +647,7 @@ export default {
           this.selectType();
         })
         .catch((err) => {
-          this.$message.error("添加失败");
+          this.$message.error("Add failed");
           console.error(err);
         });
     },
@@ -660,7 +660,7 @@ export default {
         .get(this.$store.state.api + "updatePtype", params)
         .then((res) => {
           this.$message({
-            message: "修改成功",
+            message: "Update successful",
             type: "success",
           });
           this.dialogVisible3 = false;
@@ -669,17 +669,17 @@ export default {
           this.selectType();
         })
         .catch((err) => {
-          this.$message.error("修改失败");
+          this.$message.error("Update failed");
           console.error(err);
         });
     },
     deletePtype(id) {
       this.$confirm(
-        "确定删除此分类吗?",
-        "提示",
+        "Are you sure you want to delete this category?",
+        "Warning",
         {
-          confirmButtonText: "确定",
-          cancelButtonText: "取消",
+          confirmButtonText: "Yes",
+          cancelButtonText: "Cancel",
           type: "warning",
         }
       )
@@ -691,7 +691,7 @@ export default {
             .get(this.$store.state.api + "deletePtype", params)
             .then((res) => {
               this.$message({
-                message: "删除成功",
+                message: "Delete successful",
                 type: "success",
               });
               this.updateId = "";
@@ -699,7 +699,7 @@ export default {
               this.selectType();
             })
             .catch((err) => {
-              this.$message.error("删除失败");
+              this.$message.error("Delete failed");
               console.error(err);
             });
         })
@@ -717,7 +717,7 @@ export default {
         .get(this.$store.state.api + "addStype", params)
         .then((res) => {
           this.$message({
-            message: "添加成功",
+            message: "Add successful",
             type: "success",
           });
           this.dialogVisible4 = false;
@@ -725,7 +725,7 @@ export default {
           this.selectSType();
         })
         .catch((err) => {
-          this.$message.error("添加成功");
+          this.$message.error("Add successful");
           console.error(err);
         });
     },
@@ -738,7 +738,7 @@ export default {
         .get(this.$store.state.api + "updatePtype", params)
         .then((res) => {
           this.$message({
-            message: "修改成功",
+            message: "Update successful",
             type: "success",
           });
           this.dialogVisible5 = false;
@@ -747,7 +747,7 @@ export default {
           this.selectSType();
         })
         .catch((err) => {
-          this.$message.error("修改失败");
+          this.$message.error("Update failed");
           console.error(err);
         });
     },
@@ -782,11 +782,11 @@ export default {
     },
     deleteStype(id) {
       this.$confirm(
-        "确定删除此分类吗?",
-        "提示",
+        "Are you sure you want to delete this category?",
+        "Prompt",
         {
-          confirmButtonText: "确定",
-          cancelButtonText: "取消",
+          confirmButtonText: "Confirm",
+          cancelButtonText: "Cancel",
           type: "warning",
         }
       )
@@ -798,7 +798,7 @@ export default {
             .get(this.$store.state.api + "deletePtype", params)
             .then((res) => {
               this.$message({
-                message: "删除成功",
+                message: "Deleted successfully",
                 type: "success",
               });
               this.updateId = "";
@@ -806,7 +806,7 @@ export default {
               this.selectSType();
             })
             .catch((err) => {
-              this.$message.error("删除失败");
+              this.$message.error("Failed to delete");
               console.error(err);
             });
         })

+ 93 - 93
src/components/pages/TtypeOrg.vue

@@ -30,7 +30,7 @@
         "
       >
         <div class="pb_head">
-          <span>分组管理</span>
+          <span>Group Management</span>
           <!-- <span>备注:教师可以根据课程、班级条件筛选学生并查看该学生信息</span> -->
         </div>
         <div class="student_head">
@@ -49,11 +49,11 @@
               >
                 <el-breadcrumb-item>
                   <span @click="step = 0;" style="cursor: pointer"
-                    >学校列表</span
+                    >School List</span
                   ></el-breadcrumb-item
                 >
                 <el-breadcrumb-item>
-                  <span style="color: rgb(15, 126, 255)">分类列表</span>
+                  <span style="color: rgb(15, 126, 255)">Category List</span>
                 </el-breadcrumb-item>
               </el-breadcrumb>
               <div>
@@ -61,7 +61,7 @@
                   size="small"
                   type="primary"
                   @click="dialogVisible6 = true"
-                  >修改Banner</el-button
+                  >Modify Banner</el-button
                 >
                 <!-- <el-button
                   size="small"
@@ -78,23 +78,23 @@
               >
                 <el-breadcrumb-item>
                   <span @click="step = 0" style="cursor: pointer"
-                    >学校列表</span
+                    >School List</span
                   ></el-breadcrumb-item
                 >
                 <el-breadcrumb-item>
                   <span @click="step = 1" style="cursor: pointer"
-                    >分类列表</span
+                    >Category List</span
                   >
                 </el-breadcrumb-item>
                 <el-breadcrumb-item>
-                  <span style="color: rgb(15, 126, 255)">子分类列表</span>
+                  <span style="color: rgb(15, 126, 255)">Subcategory List</span>
                 </el-breadcrumb-item>
               </el-breadcrumb>
               <el-button
                 size="small"
                 type="primary"
                 @click="dialogVisible4 = true"
-                >添加子分类</el-button
+                >Add Subcategory</el-button
               >
             </div>
           </div>
@@ -111,9 +111,9 @@
           v-loading="isLoading"
           v-if="step == 0"
         >
-          <el-table-column prop="name" label="学校名称" min-width="70">
+          <el-table-column prop="name" label="School Name" min-width="70">
           </el-table-column>
-          <el-table-column prop="date" label="操作" min-width="30">
+          <el-table-column prop="date" label="Actions" min-width="30">
             <template slot-scope="scope">
               <div class="pb_buttonBox">
                 <el-button
@@ -121,19 +121,19 @@
                   type="primary"
                   @click="selectType(scope.row.id)"
                 >
-                  查看分类
+                  View Categories
                 </el-button>
                 <el-button
                   size="mini"
                   type="primary"
                   @click="updateS(scope.row.id, scope.row.name)"
-                  >修改</el-button
+                  >Edit</el-button
                 >
                 <el-button
                   size="mini"
                   type="primary"
                   @click="deleteSchool(scope.row.id)"
-                  >删除</el-button
+                  >Delete</el-button
                 >
               </div>
             </template>
@@ -151,9 +151,9 @@
           v-loading="isLoading"
           v-if="step == 1"
         >
-          <el-table-column prop="name" label="分类名称" min-width="70">
+          <el-table-column prop="name" label="Category Name" min-width="70">
           </el-table-column>
-          <el-table-column prop="date" label="操作" min-width="30">
+          <el-table-column prop="date" label="Action" min-width="30">
             <template slot-scope="scope">
               <div class="pb_buttonBox">
                 <el-button
@@ -161,7 +161,7 @@
                   type="primary"
                   @click="selectSType(scope.row.id)"
                 >
-                  查看子分类
+                  View Subcategories
                 </el-button>
                 <!-- <el-button
                   size="mini"
@@ -191,9 +191,9 @@
           v-loading="isLoading"
           v-if="step == 2"
         >
-          <el-table-column prop="name" label="子分类名称" min-width="70">
+          <el-table-column prop="name" label="Subcategory Name" min-width="70">
           </el-table-column>
-          <el-table-column prop="date" label="操作" min-width="30">
+          <el-table-column prop="date" label="Action" min-width="30">
             <template slot-scope="scope">
               <div class="pb_buttonBox">
                 <!-- <el-button size="mini" type="primary" @click="selectType">
@@ -203,13 +203,13 @@
                   size="mini"
                   type="primary"
                   @click="updateSPType(scope.row.id, scope.row.name)"
-                  >修改</el-button
+                  >Modify</el-button
                 >
                 <el-button
                   size="mini"
                   type="primary"
                   @click="deleteStype(scope.row.id)"
-                  >删除</el-button
+                  >Delete</el-button
                 >
               </div>
             </template>
@@ -248,7 +248,7 @@
       </div>
     </div>
     <el-dialog
-      title="添加学校"
+      title="Add School"
       :visible.sync="dialogVisible"
       width="500px"
       :before-close="handleClose"
@@ -256,20 +256,20 @@
       center
     >
       <div class="addBox">
-        <span class="tian1">学校名称</span>
+        <span class="tian1">School Name</span>
         <el-input
           v-model="schoolName"
           style="width: 250px; margin: 15px 0px"
-          placeholder="请输入学校名称"
+          placeholder="Please enter the school name"
         ></el-input>
       </div>
       <span slot="footer" class="dialog-footer">
-        <el-button @click="dialogVisible = false">取 消</el-button>
-        <el-button type="primary" @click="addSchool">确 定</el-button>
+        <el-button @click="dialogVisible = false">Cancel</el-button>
+        <el-button type="primary" @click="addSchool">Confirm</el-button>
       </span>
     </el-dialog>
     <el-dialog
-      title="修改学校"
+      title="Modify School"
       :visible.sync="dialogVisible1"
       width="500px"
       :before-close="handleClose"
@@ -277,20 +277,20 @@
       center
     >
       <div class="addBox">
-        <span class="tian1">学校名称</span>
+        <span class="tian1">School Name</span>
         <el-input
           v-model="schoolName"
           style="width: 250px; margin: 15px 0px"
-          placeholder="请输入学校名称"
+          placeholder="Please enter the school name"
         ></el-input>
       </div>
       <span slot="footer" class="dialog-footer">
-        <el-button @click="dialogVisible1 = false">取 消</el-button>
-        <el-button type="primary" @click="updateSchool">确 定</el-button>
+        <el-button @click="dialogVisible1 = false">Cancel</el-button>
+        <el-button type="primary" @click="updateSchool">Confirm</el-button>
       </span>
     </el-dialog>
     <el-dialog
-      title="添加分类"
+      title="Add Category"
       :visible.sync="dialogVisible2"
       width="500px"
       :before-close="handleClose"
@@ -298,20 +298,20 @@
       center
     >
       <div class="addBox">
-        <span class="tian1">分类名称</span>
+        <span class="tian1">Category Name</span>
         <el-input
           v-model="typeName"
           style="width: 250px; margin: 15px 0px"
-          placeholder="请输入分类名称"
+          placeholder="Please enter the category name"
         ></el-input>
       </div>
       <span slot="footer" class="dialog-footer">
-        <el-button @click="dialogVisible2 = false">取 消</el-button>
-        <el-button type="primary" @click="addType">确 定</el-button>
+        <el-button @click="dialogVisible2 = false">Cancel</el-button>
+        <el-button type="primary" @click="addType">Confirm</el-button>
       </span>
     </el-dialog>
     <el-dialog
-      title="修改分类"
+      title="Modify Category"
       :visible.sync="dialogVisible3"
       width="500px"
       :before-close="handleClose"
@@ -319,20 +319,20 @@
       center
     >
       <div class="addBox">
-        <span class="tian1">分类名称</span>
+        <span class="tian1">Category Name</span>
         <el-input
           v-model="typeName"
           style="width: 250px; margin: 15px 0px"
-          placeholder="请输入分类名称"
+          placeholder="Please enter the category name"
         ></el-input>
       </div>
       <span slot="footer" class="dialog-footer">
-        <el-button @click="dialogVisible3 = false">取 消</el-button>
-        <el-button type="primary" @click="updatePtype">确 定</el-button>
+        <el-button @click="dialogVisible3 = false">Cancel</el-button>
+        <el-button type="primary" @click="updatePtype">Confirm</el-button>
       </span>
     </el-dialog>
     <el-dialog
-      title="添加子分类"
+      title="Add Subcategory"
       :visible.sync="dialogVisible4"
       width="500px"
       :before-close="handleClose"
@@ -340,20 +340,20 @@
       center
     >
       <div class="addBox">
-        <span class="tian1">子分类名称</span>
+        <span class="tian1">Subcategory Name</span>
         <el-input
           v-model="sTypeName"
           style="width: 250px; margin: 15px 0px"
-          placeholder="请输入子分类名称"
+          placeholder="Please enter the subcategory name"
         ></el-input>
       </div>
       <span slot="footer" class="dialog-footer">
-        <el-button @click="dialogVisible4 = false">取 消</el-button>
-        <el-button type="primary" @click="addStype">确 定</el-button>
+        <el-button @click="dialogVisible4 = false">Cancel</el-button>
+        <el-button type="primary" @click="addStype">Confirm</el-button>
       </span>
     </el-dialog>
     <el-dialog
-      title="修改子分类"
+      title="Modify Subcategory"
       :visible.sync="dialogVisible5"
       width="500px"
       :before-close="handleClose"
@@ -361,20 +361,20 @@
       center
     >
       <div class="addBox">
-        <span class="tian1">子分类名称</span>
+        <span class="tian1">Subcategory Name</span>
         <el-input
           v-model="sTypeName"
           style="width: 250px; margin: 15px 0px"
-          placeholder="请输入子分类名称"
+          placeholder="Please enter the subcategory name"
         ></el-input>
       </div>
       <span slot="footer" class="dialog-footer">
-        <el-button @click="dialogVisible5 = false">取 消</el-button>
-        <el-button type="primary" @click="updateStype">确 定</el-button>
+        <el-button @click="dialogVisible5 = false">Cancel</el-button>
+        <el-button type="primary" @click="updateStype">Confirm</el-button>
       </span>
     </el-dialog>
     <el-dialog
-      title="添加图片"
+      title="Add Image"
       :visible.sync="dialogVisible6"
       width="500px"
       :before-close="handleClose"
@@ -383,7 +383,7 @@
     >
       <div>
         <div class="dialogBox">
-          <span>添加图片</span>
+          <span>Add Image</span>
 
           <el-upload
             :class="{ disUoloadSty: noneBtnImg }"
@@ -402,8 +402,8 @@
           </el-upload>
         </div>
         <div class="dialogBox" style="color: #bebebe; margin: 10px 0 0 0">
-          注:适宜上传banner尺寸为1218×300
-        </div>
+          Note: Recommended banner size for upload is 1218×300
+        </div> 
         <!-- <div class="dialogBox" style="margin: 10px 0 0 0">
           <span>Banner课程链接</span>
           <span style="max-width: 160px">{{ bannerCourse.title }}</span>
@@ -413,15 +413,15 @@
         </div> -->
       </div>
       <span slot="footer" class="dialog-footer">
-        <el-button @click="dialogVisible6 = false">取 消</el-button>
-        <el-button type="primary" @click="addBanner">确 定</el-button>
+        <el-button @click="dialogVisible6 = false">Cancel</el-button>
+        <el-button type="primary" @click="addBanner">Confirm</el-button>
       </span>
     </el-dialog>
     <el-dialog :visible.sync="imgVisible">
       <img width="100%" :src="dialogImageUrl" alt="" />
     </el-dialog>
     <el-dialog
-      title="添加链接"
+      title="Add Link"
       :visible.sync="dialogVisible7"
       width="500px"
       :before-close="handleClose"
@@ -434,35 +434,35 @@
           <div slot="header" class="cardHead">
             <el-input
               v-model="searchClassName"
-              placeholder="请输入需要添加的课程"
+              placeholder="Please enter the course to be added"
               @keypress.native.enter="Search"
             ></el-input>
             <el-button type="text" style="margin: 0 0 0 20px" @click="Search"
-              >搜索</el-button
+              >Search</el-button
             >
           </div>
           <div class="cardList">
             <div v-for="item in courseList" :key="item.courseId">
               <el-popover placement="top-start" trigger="hover">
-                <p style="max-width: 380px">课程名称: {{ item.title }}</p>
-                <p style="max-width: 380px">简介: {{ item.brief }}</p>
+                <p style="max-width: 380px">Course Name: {{ item.title }}</p>
+                <p style="max-width: 380px">Brief: {{ item.brief }}</p>
                 <el-radio
                   :label="item"
                   slot="reference"
                   v-model="checkBannerCourse"
-                  ><span>课程名称:</span
+                  ><span>Course Name:</span
                   ><span>{{ item.title }}</span></el-radio
                 >
               </el-popover>
             </div>
             <!-- </el-checkbox-group> -->
-            <div v-if="courseList.length == 0">暂无数据</div>
+            <div v-if="courseList.length == 0">No data available</div>
           </div>
         </el-card>
       </div>
       <span slot="footer" class="dialog-footer">
-        <el-button @click="dialogVisible7 = false">取 消</el-button>
-        <el-button type="primary" @click="setBannerUrl">确 定</el-button>
+        <el-button @click="dialogVisible7 = false">Cancel</el-button>
+        <el-button type="primary" @click="setBannerUrl">Confirm</el-button>
       </span>
     </el-dialog>
   </div>
@@ -632,7 +632,7 @@ export default {
             if (err) {
               var a = _this.$refs.upload.uploadFiles;
               a.splice(a.length - 1, a.length);
-              _this.$message.error("上传失败");
+              _this.$message.error("Upload failed.");
             } else {
               //上传成功处理
               _this.fileList.push({
@@ -649,18 +649,18 @@ export default {
     addBanner() {
       if (this.isBanner == true) {
         this.$confirm(
-          "您已经添加过Banner了,如果您再提交将覆盖上次提交的Banner!",
-          "提示",
+          "You have already added a Banner. If you submit again, it will overwrite the previous submission!",
+          "Prompt",
           {
-            confirmButtonText: "确定",
-            cancelButtonText: "取消",
+            confirmButtonText: "Confirm",
+            cancelButtonText: "Cancel",
             type: "warning",
           }
         )
           .then(() => {
             var list = this.fileList;
             if (list.length == 0) {
-              this.$message.error("请上传需要添加的banner");
+              this.$message.error("Please upload the banner to be added.");
               return;
             }
             if (this.time()) {
@@ -676,14 +676,14 @@ export default {
                 .post(this.$store.state.api + "addBanner", params)
                 .then((res) => {
                   this.$message({
-                    message: "添加成功",
+                    message: "Add successful",
                     type: "success",
                   });
                   this.dialogVisible6 = false;
                   this.init();
                 })
                 .catch((err) => {
-                  this.$message.error("添加失败");
+                  this.$message.error("Add failed");
                   console.error(err);
                 });
             }
@@ -692,7 +692,7 @@ export default {
       } else {
         var list = this.fileList;
         if (list.length == 0) {
-          this.$message.error("请上传需要添加的banner");
+          this.$message.error("Please upload the banner to be added.");
           return;
         }
         if (this.time()) {
@@ -708,14 +708,14 @@ export default {
             .post(this.$store.state.api + "addBanner", params)
             .then((res) => {
               this.$message({
-                message: "添加成功",
+                message: "Add successful",
                 type: "success",
               });
               this.dialogVisible6 = false;
               this.init();
             })
             .catch((err) => {
-              this.$message.error("添加失败");
+              this.$message.error("Add failed");
               console.error(err);
             });
         }
@@ -723,7 +723,7 @@ export default {
     },
     setBannerUrl() {
       if (this.checkBannerCourse == "") {
-        this.$message.error("请选择作为banner链接的课程");
+        this.$message.error("Please select a course to be used as the banner link.");
         return;
       }
       this.bannerCourse = this.checkBannerCourse;
@@ -757,7 +757,7 @@ export default {
         .post(this.$store.state.api + "addSchoolAdmin", params)
         .then((res) => {
           this.$message({
-            message: "添加成功",
+            message: "Addition successful",
             type: "success",
           });
           this.dialogVisible = false;
@@ -765,7 +765,7 @@ export default {
           this.selectSchool();
         })
         .catch((err) => {
-          this.$message.error("添加失败");
+          this.$message.error("Addition failed");
           console.error(err);
         });
     },
@@ -793,7 +793,7 @@ export default {
         .get(this.$store.state.api + "updateSN", params)
         .then((res) => {
           this.$message({
-            message: "修改成功",
+            message: "Update successful",
             type: "success",
           });
           this.dialogVisible1 = false;
@@ -802,7 +802,7 @@ export default {
           this.selectSchool();
         })
         .catch((err) => {
-          this.$message.error("修改失败");
+          this.$message.error("Update failed");
           console.error(err);
         });
     },
@@ -816,7 +816,7 @@ export default {
         .post(this.$store.state.api + "deleteSchoolAdmin", params)
         .then((res) => {
           this.$message({
-            message: "删除成功",
+            message: "Deletion successful",
             type: "success",
           });
           this.updateId = "";
@@ -824,7 +824,7 @@ export default {
           this.selectSchool();
         })
         .catch((err) => {
-          this.$message.error("删除成功");
+          this.$message.error("Deletion failed");
           console.error(err);
         });
     },
@@ -915,7 +915,7 @@ export default {
         .get(this.$store.state.api + "updatePtype", params)
         .then((res) => {
           this.$message({
-            message: "修改成功",
+            message: "Modification successful",
             type: "success",
           });
           this.dialogVisible3 = false;
@@ -924,7 +924,7 @@ export default {
           this.selectType();
         })
         .catch((err) => {
-          this.$message.error("修改失败");
+          this.$message.error("Modification failed");
           console.error(err);
         });
     },
@@ -936,7 +936,7 @@ export default {
         .get(this.$store.state.api + "deletePtype", params)
         .then((res) => {
           this.$message({
-            message: "删除成功",
+            message: "Deletion successful",
             type: "success",
           });
           this.updateId = "";
@@ -944,7 +944,7 @@ export default {
           this.selectType();
         })
         .catch((err) => {
-          this.$message.error("删除失败");
+          this.$message.error("Deletion failed");
           console.error(err);
         });
     },
@@ -959,7 +959,7 @@ export default {
         .get(this.$store.state.api + "addStype", params)
         .then((res) => {
           this.$message({
-            message: "添加成功",
+            message: "Add successful",
             type: "success",
           });
           this.dialogVisible4 = false;
@@ -967,7 +967,7 @@ export default {
           this.selectSType();
         })
         .catch((err) => {
-          this.$message.error("添加成功");
+          this.$message.error("Add successful");
           console.error(err);
         });
     },
@@ -980,7 +980,7 @@ export default {
         .get(this.$store.state.api + "updatePtype", params)
         .then((res) => {
           this.$message({
-            message: "修改成功",
+            message: "Update successful",
             type: "success",
           });
           this.dialogVisible5 = false;
@@ -989,7 +989,7 @@ export default {
           this.selectSType();
         })
         .catch((err) => {
-          this.$message.error("修改失败");
+          this.$message.error("Update failed");
           console.error(err);
         });
     },
@@ -1030,7 +1030,7 @@ export default {
         .get(this.$store.state.api + "deletePtype", params)
         .then((res) => {
           this.$message({
-            message: "删除成功",
+            message: "Deletion successful",
             type: "success",
           });
           this.updateId = "";
@@ -1038,7 +1038,7 @@ export default {
           this.selectSType();
         })
         .catch((err) => {
-          this.$message.error("删除失败");
+          this.$message.error("Deletion failed");
           console.error(err);
         });
     },

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 144 - 144
src/components/pages/addCourse.vue


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 170 - 170
src/components/pages/addCourseGM.vue


+ 15 - 15
src/components/pages/addPPt.vue

@@ -5,27 +5,27 @@
         separator-class="el-icon-arrow-right"
         style="margin-top: 15px"
       >
-        <el-breadcrumb-item
+      <el-breadcrumb-item
           :to="{ path: '/classRoom?userid=' + userid + '&oid=' + oid }"
-          >课堂备课</el-breadcrumb-item
+          >Classroom Preparation</el-breadcrumb-item
         >
-        <el-breadcrumb-item>创建课堂</el-breadcrumb-item>
+        <el-breadcrumb-item>Create Classroom</el-breadcrumb-item>
       </el-breadcrumb>
     </div>
     <div class="pb_content_body" style="height: 100%">
       <div class="pptBody">
         <div class="pptLeft">
-          <div>课堂备课</div>
+          <div>Classroom Preparation</div>
         </div>
         <div class="pptRight">
           <div v-if="steps == 0">
             <div style="background: #fff">
-              <div class="pptName">课堂名称</div>
+              <div class="pptName">Classroom Name</div>
               <div class="pptInput">
                 <span style="color: red; margin-right: 10px">*</span>
                 <el-input
                   type="text"
-                  placeholder="请输入名称"
+                  placeholder="Enter a name"
                   v-model="upPPT[0].pName"
                   maxlength="50"
                   show-word-limit
@@ -34,14 +34,14 @@
               </div>
             </div>
             <div style="background: #fff; margin-top: 10px">
-              <div class="pptName">上传课堂封面</div>
+              <div class="pptName">Upload Classroom Cover</div>
               <div class="pptInput" @click="addImg($event)">
                 <span style="color: red; margin-right: 10px">*</span>
                 <div class="uploadImg" v-if="upPPT[0].pImg.length == 0">
                   <div class="upImg">
                     <img src="../../assets/icon/upImg.png" alt="" />
                   </div>
-                  <div style="color: #bfc3c7">支持jpg/png格式</div>
+                  <div style="color: #bfc3c7">Supports jpg/png formats</div>
                   <input
                     type="file"
                     accept="image/png,image/jpg"
@@ -70,7 +70,7 @@
               </div>
             </div>
             <div style="background: #fff; margin-top: 10px">
-              <div class="pptName">上传备课PPT</div>
+              <div class="pptName">Upload Lesson PPT</div>
               <div class="pptInput" @click="addImg($event)">
                 <span style="color: red; margin-right: 10px">*</span>
                 <div
@@ -81,7 +81,7 @@
                   <div class="upImg">
                     <img src="../../assets/icon/upPpt.png" alt="" />
                   </div>
-                  <div style="color: #bfc3c7">上传文件</div>
+                  <div style="color: #bfc3c7">Upload File</div>
                   <input
                     type="file"
                     accept="application/.ppt, .pptx"
@@ -106,11 +106,11 @@
                 </div>
               </div>
             </div>
-            <div class="rightButton" @click="steps = 1">下一步</div>
+            <div class="rightButton" @click="steps = 1">Next</div>
           </div>
           <div v-if="steps == 1">
             <div style="background: #fff; margin-top: 10px">
-              <div class="pptName">上传备课PPT</div>
+              <div class="pptName">Upload Lesson PPT</div>
             </div>
           </div>
         </div>
@@ -119,7 +119,7 @@
     <div v-if="proVisible" class="mask">
       <div class="progressBox">
         <div class="lbox">
-          <img src="../../assets/loading.gif" />上传中,请稍后
+          <img src="../../assets/loading.gif" />Uploading, please wait.
         </div>
         <el-progress
           :text-inside="true"
@@ -183,7 +183,7 @@ export default {
       console.log(file, fileList);
     },
     onExceed() {
-      this.$message.error("课程海报仅支持上传一张,请删除后再进行上传");
+      this.$message.error("The course poster only supports uploading one image. Please delete before uploading again.");
     },
     //uuid生成
     guid() {
@@ -268,7 +268,7 @@ export default {
             if (err) {
               var a = _this.$refs.upload1.uploadFiles;
               a.splice(a.length - 1, a.length);
-              _this.$message.error("上传失败");
+              _this.$message.error("Upload failed");
             } else {
               if (type == 1) {
                 _this.upPPT[0].pImg.push({

+ 40 - 40
src/components/pages/ask.vue

@@ -22,13 +22,13 @@
       "
     >
       <div class="pb_head">
-        <span>问卷调查</span>
+        <span>Questionnaire Survey</span>
         <div class="askButton">
-          <el-button type="primary" @click="createPop">创建问卷调查</el-button>
+          <el-button type="primary" @click="createPop">Create Questionnaire Survey</el-button>
           <el-button
             type="primary"
             @click="goTo('/ask/askList?userid=' + userid)"
-            >查看已提交问卷</el-button
+            >View Submitted Questionnaires</el-button
           >
         </div>
       </div>
@@ -48,35 +48,35 @@
         >
           <el-table-column
             prop="title"
-            label="问卷调查标题"
+            label="Questionnaire Survey Title"
             min-width="45"
             align="center"
           >
           </el-table-column>
           <el-table-column
             prop="name"
-            label="创建者"
+            label="Creator"
             min-width="15"
             align="center"
           >
           </el-table-column>
           <el-table-column
             prop="time"
-            label="创建时间"
+            label="Creation Time"
             min-width="15"
             align="center"
           >
           </el-table-column>
-          <el-table-column label="操作" min-width="30">
+          <el-table-column label="Actions" min-width="30">
             <template slot-scope="scope">
               <el-button @click="getPop(scope.row)" type="text" size="small"
-                >查看</el-button
+                >View</el-button
               >
               <el-button @click="staticsPop(scope.row)" type="text" size="small"
-                >数据统计</el-button
+                >Data Statistics</el-button
               >
               <el-button @click="deleteAsk(scope.row.id)" type="text" size="small"
-                >删除问卷</el-button
+                >Delete Questionnaire</el-button
               >
             </template>
           </el-table-column>
@@ -94,7 +94,7 @@
       </div>
     </div>
     <el-dialog
-      title="创建问卷调查"
+      title="Create Questionnaire Survey"
       :visible.sync="dialogVisible"
       :append-to-body="true"
       width="800px"
@@ -111,15 +111,15 @@
             justify-content: center;
           "
         >
-          <div style="margin-right: 20px; font-size: 20px">问卷标题:</div>
+        <div style="margin-right: 20px; font-size: 20px">Questionnaire Title:</div>
           <el-input
             v-model="askTitle"
-            placeholder="请输入问卷标题"
+            placeholder="Please enter questionnaire title"
             style="width: 400px"
           ></el-input>
         </div>
         <div class="a_addBox">
-          <div style="font-size: 16px; color: #c7c7c7">请输入问卷内容</div>
+          <div style="font-size: 16px; color: #c7c7c7">Please enter questionnaire content</div>
           <div
             class="a_add_box"
             v-for="(item, index) in itemCount"
@@ -131,19 +131,19 @@
                 <el-input
                   class="a_add_head_input"
                   v-model="askJson[index].askstitle"
-                  placeholder="请输入问卷题目..."
+                  placeholder="Please enter questionnaire topic..."
                 ></el-input>
               </div>
               <div class="a_add_head_div">
                 <el-button type="primary" size="small" @click="addAskList()"
-                  >添加</el-button
+                  >Add</el-button
                 >
                 <el-button
                   type="primary"
                   size="small"
                   @click="deleteAskList()"
                   v-if="index != 0"
-                  >删除</el-button
+                  >Delete</el-button
                 >
               </div>
             </div>
@@ -153,7 +153,7 @@
                   v-for="(item, checkIndex) in askJson[index].askItem"
                   :key="checkIndex"
                   v-model="askJson[index].checkList[checkIndex]"
-                  placeholder="请输入选项..."
+                  placeholder="Please enter option..."
                   style="width: 150px; margin: 10px 10px 0 0"
                 ></el-input>
               </div>
@@ -163,7 +163,7 @@
                   type="primary"
                   size="small"
                   @click="addcheckList(askJson[index])"
-                  >添加</el-button
+                  >Add</el-button
                 >
                 <el-button
                   type="primary"
@@ -171,7 +171,7 @@
                   style="margin: 10px 0 0 0"
                   @click="deletecheckList(askJson[index])"
                   v-if="askJson[index].askItem != 1"
-                  >删除</el-button
+                  >Delete</el-button
                 >
               </div>
             </div>
@@ -179,12 +179,12 @@
         </div>
       </div>
       <span slot="footer" class="dialog-footer">
-        <el-button @click="dialogVisible = false">取 消</el-button>
-        <el-button type="primary" @click="addAsk">确 定</el-button>
+        <el-button @click="dialogVisible = false">Cancel</el-button>
+        <el-button type="primary" @click="addAsk">Confirm</el-button>
       </span>
     </el-dialog>
     <el-dialog
-      title="查看"
+      title="View"
       :visible.sync="dialogVisible1"
       :append-to-body="true"
       width="750px"
@@ -235,11 +235,11 @@
         </div>
       </div>
       <span slot="footer" class="dialog-footer">
-        <el-button @click="dialogVisible1 = false">关 闭</el-button>
+        <el-button @click="dialogVisible1 = false">Close</el-button>
       </span>
     </el-dialog>
     <el-dialog
-      title="数据统计"
+      title="Data Statistics"
       :visible.sync="dialogVisible2"
       :append-to-body="true"
       width="750px"
@@ -258,7 +258,7 @@
           >
             <div class="a_add_head">
               <div>
-                <span>{{ index + 1 + "" + askJson[index].askstitle }}</span>
+                <span>{{ index + 1 + " " + askJson[index].askstitle }}</span>
               </div>
             </div>
             <div class="a_add_body">
@@ -266,7 +266,7 @@
                 <div
                   class="a_add_persent a_add_persent_div a_add_persent_title"
                 >
-                  <span>选项</span><span>小计</span><span>比列</span>
+                  <span>Options</span><span>Total</span><span>Ratio</span>
                 </div>
                 <div class="a_add_persent">
                   <div
@@ -298,7 +298,7 @@
         </div>
       </div>
       <span slot="footer" class="dialog-footer">
-        <el-button @click="dialogVisible2 = false">关 闭</el-button>
+        <el-button @click="dialogVisible2 = false">Close</el-button>
       </span>
     </el-dialog>
   </div>
@@ -402,7 +402,7 @@ export default {
     },
     addAsk() {
       if (this.askTitle === "") {
-        this.$message.error("问卷调查标题不能为空!");
+        this.$message.error("Survey title cannot be empty!");
         return;
       }
       var aj = this.askJson;
@@ -416,14 +416,14 @@ export default {
               : "";
             if (element != "") {
               b++;
-              this.$message.error("填写了问卷调查选项,问卷调查题目不能为空!");
+              this.$message.error("Survey options are filled, but the survey question cannot be empty!");
               return;
             } else {
               a++;
             }
           }
           if (b == 1) {
-            this.$message.error("至少填写一个问题");
+            this.$message.error("Please fill in at least one question");
             return;
           }
           // if (a > 1) {
@@ -440,14 +440,14 @@ export default {
               if (checkC != "") {
                 index++;
               } else {
-                this.$message.error("问卷调查选项不能为空!");
+                this.$message.error("Survey options cannot be empty!");
                 return;
               }
             }
             b++;
             if (index < 2) {
               this.$message.error(
-                "填写了问卷调查的题目,问卷调查选项至少要有两项!"
+                "Survey question is filled, but there should be at least two survey options!"
               );
               return;
             }
@@ -478,7 +478,7 @@ export default {
           .post(this.$store.state.api + "addAsk", params)
           .then((res) => {
             this.$message({
-              message: "添加成功",
+              message: "Added successfully",
               type: "success",
             });
             this.init();
@@ -487,7 +487,7 @@ export default {
           })
           .catch((err) => {
             this.dialogVisible = false;
-            this.$message.error("添加失败");
+            this.$message.error("Failed to add");
             console.error(err);
           });
       }
@@ -580,9 +580,9 @@ export default {
     },
     deleteAsk(id){
       let params = [{ id: id }];
-      this.$confirm("确定删除此问卷吗?", "提示", {
-        confirmButtonText: "确定",
-        cancelButtonText: "取消",
+      this.$confirm("Are you sure you want to delete this questionnaire?", "Prompt", {
+        confirmButtonText: "Confirm",
+        cancelButtonText: "Cancel",
         type: "warning",
       })
         .then(() => {
@@ -590,7 +590,7 @@ export default {
             .post(this.$store.state.api + "deleteAsk", params)
             .then((res) => {
               this.$message({
-                message: "删除成功",
+                message: "Deletion successful",
                 type: "success",
               });
               if (this.page != 1 && this.tableData.length == 1) {
@@ -599,7 +599,7 @@ export default {
               this.getAsk();
             })
             .catch((err) => {
-              this.$message.error("删除失败");
+              this.$message.error("Deletion failed");
               console.error(err);
             });
         })

+ 16 - 16
src/components/pages/askList.vue

@@ -1,15 +1,15 @@
 <template>
   <div class="pb_content">
     <div class="pb_head">
-      <span>问卷调查</span>
+      <span>Questionnaire Survey</span>
     </div>
     <div class="pb_content_body">
       <div class="cd_bread">
         <el-breadcrumb separator-class="el-icon-arrow-right">
           <el-breadcrumb-item :to="{ path: '/ask?userid='+ userid }"
-            >问卷调查</el-breadcrumb-item
+            >Questionnaire Survey</el-breadcrumb-item
           >
-          <el-breadcrumb-item>查看已经提交的问卷</el-breadcrumb-item>
+          <el-breadcrumb-item>View Submitted Questionnaires</el-breadcrumb-item>
         </el-breadcrumb>
       </div>
       <div class="student_table">
@@ -26,35 +26,35 @@
         >
           <el-table-column
             prop="title"
-            label="问卷调查标题"
+            label="Questionnaire Survey Title"
             min-width="25"
             align="center"
           >
           </el-table-column>
           <el-table-column
             prop="name"
-            label="提交者"
+            label="Submitter"
             min-width="25"
             align="center"
           >
           </el-table-column>
           <el-table-column
             prop="time"
-            label="提交时间"
+            label="Submission Time"
             min-width="25"
             align="center"
           >
           </el-table-column>
-          <el-table-column label="操作" min-width="25">
+          <el-table-column label="Action" min-width="25">
             <template slot-scope="scope">
               <el-button @click="getAskList(scope.row)" type="text" size="small"
-                >查看</el-button
+                >View</el-button
               >
               <el-button
                 @click="deleteAsk(scope.row.id)"
                 type="text"
                 size="small"
-                >删除</el-button
+                >Delete</el-button
               >
             </template>
           </el-table-column>
@@ -72,7 +72,7 @@
       </div>
     </div>
     <el-dialog
-      title="查看"
+      title="View"
       :visible.sync="dialogVisible1"
       :append-to-body="true"
       width="750px"
@@ -123,7 +123,7 @@
         </div>
       </div>
       <span slot="footer" class="dialog-footer">
-        <el-button @click="dialogVisible1 = false">关 闭</el-button>
+        <el-button @click="dialogVisible1 = false">Close</el-button>
       </span>
     </el-dialog>
   </div>
@@ -155,9 +155,9 @@ export default {
     },
     deleteAsk(id) {
       let params = [{ id: id }];
-      this.$confirm("确定删除此学生的问卷吗?", "提示", {
-        confirmButtonText: "确定",
-        cancelButtonText: "取消",
+      this.$confirm("Are you sure you want to delete this student's questionnaire?", "Prompt", {
+        confirmButtonText: "Confirm",
+        cancelButtonText: "Cancel",
         type: "warning",
       })
         .then(() => {
@@ -165,7 +165,7 @@ export default {
             .post(this.$store.state.api + "deleteAskList", params)
             .then((res) => {
               this.$message({
-                message: "删除成功",
+                message: "Deletion successful",
                 type: "success",
               });
               if (this.page != 1 && this.tableData.length == 1) {
@@ -174,7 +174,7 @@ export default {
               this.getAsk();
             })
             .catch((err) => {
-              this.$message.error("删除失败");
+              this.$message.error("Deletion failed");
               console.error(err);
             });
         })

+ 17 - 17
src/components/pages/audioDemo.vue

@@ -1,46 +1,46 @@
 <template>
   <div class="home" style="margin: 1vw">
     <Button type="success" @click="getPermission()" style="margin: 1vw"
-      >获取麦克风权限</Button
+      >Get Microphone Permission</Button
     >
     <br />
     <Button type="info" @click="startRecorder()" style="margin: 1vw"
-      >开始录音</Button
+      >Start Recording</Button
     >
     <Button type="info" @click="resumeRecorder()" style="margin: 1vw"
-      >继续录音</Button
+      >Resume Recording</Button
     >
     <Button type="info" @click="pauseRecorder()" style="margin: 1vw"
-      >暂停录音</Button
+      >Pause Recording</Button
     >
     <Button type="info" @click="stopRecorder()" style="margin: 1vw"
-      >结束录音</Button
+      >Stop Recording</Button
     >
     <br />
     <Button type="success" @click="playRecorder()" style="margin: 1vw"
-      >录音播放</Button
+      >Play Recording</Button
     >
     <Button type="success" @click="pausePlayRecorder()" style="margin: 1vw"
-      >暂停录音播放</Button
+      >Pause Recording Playback</Button
     >
     <Button type="success" @click="resumePlayRecorder()" style="margin: 1vw"
-      >恢复录音播放</Button
+      >Resume Recording Playback</Button
     >
     <Button type="success" @click="stopPlayRecorder()" style="margin: 1vw"
-      >停止录音播放</Button
+      >Stop Recording Playback</Button
     >
     <br />
     <Button type="info" @click="getRecorder()" style="margin: 1vw"
-      >获取录音信息</Button
+      >Get Recording Information</Button
     >
-    <Button type="info" @click="downPCM()" style="margin: 1vw">下载PCM</Button>
-    <Button type="info" @click="downWAV()" style="margin: 1vw">下载WAV</Button>
+    <Button type="info" @click="downPCM()" style="margin: 1vw">Download PCM</Button>
+    <Button type="info" @click="downWAV()" style="margin: 1vw">Download WAV</Button>
     <Button type="info" @click="getMp3Data()" style="margin: 1vw"
-      >下载MP3</Button
+      >Download MP3</Button
     >
     <br />
     <Button type="error" @click="destroyRecorder()" style="margin: 1vw"
-      >销毁录音</Button
+      >Destroy Recording</Button
     >
   </div>
 </template>
@@ -152,14 +152,14 @@ export default {
 
     downPCM() {
       //这里传参进去的时文件名
-      recorder.downloadPCM("新文件");
+      recorder.downloadPCM("new file");
     },
 
     //下载wav
 
     downWAV() {
       //这里传参进去的时文件名
-      recorder.downloadWAV("新文件");
+      recorder.downloadWAV("new file");
     },
 
     /**
@@ -169,7 +169,7 @@ export default {
     getPermission() {
       Recorder.getPermission().then(
         () => {
-          this.$Message.success("获取权限成功");
+          this.$Message.success("Obtain permission successfully");
         },
         (error) => {
           console.log(`${error.name} : ${error.message}`);

+ 28 - 28
src/components/pages/banner.vue

@@ -10,11 +10,11 @@
       "
     >
       <div class="pb_head">
-        <span>Banner列表</span>
+        <span>Banner List</span>
       </div>
       <div class="student_head">
         <div class="head_right">
-          <el-button @click="dialogVisible = true">添加Banner</el-button>
+          <el-button @click="dialogVisible = true">Add Banner</el-button>
         </div>
       </div>
     </div>
@@ -31,7 +31,7 @@
           :header-cell-style="{ background: '#f1f1f1', fontSize: '17px' }"
           :row-class-name="tableRowClassName"
         >
-          <el-table-column label="图片" min-width="60" align="center">
+          <el-table-column label="Image" min-width="60" align="center">
             <template slot-scope="scope">
               <el-image
                 style="width: 200px; height: 100px; cursor: pointer"
@@ -41,26 +41,26 @@
               ></el-image>
             </template>
           </el-table-column>
-          <el-table-column prop="type" label="分类" min-width="20">
+          <el-table-column prop="type" label="Category" min-width="20">
             <template slot-scope="scope">
               {{
                 scope.row.type == 1
-                  ? "绘画"
+                  ? "Painting"
                   : scope.row.type == 2
-                  ? "科技"
+                  ? "Technology"
                   : scope.row.type == 3
-                  ? "人文"
-                  : "艺术"
+                  ? "Humanities"
+                  : "Art"
               }}
             </template>
           </el-table-column>
-          <el-table-column label="操作" min-width="20">
+          <el-table-column label="Action" min-width="20">
             <template slot-scope="scope">
               <el-button
                 type="primary"
                 size="small"
                 @click="deleteBList(scope.row.id)"
-                >删除</el-button
+                >Delete</el-button
               >
             </template>
           </el-table-column>
@@ -78,7 +78,7 @@
       </div>
     </div>
     <el-dialog
-      title="添加Banner"
+      title="Add Banner"
       :visible.sync="dialogVisible"
       width="500px"
       :before-close="handleClose"
@@ -87,7 +87,7 @@
     >
       <div>
         <div class="dialogBox">
-          <span>添加Banner</span>
+          <span>Add Banner</span>
           <el-upload
             :class="{ disUoloadSty: noneBtnImg }"
             action="#"
@@ -104,12 +104,12 @@
             <i class="el-icon-plus"></i>
           </el-upload>
         </div>
-        <div class="dialogBox" style="color: #bebebe; margin: 10px 0 0 0">
-          注:适宜上传banner尺寸为1218×300
+        <div class="dialogBox" style="colour: #bebebe; margin: 10px 0 0 0">
+          Note: Suitable banner size for upload is 1218×300
         </div>
         <div class="cTypeCss">
-          <div>分类:</div>
-          <el-select v-model="cType" placeholder="请选择分类">
+          <div>Category:</div>
+          <el-select v-model="cType" placeholder="Please select a category">
             <el-option
               v-for="(t, tIndex) in typeList"
               :key="tIndex"
@@ -120,8 +120,8 @@
         </div>
       </div>
       <span slot="footer" class="dialog-footer">
-        <el-button @click="dialogVisible = false">取 消</el-button>
-        <el-button type="primary" @click="addBanner">确 定</el-button>
+        <el-button @click="dialogVisible = false">Cancel</el-button>
+        <el-button type="primary" @click="addBanner">Confirm</el-button>
       </span>
     </el-dialog>
     <el-dialog :visible.sync="imgVisible">
@@ -145,19 +145,19 @@ export default {
       typeList: [
         {
           value: 1,
-          label: "绘画",
+          label: "Painting",
         },
         {
           value: 2,
-          label: "科技",
+          label: "Technology",
         },
         {
           value: 3,
-          label: "人文",
+          label: "Humanities",
         },
         {
           value: 4,
-          label: "艺术",
+          label: "Art",
         },
       ],
       cType: "",
@@ -288,7 +288,7 @@ export default {
             if (err) {
               var a = _this.$refs.upload.uploadFiles;
               a.splice(a.length - 1, a.length);
-              _this.$message.error("上传失败");
+              _this.$message.error("Upload failed");
             } else {
               //上传成功处理
               _this.fileList.push({
@@ -322,7 +322,7 @@ export default {
     addBanner() {
       var list = this.fileList;
       if (list.length == 0) {
-        this.$message.error("请上传需要添加的banner");
+        this.$message.error("Please upload the banner to be added");
         return;
       }
       if (this.time()) {
@@ -336,7 +336,7 @@ export default {
           .post(this.$store.state.api + "insertBannerList", params)
           .then((res) => {
             this.$message({
-              message: "添加成功",
+              message: "Successfully added",
               type: "success",
             });
             this.dialogVisible = false;
@@ -345,7 +345,7 @@ export default {
             this.init();
           })
           .catch((err) => {
-            this.$message.error("添加失败");
+            this.$message.error("Failed to add");
             console.error(err);
           });
       }
@@ -358,13 +358,13 @@ export default {
         .get(this.$store.state.api + "deleteBannerList", params)
         .then((res) => {
           this.$message({
-            message: "删除成功",
+            message: "Deletion successful",
             type: "success",
           });
           this.getBannerList();
         })
         .catch((err) => {
-          this.$message.error("删除失败");
+          this.$message.error("Deletion failed");
           console.error(err);
         });
     },

+ 33 - 33
src/components/pages/choice/index.vue

@@ -1,26 +1,26 @@
 <template>
     <div>
-        <el-dialog title="选择题设置" :visible.sync="dialogVisibleChoice" :append-to-body="true" width="800px"
+        <el-dialog title="Multiple Choice Settings" :visible.sync="dialogVisibleChoice" :append-to-body="true" width="800px"
             :before-close="handleClose" class="dialog_diy">
             <div v-if="dialogVisibleChoice">
                 <div class="a_addBox">
                     <div style="font-size: 16px; color: #c7c7c7">
-                        请输入题目内容
+                        Please Enter the Question Content
                         <!-- <el-button type="primary" size="small" @click="pasteOption" style="margin-left:10px">智能粘贴</el-button> -->
                     </div>
                     <div class="a_add_box" v-for="(item1, index1) in testJson.testCount" :key="index1">
                         <div class="a_add_checkType">
                             <span :class="{ active: testJson.testJson[index1].type == '1' }"
-                                @click="checkTestType('1', testJson.testJson[index1])">单选题</span>
+                                @click="checkTestType('1', testJson.testJson[index1])">Single-Choice Question</span>
                             <span :class="{ active: testJson.testJson[index1].type == '2' }"
-                                @click="checkTestType('2', testJson.testJson[index1])">多选题</span>
+                                @click="checkTestType('2', testJson.testJson[index1])">Multiple-Choice Question</span>
                         </div>
                         <div class="a_add_head">
                             <div class="timuUpImg">
                                 <div>
                                     {{ index1 + 1 + "、" }}
                                     <el-input class="a_add_head_input" v-model="testJson.testJson[index1].teststitle"
-                                        placeholder="请输入题目...">
+                                        placeholder="Please Enter the Question...">
                                     </el-input>
                                 </div>
                                 <div class="xzUpImg" @click.stop="addImg($event)">
@@ -30,9 +30,9 @@
                                 </div>
                             </div>
                             <div class="a_add_head_div">
-                                <el-button type="primary" size="small" @click="addTestList()">添加</el-button>
+                                <el-button type="primary" size="small" @click="addTestList()">Add</el-button>
                                 <el-button type="primary" size="small" @click="deleteTestList(index1)"
-                                    v-if="testJson.testCount != 1">删除
+                                    v-if="testJson.testCount != 1">Delete
                                 </el-button>
                             </div>
                         </div>
@@ -55,7 +55,7 @@
                                         <el-radio v-for="(item2, checkIndex) in testJson.testJson[index1]
                                             .testItem" :key="checkIndex" :label="checkIndex">
                                             <div style="margin-right: 10px">
-                                                选项{{ checkIndex + 1 }}
+                                                Options{{ checkIndex + 1 }}
                                             </div>
                                             <div style="margin-right: 10px; width: 300px" v-if="testJson.testJson[index1].checkList[checkIndex] &&
                                                 testJson.testJson[index1].checkList[checkIndex]
@@ -75,7 +75,7 @@
                                             </div>
 
                                             <el-input v-else v-model="testJson.testJson[index1].checkList[checkIndex]
-                                                " placeholder="请输入选项..."
+                                                " placeholder="Please Enter the Options..."
                                                 style="width: 300px; margin-right: 10px"></el-input>
                                             <div class="xzUpImg" @click.stop="addImg($event)">
                                                 <img src="../../../assets/icon/xzUpImg.png" alt="" />
@@ -91,7 +91,7 @@
                                         <el-checkbox v-for="(item2, checkIndex1) in testJson.testJson[index1]
                                             .testItem" :key="checkIndex1" :label="checkIndex1">
                                             <div style="margin-right: 10px">
-                                                选项{{ checkIndex1 + 1 }}
+                                                Options{{ checkIndex1 + 1 }}
                                             </div>
                                             <div style="margin-right: 10px; width: 300px" v-if="testJson.testJson[index1].checkList[checkIndex1] &&
                                                 testJson.testJson[index1].checkList[checkIndex1]
@@ -111,7 +111,7 @@
                                             </div>
 
                                             <el-input v-else v-model="testJson.testJson[index1].checkList[checkIndex1]
-                                                " placeholder="请输入选项..."
+                                                " placeholder="Please Enter the Options..."
                                                 style="width: 300px; margin-right: 10px"></el-input>
                                             <div class="xzUpImg" @click.stop="addImg($event)">
                                                 <img src="../../../assets/icon/xzUpImg.png" alt="" />
@@ -124,9 +124,9 @@
                             </div>
                             <div class="a_add_body_div" style="margin-bottom: 3px">
                                 <el-button type="primary" size="small"
-                                    @click="addTcheckList(testJson.testJson[index1])">添加</el-button>
+                                    @click="addTcheckList(testJson.testJson[index1])">Add</el-button>
                                 <el-button type="primary" size="small" @click="deleteTcheckList(testJson.testJson[index1])"
-                                    v-if="testJson.testJson[index1].testItem != 1">删除
+                                    v-if="testJson.testJson[index1].testItem != 1">Delete
                                 </el-button>
                             </div>
                         </div>
@@ -134,8 +134,8 @@
                 </div>
             </div>
             <span slot="footer" class="dialog-footer">
-                <el-button @click="close()">取 消</el-button>
-                <el-button type="primary" @click="addTest">确 定</el-button>
+                <el-button @click="close()">Cancel</el-button>
+                <el-button type="primary" @click="addTest">Confirm</el-button>
             </span>
         </el-dialog>
     </div>
@@ -184,12 +184,12 @@ export default {
         pasteOption() {
             let iframe = top.document.querySelectorAll("#AIChat iframe")[0]
             if (!iframe) {
-                this.$message.error("请使用AI共创生成题目")
+                this.$message.error("Please Use AI Co-creation to Generate Questions")
                 return;
             }
             let copyData = iframe.contentWindow.copyData
             if (!copyData || !copyData.selectData.length) {
-                this.$message.error("请使用AI共创生成题目")
+                this.$message.error("Please Use AI Co-creation to Generate Questions")
                 return;
             }
             let selectData = copyData.selectData;
@@ -237,7 +237,7 @@ export default {
             this.testJson = isTestJson
             this.$forceUpdate();
         },
-        //切换选择题类型
+        //切换Multiple Choice Question类型
         checkTestType(type, json) {
             json.type = type;
             if(json.type == '2'){
@@ -246,7 +246,7 @@ export default {
                 json.answer = ""
             }
         },
-        //添加选择题图片
+        //AddMultiple Choice Question图片
         beforeUploadTiMu(event, i) {
             const loading = this.openLoading();
             var file = event.target.files[0];
@@ -286,7 +286,7 @@ export default {
                     .send(function (err, data) {
                         loading.close();
                         if (err) {
-                            _this.$message.error("上传失败");
+                            _this.$message.error("Upload Failed");
                         } else {
                             if (_this.testJson.testJson[i].timuList) {
                                 _this.testJson.testJson[i].timuList.push({
@@ -303,7 +303,7 @@ export default {
                     });
             }
         },
-        //添加选择题题目图片
+        //AddMultiple Choice Question题目图片
         beforeUploadTi(event, i, j) {
             const loading = this.openLoading();
             var file = event.target.files[0];
@@ -343,7 +343,7 @@ export default {
                     .send(function (err, data) {
                         loading.close();
                         if (err) {
-                            _this.$message.error("上传失败");
+                            _this.$message.error("Upload Failed");
                         } else {
                             _this.testJson.testJson[i].checkList[j] = {};
                             _this.testJson.testJson[i].checkList[j].src = data.Location;
@@ -353,7 +353,7 @@ export default {
                     });
             }
         },
-        //添加题目
+        //Add题目
         addTestList() {
             this.testJson.testJson.push({
                 teststitle: "",
@@ -365,21 +365,21 @@ export default {
             });
             this.testJson.testCount++;
         },
-        //删除题目
+        //Delete题目
         deleteTestList(index) {
             this.testJson.testJson.splice(index, 1);
             this.testJson.testCount--;
         },
-        //删除题目图片
+        //Delete题目图片
         deleteM(i, j) {
             this.testJson.testJson[i].timuList.splice(j, 1);
         },
-        //添加选项
+        //AddOptions
         addTcheckList(json) {
             json.checkList.length++;
             json.testItem++;
         },
-        //删除选项    
+        //DeleteOptions    
         deleteTcheckList(json) {
             if(json.type == '1' && json.answer == (json.checkList.length-1)){
                 json.answer = ""
@@ -389,7 +389,7 @@ export default {
             json.checkList.length--;
             json.testItem--;
         },
-        //添加选择题
+        //AddMultiple Choice Question
         addTest() {
             var aj = this.testJson.testJson;
             var b = 1;
@@ -402,14 +402,14 @@ export default {
                             : "";
                         if (element != "") {
                             b++;
-                            this.$message.error("填写了选项,题目不能为空!");
+                            this.$message.error("You've Entered Options, The Question Cannot Be Empty!");
                             return;
                         } else {
                             a++;
                         }
                     }
                     if (b == 1) {
-                        this.$message.error("至少填写一个问题");
+                        this.$message.error("Please Write At Least One Question");
                         return;
                     }
                 } else if (aj[i].teststitle != "" || aj[i].timuList.length > 0) {
@@ -423,20 +423,20 @@ export default {
                             if (checkC != "") {
                                 index++;
                             } else {
-                                this.$message.error("选项不能为空!");
+                                this.$message.error("Options Cannot Be Empty!");
                                 return;
                             }
                         }
                         b++;
                         if (index < 2) {
-                            this.$message.error("填写了的题目,选项至少要有两项!");
+                            this.$message.error("If You've Entered a Question, There Must Be at Least Two Options!");
                             return;
                         }
                         if (
                             (aj[i].type == "2" && !aj[i].answer.length) ||
                             (aj[i].type == "1" && aj[i].answer !== 0 && !aj[i].answer)
                         ) {
-                            this.$message.error("有题目未选择答案请选择答案");
+                            this.$message.error("Some Questions Haven't Had Answers Selected, Please Select the Answers");
                             return;
                         }
                     }

+ 117 - 117
src/components/pages/class.vue

@@ -7,18 +7,18 @@
               border-radius: 5px;
             ">
       <div class="pb_head top">
-        <span>班级管理</span>
+        <span>Class Management</span>
         <div class="student_button" style="border-radius: 4px;">
-          <el-button type="primary" class="bgColor" @click="dialogVisible = true">添加班级</el-button>
+          <el-button type="primary" class="bgColor" @click="dialogVisible = true">Add Class</el-button>
         </div>
       </div>
       <div class="student_head">
         <div class="student_search">
           <span>
-            <el-input placeholder="请输入班级名称" v-model="sClassName" clearable>
+            <el-input placeholder="Please enter class name" v-model="sClassName" clearable>
             </el-input>
           </span>
-          <el-button type="primary" @click="searchClass">查询</el-button>
+          <el-button type="primary" @click="searchClass">Search</el-button>
         </div>
       </div>
     </div>
@@ -27,21 +27,21 @@
         <el-table v-if="ctype == 1" ref="table" :key="1" :data="tableData" border :height="tableHeight" :fit="true"
           v-loading="isLoading" style="width: 100%; height: 60%" :header-cell-style="{ background: '#f1f1f1' }"
           :row-class-name="tableRowClassName">
-          <el-table-column prop="name" label="班级名称" align="center">
+          <el-table-column prop="name" label="Class Name" align="center">
           </el-table-column>
-          <el-table-column label="所属年级" align="center">
+          <el-table-column label="Grade" align="center">
             <template slot-scope="{row}">
               {{ getGrade(row.pid) }}
             </template>
           </el-table-column>
-          <el-table-column prop="pnum" label="人数" align="center">
+          <el-table-column prop="pnum" label="Number of Students" align="center">
           </el-table-column>
-          <el-table-column label="操作" width="400px">
+          <el-table-column label="Actions" width="400px">
             <template slot-scope="scope">
-              <el-button type="primary" size="small" @click="getStudent(scope.row.id)">查看学生</el-button>
-              <el-button type="primary" size="small" @click="updateG(scope.row.pid, scope.row.id)">修改年级</el-button>
-              <el-button type="primary" size="small" @click="openUpdate(scope.row.id, scope.row.name)">修改名称</el-button>
-              <el-button type="primary" size="small" @click="deleteClass(scope.row.id)">删除</el-button>
+              <el-button type="primary" size="small" @click="getStudent(scope.row.id)">View Students</el-button>
+              <el-button type="primary" size="small" @click="updateG(scope.row.pid, scope.row.id)">Update Grade</el-button>
+              <el-button type="primary" size="small" @click="openUpdate(scope.row.id, scope.row.name)">Update Name</el-button>
+              <el-button type="primary" size="small" @click="deleteClass(scope.row.id)">Delete</el-button>
             </template>
           </el-table-column>
         </el-table>
@@ -59,23 +59,23 @@
               border-radius: 5px;
             ">
       <div class="pb_head top">
-        <span>查看学生</span>
+        <span>View Students</span>
         <div class="student_button" style="border-radius: 4px;">
-          <el-button type="primary" class="bgColor" @click="ctype = 1, getClass()">返回</el-button>
+          <el-button type="primary" class="bgColor" @click="ctype = 1, getClass()">Back</el-button>
         </div>
       </div>
       <div class="student_head">
         <div class="head_left">
-          <el-input v-model="sPhoneUser" class="student_input" placeholder="请输入用户名"></el-input>
-          <el-select disabled v-model="cid" placeholder="请选择班级" class="student_input" @change="searchStudent"
+          <el-input v-model="sPhoneUser" class="student_input" placeholder="Enter username"></el-input>
+          <el-select disabled v-model="cid" placeholder="Select class" class="student_input" @change="searchStudent"
             style="margin:0 10px">
-            <el-option label="所有人" value=""></el-option>
+            <el-option label="All" value=""></el-option>
             <el-option v-for="(item, index) in classJuri" :key="index" :label="item.name" :value="item.id"></el-option>
           </el-select>
-          <el-button class="student_button" @click="searchStudent">查询</el-button>
+          <el-button class="student_button" @click="searchStudent">Search</el-button>
         </div>
         <div class="head_right">
-          <el-button @click="addStudent">添加学生</el-button>
+          <el-button @click="addStudent">Add Student</el-button>
         </div>
       </div>
     </div>
@@ -84,7 +84,7 @@
         <el-table v-if="ctype == 2" :key="2" ref="table2" :data="tableData2" border :height="tableHeight" :fit="true"
           v-loading="isLoading" style="width: 100%" :header-cell-style="{ background: '#f1f1f1', fontSize: '17px' }"
           :row-class-name="tableRowClassName">
-          <el-table-column label="姓名" min-width="10" align="center">
+          <el-table-column label="Name" min-width="10" align="center">
             <template slot-scope="scope">
               <div class="userImg">
                 <div class="tx">
@@ -105,21 +105,21 @@
               </div>
             </template>
           </el-table-column>
-          <el-table-column label="学生账号" min-width="15" align="center">
+          <el-table-column label="Student Account" min-width="15" align="center">
             <template slot-scope="scope">
               <div>{{ scope.row.un ? scope.row.un : "" }}</div>
             </template>
           </el-table-column>
-          <el-table-column prop="classname2" label="班级" min-width="15" align="center">
+          <el-table-column prop="classname2" label="Class" min-width="15" align="center">
           </el-table-column>
-          <el-table-column label="操作" width="250px">
+          <el-table-column label="Actions" width="250px">
             <template slot-scope="scope">
               <div class="btnBox">
                 <el-button class="de_button" type="primary" size="small"
-                  @click="iniPassword(scope.row.userid)">初始化密码</el-button>
-                <el-button class="de_button" type="primary" size="small" @click="updateStudentA(scope.row)">修改</el-button>
+                  @click="iniPassword(scope.row.userid)">Initialize Password</el-button>
+                <el-button class="de_button" type="primary" size="small" @click="updateStudentA(scope.row)">Modify</el-button>
                 <el-button class="de_button" type="primary" size="small"
-                  @click="deleteClassStudent(scope.row.userid)">移除</el-button>
+                  @click="deleteClassStudent(scope.row.userid)">Remove</el-button>
                 <!-- <div class="delete">
                   <img src="../../assets/remove.png" alt @click="deleteStudent(scope.row.userid, scope.row.state)" />
                 </div> -->
@@ -139,43 +139,43 @@
         <div class="logoImg">
           <img src="../../assets/logo.png" alt />
         </div>
-        <div class="title_add_student">添加学生</div>
+        <div class="title_add_student">Add Student</div>
       </div>
       <el-form>
-        <el-form-item label="学生姓名" :label-width="formLabelWidth">
+        <el-form-item label="Student Name" :label-width="formLabelWidth">
           <span>
-            <el-input placeholder="请输入学生姓名" clearable v-model="sName" class="add_input"></el-input>
+            <el-input placeholder="Please enter student name" clearable v-model="sName" class="add_input"></el-input>
           </span>
         </el-form-item>
-        <el-form-item label="学生学号" :label-width="formLabelWidth">
+        <el-form-item label="Student ID" :label-width="formLabelWidth">
           <span>
-            <el-input placeholder="请输入学生学号" clearable v-model="sId" class="add_input"></el-input>
+            <el-input placeholder="Please enter student ID" clearable v-model="sId" class="add_input"></el-input>
           </span>
         </el-form-item>
-        <el-form-item label="学生手机号" :label-width="formLabelWidth">
+        <el-form-item label="Student Phone Number" :label-width="formLabelWidth">
           <span>
-            <el-input placeholder="请输入学生手机号" clearable v-model="sPhone" class="add_input"></el-input>
+            <el-input placeholder="Please enter student phone number" clearable v-model="sPhone" class="add_input"></el-input>
           </span>
         </el-form-item>
-        <el-form-item label="学生账号" :label-width="formLabelWidth">
+        <el-form-item label="Student Account" :label-width="formLabelWidth">
           <span>
-            <el-input placeholder="请输入学生账号" clearable v-model="sMail" class="add_input"></el-input>
+            <el-input placeholder="Please enter student account" clearable v-model="sMail" class="add_input"></el-input>
           </span>
         </el-form-item>
-        <el-form-item label="所属学校" :label-width="formLabelWidth">
+        <el-form-item label="School Name" :label-width="formLabelWidth">
           <el-input disabled style="width: 300px" v-model="schoolName"></el-input>
         </el-form-item>
-        <el-form-item label="班级" :label-width="formLabelWidth">
-          <el-select v-model="cid" placeholder="请选择班级" disabled>
+        <el-form-item label="Class" :label-width="formLabelWidth">
+          <el-select v-model="cid" placeholder="Please select class" disabled>
             <el-option v-for="(item, index) in classJuri" :key="index" :label="item.name" :value="item.id"></el-option>
           </el-select>
         </el-form-item>
         <div style="text-align: center; color: #adb3b7">
-          注:添加学生的账号密码为123456
+          Note: The account password for adding a student is 123456
         </div>
       </el-form>
       <span slot="footer" class="dialog-footer flex">
-        <el-button class="right" @click="insertStudent">确认</el-button>
+        <el-button class="right" @click="insertStudent">Confirm</el-button>
       </span>
     </el-dialog>
     <el-dialog :visible.sync="dialogVisibleUpdate" :append-to-body="true" width="700px" :before-close="handleClose"
@@ -184,110 +184,110 @@
         <div class="logoImg">
           <img src="../../assets/logo.png" alt />
         </div>
-        <div class="title_add_student">修改学生</div>
+        <div class="title_add_student">Modify Student</div>
       </div>
       <el-form>
-        <el-form-item label="学生名称" :label-width="formLabelWidth">
+        <el-form-item label="Student Name" :label-width="formLabelWidth">
           <span>
-            <el-input placeholder="请输入学生姓名" clearable v-model="userinfo.name" class="add_input"></el-input>
+            <el-input placeholder="Please enter student name" clearable v-model="userinfo.name" class="add_input"></el-input>
           </span>
         </el-form-item>
-        <el-form-item label="学生学号" :label-width="formLabelWidth">
+        <el-form-item label="Student ID" :label-width="formLabelWidth">
           <span>
-            <el-input placeholder="请输入学生学号" clearable v-model="userinfo.studentid" class="add_input"></el-input>
+            <el-input placeholder="Please enter student ID" clearable v-model="userinfo.studentid" class="add_input"></el-input>
           </span>
         </el-form-item>
-        <el-form-item label="学生手机号" :label-width="formLabelWidth">
+        <el-form-item label="Student Phone Number" :label-width="formLabelWidth">
           <span>
-            <el-input placeholder="请输入学生手机号" clearable v-model="userinfo.phonenumber" class="add_input"></el-input>
+            <el-input placeholder="Please enter student phone number" clearable v-model="userinfo.phonenumber" class="add_input"></el-input>
           </span>
         </el-form-item>
-        <el-form-item label="学生账号" :label-width="formLabelWidth">
+        <el-form-item label="Student Account" :label-width="formLabelWidth">
           <span>
-            <el-input placeholder="请输入学生账号" clearable v-model="userinfo.un" class="add_input"></el-input>
+            <el-input placeholder="Please enter student account" clearable v-model="userinfo.un" class="add_input"></el-input>
           </span>
         </el-form-item>
-        <el-form-item label="所属学校" :label-width="formLabelWidth">
+        <el-form-item label="School" :label-width="formLabelWidth">
           <el-input disabled style="width: 300px" v-model="schoolName"></el-input>
         </el-form-item>
-        <el-form-item label="班级" :label-width="formLabelWidth">
-          <el-select multiple collapse-tags v-model="userinfo.classid" placeholder="请选择班级">
+        <el-form-item label="Class" :label-width="formLabelWidth">
+          <el-select multiple collapse-tags v-model="userinfo.classid" placeholder="Please select class">
             <el-option v-for="(item, index) in classJuri" :key="index" :label="item.name" :value="item.id"></el-option>
           </el-select>
         </el-form-item>
         <div style="text-align: center; color: #adb3b7">
-          注:添加学生的账号密码为123456
+          Note: The account password for adding a student is 123456.
         </div>
       </el-form>
       <span slot="footer" class="dialog-footer flex">
-        <el-button class="right" @click="updateStudent">修改</el-button>
+        <el-button class="right" @click="updateStudent">Modify</el-button>
       </span>
     </el-dialog>
-    <el-dialog title="添加班级" :visible.sync="dialogVisible" :append-to-body="true" width="25%" :before-close="handleClose"
+    <el-dialog title="Add Class" :visible.sync="dialogVisible" :append-to-body="true" width="25%" :before-close="handleClose"
       class="dialog_diy">
       <el-form>
-        <el-form-item label="班级名称" :label-width="formLabelWidth">
-          <el-input v-model="className" auto-complete="off" placeholder="请输入班级..."></el-input>
+        <el-form-item label="Class Name" :label-width="formLabelWidth">
+          <el-input v-model="className" auto-complete="off" placeholder="Please enter class..."></el-input>
         </el-form-item>
       </el-form>
       <span slot="footer" class="dialog-footer">
-        <el-button @click="dialogVisible = false">取 消</el-button>
-        <el-button type="primary" @click="insertClass">确 定</el-button>
+        <el-button @click="dialogVisible = false">Cancel</el-button>
+        <el-button type="primary" @click="insertClass">Confirm</el-button>
       </span>
     </el-dialog>
-    <el-dialog title="修改年级" :visible.sync="dialogVisibleGrade" :append-to-body="true" width="25%"
+    <el-dialog title="Edit Grade" :visible.sync="dialogVisibleGrade" :append-to-body="true" width="25%"
       :before-close="handleClose" class="dialog_diy">
       <el-form>
-        <el-form-item label="选择年级" :label-width="formLabelWidth">
-          <el-select v-model="gid" placeholder="请选择班级" class="student_input" style="margin:0 10px" clearable>
+        <el-form-item label="Select Grade" :label-width="formLabelWidth">
+          <el-select v-model="gid" placeholder="Please select class" class="student_input" style="margin:0 10px" clearable>
             <el-option v-for="(item, index) in grade" :key="index" :label="item.name" :value="item.id"></el-option>
           </el-select>
         </el-form-item>
       </el-form>
       <span slot="footer" class="dialog-footer">
-        <el-button @click="dialogVisibleGrade = false">取 消</el-button>
-        <el-button type="primary" @click="updateGrade">确 定</el-button>
+        <el-button @click="dialogVisibleGrade = false">Cancel</el-button>
+        <el-button type="primary" @click="updateGrade">Confirm</el-button>
       </span>
     </el-dialog>
-    <el-dialog title="修改班级" :visible.sync="dialogVisible1" :append-to-body="true" width="25%" :before-close="handleClose"
+    <el-dialog title="Edit Class" :visible.sync="dialogVisible1" :append-to-body="true" width="25%" :before-close="handleClose"
       class="dialog_diy">
       <el-form>
-        <el-form-item label="班级名称" :label-width="formLabelWidth">
-          <el-input v-model="className1" auto-complete="off" placeholder="请输入班级..."></el-input>
+        <el-form-item label="Class Name" :label-width="formLabelWidth">
+          <el-input v-model="className1" auto-complete="off" placeholder="Please enter class..."></el-input>
         </el-form-item>
       </el-form>
       <span slot="footer" class="dialog-footer">
-        <el-button @click="dialogVisible1 = false">取 消</el-button>
-        <el-button type="primary" @click="updateClass">确 定</el-button>
+        <el-button @click="dialogVisible1 = false">Cancel</el-button>
+        <el-button type="primary" @click="updateClass">Confirm</el-button>
       </span>
     </el-dialog>
-    <el-dialog title="添加学生" :visible.sync="dialogVisibleMember" :append-to-body="true" width="500px" height="80%"
+    <el-dialog title="Add Student" :visible.sync="dialogVisibleMember" :append-to-body="true" width="500px" height="80%"
       :before-close="handleClose" class="addNewPP">
       <div class="people">
         <div class="people_top">
           <div class="people_top_right">
             <div class="people_search">
-              <el-input placeholder="搜索学生姓名" v-model="searchTN" @keyup.enter.native="getClassStudent"></el-input>
+              <el-input placeholder="Search student name" v-model="searchTN" @keyup.enter.native="getClassStudent"></el-input>
               <div class="search_img" @click="getClassStudent">
                 <img src="../../assets/icon/search.png" alt />
               </div>
             </div>
           </div>
-          <div class="people_nav">选择成员</div>
+          <div class="people_nav">Select Members</div>
         </div>
         <div class="t_j_box" style="
                   padding: 20px 0 0 25px;
                   width: calc(100% - 55px);
                   margin-left: 25px;
                 ">
-          <span>姓名</span>
-          <span>账号</span>
+          <span>Name</span>
+          <span>Account</span>
         </div>
         <el-checkbox-group v-model="checkboxList3" class="people_name" v-if="teacherJuri.length" v-loading="isLoading2">
           <el-checkbox v-for="item in teacherJuri" :key="item.userid" :label="item.userid">
             <div class="t_j_box">
-              <el-tooltip placement="top" :content="item.name ? item.name : '暂无姓名'">
-                <span>{{ item.name ? item.name : "暂无姓名" }}</span>
+              <el-tooltip placement="top" :content="item.name ? item.name : 'No name available'">
+                <span>{{ item.name ? item.name : "No name available" }}</span>
               </el-tooltip>
               <el-tooltip placement="top" :content="item.username">
                 <span>{{ item.username }}</span>
@@ -295,7 +295,7 @@
             </div>
           </el-checkbox>
         </el-checkbox-group>
-        <div style="text-align: center; margin-top: 10px" v-else>暂无数据</div>
+        <div style="text-align: center; margin-top: 10px" v-else>No data available</div>
       </div>
       <div style="margin-top: 10px;">
         <el-pagination background layout="prev, pager, next" :page-size="pageSize3" :total="total3"
@@ -303,8 +303,8 @@
           @current-change="handleCurrentChange3"></el-pagination>
       </div>
       <span slot="footer" class="dialog-footer">
-        <el-button @click="dialogVisibleMember = false">取 消</el-button>
-        <el-button type="primary" @click="addClassStudent">确定</el-button>
+        <el-button @click="dialogVisibleMember = false">Cancel</el-button>
+        <el-button type="primary" @click="addClassStudent">Confirm</el-button>
       </span>
     </el-dialog>
   </div>
@@ -377,7 +377,7 @@ export default {
             name = element.name
           }
         });
-        return name ? name : '暂无'
+        return name ? name : 'N/A'
       }
     }
   },
@@ -453,9 +453,9 @@ export default {
       this.dialogVisibleGrade = true;
     },
     updateGrade() {
-      this.$confirm("确定修改吗?", "提示", {
-        confirmButtonText: "确定",
-        cancelButtonText: "取消",
+      this.$confirm("Are you sure you want to modify?", "Prompt", {
+        confirmButtonText: "Confirm",
+        cancelButtonText: "Cancel",
         type: "warning",
       })
         .then(() => {
@@ -494,12 +494,12 @@ export default {
         .then((res) => {
           if (res.data[0] && res.data[0][0].classname == 1) {
             this.$message({
-              message: "不能与其他班级名称相同!",
+              message: "Cannot be the same as other class names!",
               type: "error",
             });
           } else {
             this.$message({
-              message: "新增成功",
+              message: "Added successfully",
               type: "success",
             });
             this.dialogVisible = false;
@@ -510,7 +510,7 @@ export default {
         })
         .catch((err) => {
           this.$message({
-            message: "新增失败",
+            message: "Failed to add",
             type: "error",
           });
           console.error(err);
@@ -528,12 +528,12 @@ export default {
         .then((res) => {
           if (res.data[0] && res.data[0][0].classname == 1) {
             this.$message({
-              message: "不能与其他班级名称相同!",
+              message: "Cannot be the same as other class names!",
               type: "error",
             });
           } else {
             this.$message({
-              message: "修改成功",
+              message: "Modification successful",
               type: "success",
             });
             this.dialogVisible1 = false;
@@ -544,7 +544,7 @@ export default {
         })
         .catch((err) => {
           this.$message({
-            message: "修改失败",
+            message: "Modification failed",
             type: "error",
           });
           console.error(err);
@@ -578,9 +578,9 @@ export default {
         id: id,
       };
       if (this.time()) {
-        this.$confirm("确定删除此班级吗?", "提示", {
-          confirmButtonText: "确定",
-          cancelButtonText: "取消",
+        this.$confirm("Are you sure you want to delete this class?", "Prompt", {
+          confirmButtonText: "Confirm",
+          cancelButtonText: "Cancel",
           type: "warning",
         })
           .then(() => {
@@ -588,7 +588,7 @@ export default {
               .get(this.$store.state.api + "deleteClass", params)
               .then((res) => {
                 this.$message({
-                  message: "删除成功",
+                  message: "Delete successful",
                   type: "success",
                 });
                 if (this.page != 1 && this.tableData.length == 1) {
@@ -597,7 +597,7 @@ export default {
                 this.getClass();
               })
               .catch((err) => {
-                this.$message.error("删除失败");
+                this.$message.error("Delete failed");
                 console.error(err);
               });
           })
@@ -615,18 +615,18 @@ export default {
     //新增学生
     insertStudent() {
       if (this.sName === "") {
-        this.$message.error("学生姓名不能为空");
+        this.$message.error("Student name cannot be empty");
         return;
       } else if (
         this.sPhone != "" &&
         !/^[1][3,4,5,7,8][0-9]{9}$/.test(this.sPhone)
       ) {
-        this.$message.error("手机号格式不正确");
+        this.$message.error("Invalid phone number format");
         return;
       } else if (
         !/^([a-zA-Z0-9_-])+@([a-zA-Z0-9_-])+(\.[a-zA-Z0-9_-])+/.test(this.sMail)
       ) {
-        this.$message.error("邮箱格式不正确");
+        this.$message.error("Invalid email format");
         return;
       }
 
@@ -636,7 +636,7 @@ export default {
           .get(this.$store.state.api + "findMail", params)
           .then((res) => {
             if (res.data[0].length > 0) {
-              this.$message.error("此学生账号已被注册");
+              this.$message.error("This student account has been registered.");
             } else {
               this.add_Student();
             }
@@ -684,7 +684,7 @@ export default {
               console.error(err);
             });
           this.$message({
-            message: "新增成功",
+            message: "Added successfully",
             type: "success",
           });
           this.dialogVisibleAddStudent = false;
@@ -697,7 +697,7 @@ export default {
         .catch((err) => {
           this.isLoading = false;
           this.$message({
-            message: "新增失败",
+            message: "Failed to add",
             type: "error",
           });
           console.error(err);
@@ -711,23 +711,23 @@ export default {
     },
     updateStudent() {
       if (this.userinfo.name === "") {
-        this.$message.error("学生姓名不能为空");
+        this.$message.error("Student name cannot be empty");
         return;
       } else if (!this.userinfo.classid) {
-        this.$message.error("请为学生选择班级");
+        this.$message.error("Please select a class for the student.");
         return;
       } else if (
         this.userinfo.phonenumber &&
         !/^[1][3,4,5,7,8][0-9]{9}$/.test(this.userinfo.phonenumber)
       ) {
-        this.$message.error("手机号格式不正确");
+        this.$message.error("Invalid phone number format");
         return;
       } else if (
         !/^([a-zA-Z0-9_-])+@([a-zA-Z0-9_-])+(\.[a-zA-Z0-9_-])+/.test(
           this.userinfo.un
         )
       ) {
-        this.$message.error("邮箱格式不正确");
+        this.$message.error("Invalid email format");
         return;
       }
 
@@ -738,7 +738,7 @@ export default {
             .get(this.$store.state.api + "findMail", params)
             .then((res) => {
               if (res.data[0].length > 0) {
-                this.$message.error("此学生账号已被注册");
+                this.$message.error("This student account has been registered.");
               } else {
                 this.update_Student();
               }
@@ -766,7 +766,7 @@ export default {
         .post(this.$store.state.api + "updateStudentInfo", params)
         .then((res) => {
           this.$message({
-            message: "修改成功",
+            message: "Modification successful",
             type: "success",
           });
           this.dialogVisibleUpdate = false;
@@ -775,7 +775,7 @@ export default {
         .catch((err) => {
           this.isLoading = false;
           this.$message({
-            message: "修改失败",
+            message: "Modification failed",
             type: "error",
           });
           console.error(err);
@@ -783,9 +783,9 @@ export default {
     },
     deleteClassStudent(id) {
       let params = [{ uid: id, cid: this.cid }];
-      this.$confirm("确定移除此学生在本班级吗?", "提示", {
-        confirmButtonText: "确定",
-        cancelButtonText: "取消",
+      this.$confirm("Are you sure you want to remove this student from this class?", "Prompt", {
+        confirmButtonText: "Confirm",
+        cancelButtonText: "Cancel",
         type: "warning",
       })
         .then(() => {
@@ -793,13 +793,13 @@ export default {
             .post(this.$store.state.api + "deleteClassStudent", params)
             .then((res) => {
               this.$message({
-                message: "操作成功",
+                message: "Operation successful",
                 type: "success",
               });
               this.getStudent(this.cid);
             })
             .catch((err) => {
-              this.$message.error("操作失败");
+              this.$message.error("Operation failed");
               console.error(err);
             });
         })
@@ -894,7 +894,7 @@ export default {
     },
     addClassStudent() {
       if (!this.checkboxList3.length) {
-        this.$message.error('请选择要添加班级的学生');
+        this.$message.error('Please select the student to add to the class.');
         return;
       }
       let params = [{
@@ -913,9 +913,9 @@ export default {
         });
     },
     iniPassword(id) {
-      this.$confirm("确定" + "初始化" + "此学生的密码吗?", "提示", {
-        confirmButtonText: "确定",
-        cancelButtonText: "取消",
+      this.$confirm("Confirm" + "initialise" + "this student's password?", "Prompt", {
+        confirmButtonText: "Confirm",
+        cancelButtonText: "Cancel",
         type: "warning",
       })
         .then(() => {
@@ -929,7 +929,7 @@ export default {
             .post(this.$store.state.api + "iniPassword", params)
             .then((res) => {
               this.$message({
-                message: "初始化密码成功!",
+                message: "Password initialization successful!",
                 type: "success",
               });
             })

+ 13 - 13
src/components/pages/classGM.vue

@@ -13,13 +13,13 @@
       "
     >
       <div class="pb_head top">
-        <span>班级管理</span>
+        <span>Class Management</span>
         <div class="student_button">
           <el-button
             type="primary"
             class="bgColor btnClassGM"
             @click="dialogVisible = true"
-            >添加班级</el-button
+            >Add Class</el-button
           >
         </div>
       </div>
@@ -27,13 +27,13 @@
         <div class="student_search">
           <span>
             <el-input
-              placeholder="请输入班级名称"
+              placeholder="Enter class name"
               v-model="sClassName"
               clearable
             >
             </el-input>
           </span>
-          <el-button class="btnClassGM" type="primary" @click="searchClass">查询</el-button>
+          <el-button class="btnClassGM" type="primary" @click="searchClass">Search</el-button>
         </div>
       </div>
     </div>
@@ -52,26 +52,26 @@
         >
           <el-table-column
             prop="name"
-            label="班级名称"
+            label="Class Name"
             min-width="40%"
             align="center"
           >
           </el-table-column>
           <el-table-column
             prop="pnum"
-            label="人数"
+            label="Number of Students"
             min-width="40%"
             align="center"
           >
           </el-table-column>
-          <el-table-column label="操作" min-width="20%">
+          <el-table-column label="Actions" min-width="20%">
             <template slot-scope="scope">
               <el-button
                 class="btnClassGM"
                 type="primary"
                 size="small"
                 @click="deleteClass(scope.row.id)"
-                >删除</el-button
+                >Delete</el-button
               >
             </template>
           </el-table-column>
@@ -90,7 +90,7 @@
       </div>
     </div>
     <el-dialog
-      title="添加班级"
+      title="Add Class"
       :visible.sync="dialogVisible"
       :append-to-body="true"
       width="25%"
@@ -98,17 +98,17 @@
       class="dialog_diy"
     >
       <el-form>
-        <el-form-item label="班级名称" :label-width="formLabelWidth">
+        <el-form-item label="Class Name" :label-width="formLabelWidth">
           <el-input
             v-model="className"
             auto-complete="off"
-            placeholder="请输入班级..."
+            placeholder="Enter class name..."
           ></el-input>
         </el-form-item>
       </el-form>
       <span slot="footer" class="dialog-footer">
-        <el-button class="cancelbtnGM" @click="dialogVisible = false">取 消</el-button>
-        <el-button class="btnClassGM" type="primary" @click="insertClass">确 定</el-button>
+        <el-button class="cancelbtnGM" @click="dialogVisible = false">Cancel</el-button>
+        <el-button class="btnClassGM" type="primary" @click="insertClass">Confirm</el-button>
       </span>
     </el-dialog>
   </div>

+ 13 - 13
src/components/pages/classRoom.vue

@@ -1,21 +1,21 @@
 <template>
   <div class="pb_content" style="height: auto;background:#fff;width:98%;margin:0 auto;">
     <div class="pb_head top">
-      <span>课堂备课</span>
+      <span>Lesson Preparation</span>
       <!-- <div class="student_button">
         <el-button
           type="primary"
           class="bgColor"
           @click="goTo('/addPPt?userid=' + userid + '&oid=' + oid)"
-        >添加备课ppt</el-button>
+        >Add Lesson Preparation PPT</el-button>
       </div> -->
     </div>
     <div class="pb_content_body" style="height: 100%">
       <div class="student_head">
         <div class="student_right">
           <div class="head_left">
-            <el-input v-model="courseName" class="student_input" placeholder="请输入课程名称"></el-input>
-            <el-button class="course_button" @click="searchCourse">查询</el-button>
+            <el-input v-model="courseName" class="student_input" placeholder="Please enter course name"></el-input>
+            <el-button class="course_button" @click="searchCourse">Search</el-button>
           </div>
         </div>
       </div>
@@ -48,7 +48,7 @@
 											oid
 									)
 								"
-              >开始教学</div>
+              >Start Teaching</div>
               <!-- <div
                 @click="
 									goTo(
@@ -60,13 +60,13 @@
 											oid
 									)
 								"
-              >上课预览</div> -->
-              <!-- <div v-if="groupA == '0'">修改</div> -->
-              <div @click="checkData">报告</div>
-              <!-- <div @click="deleteCourse(item.courseId)">删除</div> -->
+              >Class Preview</div> -->
+              <!-- <div v-if="groupA == '0'">Modify</div> -->
+              <div @click="checkData">Report</div>
+              <!-- <div @click="deleteCourse(item.courseId)">Delete</div> -->
             </div>
           </div>
-          <div class="course_empty" v-if="course.length == 0">暂无数据</div>
+          <div class="course_empty" v-if="course.length == 0">No data available</div>
         </div>
       </div>
     </div>
@@ -82,7 +82,7 @@
       ></el-pagination>
     </div>
       <el-dialog
-      title="课堂报告"
+      title="Class Report"
       :visible.sync="dataVisible"
       :append-to-body="true"
       width="1200px"
@@ -95,7 +95,7 @@
         </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>
   </div>
@@ -162,7 +162,7 @@ export default {
       console.log(file, fileList);
     },
     onExceed() {
-      this.$message.error("课程海报仅支持上传一张,请删除后再进行上传");
+      this.$message.error("The course poster only supports uploading one image. Please delete it before uploading again.");
     },
     //uuid生成
     guid() {

+ 66 - 66
src/components/pages/components/actualTimeData.vue

@@ -4,44 +4,44 @@
       <div class="sd_module">
         <div class="sd_module_content">
           <div class="sd_module_children">
-            <span class="s">课堂时长</span>
+            <span class="s">Class Duration</span>
             <span class="s2">
-              <span>{{randomNum(1,15)}}</span>
-              <span>{{randomNum(1,60)}}</span>
-              <span>{{randomNum(1,60)}}</span>
+              <span>{{randomNum(1,15)}}</span>Hour
+              <span>{{randomNum(1,60)}}</span>Minute
+              <span>{{randomNum(1,60)}}</span>Second
             </span>
-            <span>已经击败99%教师</span>
+            <span>Already Surpassing 99% of Teachers</span>
           </div>
         </div>
         <div class="sd_module_content">
           <div class="sd_module_children">
-            <span class="s">课堂互动</span>
+            <span class="s">Classroom Interaction</span>
             <span class="s2">
-              <span>{{randomNum(1,10)}}</span>
+              <span>{{randomNum(1,10)}}</span>Times
             </span>
-            <span>已经击败99%教师</span>
+            <span>Already Surpassing 99% of Teachers</span>
           </div>
         </div>
 
         <div class="sd_module_content">
           <div class="sd_module_children">
-            <span class="s">提交作业</span>
+            <span class="s">Submit Homework</span>
             <span class="s2">
-              <span>{{randomNum(1,15)}}</span>
+              <span>{{randomNum(1,15)}}</span>Times
             </span>
-            <span>已经击败99%教师</span>
+            <span>Already Surpassing 99% of Teachers</span>
           </div>
         </div>
       </div>
     </div>
     <div class="sd_module_data">
-      <span class="sdddtitle">数据统计</span>
+      <span class="sdddtitle">Data Statistics</span>
       <div id="charts_canvas" class="echart" style="width: 100%; height: 100%;"></div>
     </div>
     <div class="sd_class sd_class2">
-       <span class="sdddtitle">学生个人能力</span>
+       <span class="sdddtitle">Student Individual Capability</span>
       <!-- <div class="sd_person_button">
-        <span @click="setType(6)" :class="{'active':type == 6}">学生人能力</span>
+        <span @click="setType(6)" :class="{'active':type == 6}">学生Number人能力</span>
       </div> -->
       <div class="sd_person_data">
         <div
@@ -94,14 +94,14 @@ export default {
               },
             },
             data: [
-              { value: 0, name: "学习时间" },
-              { value: 0, name: "自我介绍" },
-              { value: 0, name: "提交活动表" },
-              { value: 0, name: "讨论交流" },
-              { value: 0, name: "作业提交" },
-              { value: 0, name: "能力测试" },
-              { value: 0, name: "自我评价调查问卷" },
-              { value: 0, name: "课程满意度调查问卷" },
+              { value: 0, name: "Study Time" },
+              { value: 0, name: "Self-introduction" },
+              { value: 0, name: "Submit Activity Form" },
+              { value: 0, name: "Discuss and Share" },
+              { value: 0, name: "Homework Submission" },
+              { value: 0, name: "Ability Test" },
+              { value: 0, name: "Self-assessment Survey" },
+              { value: 0, name: "Course Satisfaction Survey" },
             ],
             emphasis: {
               itemStyle: {
@@ -152,15 +152,15 @@ export default {
         yAxis: {
           type: "category",
           data: [
-            "信息应用意识",
-            "信息安全意识",
-            "信息感知意识",
-            "信息社会责任",
-            "信息法律法规",
-            "信息应用技能",
-            "信息科学知识",
-            "信息思维",
-            "信息行为",
+            "Information Application Awareness",
+            "Information Security Awareness",
+            "Information Perception Awareness",
+            "Information Social Responsibility",
+            "Information Laws and Regulations",
+            "Information Application Skills",
+            "Information Science Knowledge",
+            "Information Thinking",
+            "Information Behaviour",
           ],
           axisLine: {
             show: false,
@@ -201,15 +201,15 @@ export default {
           this.$el.querySelector("#charts_canvas")
         );
         var optionB = [
-          { 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: "讨论交流" },
-          { 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: "Study Time" },
+          { value: this.randomNum(0, 300), name: "Self-introduction" },
+          { value: this.randomNum(0, 300), name: "Skill Challenge" },
+          { value: this.randomNum(0, 300), name: "Submit Activity Form" },
+          { value: this.randomNum(0, 300), name: "Discuss and Share" },
+          { value: this.randomNum(0, 300), name: "Homework Submission" },
+          { value: this.randomNum(0, 300), name: "Ability Test" },
+          { value: this.randomNum(0, 300), name: "Self-assessment Survey" },
+          { value: this.randomNum(0, 300), name: "Course Satisfaction Survey" },
         ];
         this.option.series[0].data = optionB;
         const chartObj2 = this.$echarts.init(
@@ -218,61 +218,61 @@ export default {
         );
         this.option2.series.data = [
           {
-            name: "信息意识",
+            name: "Information Consciousness",
             value: 15,
             children: [
               {
-                name: "信息应用意识",
+                name: "Information Application Awareness",
                 value: this.randomNum(1, 5),
               },
               {
-                name: "信息安全意识",
+                name: "Information Security Awareness",
                 value: this.randomNum(1, 5),
               },
               {
-                name: "信息感知意识",
+                name: "Information Perception Awareness",
                 value: this.randomNum(1, 5),
               },
             ],
           },
           {
-            name: "信息社会责任",
+            name: "Information Social Responsibility",
             value: 15,
             children: [
               {
-                name: "信息伦理道德",
+                name: "Information Ethics and Morality",
                 value: this.randomNum(1, 5),
               },
               {
-                name: "信息法律法规",
+                name: "Information Laws and Regulations",
                 value: this.randomNum(1, 10),
               },
             ],
           },
           {
-            name: "信息知识与技能",
+            name: "Information Knowledge and Skills",
             value: 15,
             children: [
               {
-                name: "信息应用技能",
+                name: "Information Application Skills",
                 value: 5,
               },
               {
-                name: "信息科学知识",
+                name: "Information Science Knowledge",
                 value: 10,
               },
             ],
           },
           {
-            name: "信息思维与行为",
+            name: "Information Thinking and Behaviour",
             value: 15,
             children: [
               {
-                name: "信息思维",
+                name: "Information Thinking",
                 value: this.randomNum(1, 10),
               },
               {
-                name: "信息行为",
+                name: "Information Behaviour",
                 value: this.randomNum(1, 5),
               },
             ],
@@ -320,61 +320,61 @@ export default {
       this.type = type;
       this.option2.series.data = [
         {
-          name: "信息意识",
+          name: "Information Consciousness",
           value: 15,
           children: [
             {
-              name: "信息应用意识",
+              name: "Information Application Awareness",
               value: this.randomNum(1, 5),
             },
             {
-              name: "信息安全意识",
+              name: "Information Security Awareness",
               value: this.randomNum(1, 5),
             },
             {
-              name: "信息感知意识",
+              name: "Information Perception Awareness",
               value: this.randomNum(1, 5),
             },
           ],
         },
         {
-          name: "信息社会责任",
+          name: "Information Social Responsibility",
           value: 15,
           children: [
             {
-              name: "信息伦理道德",
+              name: "Information Ethics and Morality",
               value: this.randomNum(1, 5),
             },
             {
-              name: "信息法律法规",
+              name: "Information Laws and Regulations",
               value: this.randomNum(1, 10),
             },
           ],
         },
         {
-          name: "信息知识与技能",
+          name: "Information Knowledge and Skills",
           value: 15,
           children: [
             {
-              name: "信息应用技能",
+              name: "Information Application Skills",
               value: 5,
             },
             {
-              name: "信息科学知识",
+              name: "Information Science Knowledge",
               value: 10,
             },
           ],
         },
         {
-          name: "信息思维与行为2",
+          name: "Information Thinking and Behaviour 2",
           value: 15,
           children: [
             {
-              name: "信息思维",
+              name: "Information Thinking",
               value: this.randomNum(1, 10),
             },
             {
-              name: "信息行为",
+              name: "Information Behaviour",
               value: this.randomNum(1, 5),
             },
           ],

+ 7 - 7
src/components/pages/components/answerData.vue

@@ -1,7 +1,7 @@
 <template>
   <div class="data_body">
     <div class="title">
-      <span>问答数量</span>
+      <span>Number of Questions and Answers</span>
     </div>
     <div style="width: 100%; height: 400px">
       <!-- <img src="../../assets/dataimage/1.png" style="width:90%" /> -->
@@ -14,21 +14,21 @@
     <div class="tips">
       <img src="../../../assets/tips.png" alt />
       <span>
-        提示:目前答对
-        <span>正确选项{{ Aa }}</span
-        >的,有<span>{{ count }}</span
-        >位同学!要继续往“实践探究”方向继续加强学习哦!
+        Hint: Currently answered correctly
+        <span>Correct Option{{ Aa }}</span
+        >Have<span>{{ count }}</span
+        >students! Keep going, You need to continue strengthening your learning towards "Practical Exploration"!
       </span>
     </div>
     <div class="c_box">
       <div class="correct">
         <span
-          >答题人数<span>{{ people.length + "人" }}</span></span
+          >Number of Respondents<span>{{ people.length + "人" }}</span></span
         >
       </div>
       <div class="correct">
         <span
-          >正确率为<span>{{
+          >Accuracy Rate Is<span>{{
             people.length > 0 ? Math.round(count / people.length * 10000) / 10000 * 100 + "%" : 0
           }}</span></span
         >

+ 5 - 5
src/components/pages/components/answerData2.vue

@@ -1,7 +1,7 @@
 <template>
   <div class="data_body">
     <div class="title">
-      <span>答对数量</span>
+      <span>Correct Answers Count</span>
     </div>
     <div style="width: 100%; height: 400px">
       <!-- <img src="../../assets/dataimage/1.png" style="width:90%" /> -->
@@ -14,13 +14,13 @@
     <div class="c_box">
       <div class="correct">
         <span
-          >答题人数<span>{{ people.length + "人" }}</span></span
+          >Number of Respondents<span>{{ people.length + "People" }}</span></span
         >
       </div>
       <div class="correct">
         <span
-          >全部答对人数为<span>{{
-            count+''
+          >Total Correct Answers Are<span>{{
+            count+'People'
           }}</span></span
         >
       </div>
@@ -43,7 +43,7 @@ export default {
       option: {
         tooltip: {
           trigger: "item",
-          formatter: "第{b0}题: 答对{c0}人",
+          formatter: "No.{b0}Question: Correct{c0}People",
         },
         grid: {
           left: "1%",

+ 14 - 14
src/components/pages/components/classReport.vue

@@ -2,9 +2,9 @@
   <div style="padding-bottom: 20px">
     <div class="search">
       <div class="student_search">
-        <div>班级筛选</div>
+        <div>Class Filter</div>
         <el-select v-model="classChoose" @change="searchStudent">
-          <el-option label="全部" value="">全部</el-option>
+          <el-option label="All" value="">All</el-option>
           <el-option
             v-for="(c, cIndex) in classJuri"
             :key="cIndex"
@@ -17,9 +17,9 @@
         <div class="searchImg">
           <img src="../../../assets/icon/search.png" alt="" />
         </div>
-        <el-input v-model="sName" placeholder="请输入课程名称"></el-input>
+        <el-input v-model="sName" placeholder="Please Enter Course Name"></el-input>
         <el-button size="mini" type="primary" @click="searchStudent"
-          >查询</el-button
+          >Search</el-button
         >
       </div>
     </div>
@@ -32,22 +32,22 @@
       :header-cell-style="{ background: '#f1f1f1', fontSize: '17px' }"
       :row-class-name="tableRowClassName"
     >
-      <el-table-column prop="cName" align="center" label="班级" min-width="25%">
+      <el-table-column prop="cName" align="center" label="Class" min-width="25%">
       </el-table-column>
       <el-table-column
         prop="course"
         align="center"
-        label="课程"
+        label="Course"
         min-width="40%"
       >
       </el-table-column>
-      <el-table-column label="操作" align="center" min-width="25%">
+      <el-table-column label="Actions" align="center" min-width="25%">
         <template slot-scope="scope">
           <el-button
             size="mini"
             type="primary"
             @click="lookEvaCourse(scope.row.id, scope.row.courseid)"
-            >报告</el-button
+            >Report</el-button
           >
         </template>
       </el-table-column>
@@ -63,7 +63,7 @@
       ></el-pagination>
     </div>
     <el-dialog
-      title="选择学生"
+      title="Select Student"
       :visible.sync="dialogVisible"
       :append-to-body="true"
       width="650px"
@@ -81,11 +81,11 @@
           <el-table-column
             prop="sName"
             align="center"
-            label="姓名"
+            label="Name"
             min-width="25%"
           >
           </el-table-column>
-          <el-table-column label="选择" align="center" min-width="25%">
+          <el-table-column label="Selection" align="center" min-width="25%">
             <template slot-scope="scope">
               <input
                 type="checkbox"
@@ -98,8 +98,8 @@
         </el-table>
       </div>
       <span slot="footer" class="dialog-footer">
-        <el-button @click="dialogVisible = false">取 消</el-button>
-        <el-button type="primary" @click="getCStudentReport">确定</el-button>
+        <el-button @click="dialogVisible = false">Cancel</el-button>
+        <el-button type="primary" @click="getCStudentReport">Confirm</el-button>
       </span>
     </el-dialog>
   </div>
@@ -148,7 +148,7 @@ export default {
         this.$emit("getCStReport", this.isChooseList, this.isChooseCourseid);
         this.dialogVisible = false;
       } else {
-        this.$message.error("请选择至少一项课程!");
+        this.$message.error("Please Select At Least One Course!");
       }
     },
     handleClose(done) {

+ 6 - 6
src/components/pages/components/classStudentComponents/classStudentReport.vue

@@ -1,11 +1,11 @@
 <template>
   <div style="width: 100%; height: 100%">
-    <div class="sr_head">学生成长报告</div>
+    <div class="sr_head">Student Growth Report</div>
     <div class="sr_body">
       <div class="sr_box">
         <div class="sr_first">
           <div class="first">
-            <div class="sub_title"><span>学生基本信息</span></div>
+            <div class="sub_title"><span>Student Basic Information</span></div>
             <StudentInfo
               class="r_box"
               :userid="userid"
@@ -13,13 +13,13 @@
             ></StudentInfo>
           </div>
           <div class="second">
-            <div class="sub_title"><span>项目基本信息</span></div>
+            <div class="sub_title"><span>Project Basic Information</span></div>
             <CourseInfo class="r_box" :courseid="courseid"></CourseInfo>
           </div>
         </div>
         <div class="sr_second">
           <div class="first">
-            <div class="sub_title"><span>学生综合能力评估</span></div>
+            <div class="sub_title"><span>Student Comprehensive Ability Assessment</span></div>
             <StudentAbility
               class="r_box"
               :userid="userid"
@@ -33,7 +33,7 @@
         </div>
         <div class="sr_third">
           <div class="first">
-            <div class="sub_title"><span>阶段完成情况</span></div>
+            <div class="sub_title"><span>Stage Completion Status</span></div>
             <CourseRadar
               class="r_box"
               :userid="userid"
@@ -41,7 +41,7 @@
             ></CourseRadar>
           </div>
           <div class="second">
-            <div class="sub_title"><span>阶段评价平均分</span></div>
+            <div class="sub_title"><span>Stage Evaluation Average Score</span></div>
             <CoursePie
               class="r_box"
               :userid="userid"

+ 21 - 21
src/components/pages/components/classStudentComponents/courseDetailReport.vue

@@ -6,7 +6,7 @@
       <div id="charts_canvas2" class="echart"></div>
       <div id="charts_canvas3" class="echart" ref="table">
         <div style="font-size: 13px; font-weight: 600">
-          项目综合评估:各个阶段评价平均分
+          Project Comprehensive Assessment: Average Score for Each Stage
         </div>
         <el-table
           class="table"
@@ -24,14 +24,14 @@
           :row-class-name="tableRowClassName"
           header-row-class-name="header_row_class"
         >
-          <el-table-column label="排名" min-width="29px" align="center">
+          <el-table-column label="Ranking" min-width="29px" align="center">
             <template slot-scope="scope">
               <div style="font-weight: 600">{{ scope.$index + 1 }}</div>
             </template>
           </el-table-column>
           <el-table-column
             prop="name"
-            label="名称"
+            label="Name"
             min-width="39px"
             align="center"
           >
@@ -43,7 +43,7 @@
           >
           <el-table-column
             prop="rate"
-            label="完成度"
+            label="Completion Rate"
             min-width="39px"
             align="center"
             ><template slot-scope="scope">
@@ -54,7 +54,7 @@
           >
           <el-table-column
             prop="rate1"
-            label="活跃度"
+            label="Activity Level"
             min-width="39px"
             align="center"
             ><template slot-scope="scope">
@@ -65,7 +65,7 @@
           >
           <el-table-column
             prop="rate2"
-            label="参与度"
+            label="Participation Level"
             min-width="39px"
             align="center"
             ><template slot-scope="scope">
@@ -76,7 +76,7 @@
           >
           <el-table-column
             prop="rate3"
-            label="综合表现"
+            label="Overall Performance"
             min-width="49px"
             align="center"
             ><template slot-scope="scope">
@@ -85,7 +85,7 @@
           >
           <el-table-column
             prop="ratez"
-            label="综合"
+            label="Comprehensive"
             min-width="29px"
             align="center"
             ><template slot-scope="scope">
@@ -109,7 +109,7 @@ export default {
       tdata: [],
       option1: {
         title: {
-          text: "项目完成度:各个阶段完成情况",
+          text: "Project Completion Rate: Stage-wise Completion Status",
           textStyle: {
             fontSize: 13,
           },
@@ -124,7 +124,7 @@ export default {
           },
         },
         legend: {
-          data: ["个人完成度", "班级平均完成度"],
+          data: ["Individual Completion Rate", "Class Average Completion Rate"],
           top: "bottom",
           icon: "circle",
         },
@@ -137,7 +137,7 @@ export default {
         xAxis: [
           {
             type: "category",
-            data: ["阶段1", "阶段2", "阶段3", "阶段4", "阶段5"],
+            data: ["Stage 1", "Stage 2", "Stage 3", "Stage 4", "Stage 5"],
           },
         ],
         yAxis: [
@@ -147,7 +147,7 @@ export default {
         ],
         series: [
           {
-            name: "个人完成度",
+            name: "Individual Completion Rate",
             type: "line",
             areaStyle: {},
             data: [0, 0, 0, 0, 0],
@@ -156,7 +156,7 @@ export default {
             },
           },
           {
-            name: "班级平均完成度",
+            name: "Class Average Completion Rate",
             type: "line",
             areaStyle: {},
             data: [0, 0, 0, 0, 0],
@@ -168,7 +168,7 @@ export default {
       },
       option2: {
         title: {
-          text: "项目活跃度:不同任务的学习时间占比",
+          text: "Project Activity Level: Percentage of Study Time per Task",
           textStyle: {
             fontSize: 13,
           },
@@ -188,14 +188,14 @@ export default {
         },
         xAxis: {
           type: "category",
-          data: ["阶段1", "阶段2", "阶段3", "阶段4", "阶段5"],
+          data: ["Stage 1", "Stage 2", "Stage 3", "Stage 4", "Stage 5"],
         },
         yAxis: {
           type: "value",
         },
         series: [
           {
-            name: "任务1",
+            name: "Task 1",
             type: "bar",
             stack: "total",
             label: {
@@ -207,7 +207,7 @@ export default {
             data: [0, 0, 0, 0, 0],
           },
           {
-            name: "任务2",
+            name: "Task 2",
             type: "bar",
             stack: "total",
             label: {
@@ -219,7 +219,7 @@ export default {
             data: [0, 0, 0, 0, 0],
           },
           {
-            name: "任务3",
+            name: "Task 3",
             type: "bar",
             stack: "total",
             label: {
@@ -231,7 +231,7 @@ export default {
             data: [0, 0, 0, 0, 0],
           },
           {
-            name: "任务4",
+            name: "Task 4",
             type: "bar",
             stack: "total",
             label: {
@@ -243,7 +243,7 @@ export default {
             data: [0, 0, 0, 0, 0],
           },
           {
-            name: "任务5",
+            name: "Task 5",
             type: "bar",
             stack: "total",
             label: {
@@ -334,7 +334,7 @@ export default {
           var _rate3 = this.randomNum(3, 5);
           var _ratez = (_rate + _rate1 + _rate2 + _rate3) / 4;
           this.tdata.push({
-            name: "阶段" + (i + 1),
+            name: "Stage" + (i + 1),
             rate: _rate.toFixed(1),
             rate1: _rate1.toFixed(1),
             rate2: _rate2.toFixed(1),

+ 14 - 14
src/components/pages/components/classStudentComponents/courseInfo.vue

@@ -2,20 +2,20 @@
   <div v-loading="isloading">
     <div class="ci_info" v-if="Object.keys(courseInfo).length">
       <div class="ci_info_box">
-        <span>课程名称:</span><span>{{ courseInfo.title }}</span>
+        <span>Course Name:</span><span>{{ courseInfo.title }}</span>
       </div>
       <div class="ci_info_box2">
         <div>
-          阶段<span>{{ tool.stage }}</span
-          >
+          Stage<span>{{ tool.stage }}</span
+          >Number
         </div>
         <div>
-          任务<span>{{ tool.task }}</span
-          >
+          Task<span>{{ tool.task }}</span
+          >Number
         </div>
         <div>
-          工具<span>{{ tool.tool }}</span
-          >
+          Tools<span>{{ tool.tool }}</span
+          >Number
         </div>
       </div>
     </div>
@@ -56,7 +56,7 @@ export default {
         series: [
           {
             bottom: "20%",
-            name: "学习活动时间分配图",
+            name: "Learning Activity Time Allocation Chart",
             type: "pie",
             // radius: [10, "80%"],
             center: ["50%", "50%"],
@@ -70,12 +70,12 @@ export default {
               formatter: "{b}\n{d}%",
             },
             data: [
-              { value: 0, name: "思维网格" },
-              { value: 0, name: "思维导图" },
-              { value: 0, name: "电子白板" },
-              { value: 0, name: "选择题" },
-              // { value: 0, name: "自主学习" },
-              { value: 0, name: "其他" },
+              { value: 0, name: "Thought Grid" },
+              { value: 0, name: "Mind Map" },
+              { value: 0, name: "Electronic Whiteboard" },
+              { value: 0, name: "Multiple Choice Question" },
+              // { value: 0, name: "Independent Study" },
+              { value: 0, name: "Others" },
             ],
           },
         ],

+ 17 - 17
src/components/pages/components/classStudentComponents/coursePie.vue

@@ -12,7 +12,7 @@
       ></div> -->
       <div id="charts_canvas3" class="echart" ref="table">
         <!-- <div style="font-size: 13px; font-weight: 600">
-          项目综合评估:各个阶段评价平均分
+          项目Comprehensive评估:各NumberStage Evaluation Average Score
         </div> -->
         <el-table
           class="table"
@@ -30,14 +30,14 @@
           :row-class-name="tableRowClassName"
           header-row-class-name="header_row_class"
         >
-          <el-table-column label="排名" min-width="29px" align="center">
+          <el-table-column label="Ranking" min-width="29px" align="center">
             <template slot-scope="scope">
               <div style="font-weight: 600">{{ scope.$index + 1 }}</div>
             </template>
           </el-table-column>
           <el-table-column
             prop="name"
-            label="名称"
+            label="Name"
             min-width="39px"
             align="center"
           >
@@ -49,7 +49,7 @@
           </el-table-column>
           <el-table-column
             prop="rate"
-            label="完成度"
+            label=" Completion Rate"
             min-width="39px"
             align="center"
             ><template slot-scope="scope">
@@ -60,7 +60,7 @@
           >
           <el-table-column
             prop="rate1"
-            label="活跃度"
+            label="Activity Level"
             min-width="39px"
             align="center"
             ><template slot-scope="scope">
@@ -71,7 +71,7 @@
           >
           <el-table-column
             prop="rate2"
-            label="参与度"
+            label="Participation Level"
             min-width="39px"
             align="center"
             ><template slot-scope="scope">
@@ -82,7 +82,7 @@
           >
           <el-table-column
             prop="rate3"
-            label="综合表现"
+            label="Overall Performance"
             min-width="49px"
             align="center"
             ><template slot-scope="scope">
@@ -91,7 +91,7 @@
               </div>
             </template></el-table-column
           >
-          <!-- <el-table-column prop="ratez" label="综合" min-width="29px" align="center"><template slot-scope="scope">
+          <!-- <el-table-column prop="ratez" label="Comprehensive" min-width="29px" align="center"><template slot-scope="scope">
               <div style="color: rgb(233, 140, 148);font-weight: 600">{{ scope.row.ratez }}</div>
             </template></el-table-column> -->
         </el-table>
@@ -121,7 +121,7 @@ export default {
         series: [
           {
             bottom: "10%",
-            name: "学习活动时间分配图",
+            name: "Learning Activity Time Allocation Chart",
             type: "pie",
             radius: [10, "80%"],
             center: ["50%", "50%"],
@@ -135,12 +135,12 @@ export default {
               formatter: "{b}\n{d}%",
             },
             data: [
-              { value: 0, name: "思维网格" },
-              { value: 0, name: "思维导图" },
-              { value: 0, name: "电子白板" },
-              { value: 0, name: "问卷调查" },
-              { value: 0, name: "自主学习" },
-              { value: 0, name: "其他" },
+              { value: 0, name: "Thought Grid" },
+              { value: 0, name: "Mind Map" },
+              { value: 0, name: "Electronic Whiteboard" },
+              { value: 0, name: "Survey" },
+              { value: 0, name: "Independent Study" },
+              { value: 0, name: "Others" },
             ],
           },
         ],
@@ -197,7 +197,7 @@ export default {
                 j < chapters[i].chapterInfo[0].taskJson.length;
                 j++
               ) {
-                // 1、电子白板,3、思维导图,6协同文档,7思维网格 16、作业提交,40.项目-学生互评 41.项目-下拉选择题 42.项目-录音功能
+                // 1、Electronic Whiteboard,3、Mind Map,6协同文档,7Thought Grid 16、作业提交,40.项目-学生互评 41.项目-下拉Multiple Choice Question 42.项目-录音功能
                 let _toolsAarry = [
                   1, 3, 6, 7, 16, 15, 4, 40, 41, 42, 49, 50, 52, 32, 57,
                 ];
@@ -290,7 +290,7 @@ export default {
           var _rate3 = (_rate + _rate1 + _rate2) / 3;
           var _ratez = (_rate + _rate1 + _rate2 + _rate3) / 4;
           this.tdata.push({
-            name: "阶段" + (i + 1),
+            name: "Stage" + (i + 1),
             rate: _rate.toFixed(1),
             rate1: _rate1.toFixed(1),
             rate2: _rate2.toFixed(1),

+ 8 - 8
src/components/pages/components/classStudentComponents/courseRadar.vue

@@ -21,7 +21,7 @@ export default {
       chartObj: null,
       option: {
         // title: {
-        //   text: "项目完成度:各个阶段完成情况",
+        //   text: "项目Completion Rate:各NumberStage Completion Status",
         //   textStyle: {
         //     fontSize: 13,
         //   },
@@ -36,7 +36,7 @@ export default {
           },
         },
         legend: {
-          data: ["个人完成度", "班级平均完成度"],
+          data: ["Individual Completion Rate", "Class Average Completion Rate"],
           top: "bottom",
           icon: "circle",
         },
@@ -59,7 +59,7 @@ export default {
         ],
         series: [
           // {
-          //   name: "个人完成度",
+          //   name: "Individual Completion Rate",
           //   type: "line",
           //   areaStyle: {},
           //   data: [],
@@ -68,7 +68,7 @@ export default {
           //   },
           // },
           // {
-          //   name: "班级平均完成度",
+          //   name: "Class Average Completion Rate",
           //   type: "line",
           //   areaStyle: {},
           //   data: [],
@@ -131,7 +131,7 @@ export default {
                   j < chapters[i].chapterInfo[0].taskJson.length;
                   j++
                 ) {
-                  // 1、电子白板,3、思维导图,6协同文档,7思维网格 16、作业提交,40.项目-学生互评 41.项目-下拉选择题 42.项目-录音功能
+                  // 1、Electronic Whiteboard,3、Mind Map,6协同文档,7Thought Grid 16、作业提交,40.项目-学生互评 41.项目-下拉Multiple Choice Question 42.项目-录音功能
                   let _toolsAarry = [
                     1, 3, 6, 7, 16, 15, 4, 40, 41, 42, 49, 50, 52, 32, 57,
                   ];
@@ -255,7 +255,7 @@ export default {
         this.workJson = newArr;
         // this.workJson[j].workJson[i].allWork
         for (var i = 0; i < this.workJson[0].workJson.length; i++) {
-          _xarray.push("阶段" + (i + 1));
+          _xarray.push("Stage" + (i + 1));
         }
         for (var i = 0; i < this.workJson.length; i++) {
           this.option.series.push({
@@ -271,7 +271,7 @@ export default {
           }
         }
         this.option.series.push({
-          name: "班级平均完成度",
+          name: "Class Average Completion Rate",
           type: "line",
           data: [],
           label: {
@@ -279,7 +279,7 @@ export default {
           },
         });
         for (var i = 0; i < this.option.series.length; i++) {
-          if (this.option.series[i].name == "班级平均完成度") {
+          if (this.option.series[i].name == "Class Average Completion Rate") {
             for (var j = 0; j < this.workJson[0].workJson.length; j++) {
               this.option.series[i].data = this.workJson[0].workJson.map(
                 (item) => {

+ 20 - 20
src/components/pages/components/classStudentComponents/studentAbility.vue

@@ -3,12 +3,12 @@
     <div style="background: #fff; padding: 10px 0; height: 100%">
       <div class="sd_person_button">
         <span @click="setType(2)" :class="{ active: type == 2 }"
-          >个人项目评价</span
+          >Individual Project Assessment</span
         >
         <span @click="setType(1)" :class="{ active: type == 1 }"
-          >课程目标设置</span
+          >Course Objective Setting</span
         >
-        <!-- <span @click="setType(3)" :class="{ active: type == 3 }">其他项目</span> -->
+        <!-- <span @click="setType(3)" :class="{ active: type == 3 }">Others项目</span> -->
       </div>
       <div style="display: flex; width: 100%; height: calc(100% - 50px)">
         <div
@@ -23,7 +23,7 @@
             justify-content: center;
           "
         >
-          <span v-if="!eJson">暂无数据</span>
+          <span v-if="!eJson">No Data Available</span>
         </div>
         <div
           id="person_canvas2"
@@ -40,8 +40,8 @@
           <!-- <div class="box2" v-show="work.length ? true : false">
             <div v-for="(item,index) in work" :key="index" class="target_box">
               <div class="target_task">
-                <span>第{{item.stage+1}}阶段</span>
-                <span>任务{{item.task+1}}</span>
+                <span>No.{{item.stage+1}}Stage</span>
+                <span>Task{{item.task+1}}</span>
               </div>
               <div class="target_content_box">
                 <div v-for="(target,k) in item.work" :key="index+'-'+k"
@@ -56,8 +56,8 @@
 
             </div>
           </div>
-          <span v-show="!work.length ? true : false">暂无数据</span> -->
-          <span v-show="!randarJson.length ? true : false">暂无数据</span>
+          <span v-show="!work.length ? true : false">No Data Available</span> -->
+          <span v-show="!randarJson.length ? true : false">No Data Available</span>
         </div>
       </div>
     </div>
@@ -103,7 +103,7 @@ export default {
       },
       option3: {
         // title: {
-        //   text: "项目活跃度:不同任务的学习时间占比",
+        //   text: "项目Activity Level:Percentage of Study Time per Task",
         //   textStyle: {
         //     fontSize: 13,
         //   },
@@ -126,14 +126,14 @@ export default {
         },
         yAxis: {
           type: "category",
-          data: ["阶段1", "阶段2", "阶段3", "阶段4", "阶段5"],
+          data: ["Stage 1", "Stage 2", "Stage 3", "Stage 4", "Stage 5"],
         },
         legend: {
           show: false,
         },
         series: [
           {
-            name: "任务1",
+            name: "Task 1",
             type: "bar",
             stack: "total",
             label: {
@@ -145,7 +145,7 @@ export default {
             data: [0, 0, 0, 0, 0],
           },
           {
-            name: "任务2",
+            name: "Task 2",
             type: "bar",
             stack: "total",
             label: {
@@ -157,7 +157,7 @@ export default {
             data: [0, 0, 0, 0, 0],
           },
           {
-            name: "任务3",
+            name: "Task 3",
             type: "bar",
             stack: "total",
             label: {
@@ -169,7 +169,7 @@ export default {
             data: [0, 0, 0, 0, 0],
           },
           {
-            name: "任务4",
+            name: "Task 4",
             type: "bar",
             stack: "total",
             label: {
@@ -181,7 +181,7 @@ export default {
             data: [0, 0, 0, 0, 0],
           },
           {
-            name: "任务5",
+            name: "Task 5",
             type: "bar",
             stack: "total",
             label: {
@@ -226,10 +226,10 @@ export default {
             },
           },
           indicator: [
-            // 雷达图的指示器,用来指定雷达图中的多变量(维度)
+            // 雷达图的指示器,用来指定雷达图中的多Number变量(维度)
           ],
         },
-        // 雷达图背景的颜色,在这儿随便设置了一颜色,完全不透明度为0,就实现了透明背景
+        // 雷达图背景的颜色,在这儿随便设置了一Number颜色,完全不透明度为0,就实现了透明背景
         splitArea: {
           show: true,
           areaStyle: {
@@ -245,7 +245,7 @@ export default {
         },
         series: [
           {
-            name: "目标得分占比", // tooltip中的标题
+            name: "Objective Score Percentage", // tooltip中的Title
             type: "radar", // 表示是雷达图
             symbol: "circle", // 拐点的样式,还可以取值'rect','angle'等
             symbolSize: 8, // 拐点的大小
@@ -257,7 +257,7 @@ export default {
             },
             data: [
               {
-                // 设置各指标原始值
+                // 设置各Number指标原始值
                 value: [],
                 // 设置区域边框和区域的颜色
                 itemStyle: {
@@ -542,7 +542,7 @@ export default {
                 j < chapters[i].chapterInfo[0].taskJson.length;
                 j++
               ) {
-                // 1、电子白板,3、思维导图,6协同文档,7思维网格 16、作业提交,40.项目-学生互评 41.项目-下拉选择题 42.项目-录音功能
+                // 1、Electronic Whiteboard,3、Mind Map,6协同文档,7Thought Grid 16、作业提交,40.项目-学生互评 41.项目-下拉Multiple Choice Question 42.项目-录音功能
                 let _toolsAarry = [
                   1, 3, 6, 7, 16, 15, 4, 40, 41, 42, 49, 50, 52, 32, 57,
                 ];

+ 7 - 7
src/components/pages/components/classStudentComponents/studentInfo.vue

@@ -4,23 +4,23 @@
       <img class="si_img" src="@/assets/portal.png" alt="" />
       <div class="si_content">
         <div>
-          <span>姓名:</span><span>{{ userinfo.sName }}</span>
+          <span>Name:</span><span>{{ userinfo.sName }}</span>
         </div>
         <div>
-          <span>账号:</span><span>{{ userinfo.sUserName }}</span>
+          <span>Account:</span><span>{{ userinfo.sUserName }}</span>
         </div>
       </div>
     </div>
     <div class="si_course" v-if="Object.keys(userinfo).length">
-      <div class="si_course_head">课程概况</div>
+      <div class="si_course_head">Course Overview</div>
       <div class="si_course_content">
         <div class="si_course_box">
           <div>{{ ccount }}</div>
-          <div>全部任务</div>
+          <div>All Tasks</div>
         </div>
         <div class="si_course_box">
           <div>{{ iscount }}</div>
-          <div>已完成</div>
+          <div>Completed</div>
         </div>
         <!-- <div class="si_course_box">
           <div>{{ vcount }}</div>
@@ -28,7 +28,7 @@
         </div> -->
         <div class="si_course_box">
           <div>{{ islearn }}</div>
-          <div>待学习</div>
+          <div>To Be Studied</div>
         </div>
       </div>
     </div>
@@ -85,7 +85,7 @@ export default {
                 j < chapters[i].chapterInfo[0].taskJson.length;
                 j++
               ) {
-                // 1、电子白板,3、思维导图,6协同文档,7思维网格 16、作业提交,40.项目-学生互评 41.项目-下拉选择题 42.项目-录音功能
+                // 1、Electronic Whiteboard,3、Mind Map,6协同文档,7Thought Grid 16、作业提交,40.项目-学生互评 41.项目-下拉Multiple Choice Question 42.项目-录音功能
                 let _toolsAarry = [
                   1, 3, 6, 7, 16, 15, 4, 40, 41, 42, 49, 50, 52, 32, 57,
                 ];

+ 107 - 107
src/components/pages/components/classStudentComponents/worksDetail3.vue

@@ -7,7 +7,7 @@
           <div>{{ allWorks.sName }}</div>
         </div>
         <div>{{ allWorks.course }}</div> -->
-        <div>查看作业</div>
+        <div>View Homework</div>
       </div>
       <div class="cBox">
         <div class="pb_left">
@@ -19,11 +19,11 @@
           >
             <div>{{ allWorks.course }}</div>
           </el-tooltip>
-          <div class="ml">目录</div>
+          <div class="ml">Contents</div>
           <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>No.{{ dy.id + 1 }}Stage</div>
                 <div>{{ dy.name }}</div>
               </div>
               <div
@@ -57,7 +57,7 @@
                       }"
                       style="margin: 0"
                     >
-                      任务{{ navIndex + 1 }}
+                      Task{{ navIndex + 1 }}
                     </div>
                     <div
                       class="isWorkCss"
@@ -90,7 +90,7 @@
                 <div class="jdName">
                   <div>
                     {{
-                      "第" + (sin.stage + 1) + "阶段 " + dyList[sin.stage].name
+                      "No." + (sin.stage + 1) + "Stage " + dyList[sin.stage].name
                     }}
                   </div>
                   <div
@@ -102,7 +102,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>
@@ -112,7 +112,7 @@
                         type="primary"
                         size="small"
                         @click="openFile(worksDetail[sIndex].wpptInfo[0])"
-                        >查看文档
+                        >View Document
                       </el-button>
                     </div>
                   </div>
@@ -131,7 +131,7 @@
                       "
                       style="float: right; margin-right: 10px"
                     >
-                      评分:{{
+                      Grading:{{
                         worksDetail[sIndex].img[worksDetail[sIndex].imgIndex]
                           .score
                       }}
@@ -179,7 +179,7 @@
                         />
                       </div>
                     </div>
-                    <div class="work_nopicture" v-else>暂无上传截图</div>
+                    <div class="work_nopicture" v-else>No Screenshots Uploaded</div>
                   </div>
                   <div
                     class="left_top"
@@ -189,7 +189,7 @@
                       v-if="worksDetail[sIndex].answerInfo[0].score"
                       style="float: right; margin-right: 10px"
                     >
-                      评分:{{ worksDetail[sIndex].answerInfo[0].score }}
+                      Grading:{{ worksDetail[sIndex].answerInfo[0].score }}
                     </div>
                     <div
                       class="a_add_title"
@@ -202,10 +202,10 @@
                         margin-bottom: 10px;
                       "
                     >
-                      <div style="font-size: 16px">问答工具</div>
+                      <div style="font-size: 16px">Q&A Tool</div>
                     </div>
                     <div class="answerbox">
-                      <div style="min-width: 80px">问答标题</div>
+                      <div style="min-width: 80px">Q&A Title</div>
                       <div>
                         {{
                           worksDetail[sIndex].answerInfo[0].answerInfo
@@ -214,7 +214,7 @@
                       </div>
                     </div>
                     <div class="answerbox1">
-                      <div style="min-width: 60px">学生回答</div>
+                      <div style="min-width: 60px">Student's Answer</div>
                       <div>
                         {{
                           worksDetail[sIndex].answerInfo[0].answerInfo.answer
@@ -231,7 +231,7 @@
                         v-if="worksDetail[sIndex].askInfo[0].score"
                         style="float: right; margin-right: 10px"
                       >
-                        评分:{{ worksDetail[sIndex].askInfo[0].score }}
+                        Grading:{{ worksDetail[sIndex].askInfo[0].score }}
                       </div>
                       <div
                         class="a_add_title"
@@ -243,7 +243,7 @@
                           flex-wrap: wrap;
                         "
                       >
-                        <div style="font-size: 16px">问卷工具</div>
+                        <div style="font-size: 16px">Survey Tool</div>
                       </div>
                       <div
                         class="a_add_title"
@@ -255,7 +255,7 @@
                           flex-wrap: wrap;
                         "
                       >
-                        <div style="margin-right: 20px">标题:</div>
+                        <div style="margin-right: 20px">Title:</div>
                         <div style="font-size: 20px">
                           {{
                             worksDetail[sIndex].askInfo[0].askInfo.askJson
@@ -264,7 +264,7 @@
                         </div>
                       </div>
                       <div class="a_addBox">
-                        <div style="font-size: 16px; color: #c7c7c7">内容</div>
+                        <div style="font-size: 16px; color: #c7c7c7">Content</div>
                         <div
                           :class="
                             worksDetail[sIndex].askInfo.length > 1
@@ -279,7 +279,7 @@
                             <div style="display: flex">
                               {{ index1 + 1 + "、" }}
                               <div>
-                                题目:{{
+                                Question:{{
                                   worksDetail[sIndex].askInfo[0].askInfo.askJson
                                     .askJson[index1].askstitle
                                 }}
@@ -351,7 +351,7 @@
                         v-if="worksDetail[sIndex].chooseInfo[0].score"
                         style="float: right; margin-right: 10px"
                       >
-                        评分:{{ worksDetail[sIndex].chooseInfo[0].score }}
+                        Grading:{{ worksDetail[sIndex].chooseInfo[0].score }}
                       </div>
                       <div
                         class="a_add_title"
@@ -363,11 +363,11 @@
                           flex-wrap: wrap;
                         "
                       >
-                        <div style="font-size: 16px">选择题工具</div>
+                        <div style="font-size: 16px">Multiple Choice Tool</div>
                       </div>
                       <div class="a_addBox">
                         <div style="font-size: 16px; color: #c7c7c7">
-                          题目内容
+                          Question Content
                         </div>
                         <div
                           :class="
@@ -383,7 +383,7 @@
                             <div style="display: flex">
                               {{ index1 + 1 + "、" }}
                               <div>
-                                题目:{{
+                                Question:{{
                                   worksDetail[sIndex].chooseInfo[0].chooseInfo
                                     .testJson[index1].teststitle
                                 }}
@@ -501,7 +501,7 @@
                       v-if="worksDetail[sIndex].wpptInfo[0].score"
                       style="float: right; margin-right: 10px"
                     >
-                      评分:{{ worksDetail[sIndex].wpptInfo[0].score }}
+                      Grading:{{ worksDetail[sIndex].wpptInfo[0].score }}
                     </div>
                     <div
                       style="height: 238px"
@@ -543,7 +543,7 @@
                         v-if="worksDetail[sIndex].pjInfo[0].score"
                         style="float: right; margin-right: 10px"
                       >
-                        评分:{{ worksDetail[sIndex].pjInfo[0].score }}
+                        Grading:{{ worksDetail[sIndex].pjInfo[0].score }}
                       </div>
                       <div
                         class="a_add_title"
@@ -555,7 +555,7 @@
                           flex-wrap: wrap;
                         "
                       >
-                        <div style="font-size: 16px">个人评价工具</div>
+                        <div style="font-size: 16px">Personal Evaluation Tool</div>
                       </div>
                       <div class="evalCss">
                         <div
@@ -597,7 +597,7 @@
                               v-model="
                                 worksDetail[sIndex].pjInfo[0].answer.eBzText
                               "
-                              placeholder="请输入评价内容..."
+                              placeholder="Please enter evaluation content..."
                             ></textarea>
                           </div>
                         </div>
@@ -612,7 +612,7 @@
                       v-if="worksDetail[sIndex].xztkInfo[0].score"
                       style="float: right; margin-right: 10px"
                     >
-                      评分:{{ worksDetail[sIndex].xztkInfo[0].score }}
+                      Grading:{{ worksDetail[sIndex].xztkInfo[0].score }}
                     </div>
                     <div
                       class="a_add_title"
@@ -624,7 +624,7 @@
                         flex-wrap: wrap;
                       "
                     >
-                      <div style="font-size: 16px">选择填空工具</div>
+                      <div style="font-size: 16px">Fill in the Blanks Tool</div>
                     </div>
                     <div class="select_box2_box">
                       <div class="select_box2_img">
@@ -656,7 +656,7 @@
                                   checkIndex
                                 ]
                               "
-                              placeholder="请选择正确答案"
+                              placeholder="Please select the correct answer"
                             >
                               <el-option
                                 v-for="(e, eIndex) in worksDetail[sIndex]
@@ -684,9 +684,9 @@
                               "
                               style="color: #767de1"
                             >
-                              回答正确
+                              Answer is correct
                             </div>
-                            <div v-else>回答错误</div>
+                            <div v-else>Answer is incorrect</div>
                             <div
                               style="margin-left: 10px"
                               v-if="
@@ -695,7 +695,7 @@
                                 ] !== a
                               "
                             >
-                              正确答案:
+                              Correct answer:
                             </div>
                             <div
                               :class="
@@ -725,7 +725,7 @@
                         v-if="worksDetail[sIndex].lccjInfo[0].score"
                         style="float: right; margin-right: 10px"
                       >
-                        评分:{{ worksDetail[sIndex].lccjInfo[0].score }}
+                        Grading:{{ worksDetail[sIndex].lccjInfo[0].score }}
                       </div>
                       <div
                         class="a_add_title"
@@ -737,7 +737,7 @@
                           flex-wrap: wrap;
                         "
                       >
-                        <div style="font-size: 16px">连词成句工具</div>
+                        <div style="font-size: 16px">Sentence Formation Tool</div>
                       </div>
                       <div
                         v-for="(st, stIndex) in worksDetail[sIndex].lccjInfo"
@@ -745,7 +745,7 @@
                         style="padding-bottom: 20px"
                       >
                         <div style="padding: 15px 0 10px 20px; font-size: 20px">
-                          第{{ stIndex + 1 }}题
+                          No.{{ stIndex + 1 }}Question
                         </div>
                         <div class="isWrong">
                           <div
@@ -770,7 +770,7 @@
                               </div>
                             </div>
                             <div class="cardAnswerBox">
-                              组成句子:{{
+                              Form a sentence:{{
                                 st.lccjInfo.chooseSenList.join(" ")
                               }}
                             </div>
@@ -788,7 +788,7 @@
                                 alt=""
                               />
                             </div>
-                            <div>回答正确</div>
+                            <div>Answer is correct</div>
                           </div>
                           <div
                             class="answerRight isTj"
@@ -803,7 +803,7 @@
                                 alt=""
                               />
                             </div>
-                            <div>回答错误</div>
+                            <div>Answer is incorrect</div>
                           </div>
                         </div>
                         <div
@@ -813,7 +813,7 @@
                           "
                         >
                           <div style="padding: 15px 0 10px 20px">
-                            正确答案如下:
+                            The correct answer is as follows:
                           </div>
                           <div
                             class="cardList"
@@ -842,7 +842,7 @@
                               </div>
                             </div>
                             <div class="cardAnswerBox">
-                              组成句子:{{ st.lccjInfo.rightAnswer.join(" ") }}
+                              Form a sentence:{{ st.lccjInfo.rightAnswer.join(" ") }}
                             </div>
                           </div>
                         </div>
@@ -857,7 +857,7 @@
                       v-if="worksDetail[sIndex].bgInfo[0].score"
                       style="float: right; margin-right: 10px"
                     >
-                      评分:{{ worksDetail[sIndex].bgInfo[0].score }}
+                      Grading:{{ worksDetail[sIndex].bgInfo[0].score }}
                     </div>
                     <div
                       class="a_add_title"
@@ -870,7 +870,7 @@
                         margin-bottom: 10px;
                       "
                     >
-                      <div style="font-size: 16px">表格工具</div>
+                      <div style="font-size: 16px">Table Tool</div>
                     </div>
                     <el-form>
                       <div
@@ -887,7 +887,7 @@
                       v-if="worksDetail[sIndex].cocopiInfo[0].score"
                       style="float: right; margin-right: 10px"
                     >
-                      评分:{{ worksDetail[sIndex].cocopiInfo[0].score }}
+                      Grading:{{ worksDetail[sIndex].cocopiInfo[0].score }}
                     </div>
                     <div
                       class="a_add_title"
@@ -899,7 +899,7 @@
                         flex-wrap: wrap;
                       "
                     >
-                      <div style="font-size: 16px">cocopi工具</div>
+                      <div style="font-size: 16px">Cocopi Tool</div>
                     </div>
                     <div
                       v-for="(c, cIndex) in worksDetail[sIndex].cocopiInfo"
@@ -923,7 +923,7 @@
                         "
                       >
                         <el-button type="primary" size="small"
-                          >全屏查看</el-button
+                          >Full Screen View</el-button
                         >
                       </div>
                       <div v-if="c.type == 2">
@@ -954,7 +954,7 @@
                       v-if="worksDetail[sIndex].wordInfo[0].score"
                       style="float: right; margin-right: 10px"
                     >
-                      评分:{{ worksDetail[sIndex].wordInfo[0].score }}
+                      Grading:{{ worksDetail[sIndex].wordInfo[0].score }}
                     </div>
                     <div
                       class="a_add_title"
@@ -967,7 +967,7 @@
                         margin-bottom: 10px;
                       "
                     >
-                      <div style="font-size: 16px">文档工具</div>
+                      <div style="font-size: 16px">Document Tool</div>
                     </div>
                     <el-form>
                       <div
@@ -1018,7 +1018,7 @@
                 "
               >
                 <div class="worksTime">
-                  作业提交时间:<span style="width: auto"
+                  Homework Submission Time:<span style="width: auto"
                     >{{ worksDetail[sIndex].time }}
                   </span>
                 </div>
@@ -1034,7 +1034,7 @@
                   <div
                     style="font-size: 16px; color: #c7c7c7; margin-left: 15px"
                   >
-                    题目统计
+                    Question Statistics
                   </div>
                   <div class="xuan_right_box">
                     <div
@@ -1047,7 +1047,7 @@
                         <span>{{ tIndex + 1 + "、" + tItem.teststitle }}</span>
                       </div>
                       <div class="right_box_xuan">
-                        <span>正确率</span>
+                        <span>Accuracy Rate</span>
                         <span>{{
                           (checkJson[sIndex][tIndex].right
                             ? checkJson[sIndex][tIndex].right
@@ -1057,7 +1057,7 @@
                     </div>
                   </div>
                   <div class="allRightBox">
-                    <span>全部道题的正确率:</span
+                    <span>Overall Accuracy Rate for All Questions:</span
                     ><span>{{ checkJson[sIndex].allRight + "%" }}</span>
                   </div>
                 </div>
@@ -1108,7 +1108,7 @@
       <img width="100%" :src="dialogImageUrl" alt />
     </el-dialog>
     <el-dialog
-      title="课程评分"
+      title="课程Grading"
       :visible.sync="dataVisible"
       :append-to-body="true"
       width="1100px"
@@ -1121,11 +1121,11 @@
         </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="查看选择题"
+      title="View Multiple Choice Questions"
       :visible.sync="dialogVisible4"
       :append-to-body="true"
       width="800px"
@@ -1145,7 +1145,7 @@
           <div style="font-size: 20px">{{ askJson.askTitle }}</div>
         </div>
         <div class="a_addBox">
-          <div style="font-size: 16px; color: #c7c7c7">内容</div>
+          <div style="font-size: 16px; color: #c7c7c7">Content</div>
           <div
             class="a_add_box"
             v-for="(item, index) in askJson.askJson"
@@ -1154,7 +1154,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">
@@ -1176,12 +1176,12 @@
       </div>
       <span slot="footer" class="dialog-footer">
         <el-button type="primary" @click="dialogVisible4 = false"
-          >关 闭</el-button
+          >Close</el-button
         >
       </span>
     </el-dialog>
     <el-dialog
-      title="文件预览"
+      title="File Preview"
       :visible.sync="dialogVisible6"
       width="100%"
       :before-close="handleClose"
@@ -1189,7 +1189,7 @@
       :append-to-body="true"
     >
       <div slot="title" class="header-title">
-        <div style="color: #fff">文件预览</div>
+        <div style="color: #fff">File Preview</div>
       </div>
       <pdf
         v-if="showPDF"
@@ -1232,7 +1232,7 @@ export default {
       full: false,
       isStar: 0,
       studentInfo: {},
-      courseByUser: "诗词中的植物",
+      courseByUser: "Plants in Poetry",
       userName: "林点",
       answerName: "宿赞公房",
       studentAnswer: "雨荒深院菊,霜倒半池莲.唐杜甫《宿赞公房》",
@@ -1246,7 +1246,7 @@ export default {
         loop: false, // 导致视频一结束就重新开始。
         preload: "auto", // 建议浏览器在<video>加载元素后是否应该开始下载视频数据。auto浏览器选择最佳行为,立即开始加载视频(如果浏览器支持)
         language: "zh-CN",
-        aspectRatio: "16:9", // 将播放器置于流畅模式,并在计算播放器的动态大小时使用该值。值应该代表一个比例 - 用冒号分隔的两个数字(例如"16:9"或"4:3")
+        aspectRatio: "16:9", // 将播放器置于流畅模式,并在计算播放器的动态大小时使用该值。值应该代表一Number比例 - 用冒号分隔的两Number数字(例如"16:9"或"4:3")
         fluid: true, // 当true时,Video.js player将拥有流体大小。换句话说,它将按比例缩放以适应其容器。
         sources: [
           {
@@ -1256,7 +1256,7 @@ export default {
         ],
         // poster: require("../../../assets/tu31.png"), //你的封面地址
         // poster: dataRes.imgUrl, //你的封面地址
-        notSupportedMessage: "此视频暂无法播放,请稍后再试", //允许覆盖Video.js无法播放媒体源时显示的默认信息。
+        notSupportedMessage: "This video is currently unavailable, please try again later", //允许覆盖Video.js无法播放媒体源时显示的默认信息。
         controlBar: {
           timeDivider: true, //当前时间和持续时间的分隔符
           durationDisplay: true, //显示持续时间
@@ -1268,7 +1268,7 @@ export default {
       commentName: "谭子松",
       commentTime: "2021/2/5",
       commentAnswer:
-        "作为家长我很高兴看到孩子的进步,希望这个进步只是一个开始,在新学期能够继续延续,这样才能不负老师的期望",
+        "As a parent, I am pleased to see my child's progress. I hope this progress is just a beginning and it continues into the new semester, so as not to disappoint the teacher's expectations",
       stageIndex: "",
       taskCount: "",
       navId: "",
@@ -1310,16 +1310,16 @@ export default {
         },
         series: [
           {
-            name: "量规评分",
+            name: "Assessment Scoring",
             type: "pie",
             radius: "70%",
             center: ["50%", "50%"],
             data: [
-              { value: 0, name: "意识能力" },
-              { value: 0, name: "科学探究能力" },
-              { value: 0, name: "实践创新能力" },
-              { value: 0, name: "学习反思能力" },
-              { value: 0, name: "工程思维能力" },
+              { value: 0, name: "Awareness Skills" },
+              { value: 0, name: "Scientific Inquiry Skills" },
+              { value: 0, name: "Practical Innovation Skills" },
+              { value: 0, name: "Learning Reflection Ability" },
+              { value: 0, name: "Engineering Thinking Skills" },
             ],
             itemStyle: {
               emphasis: {
@@ -1373,10 +1373,10 @@ export default {
             },
           },
           indicator: [
-            // 雷达图的指示器,用来指定雷达图中的多变量(维度)
+            // 雷达图的指示器,用来指定雷达图中的多Number变量(维度)
           ],
         },
-        // 雷达图背景的颜色,在这儿随便设置了一颜色,完全不透明度为0,就实现了透明背景
+        // 雷达图背景的颜色,在这儿随便设置了一Number颜色,完全不透明度为0,就实现了透明背景
         splitArea: {
           show: true,
           areaStyle: {
@@ -1392,7 +1392,7 @@ export default {
         },
         series: [
           {
-            name: "能力图", // tooltip中的标题
+            name: "Ability Chart", // tooltip中的Title
             type: "radar", // 表示是雷达图
             symbol: "circle", // 拐点的样式,还可以取值'rect','angle'等
             symbolSize: 8, // 拐点的大小
@@ -1404,7 +1404,7 @@ export default {
             },
             data: [
               {
-                // 设置各指标原始值
+                // 设置各Number指标原始值
                 value: [],
                 // 设置区域边框和区域的颜色
                 itemStyle: {
@@ -1527,7 +1527,7 @@ export default {
           var answerInfo = res.data[4];
           var pptInfo = res.data[5];
           var chooseInfo = res.data[6];
-          var pjInfo = res.data[7]; //人评价作业
+          var pjInfo = res.data[7]; //Number人评价作业
           var xztkInfo = res.data[8]; //选择填空作业
           var lccjInfo = res.data[9]; //连词成句作业
           var bgInfo = res.data[10]; //表格作业
@@ -2014,12 +2014,12 @@ export default {
             var x_parts = x.stagetask.split("-");
             var y_parts = y.stagetask.split("-");
 
-            // 首先比较第一个数字
+            // 首先比较No.一Number数字
             if (x_parts[0] !== y_parts[0]) {
               return parseInt(x_parts[0]) - parseInt(y_parts[0]);
             }
 
-            // 如果第一个数字相同,则比较第二个数字
+            // 如果No.一Number数字相同,则比较No.二Number数字
             return parseInt(x_parts[1]) - parseInt(y_parts[1]);
           });
           result = resultNewArray;
@@ -2426,17 +2426,17 @@ export default {
           // // this.uploadBoolean = false;
           // if (k == this.worksDetail.length - 1) {
           //   this.$message({
-          //     message: "评价成功",
+          //     message: "Evaluation Successful",
           //     type: "success",
           //   });
           // }
           this.$message({
-            message: "评价成功",
+            message: "Evaluation Successful",
             type: "success",
           });
         })
         .catch((err) => {
-          this.$message.error("评价失败");
+          this.$message.error("Evaluation Failed");
           console.error(err);
         });
     },
@@ -2481,11 +2481,11 @@ export default {
             chapters[this.sInfo.stage].chapterInfo[0].taskJson[this.sInfo.task]
               .eList;
           //           ooption: [
-          //   { value: 0, name: "意识能力" },
-          //   { value: 0, name: "科学探究能力" },
-          //   { value: 0, name: "实践创新能力" },
-          //   { value: 0, name: "学习反思能力" },
-          //   { value: 0, name: "工程思维能力" },
+          //   { value: 0, name: "Awareness Skills" },
+          //   { value: 0, name: "Scientific Inquiry Skills" },
+          //   { value: 0, name: "Practical Innovation Skills" },
+          //   { value: 0, name: "Learning Reflection Ability" },
+          //   { value: 0, name: "Engineering Thinking Skills" },
           // ],
           var _ooption = [];
           if (eList) {
@@ -2498,11 +2498,11 @@ export default {
             this.ooption = _ooption;
           } else {
             workJson.eList = [
-              { value: "意识能力", detail: "", score: 5 },
-              { value: "科学探究能力", detail: "", score: 5 },
-              { value: "实践创新能力", detail: "", score: 5 },
-              { value: "学习反思能力", detail: "", score: 5 },
-              { value: "工程思维能力", detail: "", score: 5 },
+              { value: "Awareness Skills", detail: "", score: 5 },
+              { value: "Scientific Inquiry Skills", detail: "", score: 5 },
+              { value: "Practical Innovation Skills", detail: "", score: 5 },
+              { value: "Learning Reflection Ability", detail: "", score: 5 },
+              { value: "Engineering Thinking Skills", detail: "", score: 5 },
             ];
             for (var i = 0; i < workJson.eList.length; i++) {
               _ooption.push({ value: 0, name: workJson.eList[i].value });
@@ -2510,11 +2510,11 @@ export default {
             }
             workJson.rateList.content = "";
             this.ooption = [
-              { value: 0, name: "意识能力" },
-              { value: 0, name: "科学探究能力" },
-              { value: 0, name: "实践创新能力" },
-              { value: 0, name: "学习反思能力" },
-              { value: 0, name: "工程思维能力" },
+              { value: 0, name: "Awareness Skills" },
+              { value: 0, name: "Scientific Inquiry Skills" },
+              { value: 0, name: "Practical Innovation Skills" },
+              { value: 0, name: "Learning Reflection Ability" },
+              { value: 0, name: "Engineering Thinking Skills" },
             ];
           }
           if (this.sInfo.rate) {
@@ -2562,14 +2562,14 @@ export default {
           var _course = `<h1>${this.sInfo.course}</h1>`;
           var _title =
             "<h2>" +
-            "" +
+            "No." +
             (this.sInfo.stage + 1) +
-            "阶段 " +
+            "Stage " +
             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 +
@@ -2594,15 +2594,15 @@ export default {
 
           var _ask = "";
           if (workJson.askInfo.length > 0) {
-            var _ask = "<h3>选择题</h3>";
+            var _ask = "<h3>Multiple 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}题:${
+                _div2.innerHTML = `<h5>No.${j + 1}Question:${
                   workJson.askInfo[i].askJson[j].askstitle
-                }  选择:${workJson.askInfo[i].radio[j] + 1}</h5> `;
+                }  Selection:${workJson.askInfo[i].radio[j] + 1}</h5> `;
                 var _div3 = document.createElement("div");
                 for (
                   var z = 0;
@@ -2622,10 +2622,10 @@ export default {
 
           var _answer = "";
           if (workJson.answerInfo.length > 0) {
-            var _answer = "<h3>问答</h3>";
+            var _answer = "<h3>Q&A</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>Q&A:${workJson.answerInfo[i].answerTitle}</h4>`;
               _div.innerHTML += `<div>${workJson.answerInfo[i].answer}</div>`;
               _answer += `<div>${_div.innerHTML}</div>`;
             }
@@ -2652,7 +2652,7 @@ export default {
     },
     openTask(s, i, dyi, navi) {
       if (!this.dyList2[dyi].taskList[navi].isWork) {
-        this.$message.warning("该任务暂时没提交作业");
+        this.$message.warning("该Task暂时没提交作业");
       } else {
         var a = s + "-" + i;
         var b = document.getElementById(a);
@@ -2673,7 +2673,7 @@ export default {
           <meta charset="UTF-8">
           <meta http-equiv="X-UA-Compatible" content="IE=edge">
           <meta name="viewport" content="width=device-width, initial-scale=1.0">
-          <title>报告</title>
+          <title>Report</title>
       </head>
       <body>
       ${this.$store.state.report}
@@ -2683,7 +2683,7 @@ export default {
       // 生成报告
       const link = document.createElement("a");
       let dname = this.sInfo.course + "-" + this.sInfo.sName + ".html";
-      // link.download = "报告.html"; // 文件名
+      // link.download = "Report.html"; // 文件名
       link.download = dname; // 文件名
       link.style.display = "none";
       // 创建文件流
@@ -2700,7 +2700,7 @@ export default {
       //     orientation: "landscape", //跨域设置
       //   }),
       //   //文件名
-      //   "报告.doc"
+      //   "Report.doc"
       // );
     },
   },

+ 6 - 6
src/components/pages/components/classStudentReport.vue

@@ -1,11 +1,11 @@
 <template>
   <div style="width: 100%; height: 100%">
-    <div class="sr_head">学生成长报告</div>
+    <div class="sr_head">Student Growth Report</div>
     <div class="sr_body">
       <div class="sr_box">
         <div class="sr_first">
           <div class="first">
-            <div class="sub_title"><span>学生基本信息</span></div>
+            <div class="sub_title"><span>Student Basic Information</span></div>
             <StudentInfo
               class="r_box"
               :userid="checkStudent"
@@ -13,13 +13,13 @@
             ></StudentInfo>
           </div>
           <div class="second">
-            <div class="sub_title"><span>项目基本信息</span></div>
+            <div class="sub_title"><span>Project Basic Information</span></div>
             <CourseInfo class="r_box" :courseid="courseid"></CourseInfo>
           </div>
         </div>
         <div class="sr_second">
           <div class="first">
-            <div class="sub_title"><span>学生综合能力评估</span></div>
+            <div class="sub_title"><span>Student Comprehensive Ability Assessment</span></div>
             <StudentAbility
               class="r_box"
               :userid="checkStudent"
@@ -33,7 +33,7 @@
         </div>
         <div class="sr_third">
           <div class="first">
-            <div class="sub_title"><span>阶段完成情况</span></div>
+            <div class="sub_title"><span>Stage Completion Status</span></div>
             <CourseRadar
               class="r_box"
               :userid="checkStudent"
@@ -41,7 +41,7 @@
             ></CourseRadar>
           </div>
           <div class="second">
-            <div class="sub_title"><span>阶段评价平均分</span></div>
+            <div class="sub_title"><span>Stage Evaluation Average Score</span></div>
             <CoursePie
               class="r_box"
               :userid="checkStudent"

+ 19 - 19
src/components/pages/components/courseCase.vue

@@ -7,12 +7,12 @@
                     <span style="font-size:26px">{{ data.school }}</span>
                 </div>
                 <div class="c_top_box">
-                    <span>教师:</span><span>{{ data.username }}</span>
+                    <span>Teacher:</span><span>{{ data.username }}</span>
                 </div>
             </div>
         </div>
         <div class="c_box" v-for="(item, index) in data.course" :key="index">
-            <div class="c_title"><b>课程名称:</b>{{ item.title }}</div>
+            <div class="c_title"><b>Course Name:</b>{{ item.title }}</div>
             <div class="line_box">
                 <div :class="'line' + index"></div>
                 <div :class="'line' + index"></div>
@@ -30,7 +30,7 @@ export default {
         return {
             option: {
                 title: {
-                    text: '阶段总数',
+                    text: 'Total Stages',
                 },
                 tooltip: {
                     trigger: 'axis',
@@ -41,7 +41,7 @@ export default {
                 },
                 xAxis: {
                     type: 'category',
-                    data: ['任务', '工具', '评价']
+                    data: ['Task', 'Tools', 'Evaluation']
                 },
                 yAxis: {
                     type: 'value'
@@ -62,7 +62,7 @@ export default {
             },
             option2: {
                 title: {
-                    text: '各个阶段总数',
+                    text: 'Total Number of Each Stage',
                 },
                 tooltip: {
                     trigger: 'axis',
@@ -82,7 +82,7 @@ export default {
                 },
                 series: [
                     {
-                        name: '任务',
+                        name: 'Task',
                         type: 'bar',
                         stack: 'total',
                         label: {
@@ -94,7 +94,7 @@ export default {
                         data: []
                     },
                     {
-                        name: '工具',
+                        name: 'Tools',
                         type: 'bar',
                         stack: 'total',
                         label: {
@@ -106,7 +106,7 @@ export default {
                         data: []
                     },
                     {
-                        name: '评价',
+                        name: 'Evaluation',
                         type: 'bar',
                         stack: 'total',
                         label: {
@@ -133,12 +133,12 @@ export default {
             },
             option3: {
                 title: {
-                    text: '工具占比',
+                    text: 'Tool Proportion',
                 },
                 tooltip: {
                     trigger: 'item',
                     formatter: (params) => {
-                        // marker 为一HTML标签
+                        // marker 为一NumberHTML标签
                         var res = params.marker + params.name + ":" + params.value + "%";
                         return res;
                     },
@@ -150,7 +150,7 @@ export default {
                 grid: {},
                 series: [
                     {
-                        name: "工具占比",
+                        name: "Tool Proportion",
                         type: "pie",
                         // radius: [10, "80%"],
                         center: ["50%", "50%"],
@@ -160,13 +160,13 @@ export default {
                             formatter: "{b}\n{d}%",
                         },
                         data: [
-                            { value: 0, name: "思维网格" },
-                            { value: 0, name: "思维导图" },
-                            { value: 0, name: "电子白板" },
-                            { value: 0, name: "选择题" },
-                            { value: 0, name: "问卷调查" },
-                            { value: 0, name: "提交作业" },
-                            { value: 0, name: "其他" },
+                            { value: 0, name: "Thought Grid" },
+                            { value: 0, name: "Mind Map" },
+                            { value: 0, name: "Electronic Whiteboard" },
+                            { value: 0, name: "Multiple Choice Question" },
+                            { value: 0, name: "Survey" },
+                            { value: 0, name: "Submit Homework" },
+                            { value: 0, name: "Others" },
                         ],
                     },
                 ],
@@ -225,7 +225,7 @@ export default {
 
                     let b = JSON.parse(JSON.stringify(this.option2))
                     for (var j = 0; j < el.jd.length; j++) {
-                        b.yAxis.data.push('阶段' + (j + 1))
+                        b.yAxis.data.push('Stage' + (j + 1))
                         b.series[0].data.push(el.jd[j].taskC)
                         b.series[1].data.push(el.jd[j].toolC)
                         b.series[2].data.push(el.jd[j].evalC)

+ 9 - 9
src/components/pages/components/courseProblem.vue

@@ -15,13 +15,13 @@
         :row-class-name="tableRowClassName"
         :header-cell-style="{ background: 'rgb(238,238,238)' }"
       >
-        <el-table-column prop="courseName" label="课程" min-width="25" show-overflow-tooltip></el-table-column>
-        <el-table-column prop="classname" label="章节" min-width="20" show-overflow-tooltip></el-table-column>
-        <el-table-column prop="name" label="姓名" min-width="15" show-overflow-tooltip></el-table-column>
-        <el-table-column prop="time" label="时间" min-width="20"></el-table-column>
-        <el-table-column label="操作" min-width="10">
+        <el-table-column prop="courseName" label="Course" min-width="25" show-overflow-tooltip></el-table-column>
+        <el-table-column prop="classname" label="Chapter" min-width="20" show-overflow-tooltip></el-table-column>
+        <el-table-column prop="name" label="Name" min-width="15" show-overflow-tooltip></el-table-column>
+        <el-table-column prop="time" label="Time" min-width="20"></el-table-column>
+        <el-table-column label="Actions" min-width="10">
           <template slot-scope="scope">
-            <el-button type="primary" size="small" @click="checkProblem(scope.row)">查看</el-button>
+            <el-button type="primary" size="small" @click="checkProblem(scope.row)">View</el-button>
           </template>
         </el-table-column>
       </el-table>
@@ -36,7 +36,7 @@
       </div>
     </div>
     <el-dialog
-      title="查看提问详情"
+      title="View Question Details"
       :visible.sync="dialogVisible"
       :append-to-body="true"
       width="500px"
@@ -49,7 +49,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>
@@ -112,7 +112,7 @@ export default {
     handleCurrentChange(val) {
       this.page = val;
       this.getData();
-      console.log(`当前页: ${val}`);
+      console.log(`Current Page: ${val}`);
     },
     handleClose(done) {
       done();

+ 10 - 10
src/components/pages/components/courseReport.vue

@@ -3,9 +3,9 @@
     <div class="search">
       <div class="sxBox">
         <div class="student_search">
-          <div>班级筛选</div>
+          <div>Class Filter</div>
           <el-select v-model="classChoose" @change="searchStudent">
-            <el-option label="全部" value="">全部</el-option>
+            <el-option label="All" value="">All</el-option>
             <el-option
               v-for="(c, cIndex) in classJuri"
               :key="cIndex"
@@ -15,9 +15,9 @@
           </el-select>
         </div>
         <div class="student_search">
-          <div>课程筛选</div>
+          <div>Course Filter</div>
           <el-select v-model="courseChoose" @change="searchStudent">
-            <el-option label="全部" value="">全部</el-option>
+            <el-option label="All" value="">All</el-option>
             <el-option
               v-for="(c, cIndex) in courseJuri"
               :key="cIndex"
@@ -31,9 +31,9 @@
         <div class="searchImg">
           <img src="../../../assets/icon/search.png" alt="" />
         </div>
-        <el-input v-model="sName" placeholder="请输入学生姓名或账号"></el-input>
+        <el-input v-model="sName" placeholder="Please enter the student's name or account number"></el-input>
         <el-button size="mini" type="primary" @click="searchStudent"
-          >查询</el-button
+          >Search</el-button
         >
       </div>
     </div>
@@ -44,22 +44,22 @@
       style="width: 100%"
       :row-class-name="tableRowClassName"
     >
-      <el-table-column prop="cName" align="center" label="班级" min-width="25%">
+      <el-table-column prop="cName" align="center" label="Class" min-width="25%">
       </el-table-column>
       <el-table-column
         prop="course"
         align="center"
-        label="课程"
+        label="Course"
         min-width="25%"
       >
       </el-table-column>
-      <el-table-column label="操作" align="center" min-width="25%">
+      <el-table-column label="Actions" align="center" min-width="25%">
         <template slot-scope="scope">
           <el-button
             size="mini"
             type="primary"
             @click="getUserid(scope.row.id, scope.row.courseid)"
-            >报告</el-button
+            >Report</el-button
           >
         </template>
       </el-table-column>

+ 1 - 1
src/components/pages/components/data/problelmData.vue

@@ -1,7 +1,7 @@
 <template>
   <div class="data_body">
     <div class="title">
-      <span>问答数量</span>
+      <span>Number of Questions and Answers</span>
     </div>
     <div style="width: 100%">
       <!-- <img src="../../assets/dataimage/1.png" style="width:90%" /> -->

+ 18 - 18
src/components/pages/components/data/scoreData.vue

@@ -1,7 +1,7 @@
 <template>
   <div class="data_body">
     <div class="title">
-      <span>量规评分</span>
+      <span>Assessment Scoring</span>
     </div>
     <div style="width: 100%">
       <!-- <img src="../../assets/dataimage/1.png" style="width:90%" /> -->
@@ -21,11 +21,11 @@ export default {
     return {
       chartObj: null,
       ooption: [
-        { value: 0, name: "意识能力" },
-        { value: 0, name: "科学探究能力" },
-        { value: 0, name: "实践创新能力" },
-        { value: 0, name: "学习房媳能力" },
-        { value: 0, name: "工程思维能力" },
+        { value: 0, name: "Awareness Skills" },
+        { value: 0, name: "Scientific Inquiry Skills" },
+        { value: 0, name: "Practical Innovation Skills" },
+        { value: 0, name: "Learning Reflection Ability" },
+        { value: 0, name: "Engineering Thinking Skills" },
       ],
       option: {
         tooltip: {
@@ -33,16 +33,16 @@ export default {
         },
         series: [
           {
-            name: "量规评分",
+            name: "Assessment Scoring",
             type: "pie",
             radius: "70%",
             center: ["50%", "50%"],
             data: [
-              { value: 0, name: "意识能力" },
-              { value: 0, name: "科学探究能力" },
-              { value: 0, name: "实践创新能力" },
-              { value: 0, name: "学习房媳能力" },
-              { value: 0, name: "工程思维能力" },
+              { value: 0, name: "Awareness Skills" },
+              { value: 0, name: "Scientific Inquiry Skills" },
+              { value: 0, name: "Practical Innovation Skills" },
+              { value: 0, name: "Learning Reflection Ability" },
+              { value: 0, name: "Engineering Thinking Skills" },
             ],
             itemStyle: {
               emphasis: {
@@ -88,11 +88,11 @@ export default {
   watch: {
     scoreJson(val) {
       this.ooption = [
-        { value: 0, name: "意识能力" },
-        { value: 0, name: "科学探究能力" },
-        { value: 0, name: "实践创新能力" },
-        { value: 0, name: "学习反思能力" },
-        { value: 0, name: "工程思维能力" },
+        { value: 0, name: "Awareness Skills" },
+        { value: 0, name: "Scientific Inquiry Skills" },
+        { value: 0, name: "Practical Innovation Skills" },
+        { value: 0, name: "Learning Reflection Ability" },
+        { value: 0, name: "Engineering Thinking Skills" },
       ];
       this.scoreJson.forEach((item) => {
         if (item.rate) {
@@ -112,7 +112,7 @@ export default {
     },
   },
   mounted() {
-    //ca 意识能力 sia 科学探究能力 eta 实践创新能力 pia 学习反思能力 lra 工程思维能力
+    //ca Awareness Skills sia Scientific Inquiry Skills eta Practical Innovation Skills pia Learning Reflection Ability lra Engineering Thinking Skills
     this.scoreJson.forEach((item) => {
       if (item.rate) {
         this.ooption[0].value += item.rate.ca;

+ 16 - 16
src/components/pages/components/data/toolsData.vue

@@ -1,7 +1,7 @@
 <template>
   <div class="data_body">
     <div class="title">
-      <span>工具使用</span>
+      <span>Tool Usage</span>
     </div>
     <div style="width:100%">
       <!-- <img src="../../assets/dataimage/1.png" style="width:90%" /> -->
@@ -21,7 +21,7 @@ export default {
         sdata: [],
         tools: [],
       },
-      // 1电子白板 2便签 3思维导图 4问卷调查 5量规评分 6协同文档
+      // 1Electronic Whiteboard 2便签 3Mind Map 4Survey 5量规Grading 6协同文档
       option: {
         tooltip: {
           trigger: "item",
@@ -72,19 +72,19 @@ export default {
       console.log(this.tools);
       console.log(this.toolsJson);
       this.tools.forEach((item, index) => {
-        // 1电子白板 2便签 3思维导图 4问卷调查 5量规评分 6协同文档
+        // 1Electronic Whiteboard 2便签 3Mind Map 4Survey 5量规Grading 6协同文档
         if (item == 1) {
-          this.ooption.xdata.push("电子白板");
+          this.ooption.xdata.push("Electronic Whiteboard");
         } else if (item == 2) {
-          this.ooption.xdata.push("便签");
+          this.ooption.xdata.push("Sticky Notes");
         } else if (item == 3) {
-          this.ooption.xdata.push("思维导图");
+          this.ooption.xdata.push("Mind Map");
         } else if (item == 4) {
-          this.ooption.xdata.push("问卷调查");
+          this.ooption.xdata.push("Survey");
         } else if (item == 5) {
-          this.ooption.xdata.push("量规评分");
+          this.ooption.xdata.push("Assessment Scoring");
         } else if (item == 6) {
-          this.ooption.xdata.push("协同文档");
+          this.ooption.xdata.push("Collaborative Document");
         }
         this.ooption.sdata.push(0);
         this.ooption.tools.push(item);
@@ -110,19 +110,19 @@ export default {
     console.log(this.tools);
     console.log(this.toolsJson);
     this.tools.forEach((item, index) => {
-      // 1电子白板 2便签 3思维导图 4问卷调查 5量规评分 6协同文档
+      // 1Electronic Whiteboard 2便签 3Mind Map 4Survey 5量规Grading 6协同文档
       if (item == 1) {
-        this.ooption.xdata.push("电子白板");
+        this.ooption.xdata.push("Electronic Whiteboard");
       } else if (item == 2) {
-        this.ooption.xdata.push("便签");
+        this.ooption.xdata.push("Sticky Notes");
       } else if (item == 3) {
-        this.ooption.xdata.push("思维导图");
+        this.ooption.xdata.push("Mind Map");
       } else if (item == 4) {
-        this.ooption.xdata.push("问卷调查");
+        this.ooption.xdata.push("Survey");
       } else if (item == 5) {
-        this.ooption.xdata.push("量规评分");
+        this.ooption.xdata.push("Assessment Scoring");
       } else if (item == 6) {
-        this.ooption.xdata.push("协同文档");
+        this.ooption.xdata.push("Collaborative Document");
       }
       this.ooption.sdata.push(0);
       this.ooption.tools.push(item);

+ 1 - 1
src/components/pages/components/data/workData.vue

@@ -1,7 +1,7 @@
 <template>
   <div class="data_body">
     <div class="title">
-      <span>作业数量</span>
+      <span>Amount of Homework</span>
     </div>
     <div style="width: 100%">
       <!-- <img src="../../assets/dataimage/1.png" style="width:90%" /> -->

+ 17 - 17
src/components/pages/components/evaReport.vue

@@ -3,9 +3,9 @@
     <div class="search">
       <div class="sxBox">
         <div class="student_search">
-          <div>班级筛选</div>
+          <div>Class Filter</div>
           <el-select v-model="classChoose" @change="searchStudent">
-            <el-option label="全部" value="">全部</el-option>
+            <el-option label="All" value="">All</el-option>
             <el-option
               v-for="(c, cIndex) in classJuri"
               :key="cIndex"
@@ -15,9 +15,9 @@
           </el-select>
         </div>
         <div class="student_search">
-          <div>课程筛选</div>
+          <div>Course Filter</div>
           <el-select v-model="courseChoose" @change="searchStudent">
-            <el-option label="全部" value="">全部</el-option>
+            <el-option label="All" value="">All</el-option>
             <el-option
               v-for="(c, cIndex) in courseJuri"
               :key="cIndex"
@@ -31,9 +31,9 @@
         <div class="searchImg">
           <img src="../../../assets/icon/search.png" alt="" />
         </div>
-        <el-input v-model="sName" placeholder="请输入学生姓名或账号"></el-input>
+        <el-input v-model="sName" placeholder="Please enter the student's name or account number"></el-input>
         <el-button size="mini" type="primary" @click="searchStudent"
-          >查询</el-button
+          >Search</el-button
         >
       </div>
     </div>
@@ -47,26 +47,26 @@
       <el-table-column
         prop="eTitle"
         align="center"
-        label="目标体系名称"
+        label="Target System Name"
         min-width="25%"
       >
       </el-table-column>
-      <el-table-column prop="cName" align="center" label="班级" min-width="25%">
+      <el-table-column prop="cName" align="center" label="Class" min-width="25%">
       </el-table-column>
       <el-table-column
         prop="course"
         align="center"
-        label="课程"
+        label="Course"
         min-width="25%"
       >
       </el-table-column>
-      <el-table-column label="操作" align="center" min-width="25%">
+      <el-table-column label="Actions" align="center" min-width="25%">
         <template slot-scope="scope">
           <el-button
             size="mini"
             type="primary"
             @click="lookmbCourse(scope.row.eid, scope.row.id)"
-            >报告</el-button
+            >Report</el-button
           >
         </template>
       </el-table-column>
@@ -82,7 +82,7 @@
       ></el-pagination>
     </div>
     <el-dialog
-      title="选择课程"
+      title="Select Course"
       :visible.sync="dialogVisible"
       :append-to-body="true"
       width="650px"
@@ -101,11 +101,11 @@
             <el-table-column
               prop="title"
               align="center"
-              label="课程名称"
+              label="Course Name"
               min-width="25%"
             >
             </el-table-column>
-            <el-table-column label="选择" align="center" min-width="25%">
+            <el-table-column label="Selection" align="center" min-width="25%">
               <template slot-scope="scope">
                 <input
                   type="checkbox"
@@ -119,8 +119,8 @@
         </div>
       </div>
       <span slot="footer" class="dialog-footer">
-        <el-button @click="dialogVisible = false">取 消</el-button>
-        <el-button type="primary" @click="getEvaReport">确定</el-button>
+        <el-button @click="dialogVisible = false">Cancel</el-button>
+        <el-button type="primary" @click="getEvaReport">Confirm</el-button>
       </span>
     </el-dialog>
   </div>
@@ -202,7 +202,7 @@ export default {
           });
         this.dialogVisible = false;
       } else {
-        this.$message.error("请选择至少一项课程!");
+        this.$message.error("Please Select At Least One Course!");
       }
     },
     isChooseS(id) {

+ 22 - 22
src/components/pages/components/ganChart.vue

@@ -65,7 +65,7 @@ let options = {
     columns: [
       {
         id: 2,
-        label: "任务描述",
+        label: "Task Description",
         value: "label2",
         width: 300,
         expander: true,
@@ -80,13 +80,13 @@ let options = {
       },
       {
         id: 4,
-        label: "开始时间",
+        label: "Start Time",
         value: 'start',
         width: 78,
       },
       {
         id: 5,
-        label: "结束时间",
+        label: "End Time",
         value: 'end',
         width: 78,
       },
@@ -103,20 +103,20 @@ let options = {
   },
 
   locale: {
-    weekdays: ["周日", "周一", "周二", "周三", "周四", "周五", "周六"],
+    weekdays: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"],
     months: [
-      "一月",
-      "二月",
-      "三月",
-      "四月",
-      "五月",
-      "六月",
-      "七月",
-      "八月",
-      "九月",
-      "十月",
-      "十一月",
-      "十二月",
+      "January",
+      "February",
+      "March",
+      "April",
+      "May",
+      "June",
+      "July",
+      "August",
+      "September",
+      "October",
+      "November",
+      "December",
     ],
   },
 };
@@ -233,7 +233,7 @@ export default {
         },
       },
       comName: "newSelectProdct",
-      titles: "新品选品",
+      titles: "New Item Selection",
       flag: true,
     };
   },
@@ -253,7 +253,7 @@ export default {
           let task = unitJson[i].chapterInfo[0].taskJson
           this.tasks.push({
               id: i ,
-              label2: '第' + (i + 1) + '阶段',
+              label2: 'No.' + (i + 1) + 'Stage',
               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] : ''),
@@ -314,7 +314,7 @@ export default {
       }
       var today = year + "-" + times;
 
-      return year ? today : '';
+      return year ? today : 'None';
     },
     //计算时间差
     datedifference(date1, date2) {
@@ -327,7 +327,7 @@ export default {
       dateSpan = sDate2 - sDate1;
       dateSpan = Math.abs(dateSpan);
       iDays = Math.floor(dateSpan / (24 * 3600 * 1000));
-      return iDays ? iDays + '' : "";
+      return iDays ? iDays + 'Day' : "";
     },
     //获取数据-----------------------------------------------------
     getTaskList() {
@@ -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: 'No.' + (i + 1) + 'Stage-' + '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] : ''),

+ 18 - 18
src/components/pages/components/imgDraw/imgDraw.vue

@@ -63,7 +63,7 @@
           <div class="tool_item" v-for="item in btns" :key="item.icon">
             <button
               @click.stop="item.fun"
-              v-if="item.name == '上一步'"
+              v-if="item.name == 'Previous Step'"
               :disabled="prevDis"
               :style="prevDis ? 'cursor:not-allowed' : ''"
             >
@@ -74,7 +74,7 @@
             </button>
             <button
               @click.stop="item.fun"
-              v-else-if="item.name == '下一步'"
+              v-else-if="item.name == 'Next Step'"
               :disabled="nextDis"
               :style="nextDis ? 'cursor:not-allowed' : ''"
             >
@@ -93,22 +93,22 @@
           <div class="tool_item go_up">
             <button @click.stop="handleShowOrHide(0)">
               <i class="el-icon-caret-top"></i>
-              <span>收起</span>
+              <span>Fold Away</span>
             </button>
           </div>
           <div class="pull" v-if="!isExpand">
             <span class="line"></span>
-            <span class="round" title="展开" @click.stop="handleShowOrHide(1)"></span>
+            <span class="round" title="Expand" @click.stop="handleShowOrHide(1)"></span>
           </div>
         </div>
         <div :class="['tools', 'bars', showTools ? '' : 'hideTools']">
           <div
             class="el-icon-s-tools arrow"
             v-if="!showTools"
-            title="展开"
+            title="Expand"
             @click.stop="handleShowTools(1)"
           ></div>
-          <div class="el-icon-arrow-right arrow" v-else title="收起" @click.stop="handleShowTools(0)"></div>
+          <div class="el-icon-arrow-right arrow" v-else title="Fold Away" @click.stop="handleShowTools(0)"></div>
           <div
             :class="[
               'tool_item',
@@ -157,12 +157,12 @@ export default {
       settings: [
         {
           icon: "#icon-youqitong_huaban1",
-          name: "颜色",
+          name: "Colour",
           fun: "",
         },
         {
           icon: "#icon-huabi_huaban1",
-          name: "粗细",
+          name: "Thickness",
           fun: "",
         },
         // {
@@ -184,7 +184,7 @@ export default {
       tools: [
         {
           icon: "#icon-huabi_huaban1",
-          name: "画笔",
+          name: "Paintbrush",
           toolType: 1,
         },
         // {
@@ -209,21 +209,21 @@ export default {
         // },
         {
           icon: "#icon-wenzi_huaban1",
-          name: "文字",
+          name: "Text",
           toolType: 6,
         },
       ],
       btns: [
         // {
         //   icon: "#icon-chexiao",
-        //   name: "上一步",
+        //   name: "Previous Step",
         //   fun: () => {
         //     return this.handlePrev();
         //   },
         // },
         // {
         //   icon: "#icon-zhongzuo",
-        //   name: "下一步",
+        //   name: "Next Step",
         //   fun: () => {
         //     return this.handleNext();
         //   },
@@ -238,7 +238,7 @@ export default {
         {
           // icon: "#icon-baocun",
           icon: "",
-          name: "关闭",
+          name: "Close",
           fun: () => {
             // return this.handleCanvas2Img();
             // return (this.show = false);
@@ -276,14 +276,14 @@ export default {
     handleShowOrHide(status) {
       this.isExpand = status;
     },
-    /** 显示或隐藏工具栏*/
+    /** 显示或隐藏Tools栏*/
     handleShowTools(status) {
       this.showTools = status;
     },
     handleShowCanvas() {
       this.show = true;
     },
-    /** 工具切换*/
+    /** Tools切换*/
     handleChangeToolType(type) {
       this.activeTool = type;
       switch (type) {
@@ -579,7 +579,7 @@ export default {
       text.value = "";
       // this.handleSaveCanvasStore();
     },
-    /** 上一步*/
+    /** Previous Step*/
     handlePrev() {
       if (this.currentImg.index > 0) {
         this.nextDis = false;
@@ -594,7 +594,7 @@ export default {
         this.prevDis = true;
       }
     },
-    /** 下一步*/
+    /** Next Step*/
     handleNext() {
       if (this.currentImg.index < this.canvasStore.length - 1) {
         this.prevDis = false;
@@ -638,7 +638,7 @@ export default {
       canvas.height = image.height;
       let ctx = canvas.getContext("2d");
       ctx.drawImage(image, 0, 0, image.width, image.height);
-      // 可选其他值 image/jpeg
+      // 可选Others值 image/jpeg
       return canvas.toDataURL("image/jpeg");
     },
     // 设置需要展示的图片  base64

+ 8 - 8
src/components/pages/components/pdf.vue

@@ -17,15 +17,15 @@
 
     <div class="pdf_footer">
       <div class="info">
-        <div>当前页数/总页数:{{ pageNum }}/{{ pageTotalNum }}</div>
+        <div>Current page/Total pages:{{ pageNum }}/{{ pageTotalNum }}</div>
         <!-- <div>进度:{{loadedRatio}}</div> -->
         <!-- <div>页面加载成功: {{curPageNum}}</div> -->
       </div>
       <div class="operate">
         <!-- <div class="btn" @click.stop="clock">顺时针</div>
         <div class="btn" @click.stop="counterClock">逆时针</div>-->
-        <div class="btn" @click.stop="prePage">上一页</div>
-        <div class="btn" @click.stop="nextPage">下一页</div>
+        <div class="btn" @click.stop="prePage">Previous Page</div>
+        <div class="btn" @click.stop="nextPage">Next Page</div>
         <!-- <div class="btn" @click="scaleD">放大</div>
         <div class="btn" @click="scaleX">缩小</div>
         <div class="btn" @click="fileDownload(pdfUrl,'pdf文件')">下载</div>-->
@@ -56,7 +56,7 @@ export default {
     return {
       // 总页数
       pageTotalNum: 1,
-      // 当前页数
+      // Current page
       pageNum: 1,
       // 加载进度
       loadedRatio: 0,
@@ -198,7 +198,7 @@ export default {
       console.log(reason);
       console.log("...reason...");
     },
-    // 页面加载成功  当前页数
+    // 页面加载成功  Current page
     pageLoaded(e) {
       this.$emit("current", e);
       this.curPageNum = e;
@@ -211,10 +211,10 @@ export default {
     pdfPrintAll() {
       this.$refs.pdf.print();
     },
-    // 打印 第一页和第二页
+    // 打印 No.一页和No.二页
     pdfPrint() {
-      // 第一个参数 文档打印的分辨率
-      // 第二个参数 文档打印的页数
+      // No.一Number参数 文档打印的分辨率
+      // No.二Number参数 文档打印的页数
       this.$refs.pdf.print(100, [1, 2]);
     },
     // 获取当前页面pdf的文字信息内容

+ 3 - 3
src/components/pages/components/pdf2.vue

@@ -173,10 +173,10 @@ export default {
     pdfPrintAll() {
       this.$refs.pdf.print();
     },
-    // 打印 第一页和第二页
+    // 打印 No.一页和No.二页
     pdfPrint() {
-      // 第一个参数 文档打印的分辨率
-      // 第二个参数 文档打印的页数
+      // No.一Number参数 文档打印的分辨率
+      // No.二Number参数 文档打印的页数
       this.$refs.pdf.print(100, [1, 2]);
     },
     // 获取当前页面pdf的文字信息内容

+ 3 - 3
src/components/pages/components/pdf3.vue

@@ -164,10 +164,10 @@ export default {
     pdfPrintAll() {
       this.$refs.pdf.print();
     },
-    // 打印 第一页和第二页
+    // 打印 No.一页和No.二页
     pdfPrint() {
-      // 第一个参数 文档打印的分辨率
-      // 第二个参数 文档打印的页数
+      // No.一Number参数 文档打印的分辨率
+      // No.二Number参数 文档打印的页数
       this.$refs.pdf.print(100, [1, 2]);
     },
     // 获取当前页面pdf的文字信息内容

+ 7 - 7
src/components/pages/components/proMan.vue

@@ -20,7 +20,7 @@
           </div>
           <div class="rwTop" v-else>
             <div class="rwTouImg" style="background:#ff9219"></div>
-            <div><span class="tcMember"></span></div>
+            <div><span class="tcMember">None</span></div>
           </div>
           <div class="rwMidBox">
             <div>{{ item2.task }}</div>
@@ -29,19 +29,19 @@
                 <div class="rwIcon">
                   <img src="../../../assets/icon/startTime.png" alt="" />
                 </div>
-                <div>开始时间:{{ timeB(item2.time ? item2.time[0] : '') }} </div>
+                <div>Start Time:{{ timeB(item2.time ? item2.time[0] : '') }} </div>
               </div>
               <div class="rwBoxMessage">
                 <div class="rwIcon">
                   <img src="../../../assets/icon/endTime.png" alt="" />
                 </div>
-                <div>完成时间:{{ timeB(item2.time ? item2.time[1] : '') }} </div>
+                <div>Completion time:{{ timeB(item2.time ? item2.time[1] : '') }} </div>
               </div>
               <div class="rwBoxMessage">
                 <div class="rwIcon">
                   <img src="../../../assets/icon/allTime.png" alt="" />
                 </div>
-                <div>所需时长:{{ timeA(item2.time ? item2.time[0] : '', item2.time ? item2.time[1] : '') }}天</div>
+                <div>Duration required:{{ timeA(item2.time ? item2.time[0] : '', item2.time ? item2.time[1] : '') }}Day</div>
               </div>
             </div>
           </div>
@@ -74,7 +74,7 @@ export default {
         time.setTime(time.getTime());
         var s2 = time.getFullYear() + "-" + ((time.getMonth() + 1) < 10 ? '0' + (time.getMonth() + 1) : (time.getMonth() + 1)) + "-"
           + ((time.getDate()) < 10 ? '0' + (time.getDate()) : (time.getDate()));
-        return time.getFullYear() ? s2 : ''
+        return time.getFullYear() ? s2 : 'None'
       }
     },
     getMen() {
@@ -107,7 +107,7 @@ export default {
             }
           }
         }
-        return _people ? _people : ''
+        return _people ? _people : 'None'
       }
     },
     getMan2() {
@@ -126,7 +126,7 @@ export default {
             }
           }
         }
-        return kp.length ? kp : ['']
+        return kp.length ? kp : ['None']
       }
     },
   },

+ 26 - 26
src/components/pages/components/report.vue

@@ -1,13 +1,13 @@
 <template>
   <div class="r_box">
     <div class="r_cbox">
-      <span>学生姓名</span>
+      <span>Student Name</span>
       <el-select
         multiple
         collapse-tags
         class="r_select"
         v-model="uname"
-        placeholder="全部"
+        placeholder="All"
         filterable
       >
         <el-option
@@ -20,13 +20,13 @@
       </el-select>
     </div>
     <div class="r_cbox">
-      <span>选择阶段</span>
+      <span>Stage Selection</span>
       <el-select
         class="r_select"
         v-model="chap"
         multiple
         collapse-tags
-        placeholder="全部"
+        placeholder="All"
         @change="changeChap"
       >
         <el-option
@@ -38,13 +38,13 @@
       </el-select>
     </div>
     <div class="r_cbox">
-      <span>任务内容</span>
+      <span>Task Content</span>
       <el-select
         class="r_select"
         v-model="task"
         multiple
         collapse-tags
-        placeholder="全部"
+        placeholder="All"
       >
         <el-option-group
           v-for="(group, index) in dyAarray"
@@ -62,7 +62,7 @@
       </el-select>
     </div>
     <div class="btn_box">
-      <el-button class="btn" type="primary" @click="confirm">确定</el-button>
+      <el-button class="btn" type="primary" @click="confirm">Confirm</el-button>
     </div>
   </div>
 </template>
@@ -119,7 +119,7 @@ export default {
           this.questList = res.data[4];
           this.wordList = res.data[5];
           this.chooseInfo = res.data[6];
-          this.pjInfo = res.data[7]; //人评价作业
+          this.pjInfo = res.data[7]; //Number人评价作业
           this.xztkInfo = res.data[8]; //选择填空作业
           this.lccjInfo = res.data[9]; //连词成句作业
           this.bgInfo = res.data[10]; //表格作业
@@ -196,12 +196,12 @@ export default {
                   cocopiInfo: [],
                   wordInfo: [],
                   chapName:
-                    "" +
+                    "No." +
                     (parseInt(_chap[chapI]) + 1) +
-                    "阶段 " +
+                    "Stage " +
                     this.dyList[_chap[chapI]].name,
                   taskName:
-                    "任务" +
+                    "Task" +
                     (parseInt(_tI[1]) + 1) +
                     this.dyList[_chap[chapI]].taskList[_tI[1]].name,
                   username: _uname[i].username,
@@ -281,12 +281,12 @@ export default {
                   cocopiInfo: [],
                   wordInfo: [],
                   chapName:
-                    "" +
+                    "No." +
                     (parseInt(_chap[chapI]) + 1) +
-                    "阶段 " +
+                    "Stage " +
                     this.dyList[_chap[chapI]].name,
                   taskName:
-                    "任务" +
+                    "Task" +
                     (parseInt(_tI[1]) + 1) +
                     this.dyList[_chap[chapI]].taskList[_tI[1]].name,
                   username: _uname[i].username,
@@ -364,10 +364,10 @@ export default {
       var _img = "";
       if (workJson.img.length > 0) {
         for (var i = 0; i < workJson.img.length; i++) {
-          // _img+=`<div style="margin-top:10px"><div>图片${
+          // _img+=`<div style="margin-top:10px"><div>Image${
           //   i + 1
           // }:<a href='${ workJson.img[i].src}'>${ workJson.img[i].src}</a></div>`
-          _img += `<div style="margin-top:10px"><div>图片${
+          _img += `<div style="margin-top:10px"><div>Image${
             i + 1
           }</div><img style="max-width:500px" src="${
             workJson.img[i].src
@@ -377,15 +377,15 @@ export default {
 
       var _ask = "";
       if (workJson.askList.length > 0) {
-        var _ask = "<h3>问卷调查</h3>";
+        var _ask = "<h3>Survey</h3>";
         for (var i = 0; i < workJson.askList.length; i++) {
           var _div = document.createElement("div");
-          _div.innerHTML = `<h4>问卷标题:${workJson.askList[i].askTitle}</h4>`;
+          _div.innerHTML = `<h4>Questionnaire Title:${workJson.askList[i].askTitle}</h4>`;
           for (var j = 0; j < workJson.askList[i].askJson.length; j++) {
             var _div2 = document.createElement("div");
-            _div2.innerHTML = `<h5>第${j + 1}题:${
+            _div2.innerHTML = `<h5>No.${j + 1}Question:${
               workJson.askList[i].askJson[j].askstitle
-            }  选择:${workJson.askList[i].radio[j] + 1}</h5> `;
+            }  Selection:${workJson.askList[i].radio[j] + 1}</h5> `;
             var _div3 = document.createElement("div");
             for (
               var z = 0;
@@ -405,10 +405,10 @@ export default {
 
       var _answer = "";
       if (workJson.questList.length > 0) {
-        var _answer = "<h3>问答</h3>";
+        var _answer = "<h3>Q&A</h3>";
         for (var i = 0; i < workJson.questList.length; i++) {
           var _div = document.createElement("div");
-          _div.innerHTML = `<h4>问答:${workJson.questList[i].answerTitle}</h4>`;
+          _div.innerHTML = `<h4>Q&A:${workJson.questList[i].answerTitle}</h4>`;
           _div.innerHTML += `<div>${workJson.questList[i].answer}</div>`;
           _answer += `<div>${_div.innerHTML}</div>`;
         }
@@ -440,7 +440,7 @@ export default {
           <meta charset="UTF-8">
           <meta http-equiv="X-UA-Compatible" content="IE=edge">
           <meta name="viewport" content="width=device-width, initial-scale=1.0">
-          <title>报告</title>
+          <title>Report</title>
       </head>
       <body>
       ${this.$store.state.report}
@@ -449,7 +449,7 @@ export default {
       // debugger
       //生成报告
       const link = document.createElement("a");
-      // link.download = "报告.html"; // 文件名
+      // link.download = "Report.html"; // 文件名
       let dname = this.course.title + "-";
       var _uname = [];
       var _userA = this.userAarray;
@@ -461,7 +461,7 @@ export default {
         }
         dname += _uname.join("、") + ".html";
       } else {
-        dname += "全部学生.html";
+        dname += "All Students.html";
       }
       link.download = dname; // 文件名
       link.style.display = "none";
@@ -479,7 +479,7 @@ export default {
       //     orientation: "landscape", //跨域设置
       //   }),
       //   //文件名
-      //   "报告.doc"
+      //   "Report.doc"
       // );
     },
     changeChap() {

+ 21 - 21
src/components/pages/components/report/courseDetailReport.vue

@@ -6,7 +6,7 @@
       <div id="charts_canvas2" class="echart"></div>
       <div id="charts_canvas3" class="echart" ref="table">
         <div style="font-size: 13px; font-weight: 600">
-          项目综合评估:各个阶段评价平均分
+          Project Comprehensive Assessment: Average Score for Each Stage
         </div>
         <el-table
           class="table"
@@ -24,14 +24,14 @@
           :row-class-name="tableRowClassName"
           header-row-class-name="header_row_class"
         >
-          <el-table-column label="排名" min-width="29px" align="center">
+          <el-table-column label="Ranking" min-width="29px" align="center">
             <template slot-scope="scope">
               <div style="font-weight: 600">{{ scope.$index + 1 }}</div>
             </template>
           </el-table-column>
           <el-table-column
             prop="name"
-            label="名称"
+            label="Name"
             min-width="39px"
             align="center"
           >
@@ -43,7 +43,7 @@
           >
           <el-table-column
             prop="rate"
-            label="完成度"
+            label="Completion Rate"
             min-width="39px"
             align="center"
             ><template slot-scope="scope">
@@ -54,7 +54,7 @@
           >
           <el-table-column
             prop="rate1"
-            label="活跃度"
+            label="Activity Level"
             min-width="39px"
             align="center"
             ><template slot-scope="scope">
@@ -65,7 +65,7 @@
           >
           <el-table-column
             prop="rate2"
-            label="参与度"
+            label="Participation Level"
             min-width="39px"
             align="center"
             ><template slot-scope="scope">
@@ -76,7 +76,7 @@
           >
           <el-table-column
             prop="rate3"
-            label="综合表现"
+            label="Overall Performance"
             min-width="49px"
             align="center"
             ><template slot-scope="scope">
@@ -85,7 +85,7 @@
           >
           <el-table-column
             prop="ratez"
-            label="综合"
+            label="Comprehensive"
             min-width="29px"
             align="center"
             ><template slot-scope="scope">
@@ -109,7 +109,7 @@ export default {
       tdata: [],
       option1: {
         title: {
-          text: "项目完成度:各个阶段完成情况",
+          text: "Project Completion Rate: Stage-wise Completion Status",
           textStyle: {
             fontSize: 13,
           },
@@ -124,7 +124,7 @@ export default {
           },
         },
         legend: {
-          data: ["个人完成度", "班级平均完成度"],
+          data: ["Individual Completion Rate", "Class Average Completion Rate"],
           top: "bottom",
           icon: "circle",
         },
@@ -137,7 +137,7 @@ export default {
         xAxis: [
           {
             type: "category",
-            data: ["阶段1", "阶段2", "阶段3", "阶段4", "阶段5"],
+            data: ["Stage 1", "Stage 2", "Stage 3", "Stage 4", "Stage 5"],
           },
         ],
         yAxis: [
@@ -147,7 +147,7 @@ export default {
         ],
         series: [
           {
-            name: "个人完成度",
+            name: "Individual Completion Rate",
             type: "line",
             areaStyle: {},
             data: [0, 0, 0, 0, 0],
@@ -156,7 +156,7 @@ export default {
             },
           },
           {
-            name: "班级平均完成度",
+            name: "Class Average Completion Rate",
             type: "line",
             areaStyle: {},
             data: [0, 0, 0, 0, 0],
@@ -168,7 +168,7 @@ export default {
       },
       option2: {
         title: {
-          text: "项目活跃度:不同任务的学习时间占比",
+          text: "Project Activity Level: Percentage of Study Time per Task",
           textStyle: {
             fontSize: 13,
           },
@@ -188,14 +188,14 @@ export default {
         },
         xAxis: {
           type: "category",
-          data: ["阶段1", "阶段2", "阶段3", "阶段4", "阶段5"],
+          data: ["Stage 1", "Stage 2", "Stage 3", "Stage 4", "Stage 5"],
         },
         yAxis: {
           type: "value",
         },
         series: [
           {
-            name: "任务1",
+            name: "Task 1",
             type: "bar",
             stack: "total",
             label: {
@@ -207,7 +207,7 @@ export default {
             data: [0, 0, 0, 0, 0],
           },
           {
-            name: "任务2",
+            name: "Task 2",
             type: "bar",
             stack: "total",
             label: {
@@ -219,7 +219,7 @@ export default {
             data: [0, 0, 0, 0, 0],
           },
           {
-            name: "任务3",
+            name: "Task 3",
             type: "bar",
             stack: "total",
             label: {
@@ -231,7 +231,7 @@ export default {
             data: [0, 0, 0, 0, 0],
           },
           {
-            name: "任务4",
+            name: "Task 4",
             type: "bar",
             stack: "total",
             label: {
@@ -243,7 +243,7 @@ export default {
             data: [0, 0, 0, 0, 0],
           },
           {
-            name: "任务5",
+            name: "Task 5",
             type: "bar",
             stack: "total",
             label: {
@@ -334,7 +334,7 @@ export default {
           var _rate3 = this.randomNum(3, 5);
           var _ratez = (_rate + _rate1 + _rate2 + _rate3) / 4;
           this.tdata.push({
-            name: "阶段" + (i + 1),
+            name: "Stage" + (i + 1),
             rate: _rate.toFixed(1),
             rate1: _rate1.toFixed(1),
             rate2: _rate2.toFixed(1),

+ 13 - 13
src/components/pages/components/report/courseInfo.vue

@@ -2,23 +2,23 @@
   <div v-loading="isloading">
     <div class="ci_info" v-if="Object.keys(courseInfo).length">
       <div class="ci_info_box">
-        <span>课程名称:</span><span>{{ courseInfo.title }}</span>
+        <span>Course Name:</span><span>{{ courseInfo.title }}</span>
       </div>
       <div class="ci_info_box">
-        <span>创建人:</span><span>{{ courseInfo.name }}</span>
+        <span>Creator:</span><span>{{ courseInfo.name }}</span>
       </div>
       <div class="ci_info_box">
-        <span>协同人员:</span><span>{{ teacher ? teacher : "无协同人员" }}</span>
+        <span>Collaborators:</span><span>{{ teacher ? teacher : "No Collaborators" }}</span>
       </div>
       <div class="ci_info_box2">
         <div>
-          阶段<span>{{ tool.stage }}</span>个
+          Stage<span>{{ tool.stage }}</span>Number
         </div>
         <div>
-          任务<span>{{ tool.task }}</span>个
+          Task<span>{{ tool.task }}</span>Number
         </div>
         <div>
-          工具<span>{{ tool.tool }}</span>个
+          Tools<span>{{ tool.tool }}</span>Number
         </div>
       </div>
     </div>
@@ -55,7 +55,7 @@ export default {
         series: [
           {
             bottom: "20%",
-            name: "学习活动时间分配图",
+            name: "Learning Activity Time Allocation Chart",
             type: "pie",
             // radius: [10, "80%"],
             center: ["50%", "50%"],
@@ -69,12 +69,12 @@ export default {
               formatter: "{b}\n{d}%",
             },
             data: [
-              { value: 0, name: "思维网格" },
-              { value: 0, name: "思维导图" },
-              { value: 0, name: "电子白板" },
-              { value: 0, name: "选择题" },
-              // { value: 0, name: "自主学习" },
-              { value: 0, name: "其他" },
+              { value: 0, name: "Thought Grid" },
+              { value: 0, name: "Mind Map" },
+              { value: 0, name: "Electronic Whiteboard" },
+              { value: 0, name: "Multiple Choice Question" },
+              // { value: 0, name: "Independent Study" },
+              { value: 0, name: "Others" },
             ],
           },
         ],

+ 13 - 13
src/components/pages/components/report/courseInfoGM.vue

@@ -2,23 +2,23 @@
   <div v-loading="isloading">
     <div class="ci_info" v-if="Object.keys(courseInfo).length">
       <div class="ci_info_box">
-        <span>项目名称:</span><span>{{ courseInfo.title }}</span>
+        <span>Project Name:</span><span>{{ courseInfo.title }}</span>
       </div>
       <div class="ci_info_box">
-        <span>创建人:</span><span>{{ courseInfo.name }}</span>
+        <span>Creator:</span><span>{{ courseInfo.name }}</span>
       </div>
       <div class="ci_info_box">
-        <span>协同人员:</span><span>{{ teacher ? teacher : "无协同人员" }}</span>
+        <span>Collaborators:</span><span>{{ teacher ? teacher : "No Collaborators" }}</span>
       </div>
       <div class="ci_info_box2">
         <div>
-          阶段<span>{{ tool.stage }}</span>个
+          Stage<span>{{ tool.stage }}</span>Number
         </div>
         <div>
-          任务<span>{{ tool.task }}</span>个
+          Task<span>{{ tool.task }}</span>Number
         </div>
         <div>
-          工具<span>{{ tool.tool }}</span>个
+          Tools<span>{{ tool.tool }}</span>Number
         </div>
       </div>
     </div>
@@ -55,7 +55,7 @@ export default {
         series: [
           {
             bottom: "20%",
-            name: "学习活动时间分配图",
+            name: "Learning Activity Time Allocation Chart",
             type: "pie",
             // radius: [10, "80%"],
             center: ["50%", "50%"],
@@ -69,12 +69,12 @@ export default {
               formatter: "{b}\n{d}%",
             },
             data: [
-              { value: 0, name: "思维网格" },
-              { value: 0, name: "思维导图" },
-              { value: 0, name: "电子白板" },
-              { value: 0, name: "选择题" },
-              // { value: 0, name: "自主学习" },
-              { value: 0, name: "其他" },
+              { value: 0, name: "Thought Grid" },
+              { value: 0, name: "Mind Map" },
+              { value: 0, name: "Electronic Whiteboard" },
+              { value: 0, name: "Multiple Choice Question" },
+              // { value: 0, name: "Independent Study" },
+              { value: 0, name: "Others" },
             ],
           },
         ],

+ 17 - 17
src/components/pages/components/report/coursePie.vue

@@ -9,7 +9,7 @@
       ></div> -->
       <div id="charts_canvas3" class="echart" ref="table">
         <!-- <div style="font-size: 13px; font-weight: 600">
-          项目综合评估:各个阶段评价平均分
+          项目Comprehensive评估:各NumberStage Evaluation Average Score
         </div> -->
         <el-table class="table" :data="tdata" :height="tableHeight" :fit="true" style="width: 100%" :header-cell-style="{
           background: '#fff',
@@ -18,37 +18,37 @@
           padding: '0',
           border: 'unset',
         }" :row-class-name="tableRowClassName" header-row-class-name="header_row_class">
-          <el-table-column label="排名" min-width="29px" align="center">
+          <el-table-column label="Ranking" min-width="29px" align="center">
             <template slot-scope="scope">
               <div style="font-weight: 600">{{ scope.$index + 1 }}</div>
             </template>
           </el-table-column>
-          <el-table-column prop="name" label="名称" min-width="39px" align="center">
+          <el-table-column prop="name" label="Name" min-width="39px" align="center">
             <template slot-scope="scope">
               <div style="color: rgb(96, 96, 96); font-weight: 600">
                 {{ scope.row.name }}
               </div>
             </template>
           </el-table-column>
-          <el-table-column prop="rate" label="完成度" min-width="39px" align="center"><template slot-scope="scope">
+          <el-table-column prop="rate" label="Completion Rate" min-width="39px" align="center"><template slot-scope="scope">
               <div style="color: rgb(35, 91, 188); font-weight: 600">
                 {{ scope.row.rate }}
               </div>
             </template></el-table-column>
-          <el-table-column prop="rate1" label="活跃度" min-width="39px" align="center"><template slot-scope="scope">
+          <el-table-column prop="rate1" label="Activity Level" min-width="39px" align="center"><template slot-scope="scope">
               <div style="color: rgb(35, 91, 188); font-weight: 600">
                 {{ scope.row.rate1 }}
               </div>
             </template></el-table-column>
-          <el-table-column prop="rate2" label="参与度" min-width="39px" align="center"><template slot-scope="scope">
+          <el-table-column prop="rate2" label="Participation Level" min-width="39px" align="center"><template slot-scope="scope">
               <div style="color: rgb(35, 91, 188); font-weight: 600">
                 {{ scope.row.rate2 }}
               </div>
             </template></el-table-column>
-          <el-table-column prop="rate3" label="综合表现" min-width="49px" align="center"><template slot-scope="scope">
+          <el-table-column prop="rate3" label="Overall Performance" min-width="49px" align="center"><template slot-scope="scope">
               <div style="color: rgb(233, 140, 148);font-weight: 600">{{ scope.row.rate3 }}</div>
             </template></el-table-column>
-          <!-- <el-table-column prop="ratez" label="综合" min-width="29px" align="center"><template slot-scope="scope">
+          <!-- <el-table-column prop="ratez" label="Comprehensive" min-width="29px" align="center"><template slot-scope="scope">
               <div style="color: rgb(233, 140, 148);font-weight: 600">{{ scope.row.ratez }}</div>
             </template></el-table-column> -->
         </el-table>
@@ -78,7 +78,7 @@ export default {
         series: [
           {
             bottom: "10%",
-            name: "学习活动时间分配图",
+            name: "Learning Activity Time Allocation Chart",
             type: "pie",
             radius: [10, "80%"],
             center: ["50%", "50%"],
@@ -92,12 +92,12 @@ export default {
               formatter: "{b}\n{d}%",
             },
             data: [
-              { value: 0, name: "思维网格" },
-              { value: 0, name: "思维导图" },
-              { value: 0, name: "电子白板" },
-              { value: 0, name: "问卷调查" },
-              { value: 0, name: "自主学习" },
-              { value: 0, name: "其他" },
+              { value: 0, name: "Thought Grid" },
+              { value: 0, name: "Mind Map" },
+              { value: 0, name: "Electronic Whiteboard" },
+              { value: 0, name: "Survey" },
+              { value: 0, name: "Independent Study" },
+              { value: 0, name: "Others" },
             ],
           },
         ],
@@ -152,7 +152,7 @@ export default {
               j < chapters[i].chapterInfo[0].taskJson.length;
               j++
             ) {
-              // 1、电子白板,3、思维导图,6协同文档,7思维网格 16、作业提交,40.项目-学生互评 41.项目-下拉选择题 42.项目-录音功能
+              // 1、Electronic Whiteboard,3、Mind Map,6协同文档,7Thought Grid 16、作业提交,40.项目-学生互评 41.项目-下拉Multiple Choice Question 42.项目-录音功能
               let _toolsAarry = [1, 3, 6, 7, 16, 15, 4, 40, 41, 42];
               for (
                 var k = 0;
@@ -241,7 +241,7 @@ export default {
           var _rate3 = (_rate + _rate1 + _rate2) / 3;
           var _ratez = (_rate + _rate1 + _rate2 + _rate3) / 4;
           this.tdata.push({
-            name: "阶段" + (i + 1),
+            name: "Stage" + (i + 1),
             rate: _rate.toFixed(1),
             rate1: _rate1.toFixed(1),
             rate2: _rate2.toFixed(1),

+ 17 - 17
src/components/pages/components/report/coursePieGM.vue

@@ -9,7 +9,7 @@
       ></div> -->
       <div id="charts_canvas3" class="echart" ref="table">
         <!-- <div style="font-size: 13px; font-weight: 600">
-          项目综合评估:各个阶段评价平均分
+          项目Comprehensive评估:各NumberStage Evaluation Average Score
         </div> -->
         <el-table class="table" :data="tdata" :height="tableHeight" :fit="true" style="width: 100%" :header-cell-style="{
           background: '#fff',
@@ -18,37 +18,37 @@
           padding: '0',
           border: 'unset',
         }" :row-class-name="tableRowClassName" header-row-class-name="header_row_class">
-          <el-table-column label="排名" min-width="29px" align="center">
+          <el-table-column label="Ranking" min-width="29px" align="center">
             <template slot-scope="scope">
               <div style="font-weight: 600">{{ scope.$index + 1 }}</div>
             </template>
           </el-table-column>
-          <el-table-column prop="name" label="名称" min-width="39px" align="center">
+          <el-table-column prop="name" label="Name" min-width="39px" align="center">
             <template slot-scope="scope">
               <div style="color: rgb(96, 96, 96); font-weight: 600">
                 {{ scope.row.name }}
               </div>
             </template>
           </el-table-column>
-          <el-table-column prop="rate" label="完成度" min-width="39px" align="center"><template slot-scope="scope">
+          <el-table-column prop="rate" label="Completion Rate" min-width="39px" align="center"><template slot-scope="scope">
               <div style="color: #5c549f; font-weight: 600">
                 {{ scope.row.rate }}
               </div>
             </template></el-table-column>
-          <el-table-column prop="rate1" label="活跃度" min-width="39px" align="center"><template slot-scope="scope">
+          <el-table-column prop="rate1" label="Activity Level" min-width="39px" align="center"><template slot-scope="scope">
               <div style="color: #5c549f; font-weight: 600">
                 {{ scope.row.rate1 }}
               </div>
             </template></el-table-column>
-          <el-table-column prop="rate2" label="参与度" min-width="39px" align="center"><template slot-scope="scope">
+          <el-table-column prop="rate2" label="Participation Level" min-width="39px" align="center"><template slot-scope="scope">
               <div style="color: #5c549f; font-weight: 600">
                 {{ scope.row.rate2 }}
               </div>
             </template></el-table-column>
-          <el-table-column prop="rate3" label="综合表现" min-width="49px" align="center"><template slot-scope="scope">
+          <el-table-column prop="rate3" label="Overall Performance" min-width="49px" align="center"><template slot-scope="scope">
               <div style="color: rgb(233, 140, 148);font-weight: 600">{{ scope.row.rate3 }}</div>
             </template></el-table-column>
-          <!-- <el-table-column prop="ratez" label="综合" min-width="29px" align="center"><template slot-scope="scope">
+          <!-- <el-table-column prop="ratez" label="Comprehensive" min-width="29px" align="center"><template slot-scope="scope">
               <div style="color: rgb(233, 140, 148);font-weight: 600">{{ scope.row.ratez }}</div>
             </template></el-table-column> -->
         </el-table>
@@ -78,7 +78,7 @@ export default {
         series: [
           {
             bottom: "10%",
-            name: "学习活动时间分配图",
+            name: "Learning Activity Time Allocation Chart",
             type: "pie",
             radius: [10, "80%"],
             center: ["50%", "50%"],
@@ -92,12 +92,12 @@ export default {
               formatter: "{b}\n{d}%",
             },
             data: [
-              { value: 0, name: "思维网格" },
-              { value: 0, name: "思维导图" },
-              { value: 0, name: "电子白板" },
-              { value: 0, name: "问卷调查" },
-              { value: 0, name: "自主学习" },
-              { value: 0, name: "其他" },
+              { value: 0, name: "Thought Grid" },
+              { value: 0, name: "Mind Map" },
+              { value: 0, name: "Electronic Whiteboard" },
+              { value: 0, name: "Survey" },
+              { value: 0, name: "Independent Study" },
+              { value: 0, name: "Others" },
             ],
           },
         ],
@@ -153,7 +153,7 @@ export default {
               j < chapters[i].chapterInfo[0].taskJson.length;
               j++
             ) {
-              // 1、电子白板,3、思维导图,6协同文档,7思维网格 16、作业提交,40.项目-学生互评 41.项目-下拉选择题 42.项目-录音功能
+              // 1、Electronic Whiteboard,3、Mind Map,6协同文档,7Thought Grid 16、作业提交,40.项目-学生互评 41.项目-下拉Multiple Choice Question 42.项目-录音功能
               let _toolsAarry = [1, 3, 6, 7, 16, 15, 4, 40, 41, 42];
               for (
                 var k = 0;
@@ -243,7 +243,7 @@ export default {
           var _rate3 = (_rate + _rate1 + _rate2) / 3;
           var _ratez = (_rate + _rate1 + _rate2 + _rate3) / 4;
           this.tdata.push({
-            name: "阶段" + (i + 1),
+            name: "Stage" + (i + 1),
             rate: _rate.toFixed(1),
             rate1: _rate1.toFixed(1),
             rate2: _rate2.toFixed(1),

+ 6 - 6
src/components/pages/components/report/courseRadar.vue

@@ -17,7 +17,7 @@ export default {
       chartObj: null,
       option: {
         // title: {
-        //   text: "项目完成度:各个阶段完成情况",
+        //   text: "项目Completion Rate:各NumberStage Completion Status",
         //   textStyle: {
         //     fontSize: 13,
         //   },
@@ -32,7 +32,7 @@ export default {
           },
         },
         legend: {
-          data: ["个人完成度", "班级平均完成度"],
+          data: ["Individual Completion Rate", "Class Average Completion Rate"],
           top: "bottom",
           icon: "circle",
         },
@@ -55,7 +55,7 @@ export default {
         ],
         series: [
           {
-            name: "个人完成度",
+            name: "Individual Completion Rate",
             type: "line",
             areaStyle: {},
             data: [],
@@ -64,7 +64,7 @@ export default {
             },
           },
           {
-            name: "班级平均完成度",
+            name: "Class Average Completion Rate",
             type: "line",
             areaStyle: {},
             data: [],
@@ -116,7 +116,7 @@ export default {
               j < chapters[i].chapterInfo[0].taskJson.length;
               j++
             ) {
-              // 1、电子白板,3、思维导图,6协同文档,7思维网格 16、作业提交,40.项目-学生互评 41.项目-下拉选择题 42.项目-录音功能
+              // 1、Electronic Whiteboard,3、Mind Map,6协同文档,7Thought Grid 16、作业提交,40.项目-学生互评 41.项目-下拉Multiple Choice Question 42.项目-录音功能
               let _toolsAarry = [1, 3, 6, 7, 16, 15, 4, 40, 41, 42];
               for (
                 var k = 0;
@@ -198,7 +198,7 @@ export default {
           //   this.option.series[0].data[i].value = this.randomNum(30, 80);
           _array1.push(this.workJson[i].work);
           _array2.push(this.workJson[i].allWork);
-          _xarray.push("阶段" + (i + 1))
+          _xarray.push("Stage" + (i + 1))
         }
         this.option.series[0].data = _array1;
         this.option.xAxis[0].data = _xarray;

+ 20 - 20
src/components/pages/components/report/studentAbility.vue

@@ -3,12 +3,12 @@
     <div style="background: #fff; padding: 10px 0; height: 100%">
       <div class="sd_person_button">
         <span @click="setType(2)" :class="{ active: type == 2 }"
-          >个人项目评价</span
+          >Individual Project Assessment</span
         >
         <span @click="setType(1)" :class="{ active: type == 1 }"
-          >课程目标设置</span
+          >Course Objective Setting</span
         >
-        <!-- <span @click="setType(3)" :class="{ active: type == 3 }">其他项目</span> -->
+        <!-- <span @click="setType(3)" :class="{ active: type == 3 }">Others项目</span> -->
       </div>
       <div style="display: flex; width: 100%; height: calc(100% - 50px)">
         <div
@@ -23,7 +23,7 @@
             justify-content: center;
           "
         >
-          <span v-if="!eJson">暂无数据</span>
+          <span v-if="!eJson">No Data Available</span>
         </div>
         <div
           id="person_canvas2"
@@ -40,8 +40,8 @@
           <!-- <div class="box2" v-show="work.length ? true : false">
             <div v-for="(item,index) in work" :key="index" class="target_box">
               <div class="target_task">
-                <span>第{{item.stage+1}}阶段</span>
-                <span>任务{{item.task+1}}</span>
+                <span>No.{{item.stage+1}}Stage</span>
+                <span>Task{{item.task+1}}</span>
               </div>
               <div class="target_content_box">
                 <div v-for="(target,k) in item.work" :key="index+'-'+k"
@@ -56,8 +56,8 @@
 
             </div>
           </div>
-          <span v-show="!work.length ? true : false">暂无数据</span> -->
-          <span v-show="!randarJson.length ? true : false">暂无数据</span>
+          <span v-show="!work.length ? true : false">No Data Available</span> -->
+          <span v-show="!randarJson.length ? true : false">No Data Available</span>
         </div>
       </div>
     </div>
@@ -103,7 +103,7 @@ export default {
       },
       option3: {
         // title: {
-        //   text: "项目活跃度:不同任务的学习时间占比",
+        //   text: "项目Activity Level:Percentage of Study Time per Task",
         //   textStyle: {
         //     fontSize: 13,
         //   },
@@ -126,14 +126,14 @@ export default {
         },
         yAxis: {
           type: "category",
-          data: ["阶段1", "阶段2", "阶段3", "阶段4", "阶段5"],
+          data: ["Stage 1", "Stage 2", "Stage 3", "Stage 4", "Stage 5"],
         },
         legend: {
           show: false,
         },
         series: [
           {
-            name: "任务1",
+            name: "Task 1",
             type: "bar",
             stack: "total",
             label: {
@@ -145,7 +145,7 @@ export default {
             data: [0, 0, 0, 0, 0],
           },
           {
-            name: "任务2",
+            name: "Task 2",
             type: "bar",
             stack: "total",
             label: {
@@ -157,7 +157,7 @@ export default {
             data: [0, 0, 0, 0, 0],
           },
           {
-            name: "任务3",
+            name: "Task 3",
             type: "bar",
             stack: "total",
             label: {
@@ -169,7 +169,7 @@ export default {
             data: [0, 0, 0, 0, 0],
           },
           {
-            name: "任务4",
+            name: "Task 4",
             type: "bar",
             stack: "total",
             label: {
@@ -181,7 +181,7 @@ export default {
             data: [0, 0, 0, 0, 0],
           },
           {
-            name: "任务5",
+            name: "Task 5",
             type: "bar",
             stack: "total",
             label: {
@@ -226,10 +226,10 @@ export default {
             },
           },
           indicator: [
-            // 雷达图的指示器,用来指定雷达图中的多变量(维度)
+            // 雷达图的指示器,用来指定雷达图中的多Number变量(维度)
           ],
         },
-        // 雷达图背景的颜色,在这儿随便设置了一颜色,完全不透明度为0,就实现了透明背景
+        // 雷达图背景的颜色,在这儿随便设置了一Number颜色,完全不透明度为0,就实现了透明背景
         splitArea: {
           show: true,
           areaStyle: {
@@ -245,7 +245,7 @@ export default {
         },
         series: [
           {
-            name: "目标得分占比", // tooltip中的标题
+            name: "Objective Score Percentage", // tooltip中的Title
             type: "radar", // 表示是雷达图
             symbol: "circle", // 拐点的样式,还可以取值'rect','angle'等
             symbolSize: 8, // 拐点的大小
@@ -257,7 +257,7 @@ export default {
             },
             data: [
               {
-                // 设置各指标原始值
+                // 设置各Number指标原始值
                 value: [],
                 // 设置区域边框和区域的颜色
                 itemStyle: {
@@ -537,7 +537,7 @@ export default {
               j < chapters[i].chapterInfo[0].taskJson.length;
               j++
             ) {
-              // 1、电子白板,3、思维导图,6协同文档,7思维网格 16、作业提交,40.项目-学生互评 41.项目-下拉选择题 42.项目-录音功能
+              // 1、Electronic Whiteboard,3、Mind Map,6协同文档,7Thought Grid 16、作业提交,40.项目-学生互评 41.项目-下拉Multiple Choice Question 42.项目-录音功能
               let _toolsAarry = [1, 3, 6, 7, 16, 15, 4, 40, 41, 42];
               for (
                 var k = 0;

+ 20 - 20
src/components/pages/components/report/studentAbilityGM.vue

@@ -2,22 +2,22 @@
   <div v-loading="isloading">
     <div style="background: #fff; padding: 10px 0; height: 100%">
       <div class="sd_person_button">
-        <span @click="setType(1)" :class="{ active: type == 1 }">项目目标设置</span>
-        <span @click="setType(2)" :class="{ active: type == 2 }">班级项目评价得分占比</span>
-        <!-- <span @click="setType(3)" :class="{ active: type == 3 }">其他项目</span> -->
+        <span @click="setType(1)" :class="{ active: type == 1 }">Setting Project Objectives</span>
+        <span @click="setType(2)" :class="{ active: type == 2 }">Class Project Evaluation Score Proportion</span>
+        <!-- <span @click="setType(3)" :class="{ active: type == 3 }">Others项目</span> -->
       </div>
       <div style="display: flex; width: 100%; height: calc(100% - 50px)">
         <div id="person_canvas1" class="echart" v-show="type == 1"
           style="width: 100%; height: 100%;display: flex;align-items: center;justify-content: center;">
-          <span v-if="!eJson">暂无数据</span>
+          <span v-if="!eJson">No Data Available</span>
         </div>
         <div id="person_canvas2" class="echart" v-show="type == 2"
           style="width: 100%; height: 100%;display: flex;align-items: center;justify-content: center;">
           <!-- <div class="box2" v-show="work.length ? true : false">
             <div v-for="(item,index) in work" :key="index" class="target_box">
               <div class="target_task">
-                <span>第{{item.stage+1}}阶段</span>
-                <span>任务{{item.task+1}}</span>
+                <span>No.{{item.stage+1}}Stage</span>
+                <span>Task{{item.task+1}}</span>
               </div>
               <div class="target_content_box">
                 <div v-for="(target,k) in item.work" :key="index+'-'+k"
@@ -32,8 +32,8 @@
 
             </div>
           </div>
-          <span v-show="!work.length ? true : false">暂无数据</span> -->
-          <span v-show="!randarJson.length ? true : false">暂无数据</span>
+          <span v-show="!work.length ? true : false">No Data Available</span> -->
+          <span v-show="!randarJson.length ? true : false">No Data Available</span>
 
 
         </div>
@@ -83,7 +83,7 @@ export default {
       },
       option3: {
         // title: {
-        //   text: "项目活跃度:不同任务的学习时间占比",
+        //   text: "项目Activity Level:Percentage of Study Time per Task",
         //   textStyle: {
         //     fontSize: 13,
         //   },
@@ -106,14 +106,14 @@ export default {
         },
         yAxis: {
           type: "category",
-          data: ["阶段1", "阶段2", "阶段3", "阶段4", "阶段5"],
+          data: ["Stage 1", "Stage 2", "Stage 3", "Stage 4", "Stage 5"],
         },
         legend: {
           show: false
         },
         series: [
           {
-            name: "任务1",
+            name: "Task 1",
             type: "bar",
             stack: "total",
             label: {
@@ -125,7 +125,7 @@ export default {
             data: [0, 0, 0, 0, 0],
           },
           {
-            name: "任务2",
+            name: "Task 2",
             type: "bar",
             stack: "total",
             label: {
@@ -137,7 +137,7 @@ export default {
             data: [0, 0, 0, 0, 0],
           },
           {
-            name: "任务3",
+            name: "Task 3",
             type: "bar",
             stack: "total",
             label: {
@@ -149,7 +149,7 @@ export default {
             data: [0, 0, 0, 0, 0],
           },
           {
-            name: "任务4",
+            name: "Task 4",
             type: "bar",
             stack: "total",
             label: {
@@ -161,7 +161,7 @@ export default {
             data: [0, 0, 0, 0, 0],
           },
           {
-            name: "任务5",
+            name: "Task 5",
             type: "bar",
             stack: "total",
             label: {
@@ -206,10 +206,10 @@ export default {
             },
           },
           indicator: [
-            // 雷达图的指示器,用来指定雷达图中的多变量(维度)
+            // 雷达图的指示器,用来指定雷达图中的多Number变量(维度)
           ],
         },
-        // 雷达图背景的颜色,在这儿随便设置了一颜色,完全不透明度为0,就实现了透明背景
+        // 雷达图背景的颜色,在这儿随便设置了一Number颜色,完全不透明度为0,就实现了透明背景
         splitArea: {
           show: true,
           areaStyle: {
@@ -225,7 +225,7 @@ export default {
         },
         series: [
           {
-            name: "目标得分占比", // tooltip中的标题
+            name: "Objective Score Percentage", // tooltip中的Title
             type: "radar", // 表示是雷达图
             symbol: "circle", // 拐点的样式,还可以取值'rect','angle'等
             symbolSize: 8, // 拐点的大小
@@ -237,7 +237,7 @@ export default {
             },
             data: [
               {
-                // 设置各指标原始值
+                // 设置各Number指标原始值
                 value: [],
                 // 设置区域边框和区域的颜色
                 itemStyle: {
@@ -488,7 +488,7 @@ export default {
               j < chapters[i].chapterInfo[0].taskJson.length;
               j++
             ) {
-              // 1、电子白板,3、思维导图,6协同文档,7思维网格 16、作业提交,40.项目-学生互评 41.项目-下拉选择题 42.项目-录音功能
+              // 1、Electronic Whiteboard,3、Mind Map,6协同文档,7Thought Grid 16、作业提交,40.项目-学生互评 41.项目-下拉Multiple Choice Question 42.项目-录音功能
               let _toolsAarry = [1, 3, 6, 7, 16, 15, 4, 40, 41, 42];
               for (
                 var k = 0;

+ 9 - 9
src/components/pages/components/report/studentInfo.vue

@@ -4,29 +4,29 @@
       <img class="si_img" src="@/assets/portal.png" alt="" />
       <div class="si_content">
         <div>
-          <span>姓名:</span><span>{{ userinfo.name }}</span>
+          <span>Name:</span><span>{{ userinfo.name }}</span>
         </div>
         <div>
-          <span>班级:</span
+          <span>Class:</span
           ><span>{{
-            userinfo.classname ? userinfo.classname : "暂无班级"
+            userinfo.classname ? userinfo.classname : "No Class Available"
           }}</span>
         </div>
         <div>
-          <span>账号:</span><span>{{ userinfo.username }}</span>
+          <span>Account:</span><span>{{ userinfo.username }}</span>
         </div>
       </div>
     </div>
     <div class="si_course" v-if="Object.keys(userinfo).length">
-      <div class="si_course_head">课程概况</div>
+      <div class="si_course_head">Course Overview</div>
       <div class="si_course_content">
         <div class="si_course_box">
           <div>{{ ccount }}</div>
-          <div>全部任务</div>
+          <div>All Tasks</div>
         </div>
         <div class="si_course_box">
           <div>{{ iscount }}</div>
-          <div>已完成</div>
+          <div>Completed</div>
         </div>
         <!-- <div class="si_course_box">
           <div>{{ vcount }}</div>
@@ -34,7 +34,7 @@
         </div> -->
         <div class="si_course_box">
           <div>{{ islearn }}</div>
-          <div>待学习</div>
+          <div>To Be Studied</div>
         </div>
       </div>
     </div>
@@ -89,7 +89,7 @@ export default {
               j < chapters[i].chapterInfo[0].taskJson.length;
               j++
             ) {
-              // 1、电子白板,3、思维导图,6协同文档,7思维网格 16、作业提交,40.项目-学生互评 41.项目-下拉选择题 42.项目-录音功能
+              // 1、Electronic Whiteboard,3、Mind Map,6协同文档,7Thought Grid 16、作业提交,40.项目-学生互评 41.项目-下拉Multiple Choice Question 42.项目-录音功能
               let _toolsAarry = [
                 1, 3, 6, 7, 16, 15, 4, 40, 41, 42, 49, 50, 52, 32, 57,
               ];

+ 20 - 20
src/components/pages/components/reportGM.vue

@@ -1,13 +1,13 @@
 <template>
   <div class="r_box">
     <div class="r_cbox">
-      <span>学生姓名</span>
+      <span>Student Name</span>
       <el-select
         multiple
         collapse-tags
         class="r_select"
         v-model="uname"
-        placeholder="全部"
+        placeholder="All"
         filterable
       >
         <el-option
@@ -20,13 +20,13 @@
       </el-select>
     </div>
     <div class="r_cbox">
-      <span>选择阶段</span>
+      <span>Stage Selection</span>
       <el-select
         class="r_select"
         v-model="chap"
         multiple
         collapse-tags
-        placeholder="全部"
+        placeholder="All"
         @change="changeChap"
       >
         <el-option
@@ -38,13 +38,13 @@
       </el-select>
     </div>
     <div class="r_cbox">
-      <span>任务内容</span>
+      <span>Task Content</span>
       <el-select
         class="r_select"
         v-model="task"
         multiple
         collapse-tags
-        placeholder="全部"
+        placeholder="All"
       >
         <el-option-group
           v-for="(group, index) in dyAarray"
@@ -62,7 +62,7 @@
       </el-select>
     </div>
     <div class="btn_box">
-      <el-button class="btn btnClassGM" type="primary" @click="confirm">确定</el-button>
+      <el-button class="btn btnClassGM" type="primary" @click="confirm">Confirm</el-button>
     </div>
   </div>
 </template>
@@ -169,12 +169,12 @@ export default {
                   questList: [],
                   wordList: [],
                   chapName:
-                    "" +
+                    "No." +
                     (parseInt(_chap[chapI]) + 1) +
-                    "阶段 " +
+                    "Stage " +
                     this.dyList[_chap[chapI]].name,
                   taskName:
-                    "任务" +
+                    "Task" +
                     (parseInt(_tI[1]) + 1) +
                     this.dyList[_chap[chapI]].taskList[_tI[1]].name,
                   username: _uname[i].username,
@@ -247,12 +247,12 @@ export default {
                   questList: [],
                   wordList: [],
                   chapName:
-                    "" +
+                    "No." +
                     (parseInt(_chap[chapI]) + 1) +
-                    "阶段 " +
+                    "Stage " +
                     this.dyList[_chap[chapI]].name,
                   taskName:
-                    "任务" +
+                    "Task" +
                     (parseInt(_tI[1]) + 1) +
                     this.dyList[_chap[chapI]].taskList[_tI[1]].name,
                   username: _uname[i].username,
@@ -348,15 +348,15 @@ export default {
 
       var _ask = "";
       if (workJson.askList.length > 0) {
-        var _ask = "<h3>问卷调查</h3>";
+        var _ask = "<h3>Survey</h3>";
         for (var i = 0; i < workJson.askList.length; i++) {
           var _div = document.createElement("div");
-          _div.innerHTML = `<h4>问卷标题:${workJson.askList[i].askTitle}</h4>`;
+          _div.innerHTML = `<h4>Questionnaire Title:${workJson.askList[i].askTitle}</h4>`;
           for (var j = 0; j < workJson.askList[i].askJson.length; j++) {
             var _div2 = document.createElement("div");
-            _div2.innerHTML = `<h5>第${j + 1}题:${
+            _div2.innerHTML = `<h5>No.${j + 1}Question:${
               workJson.askList[i].askJson[j].askstitle
-            }  选择:${workJson.askList[i].radio[j] + 1}</h5> `;
+            }  Selection:${workJson.askList[i].radio[j] + 1}</h5> `;
             var _div3 = document.createElement("div");
             for (
               var z = 0;
@@ -376,10 +376,10 @@ export default {
 
       var _answer = "";
       if (workJson.questList.length > 0) {
-        var _answer = "<h3>问答</h3>";
+        var _answer = "<h3>Q&A</h3>";
         for (var i = 0; i < workJson.questList.length; i++) {
           var _div = document.createElement("div");
-          _div.innerHTML = `<h4>问答:${workJson.questList[i].answerTitle}</h4>`;
+          _div.innerHTML = `<h4>Q&A:${workJson.questList[i].answerTitle}</h4>`;
           _div.innerHTML += `<div>${workJson.questList[i].answer}</div>`;
           _answer += `<div>${_div.innerHTML}</div>`;
         }
@@ -433,7 +433,7 @@ export default {
         }
         dname+=_uname.join('、')+'.html'
       } else {
-        dname+='全部学生.html'
+        dname+='All Students.html'
       }
       link.download = dname; // 文件名
       link.style.display = "none";

+ 17 - 17
src/components/pages/components/stReport.vue

@@ -2,9 +2,9 @@
   <div style="padding-bottom: 20px">
     <div class="search">
       <div class="student_search">
-        <div>班级筛选</div>
+        <div>Class Filter</div>
         <el-select v-model="classChoose" @change="searchStudent">
-          <el-option label="全部" value="">全部</el-option>
+          <el-option label="All" value="">All</el-option>
           <el-option
             v-for="(c, cIndex) in classJuri"
             :key="cIndex"
@@ -17,9 +17,9 @@
         <div class="searchImg">
           <img src="../../../assets/icon/search.png" alt="" />
         </div>
-        <el-input v-model="sName" placeholder="请输入学生姓名或账号"></el-input>
+        <el-input v-model="sName" placeholder="Please enter the student's name or account number"></el-input>
         <el-button size="mini" type="primary" @click="searchStudent"
-          >查询</el-button
+          >Search</el-button
         >
       </div>
     </div>
@@ -36,31 +36,31 @@
         <el-table-column
           prop="sName"
           align="center"
-          label="学生姓名"
+          label="Student Name"
           min-width="20%"
         >
         </el-table-column>
         <el-table-column
           prop="cName"
           align="center"
-          label="班级"
+          label="Class"
           min-width="20%"
         >
         </el-table-column>
         <el-table-column
           prop="course"
           align="center"
-          label="课程"
+          label="Course"
           min-width="40%"
         >
         </el-table-column>
-        <el-table-column label="操作" align="center" min-width="20%">
+        <el-table-column label="Actions" align="center" min-width="20%">
           <template slot-scope="scope">
             <el-button
               size="mini"
               type="primary"
               @click="lookEvaCourse(scope.row.userid)"
-              >报告</el-button
+              >Report</el-button
             >
           </template>
         </el-table-column>
@@ -77,7 +77,7 @@
       ></el-pagination>
     </div>
     <el-dialog
-      title="选择报告"
+      title="Select Report"
       :visible.sync="dialogVisible"
       :append-to-body="true"
       width="650px"
@@ -91,16 +91,16 @@
           :key="index"
           v-loading="isLoading1"
         >
-          <div>目标体系-{{ item.title }}</div>
+          <div>Target System-{{ item.title }}</div>
           <el-table :data="item.course" border style="width: 100%" stripe>
             <el-table-column
               prop="title"
-              label="项目"
+              label="Project"
               align="center"
               min-width="15%"
             >
             </el-table-column>
-            <el-table-column label="选择" align="center" min-width="25%">
+            <el-table-column label="Selection" align="center" min-width="25%">
               <template slot-scope="scope">
                 <input
                   type="checkbox"
@@ -113,10 +113,10 @@
           </el-table>
         </div>
       </div>
-      <div v-else>正在加载数据中...</div>
+      <div v-else>Loading Data...</div>
       <span slot="footer" class="dialog-footer">
-        <el-button @click="dialogVisible = false">取 消</el-button>
-        <el-button type="primary" @click="getStudentReport">确定</el-button>
+        <el-button @click="dialogVisible = false">Cancel</el-button>
+        <el-button type="primary" @click="getStudentReport">Confirm</el-button>
       </span>
     </el-dialog>
   </div>
@@ -165,7 +165,7 @@ export default {
         this.$emit("getStReport", this.courseIdList, this.isChooseStudent);
         this.dialogVisible = false;
       } else {
-        this.$message.error("请选择至少一项课程!");
+        this.$message.error("Please Select At Least One Course!");
       }
     },
     handleClose(done) {

+ 102 - 102
src/components/pages/components/studentData.vue

@@ -1,72 +1,72 @@
 <template>
   <div>
     <div class="sd_name">
-      <span>学生姓名:</span>
+      <span>Student Name:</span>
       <span>{{studentInfo.sName}}</span>
     </div>
 
     <div class="sd_class">
-      <div class="sd_tTitle">課堂表現</div>
+      <div class="sd_tTitle">Classroom Performance</div>
       <div class="sd_module">
         <div class="sd_module_content">
           <div class="sd_module_children">
-            <span class="s">課堂活動</span>
+            <span class="s">Classroom Activities</span>
             <span class="s2">
-              <span>{{randomNum(1,20)}}</span>
+              <span>{{randomNum(1,20)}}</span>Times
             </span>
-            <span>已經擊敗99%學生</span>
+            <span>Already Outperformed 99% of Students</span>
           </div>
           <div class="sd_module_count">
-            <span>挑戰:</span>
-            <span>{{randomNum(1,5)}}</span>
+            <span>Challenge:</span>
+            <span>{{randomNum(1,5)}}</span>Times
           </div>
           <div class="sd_module_count">
-            <span>選項挑戰:</span>
-            <span>{{randomNum(1,5)}}</span>
+            <span>Option Challenge:</span>
+            <span>{{randomNum(1,5)}}</span>Times
           </div>
           <div class="sd_module_count">
-            <span>分數挑戰:</span>
-            <span>{{randomNum(1,5)}}</span>
+            <span>Score Challenge:</span>
+            <span>{{randomNum(1,5)}}</span>Times
           </div>
         </div>
         <div class="sd_module_content">
           <div class="sd_module_children">
-            <span class="s">課堂生成</span>
+            <span class="s">Class Creation</span>
             <span class="s2">
-              <span>{{randomNum(1,10)}}</span>
+              <span>{{randomNum(1,10)}}</span>Times
             </span>
-            <span>已經擊敗99%學生</span>
+            <span>Already Outperformed 99% of Students</span>
           </div>
           <div class="sd_module_count">
-            <span>作品上傳:</span>
-            <span>{{randomNum(1,20)}}</span>
+            <span>Upload Work:</span>
+            <span>{{randomNum(1,20)}}</span>Sheets
           </div>
           <div class="sd_module_count">
-            <span>視頻上傳:</span>
-            <span>{{randomNum(1,5)}}</span>
+            <span>Upload Video:</span>
+            <span>{{randomNum(1,5)}}</span>Parts
           </div>
         </div>
 
         <div class="sd_module_content">
           <div class="sd_module_children">
-            <span class="s">自主活動</span>
+            <span class="s">Independent Activities</span>
             <span class="s2">
-              <span>{{randomNum(1,15)}}</span>
-              <span>{{randomNum(1,60)}}</span>
+              <span>{{randomNum(1,15)}}</span>Minute
+              <span>{{randomNum(1,60)}}</span>Second
             </span>
-            <span>已經擊敗99%學生</span>
+            <span>Already Outperformed 99% of Students</span>
           </div>
           <div class="sd_module_count">
-            <span>計時:</span>
-            <span>{{randomNum(1,5)}}</span>
+            <span>Timing:</span>
+            <span>{{randomNum(1,5)}}</span>Minute
           </div>
           <div class="sd_module_count">
-            <span>小組計分:</span>
-            <span>{{randomNum(1,10)}}</span>
+            <span>Group Scoring:</span>
+            <span>{{randomNum(1,10)}}</span>Times
           </div>
           <div class="sd_module_count">
-            <span>個人計分:</span>
-            <span>{{randomNum(1,10)}}</span>
+            <span>Individual Scoring:</span>
+            <span>{{randomNum(1,10)}}</span>Score
           </div>
         </div>
       </div>
@@ -79,14 +79,14 @@
       </div>
     </div>
     <div class="sd_class">
-      <div class="sd_tTitle">個人能力</div>
+      <div class="sd_tTitle">Personal Skills</div>
       <div class="sd_person_button">
-        <span @click="setType(1)" :class="{'active':type == 1}">語文</span>
-        <span @click="setType(2)" :class="{'active':type == 2}">數學</span>
-        <span @click="setType(3)" :class="{'active':type == 3}">英語</span>
-        <span @click="setType(4)" :class="{'active':type == 4}">資訊科技</span>
-        <span @click="setType(5)" :class="{'active':type == 5}">藝術</span>
-        <span @click="setType(6)" :class="{'active':type == 6}">跨學科素養</span>
+        <span @click="setType(1)" :class="{'active':type == 1}">Chinese</span>
+        <span @click="setType(2)" :class="{'active':type == 2}">Maths</span>
+        <span @click="setType(3)" :class="{'active':type == 3}">English</span>
+        <span @click="setType(4)" :class="{'active':type == 4}">IT</span>
+        <span @click="setType(5)" :class="{'active':type == 5}">Arts</span>
+        <span @click="setType(6)" :class="{'active':type == 6}">Interdisciplinary Literacy</span>
       </div>
       <div class="sd_person_data">
         <div
@@ -140,22 +140,22 @@ export default {
               },
             },
             data: [
-              { value: 0, name: "学习时间" },
-              { value: 0, name: "自我介绍" },
-              { value: 0, name: "能力闯关" },
-              { value: 0, name: "提交探究表" },
-              { value: 0, name: "提交活动表" },
-              { value: 0, name: "讨论交流" },
-              { value: 0, name: "与大家分享你的“神兽”" },
-              { value: 0, name: "总结其它动物保护自己" },
-              { value: 0, name: "作业提交" },
-              { value: 0, name: "拓展思考,讨论交流" },
-              { value: 0, name: "提交倡议书" },
-              { value: 0, name: "提交学习手册" },
-              { value: 0, name: "能力测试" },
-              { value: 0, name: "自我评价调查问卷" },
-              { value: 0, name: "课程满意度调查问卷" },
-              { value: 0, name: "家长评价问卷调查" },
+              { value: 0, name: "Study Time" },
+              { value: 0, name: "Self-introduction" },
+              { value: 0, name: "Skill Challenge" },
+              { value: 0, name: "Submit Inquiry Form" },
+              { value: 0, name: "Submit Activity Form" },
+              { value: 0, name: "Discuss and Share" },
+              { value: 0, name: "Share your 'Sacred Beast' with Everyone" },
+              { value: 0, name: "Summarise How Other Animals Protect Themselves" },
+              { value: 0, name: "Homework Submission" },
+              { value: 0, name: "Extend Thinking, Discuss and Share" },
+              { value: 0, name: "Submit Proposal" },
+              { value: 0, name: "Submit Learning Manual" },
+              { value: 0, name: "Ability Test" },
+              { value: 0, name: "Self-assessment Survey" },
+              { value: 0, name: "Course Satisfaction Survey" },
+              { value: 0, name: "Parent Evaluation Survey" },
             ],
             emphasis: {
               itemStyle: {
@@ -206,15 +206,15 @@ export default {
         yAxis: {
           type: "category",
           data: [
-            "資訊應用意識",
-            "資訊安全意識",
-            "資訊感知意識",
-            "資訊社會責任",
-            "資訊法律法規",
-            "資訊應用技能",
-            "資訊科學知識",
-            "資訊思維",
-            "資訊行為",
+            "Information Application Awareness",
+            "Information Security Awareness",
+            "Information Perception Awareness",
+            "Information Social Responsibility",
+            "Information Laws and Regulations",
+            "Information Application Skills",
+            "Information Science Knowledge",
+            "Information Thinking",
+            "Information Behaviour",
           ],
           axisLine: {
             show: false,
@@ -255,22 +255,22 @@ export default {
           this.$el.querySelector("#charts_canvas")
         );
         var optionB = [
-          { 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: "提交活動錶" },
-          { 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: "拓展思考,討論交流" },
-          { 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: "課程滿意度調查問卷" },
-          { value: this.randomNum(0, 300), name: "家長評估問卷調查" },
+          { value: this.randomNum(0, 300), name: "Study Time" },
+          { value: this.randomNum(0, 300), name: "Self-introduction" },
+          { value: this.randomNum(0, 300), name: "Skill Challenge" },
+          { value: this.randomNum(0, 300), name: "Submit Inquiry Form" },
+          { value: this.randomNum(0, 300), name: "Submit Activity Form" },
+          { value: this.randomNum(0, 300), name: "Discuss and Share" },
+          { value: this.randomNum(0, 300), name: "Share your 'Sacred Beast' with Everyone" },
+          { value: this.randomNum(0, 300), name: "Summarise How Other Animals Protect Themselves" },
+          { value: this.randomNum(0, 300), name: "Homework Submission" },
+          { value: this.randomNum(0, 300), name: "Extend Thinking, Discuss and Share" },
+          { value: this.randomNum(0, 300), name: "Submit Proposal" },
+          { value: this.randomNum(0, 300), name: "Submit Learning Manual" },
+          { value: this.randomNum(0, 300), name: "Ability Test" },
+          { value: this.randomNum(0, 300), name: "Self-assessment Survey" },
+          { value: this.randomNum(0, 300), name: "Course Satisfaction Survey" },
+          { value: this.randomNum(0, 300), name: "Parent Evaluation Survey" },
         ];
         this.option.series[0].data = optionB;
         const chartObj2 = this.$echarts.init(
@@ -279,61 +279,61 @@ export default {
         );
         this.option2.series.data = [
           {
-            name: "資訊意識",
+            name: "Information Consciousness",
             value: 15,
             children: [
               {
-                name: "資訊應用意識",
+                name: "Information Application Awareness",
                 value: this.randomNum(1, 5),
               },
               {
-                name: "資訊安全意識",
+                name: "Information Security Awareness",
                 value: this.randomNum(1, 5),
               },
               {
-                name: "資訊感知意識",
+                name: "Information Perception Awareness",
                 value: this.randomNum(1, 5),
               },
             ],
           },
           {
-            name: "資訊社會責任",
+            name: "Information Social Responsibility",
             value: 15,
             children: [
               {
-                name: "資訊倫理道德",
+                name: "Information Ethics",
                 value: this.randomNum(1, 5),
               },
               {
-                name: "資訊法律法規",
+                name: "Information Laws and Regulations",
                 value: this.randomNum(1, 10),
               },
             ],
           },
           {
-            name: "資訊知識與技能",
+            name: "Information Knowledge and Skills",
             value: 15,
             children: [
               {
-                name: "資訊應用技能",
+                name: "Information Application Skills",
                 value: 5,
               },
               {
-                name: "資訊科學知識",
+                name: "Information Science Knowledge",
                 value: 10,
               },
             ],
           },
           {
-            name: "資訊思維與行為",
+            name: "Information Thinking and Behaviour",
             value: 15,
             children: [
               {
-                name: "資訊思維",
+                name: "Information Thinking",
                 value: this.randomNum(1, 10),
               },
               {
-                name: "資訊行為",
+                name: "Information Behaviour",
                 value: this.randomNum(1, 5),
               },
             ],
@@ -381,61 +381,61 @@ export default {
       this.type = type;
       this.option2.series.data = [
         {
-          name: "資訊意識",
+          name: "Information Consciousness",
           value: 15,
           children: [
             {
-              name: "資訊應用意識",
+              name: "Information Application Awareness",
               value: this.randomNum(1, 5),
             },
             {
-              name: "資訊安全意識",
+              name: "Information Security Awareness",
               value: this.randomNum(1, 5),
             },
             {
-              name: "資訊感知意識",
+              name: "Information Perception Awareness",
               value: this.randomNum(1, 5),
             },
           ],
         },
         {
-          name: "資訊社會責任",
+          name: "Information Social Responsibility",
           value: 15,
           children: [
             {
-              name: "資訊倫理道德",
+              name: "Information Ethics",
               value: this.randomNum(1, 5),
             },
             {
-              name: "資訊法律法規",
+              name: "Information Laws and Regulations",
               value: this.randomNum(1, 10),
             },
           ],
         },
         {
-          name: "資訊知識與技能",
+          name: "Information Knowledge and Skills",
           value: 15,
           children: [
             {
-              name: "資訊應用技能",
+              name: "Information Application Skills",
               value: 5,
             },
             {
-              name: "資訊科學知識",
+              name: "Information Science Knowledge",
               value: 10,
             },
           ],
         },
         {
-          name: "資訊思維與行為2",
+          name: "Information Thinking and Behaviour 2",
           value: 15,
           children: [
             {
-              name: "資訊思維",
+              name: "Information Thinking",
               value: this.randomNum(1, 10),
             },
             {
-              name: "資訊行為",
+              name: "Information Behaviour",
               value: this.randomNum(1, 5),
             },
           ],

+ 6 - 6
src/components/pages/components/studentReport.vue

@@ -1,21 +1,21 @@
 <template>
   <div style="width: 100%; height: 100%">
-    <div class="sr_head">学生成长报告</div>
+    <div class="sr_head">Student Growth Report</div>
     <div class="sr_body">
       <div class="sr_box">
         <div class="sr_first">
           <div class="first">
-            <div class="sub_title"><span>学生基本信息</span></div>
+            <div class="sub_title"><span>Student Basic Information</span></div>
             <StudentInfo class="r_box" :userid="userid" :courseid="courseid"></StudentInfo>
           </div>
           <div class="second">
-            <div class="sub_title"><span>项目基本信息</span></div>
+            <div class="sub_title"><span>Project Basic Information</span></div>
             <CourseInfo class="r_box" :courseid="courseid"></CourseInfo>
           </div>
         </div>
         <div class="sr_second">
           <div class="first">
-            <div class="sub_title"><span>学生综合能力评估</span></div>
+            <div class="sub_title"><span>Student Comprehensive Ability Assessment</span></div>
             <StudentAbility class="r_box"  :userid="userid" :courseid="courseid"></StudentAbility>
           </div>
           <!-- <div class="second">
@@ -25,11 +25,11 @@
         </div>
         <div class="sr_third">
           <div class="first">
-            <div class="sub_title"><span>阶段完成情况</span></div>
+            <div class="sub_title"><span>Stage Completion Status</span></div>
             <CourseRadar class="r_box" :userid="userid" :courseid="courseid"></CourseRadar>
           </div>
           <div class="second">
-            <div class="sub_title"><span>阶段评价平均分</span></div>
+            <div class="sub_title"><span>Stage Evaluation Average Score</span></div>
             <CoursePie class="r_box" :userid="userid" :courseid="courseid"></CoursePie>
           </div>
         </div>

+ 6 - 6
src/components/pages/components/studentReportGM.vue

@@ -1,21 +1,21 @@
 <template>
   <div style="width: 100%; height: 100%">
-    <div class="sr_head">学生成长报告</div>
+    <div class="sr_head">Student Growth Report</div>
     <div class="sr_body">
       <div class="sr_box">
         <div class="sr_first">
           <div class="first">
-            <div class="sub_title"><span>学生基本信息</span></div>
+            <div class="sub_title"><span>Student Basic Information</span></div>
             <StudentInfo class="r_box" :userid="userid" :courseid="courseid"></StudentInfo>
           </div>
           <div class="second">
-            <div class="sub_title"><span>项目基本信息</span></div>
+            <div class="sub_title"><span>Project Basic Information</span></div>
             <CourseInfo class="r_box" :courseid="courseid"></CourseInfo>
           </div>
         </div>
         <div class="sr_second" v-if="false">
           <div class="first">
-            <div class="sub_title"><span>学生综合能力评估</span></div>
+            <div class="sub_title"><span>Student Comprehensive Ability Assessment</span></div>
             <StudentAbility class="r_box"  :userid="userid" :courseid="courseid"></StudentAbility>
           </div>
           <!-- <div class="second">
@@ -25,11 +25,11 @@
         </div>
         <div class="sr_third">
           <div class="first">
-            <div class="sub_title"><span>阶段完成情况</span></div>
+            <div class="sub_title"><span>Stage Completion Status</span></div>
             <CourseRadar class="r_box" :userid="userid" :courseid="courseid"></CourseRadar>
           </div>
           <div class="second">
-            <div class="sub_title"><span>阶段评价平均分</span></div>
+            <div class="sub_title"><span>Stage Evaluation Average Score</span></div>
             <CoursePie class="r_box" :userid="userid" :courseid="courseid"></CoursePie>
           </div>
         </div>

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 137 - 137
src/components/pages/components/studentWorksDetail.vue


+ 6 - 6
src/components/pages/components/voteStatic.vue

@@ -1,7 +1,7 @@
 <template>
   <div class="sjBox" v-if="askJSONC && askJSONC.askJson">
     <div class="a_add_title">
-      <div style="font-size: 25px"><spna style="color:rgb(113, 113, 113);">投票标题:</spna>{{ askJSONC.askTitle }}</div>
+      <div style="font-size: 25px"><spna style="color:rgb(113, 113, 113);">Poll Title:</spna>{{ askJSONC.askTitle }}</div>
     </div>
     <div class="a_addBox">
       <div
@@ -16,13 +16,13 @@
           <!-- <el-button
             type="primary"
             @click="getA(checkJson[index].checkPerson, item.checkList)"
-            >查看</el-button
+            >View</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>Voting Options</span><span>Vote Subtotal</span><span>Voting Ratio</span>
             </div>
             <div class="a_add_persent">
               <div
@@ -58,7 +58,7 @@
       </div>
     </div>
     <el-dialog
-      title="查看"
+      title="View"
       :visible.sync="dialogVisible"
       :append-to-body="true"
       width="900px"
@@ -70,7 +70,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">
-              选择:
+              Selection:
             </div>
             <div class="stuBox" style="flex-wrap: wrap">
               <span
@@ -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>

+ 2 - 2
src/components/pages/components/vpdf.vue

@@ -2,7 +2,7 @@
   <!--使用 pdfvuer 实现 滑动浏览 单印章-->
   <div class="pdf">
     <div class="loading" v-show="isloading">
-      <span>pdf可能会加载时间有点长,请耐心等待...</span>
+      <span>The pdf may take some time to load, please be patient...</span>
     </div>
     <!-- <div id="contentArea" class="show" v-if="!loading">
       <pdf :scale.sync="scale" :resize="true" ref="wrapper" class="p-pdf" :src="pdfData" v-for="i in numPages" :key="i"
@@ -13,7 +13,7 @@
       :src="'https://cloud.cocorobo.cn/pdf.js/web/viewer.html?file=' + pdfUrl"></iframe>
     <!-- <div class="rightArea">
       <div class="toolGroup">
-        <div class="page"> {{ page }} / {{ numPages }} 页</div>
+        <div class="page">No. {{ page }} / {{ numPages }} 页</div>
         <el-button type="primary" @click.stop="prePage">上一页</el-button>
         <el-button type="primary" @click.stop="nextPage">下一页</el-button>
       </div>

+ 75 - 75
src/components/pages/components/workData.vue

@@ -4,7 +4,7 @@
       <span>{{ this.dataJson.title }}</span>
     </div>
     <div class="cp_title" v-if="false">
-      <span>{{ "教师姓名:" + this.dataJson.uname }}</span>
+      <span>{{ "teacher name:" + this.dataJson.uname }}</span>
     </div>
     <div class="data_body" v-if="false">
       <div class="data_c">
@@ -37,25 +37,25 @@
                 text-align: center;
               "
             >
-              <span>课程人数:共100人,已完成人数{{ randomNum(50, 100) }}人</span>
+              <span>Course number: a total of 100 people, the number of people who have completed{{ randomNum(50, 100) }}People</span>
             </div>
             <div class="sd_module_children">
-              <span class="s">课堂时长</span>
+              <span class="s">Class Duration</span>
               <span class="s2">
                 <span>{{ randomNum(5, 15) }}</span
-                > <span>{{ randomNum(1, 60) }}</span
-                > <span>{{ randomNum(1, 59) }}</span
-                >
+                >Times <span>{{ randomNum(1, 60) }}</span
+                >Minute <span>{{ randomNum(1, 59) }}</span
+                >Second
               </span>
-              <span>已经击败99%教师</span>
+              <span>Already Surpassing 99% of Teachers</span>
             </div>
             <div class="sd_module_children">
-              <span class="s">课堂节数</span>
+              <span class="s">Number of classes</span>
               <span class="s2">
                 <span>{{ randomNum(5, 20) }}</span
-                >
+                >Classes
               </span>
-              <span>已经击败99%教师</span>
+              <span>Already Surpassing 99% of Teachers</span>
             </div>
           </div>
           <div style="width: 45%; position: relative">
@@ -76,35 +76,35 @@
                 box-sizing: border-box;
               "
             >
-              <span>教师为中心</span>
-              <span>学生为中心</span>
+              <span>Teacher-Centred</span>
+              <span>Student-Centred</span>
             </div>
           </div>
           <div class="sd_module_content">
             <div class="sd_module_children">
-              <span class="s">课堂互动</span>
+              <span class="s">Classroom Interaction</span>
               <span class="s2">
                 <span>{{ randomNum(10, 20) }}</span
-                >
+                >Times
               </span>
-              <span>已经击败99%教师</span>
+              <span>Already Surpassing 99% of Teachers</span>
             </div>
             <div class="sd_module_children">
-              <span class="s">课堂生成</span>
+              <span class="s">Classroom Generation</span>
               <span class="s2">
                 <span>{{ randomNum(7, 15) }}</span
-                >
+                >Classes
               </span>
-              <span>已经击败99%教师</span>
+              <span>Already Surpassing 99% of Teachers</span>
             </div>
             <div class="sd_module_children">
-              <span class="s">自主活动</span>
+              <span class="s">Independent Activity</span>
               <span class="s2">
                 <span>{{ randomNum(10, 20) }}</span
-                > <span>{{ randomNum(10, 59) }}</span
-                >
+                >Minute <span>{{ randomNum(10, 59) }}</span
+                >Second
               </span>
-              <span>已经击败99%教师</span>
+              <span>Already Surpassing 99% of Teachers</span>
             </div>
           </div>
         </div>
@@ -128,18 +128,18 @@
       <!-- <img src="../../../assets/data/tu1.png" alt style="width:100%" /> -->
     </div>
     <div class="sd_class">
-      <div class="sd_tTitle" v-if="false">班级学生能力分析</div>
+      <div class="sd_tTitle" v-if="false">Class Student Ability Analysis</div>
       <div style="background: #fff; padding: 10px 0">
         <div class="sd_person_button" v-if="false">
-          <span @click="setType(1)" :class="{ active: type == 1 }">语文</span>
-          <span @click="setType(2)" :class="{ active: type == 2 }">数学</span>
-          <span @click="setType(3)" :class="{ active: type == 3 }">英语</span>
+          <span @click="setType(1)" :class="{ active: type == 1 }">Chinese</span>
+          <span @click="setType(2)" :class="{ active: type == 2 }">Mathematics</span>
+          <span @click="setType(3)" :class="{ active: type == 3 }">English</span>
           <span @click="setType(4)" :class="{ active: type == 4 }"
-            >信息科技</span
+            >Information Technology</span
           >
-          <span @click="setType(5)" :class="{ active: type == 5 }">艺术</span>
+          <span @click="setType(5)" :class="{ active: type == 5 }">Arts</span>
           <span @click="setType(6)" :class="{ active: type == 6 }"
-            >跨学科素养</span
+            >Interdisciplinary Literacy</span
           >
         </div>
         <div style="display: flex; flex-wrap: wrap">
@@ -158,7 +158,7 @@
             ></div>
           </div>
           <div style="width: 100%">
-            <div style="width:94%;margin: 0 auto;font-size: 26px;">作业查看</div>
+            <div style="width:94%;margin: 0 auto;font-size: 26px;">Homework Review</div>
             <WorksDetail2 :cid="cid" :uid="uid" :ooid="ooid"></WorksDetail2>
             <!-- <el-table
               ref="table"
@@ -170,7 +170,7 @@
               :header-cell-style="{ background: '#f1f1f1' }"
               :row-class-name="tableRowClassName"
             >
-              <el-table-column prop="name" label="姓名" min-width="20%" align="center"></el-table-column>
+              <el-table-column prop="name" label="Name" min-width="20%" align="center"></el-table-column>
               <el-table-column prop="number" label="学号" min-width="20%" align="center"></el-table-column>
               <el-table-column prop="class" label="班级" min-width="20%" align="center"></el-table-column>
               <el-table-column prop="score" label="分数" min-width="20%" align="center"></el-table-column>
@@ -270,9 +270,9 @@ export default {
       tools: [],
       chapters: [],
       workJson: [], //多少人提交作业数据
-      scoreJson: [], //量规评分数据
+      scoreJson: [], //量规Grading数据
       problemJson: [], //问答数据
-      toolsJson: [], //工具数据
+      toolsJson: [], //Tools数据
       type: 6,
       chartObj: null,
       chartObj2: null,
@@ -333,7 +333,7 @@ export default {
             data: [
               {
                 value: 60,
-                name: "課堂類型",
+                name: "Class Type",
                 title: {
                   offsetCenter: [0, "80%"],
                   fontSize: 30,
@@ -345,13 +345,13 @@ export default {
       },
       lineOption: {
         title: {
-          text: "課堂時間",
+          text: "Class Time",
         },
         tooltip: {
           trigger: "axis",
         },
         legend: {
-          data: ["課堂時長", "麻吉星時長"],
+          data: ["Class Duration", "Majixing Duration"],
         },
         grid: {
           left: "3%",
@@ -376,12 +376,12 @@ export default {
         },
         series: [
           {
-            name: "課堂時長",
+            name: "Class Duration",
             type: "line",
             data: [10, 20, 30, 11, 15, 16, 18],
           },
           {
-            name: "麻吉星時長",
+            name: "Majixing Duration",
             type: "line",
             data: [22, 16, 18, 15, 19, 28, 17],
           },
@@ -389,7 +389,7 @@ export default {
       },
       barOption: {
         title: {
-          text: "任教班級",
+          text: "Teaching Class",
         },
         tooltip: {
           trigger: "axis",
@@ -414,38 +414,38 @@ export default {
         },
         series: [
           {
-            name: "圖片",
+            name: "Picture",
             type: "bar",
             data: [220, 150],
           },
           {
-            name: "視頻",
+            name: "Video",
             type: "bar",
             data: [120, 132],
           },
           {
-            name: "互動",
+            name: "Interaction",
             type: "bar",
             data: [110, 132],
           },
           {
-            name: "投票",
+            name: "Voting",
             type: "bar",
 
             data: [120, 132],
           },
           {
-            name: "挑戰",
+            name: "Challenge",
             type: "bar",
             data: [221, 110],
           },
           {
-            name: "評估",
+            name: "Assessment",
             type: "bar",
             data: [120, 133],
           },
           {
-            name: "棄權",
+            name: "Abstention",
             type: "bar",
             data: [105, 132],
           },
@@ -477,18 +477,18 @@ export default {
       scatterOption: {
         xAxis: {
           type: "category",
-          data: ["问题意识", "科学探究", "实践创新", "工程思维", "学习反思"],
+          data: ["Problem Awareness", "Scientific Inquiry", "Practical Innovation", "Engineering Thinking", "Learning Reflection"],
           splitLine: {
             show: true,
           },
           axisLine: {
             show: false,
           },
-          name: "能力指标",
+          name: "Ability Indicators",
         },
         yAxis: {
           type: "value",
-          name: "分值",
+          name: "Score",
           minInterval: 1,
           max: 5,
           axisLine: {
@@ -508,7 +508,7 @@ export default {
         },
         series: [
           {
-            name: "学生百分数(单位:%)",
+            name: "Student Percentage (unit: %)",
             type: "scatter",
             symbolSize: function (val) {
               return val[2] * 1.5;
@@ -549,7 +549,7 @@ export default {
         .then((res) => {
           let _data = res.data[1]; //所有作业数据
           let _data2 = res.data[2]; //问答提交数据
-          let _data3 = res.data[3]; //工具使用数据
+          let _data3 = res.data[3]; //Tools使用数据
           let workJson = [];
           let scoreJson = [];
           let problemJson = [];
@@ -631,59 +631,59 @@ export default {
         );
         this.sunburstOption.series.data = [
           {
-            name: "学习反思能力",
+            name: "Learning Reflection Ability",
             value: 15,
             children: [
               {
-                name: "终生学习",
+                name: "Lifelong Learning",
                 value: this.randomNum(1, 5),
               },
               {
-                name: "自我进步",
+                name: "Self-Improvement",
                 value: this.randomNum(1, 5),
               },
               {
-                name: "自我反思",
+                name: "Self-Reflection",
                 value: this.randomNum(1, 5),
               },
             ],
           },
           {
-            name: "工程思维能力",
+            name: "Engineering Thinking Skills",
             value: 15,
             children: [
               {
-                name: "工程思维能力",
+                name: "Engineering Thinking Skills",
                 value: this.randomNum(1, 15),
               },
             ],
           },
           {
-            name: "实践创新能力",
+            name: "Practical Innovation Skills",
             value: 15,
             children: [
               {
-                name: "实践创新能力",
+                name: "Practical Innovation Skills",
                 value: this.randomNum(5, 15),
               },
             ],
           },
           {
-            name: "科学探究能力",
+            name: "Scientific Inquiry Skills",
             value: 15,
             children: [
               {
-                name: "科学探究能力",
+                name: "Scientific Inquiry Skills",
                 value: this.randomNum(5, 15),
               },
             ],
           },
           {
-            name: "问题意识",
+            name: "Problem Awareness",
             value: 15,
             children: [
               {
-                name: "问题意识",
+                name: "Problem Awareness",
                 value: this.randomNum(5, 15),
               },
             ],
@@ -755,59 +755,59 @@ export default {
       this.type = type;
       this.sunburstOption.series.data = [
         {
-          name: "学习反思能力",
+          name: "Learning Reflection Ability",
           value: 15,
           children: [
             {
-              name: "终生学习",
+              name: "Lifelong Learning",
               value: this.randomNum(1, 5),
             },
             {
-              name: "自我进步",
+              name: "Self-Improvement",
               value: this.randomNum(1, 5),
             },
             {
-              name: "自我反思",
+              name: "Self-Reflection",
               value: this.randomNum(1, 5),
             },
           ],
         },
         {
-          name: "工程思维能力",
+          name: "Engineering Thinking Skills",
           value: 15,
           children: [
             {
-              name: "工程思维能力",
+              name: "Engineering Thinking Skills",
               value: this.randomNum(5, 15),
             },
           ],
         },
         {
-          name: "实践创新能力",
+          name: "Practical Innovation Skills",
           value: 15,
           children: [
             {
-              name: "实践创新能力",
+              name: "Practical Innovation Skills",
               value: this.randomNum(5, 15),
             },
           ],
         },
         {
-          name: "科学探究能力",
+          name: "Scientific Inquiry Skills",
           value: 15,
           children: [
             {
-              name: "科学探究能力",
+              name: "Scientific Inquiry Skills",
               value: this.randomNum(5, 15),
             },
           ],
         },
         {
-          name: "问题意识",
+          name: "Problem Awareness",
           value: 15,
           children: [
             {
-              name: "问题意识",
+              name: "Problem Awareness",
               value: this.randomNum(5, 15),
             },
           ],

+ 75 - 75
src/components/pages/components/workDataGM.vue

@@ -4,7 +4,7 @@
       <span>{{ this.dataJson.title }}</span>
     </div>
     <div class="cp_title" v-if="false">
-      <span>{{ "教师姓名:" + this.dataJson.uname }}</span>
+      <span>{{ "Teacher Name:" + this.dataJson.uname }}</span>
     </div>
     <div class="data_body" v-if="false">
       <div class="data_c">
@@ -24,7 +24,7 @@
       </div>
     </div>
     <div class="sd_class" v-if="false">
-      <div class="sd_tTitle">课堂表现</div>
+      <div class="sd_tTitle">Performance</div>
       <div class="wd_class_body">
         <div class="wd_module">
           <div class="sd_module_content">
@@ -37,25 +37,25 @@
                 text-align: center;
               "
             >
-              <span>课程人数:共100人,已完成人数{{ randomNum(50, 100) }}人</span>
+              <span>Course number: a total of 100 people, the number of people who have completed{{ randomNum(50, 100) }}人</span>
             </div>
             <div class="sd_module_children">
-              <span class="s">课堂时长</span>
+              <span class="s">Class Duration</span>
               <span class="s2">
                 <span>{{ randomNum(5, 15) }}</span
-                > <span>{{ randomNum(1, 60) }}</span
-                > <span>{{ randomNum(1, 59) }}</span
-                >
+                >Times <span>{{ randomNum(1, 60) }}</span
+                >Minute <span>{{ randomNum(1, 59) }}</span
+                >Second
               </span>
-              <span>已经击败99%教师</span>
+              <span>Already Surpassing 99% of Teachers</span>
             </div>
             <div class="sd_module_children">
-              <span class="s">课堂节数</span>
+              <span class="s">Number of classes</span>
               <span class="s2">
                 <span>{{ randomNum(5, 20) }}</span
-                >
+                >Classes
               </span>
-              <span>已经击败99%教师</span>
+              <span>Already Surpassing 99% of Teachers</span>
             </div>
           </div>
           <div style="width: 45%; position: relative">
@@ -76,35 +76,35 @@
                 box-sizing: border-box;
               "
             >
-              <span>教师为中心</span>
-              <span>学生为中心</span>
+              <span>Teacher-Centred</span>
+              <span>Student-Centred</span>
             </div>
           </div>
           <div class="sd_module_content">
             <div class="sd_module_children">
-              <span class="s">课堂互动</span>
+              <span class="s">Classroom Interaction</span>
               <span class="s2">
                 <span>{{ randomNum(10, 20) }}</span
-                >
+                >Times
               </span>
-              <span>已经击败99%教师</span>
+              <span>Already Surpassing 99% of Teachers</span>
             </div>
             <div class="sd_module_children">
-              <span class="s">课堂生成</span>
+              <span class="s">Classroom Generation</span>
               <span class="s2">
                 <span>{{ randomNum(7, 15) }}</span
-                >
+                >Classes
               </span>
-              <span>已经击败99%教师</span>
+              <span>Already Surpassing 99% of Teachers</span>
             </div>
             <div class="sd_module_children">
-              <span class="s">自主活动</span>
+              <span class="s">Independent Activity</span>
               <span class="s2">
                 <span>{{ randomNum(10, 20) }}</span
-                > <span>{{ randomNum(10, 59) }}</span
-                >
+                >Minute <span>{{ randomNum(10, 59) }}</span
+                >Second
               </span>
-              <span>已经击败99%教师</span>
+              <span>Already Surpassing 99% of Teachers</span>
             </div>
           </div>
         </div>
@@ -128,18 +128,18 @@
       <!-- <img src="../../../assets/data/tu1.png" alt style="width:100%" /> -->
     </div>
     <div class="sd_class">
-      <div class="sd_tTitle" v-if="false">班级学生能力分析</div>
+      <div class="sd_tTitle" v-if="false">Class Student Ability Analysis</div>
       <div style="background: #fff; padding: 10px 0">
         <div class="sd_person_button" v-if="false">
-          <span @click="setType(1)" :class="{ active: type == 1 }">语文</span>
-          <span @click="setType(2)" :class="{ active: type == 2 }">数学</span>
-          <span @click="setType(3)" :class="{ active: type == 3 }">英语</span>
+          <span @click="setType(1)" :class="{ active: type == 1 }">Chinese</span>
+          <span @click="setType(2)" :class="{ active: type == 2 }">Mathematics</span>
+          <span @click="setType(3)" :class="{ active: type == 3 }">English</span>
           <span @click="setType(4)" :class="{ active: type == 4 }"
-            >信息科技</span
+            >Information Technology</span
           >
-          <span @click="setType(5)" :class="{ active: type == 5 }">艺术</span>
+          <span @click="setType(5)" :class="{ active: type == 5 }">Arts</span>
           <span @click="setType(6)" :class="{ active: type == 6 }"
-            >跨学科素养</span
+            >Interdisciplinary Literacy</span
           >
         </div>
         <div style="display: flex; flex-wrap: wrap">
@@ -169,7 +169,7 @@
               :header-cell-style="{ background: '#f1f1f1' }"
               :row-class-name="tableRowClassName"
             >
-              <el-table-column prop="name" label="姓名" min-width="20%" align="center"></el-table-column>
+              <el-table-column prop="name" label="Name" min-width="20%" align="center"></el-table-column>
               <el-table-column prop="number" label="学号" min-width="20%" align="center"></el-table-column>
               <el-table-column prop="class" label="班级" min-width="20%" align="center"></el-table-column>
               <el-table-column prop="score" label="分数" min-width="20%" align="center"></el-table-column>
@@ -269,9 +269,9 @@ export default {
       tools: [],
       chapters: [],
       workJson: [], //多少人提交作业数据
-      scoreJson: [], //量规评分数据
+      scoreJson: [], //量规Grading数据
       problemJson: [], //问答数据
-      toolsJson: [], //工具数据
+      toolsJson: [], //Tools数据
       type: 6,
       chartObj: null,
       chartObj2: null,
@@ -332,7 +332,7 @@ export default {
             data: [
               {
                 value: 60,
-                name: "課堂類型",
+                name: "Class Type",
                 title: {
                   offsetCenter: [0, "80%"],
                   fontSize: 30,
@@ -344,13 +344,13 @@ export default {
       },
       lineOption: {
         title: {
-          text: "課堂時間",
+          text: "Class Time",
         },
         tooltip: {
           trigger: "axis",
         },
         legend: {
-          data: ["課堂時長", "麻吉星時長"],
+          data: ["Class Duration", "Majixing Duration"],
         },
         grid: {
           left: "3%",
@@ -375,12 +375,12 @@ export default {
         },
         series: [
           {
-            name: "課堂時長",
+            name: "Class Duration",
             type: "line",
             data: [10, 20, 30, 11, 15, 16, 18],
           },
           {
-            name: "麻吉星時長",
+            name: "Majixing Duration",
             type: "line",
             data: [22, 16, 18, 15, 19, 28, 17],
           },
@@ -388,7 +388,7 @@ export default {
       },
       barOption: {
         title: {
-          text: "任教班級",
+          text: "Teaching Class",
         },
         tooltip: {
           trigger: "axis",
@@ -413,38 +413,38 @@ export default {
         },
         series: [
           {
-            name: "圖片",
+            name: "Picture",
             type: "bar",
             data: [220, 150],
           },
           {
-            name: "視頻",
+            name: "Video",
             type: "bar",
             data: [120, 132],
           },
           {
-            name: "互動",
+            name: "Interaction",
             type: "bar",
             data: [110, 132],
           },
           {
-            name: "投票",
+            name: "Voting",
             type: "bar",
 
             data: [120, 132],
           },
           {
-            name: "挑戰",
+            name: "Challenge",
             type: "bar",
             data: [221, 110],
           },
           {
-            name: "評估",
+            name: "Assessment",
             type: "bar",
             data: [120, 133],
           },
           {
-            name: "棄權",
+            name: "Abstention",
             type: "bar",
             data: [105, 132],
           },
@@ -476,18 +476,18 @@ export default {
       scatterOption: {
         xAxis: {
           type: "category",
-          data: ["问题意识", "科学探究", "实践创新", "工程思维", "学习反思"],
+          data: ["Problem Awareness", "Scientific Inquiry", "Practical Innovation", "Engineering Thinking", "Learning Reflection"],
           splitLine: {
             show: true,
           },
           axisLine: {
             show: false,
           },
-          name: "能力指标",
+          name: "Ability Indicators",
         },
         yAxis: {
           type: "value",
-          name: "分值",
+          name: "Score",
           minInterval: 1,
           max: 5,
           axisLine: {
@@ -507,7 +507,7 @@ export default {
         },
         series: [
           {
-            name: "学生百分数(单位:%)",
+            name: "Student Percentage (unit: %)",
             type: "scatter",
             symbolSize: function (val) {
               return val[2] * 1.5;
@@ -548,7 +548,7 @@ export default {
         .then((res) => {
           let _data = res.data[1]; //所有作业数据
           let _data2 = res.data[2]; //问答提交数据
-          let _data3 = res.data[3]; //工具使用数据
+          let _data3 = res.data[3]; //Tools使用数据
           let workJson = [];
           let scoreJson = [];
           let problemJson = [];
@@ -630,59 +630,59 @@ export default {
         );
         this.sunburstOption.series.data = [
           {
-            name: "学习反思能力",
+            name: "Learning Reflection Ability",
             value: 15,
             children: [
               {
-                name: "终生学习",
+                name: "Lifelong Learning",
                 value: this.randomNum(1, 5),
               },
               {
-                name: "自我进步",
+                name: "Self-Improvement",
                 value: this.randomNum(1, 5),
               },
               {
-                name: "自我反思",
+                name: "Self-Reflection",
                 value: this.randomNum(1, 5),
               },
             ],
           },
           {
-            name: "工程思维能力",
+            name: "Engineering Thinking Skills",
             value: 15,
             children: [
               {
-                name: "工程思维能力",
+                name: "Engineering Thinking Skills",
                 value: this.randomNum(1, 15),
               },
             ],
           },
           {
-            name: "实践创新能力",
+            name: "Practical Innovation Skills",
             value: 15,
             children: [
               {
-                name: "实践创新能力",
+                name: "Practical Innovation Skills",
                 value: this.randomNum(5, 15),
               },
             ],
           },
           {
-            name: "科学探究能力",
+            name: "Scientific Inquiry Skills",
             value: 15,
             children: [
               {
-                name: "科学探究能力",
+                name: "Scientific Inquiry Skills",
                 value: this.randomNum(5, 15),
               },
             ],
           },
           {
-            name: "问题意识",
+            name: "Problem Awareness",
             value: 15,
             children: [
               {
-                name: "问题意识",
+                name: "Problem Awareness",
                 value: this.randomNum(5, 15),
               },
             ],
@@ -754,59 +754,59 @@ export default {
       this.type = type;
       this.sunburstOption.series.data = [
         {
-          name: "学习反思能力",
+          name: "Learning Reflection Ability",
           value: 15,
           children: [
             {
-              name: "终生学习",
+              name: "Lifelong Learning",
               value: this.randomNum(1, 5),
             },
             {
-              name: "自我进步",
+              name: "Self-Improvement",
               value: this.randomNum(1, 5),
             },
             {
-              name: "自我反思",
+              name: "Self-Reflection",
               value: this.randomNum(1, 5),
             },
           ],
         },
         {
-          name: "工程思维能力",
+          name: "Engineering Thinking Skills",
           value: 15,
           children: [
             {
-              name: "工程思维能力",
+              name: "Engineering Thinking Skills",
               value: this.randomNum(5, 15),
             },
           ],
         },
         {
-          name: "实践创新能力",
+          name: "Practical Innovation Skills",
           value: 15,
           children: [
             {
-              name: "实践创新能力",
+              name: "Practical Innovation Skills",
               value: this.randomNum(5, 15),
             },
           ],
         },
         {
-          name: "科学探究能力",
+          name: "Scientific Inquiry Skills",
           value: 15,
           children: [
             {
-              name: "科学探究能力",
+              name: "Scientific Inquiry Skills",
               value: this.randomNum(5, 15),
             },
           ],
         },
         {
-          name: "问题意识",
+          name: "Problem Awareness",
           value: 15,
           children: [
             {
-              name: "问题意识",
+              name: "Problem Awareness",
               value: this.randomNum(5, 15),
             },
           ],

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 137 - 137
src/components/pages/components/worksDetail2.vue


+ 108 - 108
src/components/pages/components/worksDetail2GM.vue

@@ -22,19 +22,19 @@
         <!-- chooseDy
         chooseTask-->
         <div class="student_search">
-          <div>课程筛选</div>
+          <div>Course Filter</div>
           <div style="display: flex; width: 90%">
-            <el-select class="r_select" v-model="uname" placeholder="请选择学生" @change="searchWork2">
-              <el-option label="所有学生" value></el-option>
+            <el-select class="r_select" v-model="uname" placeholder="Please Select a Student" @change="searchWork2">
+              <el-option label="All Students" value></el-option>
               <el-option v-for="item in userAarray" :key="item.userid" :label="item.username" :value="item.userid">
               </el-option>
             </el-select>
-            <el-select v-model="chooseDy" placeholder="请选择阶段" @change="searchWork1">
-              <el-option label="所有阶段" value></el-option>
+            <el-select v-model="chooseDy" placeholder="Please Select a Stage" @change="searchWork1">
+              <el-option label="All Stages" value></el-option>
               <el-option v-for="(item, index) in dyList" :key="index" :label="item.name" :value="item.id"></el-option>
             </el-select>
-            <el-select v-model="chooseTask" placeholder="请选择任务" @change="searchWork2">
-              <el-option label="所有任务" value></el-option>
+            <el-select v-model="chooseTask" placeholder="Please Select a Task" @change="searchWork2">
+              <el-option label="All Tasks" value></el-option>
               <el-option v-for="(item, index) in dyList[chooseDy]
               ? dyList[chooseDy].taskList
               : []" :key="index" :label="item.name" :value="item.id"></el-option>
@@ -47,22 +47,22 @@
       <div class="student_table">
         <el-table ref="table" :data="tableData" border :height="tableHeight" :fit="true" v-loading="isLoading"
           style="width: 100%" :header-cell-style="{ background: '#f1f1f1' }" :row-class-name="tableRowClassName" stripe>
-          <el-table-column prop="sName" label="姓名" min-width="15" align="center"></el-table-column>
-          <el-table-column prop="class" label="班级" min-width="20" align="center">
+          <el-table-column prop="sName" label="Name" min-width="15" align="center"></el-table-column>
+          <el-table-column prop="class" label="Class" min-width="20" align="center">
             <template slot-scope="scope">
-              <div>{{ scope.row.class ? scope.row.class : "暂无班级" }}</div>
+              <div>{{ scope.row.class ? scope.row.class : "No Class Available" }}</div>
             </template>
           </el-table-column>
-          <el-table-column prop="course" label="项目" min-width="20" align="center" show-overflow-tooltip>
+          <el-table-column prop="course" label="Project" min-width="20" align="center" show-overflow-tooltip>
           </el-table-column>
-          <el-table-column prop="course" label="阶段" min-width="20" align="center" show-overflow-tooltip>
+          <el-table-column prop="course" label="Stage" min-width="20" align="center" show-overflow-tooltip>
             <template slot-scope="scope">
               <div>
                 {{ dyList.length > 0 ? dyList[scope.row.stage].name : "" }}
               </div>
             </template>
           </el-table-column>
-          <el-table-column prop="course" label="任务" min-width="20" align="center" show-overflow-tooltip>
+          <el-table-column prop="course" label="Task" min-width="20" align="center" show-overflow-tooltip>
             <template slot-scope="scope">
               <div>
                 {{
@@ -75,8 +75,8 @@
               </div>
             </template>
           </el-table-column>
-          <el-table-column prop="time" label="时间" width="100px" align="center"></el-table-column>
-          <el-table-column label="操作" width="200px">
+          <el-table-column prop="time" label="Time" width="100px" align="center"></el-table-column>
+          <el-table-column label="Actions" width="200px">
             <template slot-scope="scope">
               <el-button type="primary" size="small" class="btnClassGM" @click="
                 lookWork(
@@ -85,7 +85,7 @@
                   scope.row.stage,
                   scope.row.task
                 )
-              ">查看作业</el-button>
+              ">View Homework</el-button>
               <!-- <el-button
                 type="primary"
                 size="small"
@@ -99,20 +99,20 @@
                   scope.row.stage,
                   scope.row.task
                 )
-              ">导出报告</el-button>
+              ">Export Report</el-button>
               <!-- <el-button
                 class="de_button"
                 type="primary"
                 size="small"
                 @click="deleteWork(scope.row.id)"
-              >删除</el-button>-->
+              >Delete</el-button>-->
             </template>
           </el-table-column>
         </el-table>
-        <el-dialog title="查看作业" :visible.sync="dialogVisible3" :append-to-body="true" :before-close="handleClose"
+        <el-dialog title="View Homework" :visible.sync="dialogVisible3" :append-to-body="true" :before-close="handleClose"
           width="100%" class="dialog_diy2 max_diy" :class="{ fullStyle: full }">
           <div slot="title" class="header-title">
-            <div style="color: #fff">查看作业</div>
+            <div style="color: #fff">View Homework</div>
             <div style="position: absolute; top: 14px; right: 50px">
               <img src="../../../assets/full.png" style="height: 14px; cursor: pointer" alt="" @click="fullTools" />
             </div>
@@ -130,11 +130,11 @@
                 <el-tooltip class="cTitle" effect="light" :content="allWorks.course" placement="top">
                   <div>{{ allWorks.course }}</div>
                 </el-tooltip>
-                <div class="ml">目录</div>
+                <div class="ml">Contents</div>
                 <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>No.{{ dy.id + 1 }}Stage</div>
                       <div>{{ dy.name }}</div>
                     </div>
                     <div class="twoChild" :class="{
@@ -153,7 +153,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>
@@ -171,22 +171,22 @@
                       <div class="jdName">
                         <div>
                           {{
-                          "" +
+                          "No." +
                           (sin.stage + 1) +
-                          "阶段 " +
+                          "Stage " +
                           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>
                           </div>
                           <div v-if="worksDetail[sIndex].wpptInfo.length > 0">
                             <el-button class="btnClassGM" type="primary" size="small" @click="openFile(worksDetail[sIndex].wpptInfo[0])">
-                              查看文档</el-button>
+                              View Document</el-button>
                           </div>
                         </div>
                       </div>
@@ -222,18 +222,18 @@
                             <img :src="item.src" alt @click="worksDetail[sIndex].imgIndex = index" />
                           </div>
                         </div>
-                        <div class="work_nopicture" v-else>暂无上传截图</div>
+                        <div class="work_nopicture" v-else>No Screenshots Uploaded</div>
                       </div>
                       <div class="left_top" :style="{width:worksDetail[sIndex].eList.length?'45%':'95%'}"
                         v-else-if="worksDetail[sIndex].answerInfo.length > 0">
                         <div class="answerbox">
-                          <div style="min-width: 80px">问答标题</div>
+                          <div style="min-width: 80px">Q&A Title</div>
                           <div>
                             {{ worksDetail[sIndex].answerInfo[0].answerTitle }}
                           </div>
                         </div>
                         <div class="answerbox1">
-                          <div>学生回答</div>
+                          <div>Student's Answer</div>
                           <div>
                             {{ worksDetail[sIndex].answerInfo[0].answer }}
                           </div>
@@ -250,7 +250,7 @@
                               flex-wrap: wrap;
                             ">
                             <div style="margin-right: 20px; font-size: 20px">
-                              标题:
+                              Title:
                             </div>
                             <div style="font-size: 20px">
                               {{ worksDetail[sIndex].askInfo[0].askTitle }}
@@ -258,7 +258,7 @@
                           </div>
                           <div class="a_addBox">
                             <div style="font-size: 16px; color: #c7c7c7">
-                              内容
+                              Content
                             </div>
                             <div class="a_add_box" v-for="(item1, index1) in worksDetail[sIndex]
                             .askInfo[0].askCount" :key="index1">
@@ -266,7 +266,7 @@
                                 <div style="display: flex">
                                   {{ index1 + 1 + "、" }}
                                   <div>
-                                    题目:{{
+                                    Question:{{
                                     worksDetail[sIndex].askInfo[0].askJson[
                                     index1
                                     ].askstitle
@@ -331,7 +331,7 @@
                         position: relative;
                       ">
                       <div class="worksTime">
-                        作业提交时间:<span style="width: auto">{{ worksDetail[sIndex].time }}
+                        Homework Submission Time:<span style="width: auto">{{ worksDetail[sIndex].time }}
                         </span>
                       </div>
                       <div class="ech" style="margin-left: 23px">
@@ -352,7 +352,7 @@
               </div>
             </div>
             <div class="buttonCss">
-              <el-button type="primary" size="small" @click="updatePj" class="btnClassGM">保存评分</el-button>
+              <el-button type="primary" size="small" @click="updatePj" class="btnClassGM">Save Score</el-button>
             </div>
           </div>
         </el-dialog>
@@ -365,7 +365,7 @@
     <el-dialog :visible.sync="pictureDialog" size="tiny">
       <img width="100%" :src="dialogImageUrl" alt />
     </el-dialog>
-    <el-dialog title="项目评分" :visible.sync="dataVisible" :append-to-body="true" width="1100px"
+    <el-dialog title="Project Grading" :visible.sync="dataVisible" :append-to-body="true" width="1100px"
       :before-close="handleClose" class="dialog_diy">
       <div>
         <div class="a_addBox2">
@@ -373,10 +373,10 @@
         </div>
       </div>
       <span slot="footer" class="dialog-footer">
-        <el-button @click="dataVisible = false" class="cancel_button">关 闭</el-button>
+        <el-button @click="dataVisible = false" class="cancel_button">Close</el-button>
       </span>
     </el-dialog>
-    <el-dialog title="查看选择题" :visible.sync="dialogVisible4" :append-to-body="true" width="800px"
+    <el-dialog title="View Multiple Choice Questions" :visible.sync="dialogVisible4" :append-to-body="true" width="800px"
       :before-close="handleClose" class="dialog_diy">
       <div>
         <div class="a_add_title" style="
@@ -388,12 +388,12 @@
           <div style="font-size: 20px">{{ askJson.askTitle }}</div>
         </div>
         <div class="a_addBox">
-          <div style="font-size: 16px; color: #c7c7c7">内容</div>
+          <div style="font-size: 16px; color: #c7c7c7">Content</div>
           <div class="a_add_box" v-for="(item, index) in askJson.askJson" :key="index">
             <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">
@@ -408,13 +408,13 @@
         </div>
       </div>
       <span slot="footer" class="dialog-footer">
-        <el-button type="primary" @click="dialogVisible4 = false" class="cancel_button">关 闭</el-button>
+        <el-button type="primary" @click="dialogVisible4 = false" class="cancel_button">Close</el-button>
       </span>
     </el-dialog>
-    <el-dialog title="文件预览" :visible.sync="dialogVisible6" width="100%" :before-close="handleClose" class="full_diy"
+    <el-dialog title="File Preview" :visible.sync="dialogVisible6" width="100%" :before-close="handleClose" class="full_diy"
       :append-to-body="true">
       <div slot="title" class="header-title">
-        <div style="color: #fff">文件预览</div>
+        <div style="color: #fff">File Preview</div>
       </div>
       <pdf v-if="showPDF" :pdfUrl="pptImgUrl" style="width: 100%; height: 520px; overflow: auto"></pdf>
       <iframe v-else :src="pptImgUrl" frameborder="0" width="100%" height="600"></iframe>
@@ -450,7 +450,7 @@ export default {
       full: true,
       isStar: 0,
       studentInfo: {},
-      courseByUser: "诗词中的植物",
+      courseByUser: "Plants in Poetry",
       userName: "林点",
       answerName: "宿赞公房",
       studentAnswer: "雨荒深院菊,霜倒半池莲.唐杜甫《宿赞公房》",
@@ -464,7 +464,7 @@ export default {
         loop: false, // 导致视频一结束就重新开始。
         preload: "auto", // 建议浏览器在<video>加载元素后是否应该开始下载视频数据。auto浏览器选择最佳行为,立即开始加载视频(如果浏览器支持)
         language: "zh-CN",
-        aspectRatio: "16:9", // 将播放器置于流畅模式,并在计算播放器的动态大小时使用该值。值应该代表一个比例 - 用冒号分隔的两个数字(例如"16:9"或"4:3")
+        aspectRatio: "16:9", // 将播放器置于流畅模式,并在计算播放器的动态大小时使用该值。值应该代表一Number比例 - 用冒号分隔的两Number数字(例如"16:9"或"4:3")
         fluid: true, // 当true时,Video.js player将拥有流体大小。换句话说,它将按比例缩放以适应其容器。
         sources: [
           {
@@ -474,7 +474,7 @@ export default {
         ],
         // poster: require("../../../assets/tu31.png"), //你的封面地址
         // poster: dataRes.imgUrl, //你的封面地址
-        notSupportedMessage: "此视频暂无法播放,请稍后再试", //允许覆盖Video.js无法播放媒体源时显示的默认信息。
+        notSupportedMessage: "This video is currently unavailable, please try again later", //允许覆盖Video.js无法播放媒体源时显示的默认信息。
         controlBar: {
           timeDivider: true, //当前时间和持续时间的分隔符
           durationDisplay: true, //显示持续时间
@@ -486,7 +486,7 @@ export default {
       commentName: "谭子松",
       commentTime: "2021/2/5",
       commentAnswer:
-        "作为家长我很高兴看到孩子的进步,希望这个进步只是一个开始,在新学期能够继续延续,这样才能不负老师的期望",
+        "As a parent, I am pleased to see my child's progress. I hope this progress is just a beginning and it continues into the new semester, so as not to disappoint the teacher's expectations",
       tableData: [],
       uploadBoolean: false,
       studentMessage: [],
@@ -536,16 +536,16 @@ export default {
         },
         series: [
           {
-            name: "量规评分",
+            name: "Assessment Scoring",
             type: "pie",
             radius: "70%",
             center: ["50%", "50%"],
             data: [
-              { value: 0, name: "意识能力" },
-              { value: 0, name: "科学探究能力" },
-              { value: 0, name: "实践创新能力" },
-              { value: 0, name: "学习反思能力" },
-              { value: 0, name: "工程思维能力" },
+              { value: 0, name: "Awareness Skills" },
+              { value: 0, name: "Scientific Inquiry Skills" },
+              { value: 0, name: "Practical Innovation Skills" },
+              { value: 0, name: "Learning Reflection Ability" },
+              { value: 0, name: "Engineering Thinking Skills" },
             ],
             itemStyle: {
               emphasis: {
@@ -599,10 +599,10 @@ export default {
             },
           },
           indicator: [
-            // 雷达图的指示器,用来指定雷达图中的多变量(维度)
+            // 雷达图的指示器,用来指定雷达图中的多Number变量(维度)
           ],
         },
-        // 雷达图背景的颜色,在这儿随便设置了一颜色,完全不透明度为0,就实现了透明背景
+        // 雷达图背景的颜色,在这儿随便设置了一Number颜色,完全不透明度为0,就实现了透明背景
         splitArea: {
           show: true,
           areaStyle: {
@@ -618,7 +618,7 @@ export default {
         },
         series: [
           {
-            name: "能力图", // tooltip中的标题
+            name: "Ability Chart", // tooltip中的Title
             type: "radar", // 表示是雷达图
             symbol: "circle", // 拐点的样式,还可以取值'rect','angle'等
             symbolSize: 8, // 拐点的大小
@@ -630,7 +630,7 @@ export default {
             },
             data: [
               {
-                // 设置各指标原始值
+                // 设置各Number指标原始值
                 value: [],
                 // 设置区域边框和区域的颜色
                 itemStyle: {
@@ -777,11 +777,11 @@ export default {
             // else {
             //   _ooption = [];
             //   workJson[k].eList = [
-            //     { value: "意识能力", detail: "", score: 5 },
-            //     { value: "科学探究能力", detail: "", score: 5 },
-            //     { value: "实践创新能力", detail: "", score: 5 },
-            //     { value: "学习反思能力", detail: "", score: 5 },
-            //     { value: "工程思维能力", detail: "", score: 5 },
+            //     { value: "Awareness Skills", detail: "", score: 5 },
+            //     { value: "Scientific Inquiry Skills", detail: "", score: 5 },
+            //     { value: "Practical Innovation Skills", detail: "", score: 5 },
+            //     { value: "Learning Reflection Ability", detail: "", score: 5 },
+            //     { value: "Engineering Thinking Skills", detail: "", score: 5 },
             //   ];
             //   for (var i = 0; i < workJson[k].eList.length; i++) {
             //     _ooption.push({ value: 0, name: workJson[k].eList[i].value });
@@ -789,11 +789,11 @@ export default {
             //   }
             //   workJson[k].rateList.content = "";
             //   this.ooption[k] = [
-            //     { value: 0, name: "意识能力" },
-            //     { value: 0, name: "科学探究能力" },
-            //     { value: 0, name: "实践创新能力" },
-            //     { value: 0, name: "学习反思能力" },
-            //     { value: 0, name: "工程思维能力" },
+            //     { value: 0, name: "Awareness Skills" },
+            //     { value: 0, name: "Scientific Inquiry Skills" },
+            //     { value: 0, name: "Practical Innovation Skills" },
+            //     { value: 0, name: "Learning Reflection Ability" },
+            //     { value: 0, name: "Engineering Thinking Skills" },
             //   ];
             // }
             if (res.data[0][k].rate && eList && eList.length) {
@@ -969,11 +969,11 @@ export default {
           //   this.ooption = _ooption;
           // } else {
           //   workJson.eList = [
-          //     { value: "意识能力", detail: "", score: 5 },
-          //     { value: "科学探究能力", detail: "", score: 5 },
-          //     { value: "实践创新能力", detail: "", score: 5 },
-          //     { value: "学习反思能力", detail: "", score: 5 },
-          //     { value: "工程思维能力", detail: "", score: 5 },
+          //     { value: "Awareness Skills", detail: "", score: 5 },
+          //     { value: "Scientific Inquiry Skills", detail: "", score: 5 },
+          //     { value: "Practical Innovation Skills", detail: "", score: 5 },
+          //     { value: "Learning Reflection Ability", detail: "", score: 5 },
+          //     { value: "Engineering Thinking Skills", detail: "", score: 5 },
           //   ];
           //   for (var i = 0; i < workJson.eList.length; i++) {
           //     _ooption.push({ value: 0, name: workJson.eList[i].value });
@@ -981,11 +981,11 @@ export default {
           //   }
           //   workJson.rateList.content = "";
           //   this.ooption = [
-          //     { value: 0, name: "意识能力" },
-          //     { value: 0, name: "科学探究能力" },
-          //     { value: 0, name: "实践创新能力" },
-          //     { value: 0, name: "学习反思能力" },
-          //     { value: 0, name: "工程思维能力" },
+          //     { value: 0, name: "Awareness Skills" },
+          //     { value: 0, name: "Scientific Inquiry Skills" },
+          //     { value: 0, name: "Practical Innovation Skills" },
+          //     { value: 0, name: "Learning Reflection Ability" },
+          //     { value: 0, name: "Engineering Thinking Skills" },
           //   ];
           // }
           // if (this.sInfo.rate) {
@@ -1290,13 +1290,13 @@ export default {
           }
           if (k == _k) {
             this.$message({
-              message: "评价成功",
+              message: "Evaluation Successful",
               type: "success",
             });
           }
         })
         .catch((err) => {
-          this.$message.error("评价失败");
+          this.$message.error("Evaluation Failed");
           console.error(err);
         });
     },
@@ -1341,11 +1341,11 @@ export default {
             chapters[this.sInfo.stage].chapterInfo[0].taskJson[this.sInfo.task]
               .eList;
           //           ooption: [
-          //   { value: 0, name: "意识能力" },
-          //   { value: 0, name: "科学探究能力" },
-          //   { value: 0, name: "实践创新能力" },
-          //   { value: 0, name: "学习反思能力" },
-          //   { value: 0, name: "工程思维能力" },
+          //   { value: 0, name: "Awareness Skills" },
+          //   { value: 0, name: "Scientific Inquiry Skills" },
+          //   { value: 0, name: "Practical Innovation Skills" },
+          //   { value: 0, name: "Learning Reflection Ability" },
+          //   { value: 0, name: "Engineering Thinking Skills" },
           // ],
           var _ooption = [];
           if (eList) {
@@ -1358,11 +1358,11 @@ export default {
             this.ooption = _ooption;
           } else {
             workJson.eList = [
-              { value: "意识能力", detail: "", score: 5 },
-              { value: "科学探究能力", detail: "", score: 5 },
-              { value: "实践创新能力", detail: "", score: 5 },
-              { value: "学习反思能力", detail: "", score: 5 },
-              { value: "工程思维能力", detail: "", score: 5 },
+              { value: "Awareness Skills", detail: "", score: 5 },
+              { value: "Scientific Inquiry Skills", detail: "", score: 5 },
+              { value: "Practical Innovation Skills", detail: "", score: 5 },
+              { value: "Learning Reflection Ability", detail: "", score: 5 },
+              { value: "Engineering Thinking Skills", detail: "", score: 5 },
             ];
             for (var i = 0; i < workJson.eList.length; i++) {
               _ooption.push({ value: 0, name: workJson.eList[i].value });
@@ -1370,11 +1370,11 @@ export default {
             }
             workJson.rateList.content = "";
             this.ooption = [
-              { value: 0, name: "意识能力" },
-              { value: 0, name: "科学探究能力" },
-              { value: 0, name: "实践创新能力" },
-              { value: 0, name: "学习反思能力" },
-              { value: 0, name: "工程思维能力" },
+              { value: 0, name: "Awareness Skills" },
+              { value: 0, name: "Scientific Inquiry Skills" },
+              { value: 0, name: "Practical Innovation Skills" },
+              { value: 0, name: "Learning Reflection Ability" },
+              { value: 0, name: "Engineering Thinking Skills" },
             ];
           }
           if (this.sInfo.rate) {
@@ -1423,14 +1423,14 @@ export default {
           var _course = `<h1>${this.sInfo.course}</h1>`;
           var _title =
             "<h2>" +
-            "" +
+            "No." +
             (this.sInfo.stage + 1) +
-            "阶段 " +
+            "Stage " +
             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 +
@@ -1440,12 +1440,12 @@ export default {
           var _img = "";
           if (workJson.img.length > 0) {
             for (var i = 0; i < workJson.img.length; i++) {
-              // _img += `<div style="margin-top:10px"><div>图片${
+              // _img += `<div style="margin-top:10px"><div>Image${
               //   i + 1
               // }:<a href='${workJson.img[i].src}'>${
               //   workJson.img[i].src
               // }</a></div>`;
-              _img += `<div style="margin-top:10px"><div>图片${i + 1
+              _img += `<div style="margin-top:10px"><div>Image${i + 1
                 }</div><img style="max-width:500px" src="${workJson.img[i].src
                 }"/></div>`;
             }
@@ -1453,14 +1453,14 @@ export default {
 
           var _ask = "";
           if (workJson.askInfo.length > 0) {
-            var _ask = "<h3>选择题</h3>";
+            var _ask = "<h3>Multiple 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
-                  }  选择:${workJson.askInfo[i].radio[j] + 1}</h5> `;
+                _div2.innerHTML = `<h5>No.${j + 1}Question:${workJson.askInfo[i].askJson[j].askstitle
+                  }  Selection:${workJson.askInfo[i].radio[j] + 1}</h5> `;
                 var _div3 = document.createElement("div");
                 for (
                   var z = 0;
@@ -1479,10 +1479,10 @@ export default {
 
           var _answer = "";
           if (workJson.answerInfo.length > 0) {
-            var _answer = "<h3>问答</h3>";
+            var _answer = "<h3>Q&A</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>Q&A:${workJson.answerInfo[i].answerTitle}</h4>`;
               _div.innerHTML += `<div>${workJson.answerInfo[i].answer}</div>`;
               _answer += `<div>${_div.innerHTML}</div>`;
             }
@@ -1527,7 +1527,7 @@ export default {
           <meta charset="UTF-8">
           <meta http-equiv="X-UA-Compatible" content="IE=edge">
           <meta name="viewport" content="width=device-width, initial-scale=1.0">
-          <title>报告</title>
+          <title>Report</title>
       </head>
       <body>
       ${this.$store.state.report}
@@ -1537,7 +1537,7 @@ export default {
       // 生成报告
       const link = document.createElement("a");
       let dname = this.sInfo.course + "-" + this.sInfo.sName + ".html";
-      // link.download = "报告.html"; // 文件名
+      // link.download = "Report.html"; // 文件名
       link.download = dname; // 文件名
       link.style.display = "none";
       // 创建文件流
@@ -1554,7 +1554,7 @@ export default {
       //     orientation: "landscape", //跨域设置
       //   }),
       //   //文件名
-      //   "报告.doc"
+      //   "Report.doc"
       // );
     },
   },

+ 109 - 109
src/components/pages/components/worksDetail3.vue

@@ -7,7 +7,7 @@
           <div>{{ allWorks.sName }}</div>
         </div>
         <div>{{ allWorks.course }}</div> -->
-        <div>查看作业</div>
+        <div>View Homework</div>
       </div>
       <div class="cBox">
         <div class="pb_left">
@@ -19,11 +19,11 @@
           >
             <div>{{ allWorks.course }}</div>
           </el-tooltip>
-          <div class="ml">目录</div>
+          <div class="ml">Contents</div>
           <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>No.{{ dy.id + 1 }}Stage</div>
                 <div>{{ dy.name }}</div>
               </div>
               <div
@@ -57,7 +57,7 @@
                       }"
                       style="margin: 0"
                     >
-                      任务{{ navIndex + 1 }}
+                      Task{{ navIndex + 1 }}
                     </div>
                     <div
                       class="isWorkCss"
@@ -90,7 +90,7 @@
                 <div class="jdName">
                   <div>
                     {{
-                      "第" + (sin.stage + 1) + "阶段 " + dyList[sin.stage].name
+                      "No." + (sin.stage + 1) + "Stage " + dyList[sin.stage].name
                     }}
                   </div>
                   <div
@@ -102,7 +102,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>
@@ -112,7 +112,7 @@
                         type="primary"
                         size="small"
                         @click="openFile(worksDetail[sIndex].wpptInfo[0])"
-                        >查看文档
+                        >View Document
                       </el-button>
                     </div>
                   </div>
@@ -131,7 +131,7 @@
                       "
                       style="float: right; margin-right: 10px"
                     >
-                      评分:{{
+                      Grading:{{
                         worksDetail[sIndex].img[worksDetail[sIndex].imgIndex]
                           .score
                       }}
@@ -179,7 +179,7 @@
                         />
                       </div>
                     </div>
-                    <div class="work_nopicture" v-else>暂无上传截图</div>
+                    <div class="work_nopicture" v-else>No Screenshots Uploaded</div>
                   </div>
                   <div
                     class="left_top"
@@ -189,7 +189,7 @@
                       v-if="worksDetail[sIndex].answerInfo[0].score"
                       style="float: right; margin-right: 10px"
                     >
-                      评分:{{ worksDetail[sIndex].answerInfo[0].score }}
+                      Grading:{{ worksDetail[sIndex].answerInfo[0].score }}
                     </div>
                     <div
                       class="a_add_title"
@@ -202,10 +202,10 @@
                         margin-bottom: 10px;
                       "
                     >
-                      <div style="font-size: 16px">问答工具</div>
+                      <div style="font-size: 16px">Q&A Tool</div>
                     </div>
                     <div class="answerbox">
-                      <div style="min-width: 80px">问答标题</div>
+                      <div style="min-width: 80px">Q&A Title</div>
                       <div>
                         {{
                           worksDetail[sIndex].answerInfo[0].answerInfo
@@ -214,7 +214,7 @@
                       </div>
                     </div>
                     <div class="answerbox1">
-                      <div style="min-width: 60px">学生回答</div>
+                      <div style="min-width: 60px">Student's Answer</div>
                       <div>
                         {{
                           worksDetail[sIndex].answerInfo[0].answerInfo.answer
@@ -231,7 +231,7 @@
                         v-if="worksDetail[sIndex].askInfo[0].score"
                         style="float: right; margin-right: 10px"
                       >
-                        评分:{{ worksDetail[sIndex].askInfo[0].score }}
+                        Grading:{{ worksDetail[sIndex].askInfo[0].score }}
                       </div>
                       <div
                         class="a_add_title"
@@ -243,7 +243,7 @@
                           flex-wrap: wrap;
                         "
                       >
-                        <div style="font-size: 16px">问卷工具</div>
+                        <div style="font-size: 16px">Survey Tool</div>
                       </div>
                       <div
                         class="a_add_title"
@@ -255,7 +255,7 @@
                           flex-wrap: wrap;
                         "
                       >
-                        <div style="margin-right: 20px">标题:</div>
+                        <div style="margin-right: 20px">Title:</div>
                         <div style="font-size: 20px">
                           {{
                             worksDetail[sIndex].askInfo[0].askInfo.askJson
@@ -264,7 +264,7 @@
                         </div>
                       </div>
                       <div class="a_addBox">
-                        <div style="font-size: 16px; color: #c7c7c7">内容</div>
+                        <div style="font-size: 16px; color: #c7c7c7">Content</div>
                         <div
                           :class="
                             worksDetail[sIndex].askInfo.length > 1
@@ -279,7 +279,7 @@
                             <div style="display: flex">
                               {{ index1 + 1 + "、" }}
                               <div>
-                                题目:{{
+                                Question:{{
                                   worksDetail[sIndex].askInfo[0].askInfo.askJson
                                     .askJson[index1].askstitle
                                 }}
@@ -351,7 +351,7 @@
                         v-if="worksDetail[sIndex].chooseInfo[0].score"
                         style="float: right; margin-right: 10px"
                       >
-                        评分:{{ worksDetail[sIndex].chooseInfo[0].score }}
+                        Grading:{{ worksDetail[sIndex].chooseInfo[0].score }}
                       </div>
                       <div
                         class="a_add_title"
@@ -363,11 +363,11 @@
                           flex-wrap: wrap;
                         "
                       >
-                        <div style="font-size: 16px">选择题工具</div>
+                        <div style="font-size: 16px">Multiple Choice Tool</div>
                       </div>
                       <div class="a_addBox">
                         <div style="font-size: 16px; color: #c7c7c7">
-                          题目内容
+                          Question Content
                         </div>
                         <div
                           :class="
@@ -383,7 +383,7 @@
                             <div style="display: flex">
                               {{ index1 + 1 + "、" }}
                               <div>
-                                题目:{{
+                                Question:{{
                                   worksDetail[sIndex].chooseInfo[0].chooseInfo
                                     .testJson[index1].teststitle
                                 }}
@@ -501,7 +501,7 @@
                       v-if="worksDetail[sIndex].wpptInfo[0].score"
                       style="float: right; margin-right: 10px"
                     >
-                      评分:{{ worksDetail[sIndex].wpptInfo[0].score }}
+                      Grading:{{ worksDetail[sIndex].wpptInfo[0].score }}
                     </div>
                     <div
                       style="height: 238px"
@@ -543,7 +543,7 @@
                         v-if="worksDetail[sIndex].pjInfo[0].score"
                         style="float: right; margin-right: 10px"
                       >
-                        评分:{{ worksDetail[sIndex].pjInfo[0].score }}
+                        Grading:{{ worksDetail[sIndex].pjInfo[0].score }}
                       </div>
                       <div
                         class="a_add_title"
@@ -555,7 +555,7 @@
                           flex-wrap: wrap;
                         "
                       >
-                        <div style="font-size: 16px">个人评价工具</div>
+                        <div style="font-size: 16px">Personal Evaluation Tool</div>
                       </div>
                       <div class="evalCss">
                         <div
@@ -597,7 +597,7 @@
                               v-model="
                                 worksDetail[sIndex].pjInfo[0].answer.eBzText
                               "
-                              placeholder="请输入评价内容..."
+                              placeholder="Please enter evaluation content..."
                             ></textarea>
                           </div>
                         </div>
@@ -612,7 +612,7 @@
                       v-if="worksDetail[sIndex].xztkInfo[0].score"
                       style="float: right; margin-right: 10px"
                     >
-                      评分:{{ worksDetail[sIndex].xztkInfo[0].score }}
+                      Grading:{{ worksDetail[sIndex].xztkInfo[0].score }}
                     </div>
                     <div
                       class="a_add_title"
@@ -624,7 +624,7 @@
                         flex-wrap: wrap;
                       "
                     >
-                      <div style="font-size: 16px">选择填空工具</div>
+                      <div style="font-size: 16px">Fill in the Blanks Tool</div>
                     </div>
                     <div class="select_box2_box">
                       <div class="select_box2_img">
@@ -656,7 +656,7 @@
                                   checkIndex
                                 ]
                               "
-                              placeholder="请选择正确答案"
+                              placeholder="Please select the correct answer"
                             >
                               <el-option
                                 v-for="(e, eIndex) in worksDetail[sIndex]
@@ -684,9 +684,9 @@
                               "
                               style="color: #767de1"
                             >
-                              回答正确
+                              Answer is correct
                             </div>
-                            <div v-else>回答错误</div>
+                            <div v-else>Answer is incorrect</div>
                             <div
                               style="margin-left: 10px"
                               v-if="
@@ -695,7 +695,7 @@
                                 ] !== a
                               "
                             >
-                              正确答案:
+                              Correct answer:
                             </div>
                             <div
                               :class="
@@ -725,7 +725,7 @@
                         v-if="worksDetail[sIndex].lccjInfo[0].score"
                         style="float: right; margin-right: 10px"
                       >
-                        评分:{{ worksDetail[sIndex].lccjInfo[0].score }}
+                        Grading:{{ worksDetail[sIndex].lccjInfo[0].score }}
                       </div>
                       <div
                         class="a_add_title"
@@ -737,7 +737,7 @@
                           flex-wrap: wrap;
                         "
                       >
-                        <div style="font-size: 16px">连词成句工具</div>
+                        <div style="font-size: 16px">Sentence Formation Tool</div>
                       </div>
                       <div
                         v-for="(st, stIndex) in worksDetail[sIndex].lccjInfo"
@@ -745,7 +745,7 @@
                         style="padding-bottom: 20px"
                       >
                         <div style="padding: 15px 0 10px 20px; font-size: 20px">
-                          第{{ stIndex + 1 }}题
+                          No.{{ stIndex + 1 }}Question
                         </div>
                         <div class="isWrong">
                           <div
@@ -770,7 +770,7 @@
                               </div>
                             </div>
                             <div class="cardAnswerBox">
-                              组成句子:{{
+                              Form a sentence:{{
                                 st.lccjInfo.chooseSenList.join(" ")
                               }}
                             </div>
@@ -788,7 +788,7 @@
                                 alt=""
                               />
                             </div>
-                            <div>回答正确</div>
+                            <div>Answer is correct</div>
                           </div>
                           <div
                             class="answerRight isTj"
@@ -803,7 +803,7 @@
                                 alt=""
                               />
                             </div>
-                            <div>回答错误</div>
+                            <div>Answer is incorrect</div>
                           </div>
                         </div>
                         <div
@@ -813,7 +813,7 @@
                           "
                         >
                           <div style="padding: 15px 0 10px 20px">
-                            正确答案如下:
+                            The correct answer is as follows:
                           </div>
                           <div
                             class="cardList"
@@ -842,7 +842,7 @@
                               </div>
                             </div>
                             <div class="cardAnswerBox">
-                              组成句子:{{ st.lccjInfo.rightAnswer.join(" ") }}
+                              Form a sentence:{{ st.lccjInfo.rightAnswer.join(" ") }}
                             </div>
                           </div>
                         </div>
@@ -857,7 +857,7 @@
                       v-if="worksDetail[sIndex].bgInfo[0].score"
                       style="float: right; margin-right: 10px"
                     >
-                      评分:{{ worksDetail[sIndex].bgInfo[0].score }}
+                      Grading:{{ worksDetail[sIndex].bgInfo[0].score }}
                     </div>
                     <div
                       class="a_add_title"
@@ -870,7 +870,7 @@
                         margin-bottom: 10px;
                       "
                     >
-                      <div style="font-size: 16px">表格工具</div>
+                      <div style="font-size: 16px">Table Tool</div>
                     </div>
                     <el-form>
                       <div
@@ -887,7 +887,7 @@
                       v-if="worksDetail[sIndex].cocopiInfo[0].score"
                       style="float: right; margin-right: 10px"
                     >
-                      评分:{{ worksDetail[sIndex].cocopiInfo[0].score }}
+                      Grading:{{ worksDetail[sIndex].cocopiInfo[0].score }}
                     </div>
                     <div
                       class="a_add_title"
@@ -899,7 +899,7 @@
                         flex-wrap: wrap;
                       "
                     >
-                      <div style="font-size: 16px">cocopi工具</div>
+                      <div style="font-size: 16px">Cocopi Tool</div>
                     </div>
                     <div
                       v-for="(c, cIndex) in worksDetail[sIndex].cocopiInfo"
@@ -923,7 +923,7 @@
                         "
                       >
                         <el-button type="primary" size="small"
-                          >全屏查看</el-button
+                          >Full Screen View</el-button
                         >
                       </div>
                       <div v-if="c.type == 2">
@@ -954,7 +954,7 @@
                       v-if="worksDetail[sIndex].wordInfo[0].score"
                       style="float: right; margin-right: 10px"
                     >
-                      评分:{{ worksDetail[sIndex].wordInfo[0].score }}
+                      Grading:{{ worksDetail[sIndex].wordInfo[0].score }}
                     </div>
                     <div
                       class="a_add_title"
@@ -967,7 +967,7 @@
                         margin-bottom: 10px;
                       "
                     >
-                      <div style="font-size: 16px">文档工具</div>
+                      <div style="font-size: 16px">Document Tool</div>
                     </div>
                     <el-form>
                       <div
@@ -1018,7 +1018,7 @@
                 "
               >
                 <div class="worksTime">
-                  作业提交时间:<span style="width: auto"
+                  Homework Submission Time:<span style="width: auto"
                     >{{ worksDetail[sIndex].time }}
                   </span>
                 </div>
@@ -1034,7 +1034,7 @@
                   <div
                     style="font-size: 16px; color: #c7c7c7; margin-left: 15px"
                   >
-                    题目统计
+                    Question Statistics
                   </div>
                   <div class="xuan_right_box">
                     <div
@@ -1047,7 +1047,7 @@
                         <span>{{ tIndex + 1 + "、" + tItem.teststitle }}</span>
                       </div>
                       <div class="right_box_xuan">
-                        <span>正确率</span>
+                        <span> Accuracy Rate</span>
                         <span>{{
                           (checkJson[sIndex][tIndex].right
                             ? checkJson[sIndex][tIndex].right
@@ -1057,7 +1057,7 @@
                     </div>
                   </div>
                   <div class="allRightBox">
-                    <span>全部道题的正确率:</span
+                    <span>Overall Accuracy Rate for All Questions:</span
                     ><span>{{ checkJson[sIndex].allRight + "%" }}</span>
                   </div>
                 </div>
@@ -1108,7 +1108,7 @@
       <img width="100%" :src="dialogImageUrl" alt />
     </el-dialog>
     <el-dialog
-      title="课程评分"
+      title="Course Rating"
       :visible.sync="dataVisible"
       :append-to-body="true"
       width="1100px"
@@ -1121,11 +1121,11 @@
         </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="查看选择题"
+      title="View Multiple Choice Questions"
       :visible.sync="dialogVisible4"
       :append-to-body="true"
       width="800px"
@@ -1145,7 +1145,7 @@
           <div style="font-size: 20px">{{ askJson.askTitle }}</div>
         </div>
         <div class="a_addBox">
-          <div style="font-size: 16px; color: #c7c7c7">内容</div>
+          <div style="font-size: 16px; color: #c7c7c7">Content</div>
           <div
             class="a_add_box"
             v-for="(item, index) in askJson.askJson"
@@ -1154,7 +1154,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">
@@ -1176,12 +1176,12 @@
       </div>
       <span slot="footer" class="dialog-footer">
         <el-button type="primary" @click="dialogVisible4 = false"
-          >关 闭</el-button
+          >Close</el-button
         >
       </span>
     </el-dialog>
     <el-dialog
-      title="文件预览"
+      title="File Preview"
       :visible.sync="dialogVisible6"
       width="100%"
       :before-close="handleClose"
@@ -1189,7 +1189,7 @@
       :append-to-body="true"
     >
       <div slot="title" class="header-title">
-        <div style="color: #fff">文件预览</div>
+        <div style="color: #fff">File Preview</div>
       </div>
       <pdf
         v-if="showPDF"
@@ -1232,7 +1232,7 @@ export default {
       full: false,
       isStar: 0,
       studentInfo: {},
-      courseByUser: "诗词中的植物",
+      courseByUser: "Plants in Poetry",
       userName: "林点",
       answerName: "宿赞公房",
       studentAnswer: "雨荒深院菊,霜倒半池莲.唐杜甫《宿赞公房》",
@@ -1246,7 +1246,7 @@ export default {
         loop: false, // 导致视频一结束就重新开始。
         preload: "auto", // 建议浏览器在<video>加载元素后是否应该开始下载视频数据。auto浏览器选择最佳行为,立即开始加载视频(如果浏览器支持)
         language: "zh-CN",
-        aspectRatio: "16:9", // 将播放器置于流畅模式,并在计算播放器的动态大小时使用该值。值应该代表一个比例 - 用冒号分隔的两个数字(例如"16:9"或"4:3")
+        aspectRatio: "16:9", // 将播放器置于流畅模式,并在计算播放器的动态大小时使用该值。值应该代表一Number比例 - 用冒号分隔的两Number数字(例如"16:9"或"4:3")
         fluid: true, // 当true时,Video.js player将拥有流体大小。换句话说,它将按比例缩放以适应其容器。
         sources: [
           {
@@ -1256,7 +1256,7 @@ export default {
         ],
         // poster: require("../../../assets/tu31.png"), //你的封面地址
         // poster: dataRes.imgUrl, //你的封面地址
-        notSupportedMessage: "此视频暂无法播放,请稍后再试", //允许覆盖Video.js无法播放媒体源时显示的默认信息。
+        notSupportedMessage: "This video is currently unavailable, please try again later", //允许覆盖Video.js无法播放媒体源时显示的默认信息。
         controlBar: {
           timeDivider: true, //当前时间和持续时间的分隔符
           durationDisplay: true, //显示持续时间
@@ -1268,7 +1268,7 @@ export default {
       commentName: "谭子松",
       commentTime: "2021/2/5",
       commentAnswer:
-        "作为家长我很高兴看到孩子的进步,希望这个进步只是一个开始,在新学期能够继续延续,这样才能不负老师的期望",
+        "As a parent, I am pleased to see my child's progress. I hope this progress is just a beginning and it continues into the new semester, so as not to disappoint the teacher's expectations",
       stageIndex: "",
       taskCount: "",
       navId: "",
@@ -1310,16 +1310,16 @@ export default {
         },
         series: [
           {
-            name: "量规评分",
+            name: "Assessment Scoring",
             type: "pie",
             radius: "70%",
             center: ["50%", "50%"],
             data: [
-              { value: 0, name: "意识能力" },
-              { value: 0, name: "科学探究能力" },
-              { value: 0, name: "实践创新能力" },
-              { value: 0, name: "学习反思能力" },
-              { value: 0, name: "工程思维能力" },
+              { value: 0, name: "Awareness Skills" },
+              { value: 0, name: "Scientific Inquiry Skills" },
+              { value: 0, name: "Practical Innovation Skills" },
+              { value: 0, name: "Learning Reflection Ability" },
+              { value: 0, name: "Engineering Thinking Skills" },
             ],
             itemStyle: {
               emphasis: {
@@ -1373,10 +1373,10 @@ export default {
             },
           },
           indicator: [
-            // 雷达图的指示器,用来指定雷达图中的多变量(维度)
+            // 雷达图的指示器,用来指定雷达图中的多Number变量(维度)
           ],
         },
-        // 雷达图背景的颜色,在这儿随便设置了一颜色,完全不透明度为0,就实现了透明背景
+        // 雷达图背景的颜色,在这儿随便设置了一Number颜色,完全不透明度为0,就实现了透明背景
         splitArea: {
           show: true,
           areaStyle: {
@@ -1392,7 +1392,7 @@ export default {
         },
         series: [
           {
-            name: "能力图", // tooltip中的标题
+            name: "Ability Chart", // tooltip中的Title
             type: "radar", // 表示是雷达图
             symbol: "circle", // 拐点的样式,还可以取值'rect','angle'等
             symbolSize: 8, // 拐点的大小
@@ -1404,7 +1404,7 @@ export default {
             },
             data: [
               {
-                // 设置各指标原始值
+                // 设置各Number指标原始值
                 value: [],
                 // 设置区域边框和区域的颜色
                 itemStyle: {
@@ -1527,7 +1527,7 @@ export default {
           var answerInfo = res.data[4];
           var pptInfo = res.data[5];
           var chooseInfo = res.data[6];
-          var pjInfo = res.data[7]; //人评价作业
+          var pjInfo = res.data[7]; //Number人评价作业
           var xztkInfo = res.data[8]; //选择填空作业
           var lccjInfo = res.data[9]; //连词成句作业
           var bgInfo = res.data[10]; //表格作业
@@ -2014,12 +2014,12 @@ export default {
             var x_parts = x.stagetask.split("-");
             var y_parts = y.stagetask.split("-");
 
-            // 首先比较第一个数字
+            // 首先比较No.一Number数字
             if (x_parts[0] !== y_parts[0]) {
               return parseInt(x_parts[0]) - parseInt(y_parts[0]);
             }
 
-            // 如果第一个数字相同,则比较第二个数字
+            // 如果No.一Number数字相同,则比较No.二Number数字
             return parseInt(x_parts[1]) - parseInt(y_parts[1]);
           });
           result = resultNewArray;
@@ -2429,17 +2429,17 @@ export default {
           // // this.uploadBoolean = false;
           // if (k == this.worksDetail.length - 1) {
           //   this.$message({
-          //     message: "评价成功",
+          //     message: "Evaluation Successful",
           //     type: "success",
           //   });
           // }
           this.$message({
-            message: "评价成功",
+            message: "Evaluation Successful",
             type: "success",
           });
         })
         .catch((err) => {
-          this.$message.error("评价失败");
+          this.$message.error("Evaluation Failed");
           console.error(err);
         });
     },
@@ -2484,11 +2484,11 @@ export default {
             chapters[this.sInfo.stage].chapterInfo[0].taskJson[this.sInfo.task]
               .eList;
           //           ooption: [
-          //   { value: 0, name: "意识能力" },
-          //   { value: 0, name: "科学探究能力" },
-          //   { value: 0, name: "实践创新能力" },
-          //   { value: 0, name: "学习反思能力" },
-          //   { value: 0, name: "工程思维能力" },
+          //   { value: 0, name: "Awareness Skills" },
+          //   { value: 0, name: "Scientific Inquiry Skills" },
+          //   { value: 0, name: "Practical Innovation Skills" },
+          //   { value: 0, name: "Learning Reflection Ability" },
+          //   { value: 0, name: "Engineering Thinking Skills" },
           // ],
           var _ooption = [];
           if (eList) {
@@ -2501,11 +2501,11 @@ export default {
             this.ooption = _ooption;
           } else {
             workJson.eList = [
-              { value: "意识能力", detail: "", score: 5 },
-              { value: "科学探究能力", detail: "", score: 5 },
-              { value: "实践创新能力", detail: "", score: 5 },
-              { value: "学习反思能力", detail: "", score: 5 },
-              { value: "工程思维能力", detail: "", score: 5 },
+              { value: "Awareness Skills", detail: "", score: 5 },
+              { value: "Scientific Inquiry Skills", detail: "", score: 5 },
+              { value: "Practical Innovation Skills", detail: "", score: 5 },
+              { value: "Learning Reflection Ability", detail: "", score: 5 },
+              { value: "Engineering Thinking Skills", detail: "", score: 5 },
             ];
             for (var i = 0; i < workJson.eList.length; i++) {
               _ooption.push({ value: 0, name: workJson.eList[i].value });
@@ -2513,11 +2513,11 @@ export default {
             }
             workJson.rateList.content = "";
             this.ooption = [
-              { value: 0, name: "意识能力" },
-              { value: 0, name: "科学探究能力" },
-              { value: 0, name: "实践创新能力" },
-              { value: 0, name: "学习反思能力" },
-              { value: 0, name: "工程思维能力" },
+              { value: 0, name: "Awareness Skills" },
+              { value: 0, name: "Scientific Inquiry Skills" },
+              { value: 0, name: "Practical Innovation Skills" },
+              { value: 0, name: "Learning Reflection Ability" },
+              { value: 0, name: "Engineering Thinking Skills" },
             ];
           }
           if (this.sInfo.rate) {
@@ -2565,14 +2565,14 @@ export default {
           var _course = `<h1>${this.sInfo.course}</h1>`;
           var _title =
             "<h2>" +
-            "" +
+            "No." +
             (this.sInfo.stage + 1) +
-            "阶段 " +
+            "Stage " +
             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 +
@@ -2582,12 +2582,12 @@ export default {
           var _img = "";
           if (workJson.img.length > 0) {
             for (var i = 0; i < workJson.img.length; i++) {
-              // _img += `<div style="margin-top:10px"><div>图片${
+              // _img += `<div style="margin-top:10px"><div>Image${
               //   i + 1
               // }:<a href='${workJson.img[i].src}'>${
               //   workJson.img[i].src
               // }</a></div>`;
-              _img += `<div style="margin-top:10px"><div>图片${
+              _img += `<div style="margin-top:10px"><div>Image${
                 i + 1
               }</div><img style="max-width:500px" src="${
                 workJson.img[i].src
@@ -2597,15 +2597,15 @@ export default {
 
           var _ask = "";
           if (workJson.askInfo.length > 0) {
-            var _ask = "<h3>选择题</h3>";
+            var _ask = "<h3>Multiple 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}题:${
+                _div2.innerHTML = `<h5>No.${j + 1}Question:${
                   workJson.askInfo[i].askJson[j].askstitle
-                }  选择:${workJson.askInfo[i].radio[j] + 1}</h5> `;
+                }  Selection:${workJson.askInfo[i].radio[j] + 1}</h5> `;
                 var _div3 = document.createElement("div");
                 for (
                   var z = 0;
@@ -2625,10 +2625,10 @@ export default {
 
           var _answer = "";
           if (workJson.answerInfo.length > 0) {
-            var _answer = "<h3>问答</h3>";
+            var _answer = "<h3>Q&A</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>Q&A:${workJson.answerInfo[i].answerTitle}</h4>`;
               _div.innerHTML += `<div>${workJson.answerInfo[i].answer}</div>`;
               _answer += `<div>${_div.innerHTML}</div>`;
             }
@@ -2655,7 +2655,7 @@ export default {
     },
     openTask(s, i, dyi, navi) {
       if (!this.dyList2[dyi].taskList[navi].isWork) {
-        this.$message.warning("该任务暂时没提交作业");
+        this.$message.warning("No Homework Submitted for This Task Yet");
       } else {
         var a = s + "-" + i;
         var b = document.getElementById(a);
@@ -2677,7 +2677,7 @@ export default {
           <meta charset="UTF-8">
           <meta http-equiv="X-UA-Compatible" content="IE=edge">
           <meta name="viewport" content="width=device-width, initial-scale=1.0">
-          <title>报告</title>
+          <title>Report</title>
       </head>
       <body>
       ${this.$store.state.report}
@@ -2687,7 +2687,7 @@ export default {
       // 生成报告
       const link = document.createElement("a");
       let dname = this.sInfo.course + "-" + this.sInfo.sName + ".html";
-      // link.download = "报告.html"; // 文件名
+      // link.download = "Report.html"; // 文件名
       link.download = dname; // 文件名
       link.style.display = "none";
       // 创建文件流
@@ -2704,7 +2704,7 @@ export default {
       //     orientation: "landscape", //跨域设置
       //   }),
       //   //文件名
-      //   "报告.doc"
+      //   "Report.doc"
       // );
     },
   },

+ 87 - 87
src/components/pages/components/worksDetail3GM.vue

@@ -7,18 +7,18 @@
           <div>{{ allWorks.sName }}</div>
         </div>
         <div>{{ allWorks.course }}</div> -->
-        <div>查看作业</div>
+        <div>View Homework</div>
       </div>
       <div class="cBox">
         <div class="pb_left">
           <el-tooltip class="cTitle" effect="light" :content="allWorks.course" placement="top">
             <div>{{ allWorks.course }}</div>
           </el-tooltip>
-          <div class="ml">目录</div>
+          <div class="ml">Contents</div>
           <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>No.{{ dy.id + 1 }}Stage</div>
                 <div>{{ dy.name }}</div>
               </div>
               <div class="twoChild" :class="{
@@ -37,7 +37,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>
@@ -55,18 +55,18 @@
                 <div class="jdName">
                   <div>
                     {{
-                    "第" + (sin.stage + 1) + "阶段 " + dyList[sin.stage].name
+                    "No." + (sin.stage + 1) + "Stage " + 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>
                     </div>
                     <div v-if="worksDetail[sIndex].wpptInfo.length > 0">
-                      <el-button class="btnClassGM" type="primary" size="small" @click="openFile(worksDetail[sIndex].wpptInfo[0])">查看文档
+                      <el-button class="btnClassGM" type="primary" size="small" @click="openFile(worksDetail[sIndex].wpptInfo[0])">View Document
                       </el-button>
                     </div>
                   </div>
@@ -96,17 +96,17 @@
                       <img :src="item.src" alt @click="worksDetail[sIndex].imgIndex = index" />
                     </div>
                   </div>
-                  <div class="work_nopicture" v-else>暂无上传截图</div>
+                  <div class="work_nopicture" v-else>No Screenshots Uploaded</div>
                 </div>
                 <div class="left_top" :style="{width:worksDetail[sIndex].eList.length?'45%':'95%'}" v-else-if="worksDetail[sIndex].answerInfo.length > 0">
                   <div class="answerbox">
-                    <div style="min-width: 80px">问答标题</div>
+                    <div style="min-width: 80px">Q&A Title</div>
                     <div>
                       {{ worksDetail[sIndex].answerInfo[0].answerTitle }}
                     </div>
                   </div>
                   <div class="answerbox1">
-                    <div>学生回答</div>
+                    <div>Student's Answer</div>
                     <div>
                       {{ worksDetail[sIndex].answerInfo[0].answer }}
                     </div>
@@ -122,7 +122,7 @@
                         flex-wrap: wrap;
                       ">
                       <div style="margin-right: 20px; font-size: 20px">
-                        标题:
+                        Title:
                       </div>
                       <div style="font-size: 20px">
                         {{ worksDetail[sIndex].askInfo[0].askTitle }}
@@ -130,7 +130,7 @@
                     </div>
                     <div class="a_addBox">
                       <div style="font-size: 16px; color: #c7c7c7">
-                        内容
+                        Content
                       </div>
                       <div class="a_add_box" v-for="(item1, index1) in worksDetail[sIndex].askInfo[0]
                       .askCount" :key="index1">
@@ -138,7 +138,7 @@
                           <div style="display: flex">
                             {{ index1 + 1 + "、" }}
                             <div>
-                              题目:{{
+                              Question:{{
                               worksDetail[sIndex].askInfo[0].askJson[index1]
                               .askstitle
                               }}
@@ -195,7 +195,7 @@
                   position: relative;
                 ">
                 <div class="worksTime">
-                  作业提交时间:<span style="width: auto">{{ worksDetail[sIndex].time }}
+                  Homework Submission Time:<span style="width: auto">{{ worksDetail[sIndex].time }}
                   </span>
                 </div>
                 <div class="ech" style="margin-left: 23px">
@@ -229,7 +229,7 @@
     <el-dialog :visible.sync="pictureDialog" size="tiny">
       <img width="100%" :src="dialogImageUrl" alt />
     </el-dialog>
-    <el-dialog title="项目评分" :visible.sync="dataVisible" :append-to-body="true" width="1100px"
+    <el-dialog title="Project Grading" :visible.sync="dataVisible" :append-to-body="true" width="1100px"
       :before-close="handleClose" class="dialog_diy">
       <div>
         <div class="a_addBox2">
@@ -237,10 +237,10 @@
         </div>
       </div>
       <span slot="footer" class="dialog-footer">
-        <el-button @click="dataVisible = false" class="cancel_button">关 闭</el-button>
+        <el-button @click="dataVisible = false" class="cancel_button">Close</el-button>
       </span>
     </el-dialog>
-    <el-dialog title="查看选择题" :visible.sync="dialogVisible4" :append-to-body="true" width="800px"
+    <el-dialog title="View Multiple Choice Questions" :visible.sync="dialogVisible4" :append-to-body="true" width="800px"
       :before-close="handleClose" class="dialog_diy">
       <div>
         <div class="a_add_title" style="
@@ -252,12 +252,12 @@
           <div style="font-size: 20px">{{ askJson.askTitle }}</div>
         </div>
         <div class="a_addBox">
-          <div style="font-size: 16px; color: #c7c7c7">内容</div>
+          <div style="font-size: 16px; color: #c7c7c7">Content</div>
           <div class="a_add_box" v-for="(item, index) in askJson.askJson" :key="index">
             <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">
@@ -272,13 +272,13 @@
         </div>
       </div>
       <span slot="footer" class="dialog-footer">
-        <el-button type="primary" @click="dialogVisible4 = false" class="cancel_button">关 闭</el-button>
+        <el-button type="primary" @click="dialogVisible4 = false" class="cancel_button">Close</el-button>
       </span>
     </el-dialog>
-    <el-dialog title="文件预览" :visible.sync="dialogVisible6" width="100%" :before-close="handleClose" class="full_diy"
+    <el-dialog title="File Preview" :visible.sync="dialogVisible6" width="100%" :before-close="handleClose" class="full_diy"
       :append-to-body="true">
       <div slot="title" class="header-title">
-        <div style="color: #fff">文件预览</div>
+        <div style="color: #fff">File Preview</div>
       </div>
       <pdf v-if="showPDF" :pdfUrl="pptImgUrl" style="width: 100%; height: 520px; overflow: auto"></pdf>
       <iframe v-else :src="pptImgUrl" frameborder="0" width="100%" height="600"></iframe>
@@ -311,7 +311,7 @@ export default {
       full: false,
       isStar: 0,
       studentInfo: {},
-      courseByUser: "诗词中的植物",
+      courseByUser: "Plants in Poetry",
       userName: "林点",
       answerName: "宿赞公房",
       studentAnswer: "雨荒深院菊,霜倒半池莲.唐杜甫《宿赞公房》",
@@ -325,7 +325,7 @@ export default {
         loop: false, // 导致视频一结束就重新开始。
         preload: "auto", // 建议浏览器在<video>加载元素后是否应该开始下载视频数据。auto浏览器选择最佳行为,立即开始加载视频(如果浏览器支持)
         language: "zh-CN",
-        aspectRatio: "16:9", // 将播放器置于流畅模式,并在计算播放器的动态大小时使用该值。值应该代表一个比例 - 用冒号分隔的两个数字(例如"16:9"或"4:3")
+        aspectRatio: "16:9", // 将播放器置于流畅模式,并在计算播放器的动态大小时使用该值。值应该代表一Number比例 - 用冒号分隔的两Number数字(例如"16:9"或"4:3")
         fluid: true, // 当true时,Video.js player将拥有流体大小。换句话说,它将按比例缩放以适应其容器。
         sources: [
           {
@@ -335,7 +335,7 @@ export default {
         ],
         // poster: require("../../../assets/tu31.png"), //你的封面地址
         // poster: dataRes.imgUrl, //你的封面地址
-        notSupportedMessage: "此视频暂无法播放,请稍后再试", //允许覆盖Video.js无法播放媒体源时显示的默认信息。
+        notSupportedMessage: "This video is currently unavailable, please try again later", //允许覆盖Video.js无法播放媒体源时显示的默认信息。
         controlBar: {
           timeDivider: true, //当前时间和持续时间的分隔符
           durationDisplay: true, //显示持续时间
@@ -347,7 +347,7 @@ export default {
       commentName: "谭子松",
       commentTime: "2021/2/5",
       commentAnswer:
-        "作为家长我很高兴看到孩子的进步,希望这个进步只是一个开始,在新学期能够继续延续,这样才能不负老师的期望",
+        "As a parent, I am pleased to see my child's progress. I hope this progress is just a beginning and it continues into the new semester, so as not to disappoint the teacher's expectations",
       stageIndex: "",
       taskCount: "",
       navId: "",
@@ -389,16 +389,16 @@ export default {
         },
         series: [
           {
-            name: "量规评分",
+            name: "Assessment Scoring",
             type: "pie",
             radius: "70%",
             center: ["50%", "50%"],
             data: [
-              { value: 0, name: "意识能力" },
-              { value: 0, name: "科学探究能力" },
-              { value: 0, name: "实践创新能力" },
-              { value: 0, name: "学习反思能力" },
-              { value: 0, name: "工程思维能力" },
+              { value: 0, name: "Awareness Skills" },
+              { value: 0, name: "Scientific Inquiry Skills" },
+              { value: 0, name: "Practical Innovation Skills" },
+              { value: 0, name: "Learning Reflection Ability" },
+              { value: 0, name: "Engineering Thinking Skills" },
             ],
             itemStyle: {
               emphasis: {
@@ -452,10 +452,10 @@ export default {
             },
           },
           indicator: [
-            // 雷达图的指示器,用来指定雷达图中的多变量(维度)
+            // 雷达图的指示器,用来指定雷达图中的多Number变量(维度)
           ],
         },
-        // 雷达图背景的颜色,在这儿随便设置了一颜色,完全不透明度为0,就实现了透明背景
+        // 雷达图背景的颜色,在这儿随便设置了一Number颜色,完全不透明度为0,就实现了透明背景
         splitArea: {
           show: true,
           areaStyle: {
@@ -471,7 +471,7 @@ export default {
         },
         series: [
           {
-            name: "能力图", // tooltip中的标题
+            name: "Ability Chart", // tooltip中的Title
             type: "radar", // 表示是雷达图
             symbol: "circle", // 拐点的样式,还可以取值'rect','angle'等
             symbolSize: 8, // 拐点的大小
@@ -483,7 +483,7 @@ export default {
             },
             data: [
               {
-                // 设置各指标原始值
+                // 设置各Number指标原始值
                 value: [],
                 // 设置区域边框和区域的颜色
                 itemStyle: {
@@ -630,11 +630,11 @@ export default {
             //  else {
             //   _ooption = [];
             //   workJson[k].eList = [
-            //     { value: "意识能力", detail: "", score: 5 },
-            //     { value: "科学探究能力", detail: "", score: 5 },
-            //     { value: "实践创新能力", detail: "", score: 5 },
-            //     { value: "学习反思能力", detail: "", score: 5 },
-            //     { value: "工程思维能力", detail: "", score: 5 },
+            //     { value: "Awareness Skills", detail: "", score: 5 },
+            //     { value: "Scientific Inquiry Skills", detail: "", score: 5 },
+            //     { value: "Practical Innovation Skills", detail: "", score: 5 },
+            //     { value: "Learning Reflection Ability", detail: "", score: 5 },
+            //     { value: "Engineering Thinking Skills", detail: "", score: 5 },
             //   ];
             //   for (var i = 0; i < workJson[k].eList.length; i++) {
             //     _ooption.push({ value: 0, name: workJson[k].eList[i].value });
@@ -642,11 +642,11 @@ export default {
             //   }
             //   workJson[k].rateList.content = "";
             //   this.ooption[k] = [
-            //     { value: 0, name: "意识能力" },
-            //     { value: 0, name: "科学探究能力" },
-            //     { value: 0, name: "实践创新能力" },
-            //     { value: 0, name: "学习反思能力" },
-            //     { value: 0, name: "工程思维能力" },
+            //     { value: 0, name: "Awareness Skills" },
+            //     { value: 0, name: "Scientific Inquiry Skills" },
+            //     { value: 0, name: "Practical Innovation Skills" },
+            //     { value: 0, name: "Learning Reflection Ability" },
+            //     { value: 0, name: "Engineering Thinking Skills" },
             //   ];
             // }
             if (res.data[0][k].rate && eList && eList.length > 0) {
@@ -823,11 +823,11 @@ export default {
           //   this.ooption = _ooption;
           // } else {
           //   workJson.eList = [
-          //     { value: "意识能力", detail: "", score: 5 },
-          //     { value: "科学探究能力", detail: "", score: 5 },
-          //     { value: "实践创新能力", detail: "", score: 5 },
-          //     { value: "学习反思能力", detail: "", score: 5 },
-          //     { value: "工程思维能力", detail: "", score: 5 },
+          //     { value: "Awareness Skills", detail: "", score: 5 },
+          //     { value: "Scientific Inquiry Skills", detail: "", score: 5 },
+          //     { value: "Practical Innovation Skills", detail: "", score: 5 },
+          //     { value: "Learning Reflection Ability", detail: "", score: 5 },
+          //     { value: "Engineering Thinking Skills", detail: "", score: 5 },
           //   ];
           //   for (var i = 0; i < workJson.eList.length; i++) {
           //     _ooption.push({ value: 0, name: workJson.eList[i].value });
@@ -835,11 +835,11 @@ export default {
           //   }
           //   workJson.rateList.content = "";
           //   this.ooption = [
-          //     { value: 0, name: "意识能力" },
-          //     { value: 0, name: "科学探究能力" },
-          //     { value: 0, name: "实践创新能力" },
-          //     { value: 0, name: "学习反思能力" },
-          //     { value: 0, name: "工程思维能力" },
+          //     { value: 0, name: "Awareness Skills" },
+          //     { value: 0, name: "Scientific Inquiry Skills" },
+          //     { value: 0, name: "Practical Innovation Skills" },
+          //     { value: 0, name: "Learning Reflection Ability" },
+          //     { value: 0, name: "Engineering Thinking Skills" },
           //   ];
           // }
           // if (this.sInfo.rate) {
@@ -1131,13 +1131,13 @@ export default {
           // this.uploadBoolean = false;
           if (k == this.worksDetail.length - 1) {
             this.$message({
-              message: "评价成功",
+              message: "Evaluation Successful",
               type: "success",
             });
           }
         })
         .catch((err) => {
-          this.$message.error("评价失败");
+          this.$message.error("Evaluation Failed");
           console.error(err);
         });
     },
@@ -1182,11 +1182,11 @@ export default {
             chapters[this.sInfo.stage].chapterInfo[0].taskJson[this.sInfo.task]
               .eList;
           //           ooption: [
-          //   { value: 0, name: "意识能力" },
-          //   { value: 0, name: "科学探究能力" },
-          //   { value: 0, name: "实践创新能力" },
-          //   { value: 0, name: "学习反思能力" },
-          //   { value: 0, name: "工程思维能力" },
+          //   { value: 0, name: "Awareness Skills" },
+          //   { value: 0, name: "Scientific Inquiry Skills" },
+          //   { value: 0, name: "Practical Innovation Skills" },
+          //   { value: 0, name: "Learning Reflection Ability" },
+          //   { value: 0, name: "Engineering Thinking Skills" },
           // ],
           var _ooption = [];
           if (eList) {
@@ -1199,11 +1199,11 @@ export default {
             this.ooption = _ooption;
           } else {
             workJson.eList = [
-              { value: "意识能力", detail: "", score: 5 },
-              { value: "科学探究能力", detail: "", score: 5 },
-              { value: "实践创新能力", detail: "", score: 5 },
-              { value: "学习反思能力", detail: "", score: 5 },
-              { value: "工程思维能力", detail: "", score: 5 },
+              { value: "Awareness Skills", detail: "", score: 5 },
+              { value: "Scientific Inquiry Skills", detail: "", score: 5 },
+              { value: "Practical Innovation Skills", detail: "", score: 5 },
+              { value: "Learning Reflection Ability", detail: "", score: 5 },
+              { value: "Engineering Thinking Skills", detail: "", score: 5 },
             ];
             for (var i = 0; i < workJson.eList.length; i++) {
               _ooption.push({ value: 0, name: workJson.eList[i].value });
@@ -1211,11 +1211,11 @@ export default {
             }
             workJson.rateList.content = "";
             this.ooption = [
-              { value: 0, name: "意识能力" },
-              { value: 0, name: "科学探究能力" },
-              { value: 0, name: "实践创新能力" },
-              { value: 0, name: "学习反思能力" },
-              { value: 0, name: "工程思维能力" },
+              { value: 0, name: "Awareness Skills" },
+              { value: 0, name: "Scientific Inquiry Skills" },
+              { value: 0, name: "Practical Innovation Skills" },
+              { value: 0, name: "Learning Reflection Ability" },
+              { value: 0, name: "Engineering Thinking Skills" },
             ];
           }
           if (this.sInfo.rate) {
@@ -1264,14 +1264,14 @@ export default {
           var _course = `<h1>${this.sInfo.course}</h1>`;
           var _title =
             "<h2>" +
-            "" +
+            "No." +
             (this.sInfo.stage + 1) +
-            "阶段 " +
+            "Stage " +
             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 +
@@ -1281,12 +1281,12 @@ export default {
           var _img = "";
           if (workJson.img.length > 0) {
             for (var i = 0; i < workJson.img.length; i++) {
-              // _img += `<div style="margin-top:10px"><div>图片${
+              // _img += `<div style="margin-top:10px"><div>Image${
               //   i + 1
               // }:<a href='${workJson.img[i].src}'>${
               //   workJson.img[i].src
               // }</a></div>`;
-              _img += `<div style="margin-top:10px"><div>图片${i + 1
+              _img += `<div style="margin-top:10px"><div>Image${i + 1
                 }</div><img style="max-width:500px" src="${workJson.img[i].src
                 }"/></div>`;
             }
@@ -1294,14 +1294,14 @@ export default {
 
           var _ask = "";
           if (workJson.askInfo.length > 0) {
-            var _ask = "<h3>选择题</h3>";
+            var _ask = "<h3>Multiple 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
-                  }  选择:${workJson.askInfo[i].radio[j] + 1}</h5> `;
+                _div2.innerHTML = `<h5>No.${j + 1}Question:${workJson.askInfo[i].askJson[j].askstitle
+                  }  Selection:${workJson.askInfo[i].radio[j] + 1}</h5> `;
                 var _div3 = document.createElement("div");
                 for (
                   var z = 0;
@@ -1320,10 +1320,10 @@ export default {
 
           var _answer = "";
           if (workJson.answerInfo.length > 0) {
-            var _answer = "<h3>问答</h3>";
+            var _answer = "<h3>Q&A</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>Q&A:${workJson.answerInfo[i].answerTitle}</h4>`;
               _div.innerHTML += `<div>${workJson.answerInfo[i].answer}</div>`;
               _answer += `<div>${_div.innerHTML}</div>`;
             }
@@ -1368,7 +1368,7 @@ export default {
           <meta charset="UTF-8">
           <meta http-equiv="X-UA-Compatible" content="IE=edge">
           <meta name="viewport" content="width=device-width, initial-scale=1.0">
-          <title>报告</title>
+          <title>Report</title>
       </head>
       <body>
       ${this.$store.state.report}
@@ -1378,7 +1378,7 @@ export default {
       // 生成报告
       const link = document.createElement("a");
       let dname = this.sInfo.course + "-" + this.sInfo.sName + ".html";
-      // link.download = "报告.html"; // 文件名
+      // link.download = "Report.html"; // 文件名
       link.download = dname; // 文件名
       link.style.display = "none";
       // 创建文件流
@@ -1395,7 +1395,7 @@ export default {
       //     orientation: "landscape", //跨域设置
       //   }),
       //   //文件名
-      //   "报告.doc"
+      //   "Report.doc"
       // );
     },
   },

+ 69 - 69
src/components/pages/course.vue

@@ -6,7 +6,7 @@
     display: flex;
     align-items: center;
 ">
-          <span class="sub_head">课程管理</span>
+          <span class="sub_head">Course Management</span>
           <span class="subClick" @click="
             goTo(
               '/works?userid=' +
@@ -18,41 +18,41 @@
               '&role=' +
               role
             )
-            ">评价管理</span>
+            ">Evaluation Management</span>
         </div>
         <div class="student_button">
-          <!-- <el-button type="primary" class="bgColor" @click="openCourse">协同编辑</el-button> -->
-          <el-button type="primary" class="bgColor" @click="goToCourse3()">创建极简式课程</el-button>
-          <el-button type="primary" class="bgColor" @click="goToCourse2()">创建任务式课程</el-button>
-          <el-button type="primary" class="bgColor" @click="goToCourse()">创建阶段式课程</el-button>
+          <!-- <el-button type="primary" class="bgColor" @click="openCourse">Collaborative Editing</el-button> -->
+          <el-button type="primary" class="bgColor" @click="goToCourse3()">Create Minimalistic Course</el-button>
+          <el-button type="primary" class="bgColor" @click="goToCourse2()">Create Task-based Course</el-button>
+          <el-button type="primary" class="bgColor" @click="goToCourse()">Create Stage-based Course</el-button>
         </div>
       </div>
       <div class="reBox">
         <div class="reTop">
-          <div>分类筛选</div>
+          <div>Filter by Category</div>
           <div class="reTopCh">
             <el-select v-model="groupA" @change="search" v-if="role == '1'">
-              <el-option value="4" label="全部"></el-option>
-              <el-option value="2" label="我的课程"></el-option>
-              <el-option value="3" label="协同课程"></el-option>
-              <el-option value="1" label="他人课程"></el-option>
+              <el-option value="4" label="All"></el-option>
+              <el-option value="2" label="My Courses"></el-option>
+              <el-option value="3" label="Collaborative Courses"></el-option>
+              <el-option value="1" label="Other's Courses"></el-option>
             </el-select>
             <el-select v-model="groupA" @change="search" v-else>
-              <el-option value="0" label="全部"></el-option>
-              <el-option value="2" label="我的课程"></el-option>
-              <el-option value="3" label="协同课程"></el-option>
+              <el-option value="0" label="All"></el-option>
+              <el-option value="2" label="My Courses"></el-option>
+              <el-option value="3" label="Collaborative Courses"></el-option>
             </el-select>
             <div class="searchI">
               <!-- @click="getCourse" -->
               <div class="search">
                 <img src="../../assets/icon/search.png" alt="" />
               </div>
-              <input class="sInput" type="text" placeholder="请输入关键字" v-model="courseName" @input="getCourse()" />
+              <input class="sInput" type="text" placeholder="Please enter keywords" v-model="courseName" @input="getCourse()" />
             </div>
           </div>
         </div>
         <div class="pType_box all_choose" v-if="oid == '69893dca-1d47-11ed-8c78-005056b86db5'">
-          <span>类型</span>
+          <span>Type</span>
           <el-radio-group v-model="pTypeCheckName" style="display: flex; align-items: center">
             <div class="all_choose" style="width: 100px" v-for="(item, index) in CourseType2" :key="index">
               <el-radio :label="item.name" @click.native.prevent="CourseType2Click(item.name)">{{ item.name }}</el-radio>
@@ -74,7 +74,7 @@
               ">
               <div class="cName" @click="getCourse2(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="getCourse2(item.name, item.id, item1.id, 2)">
@@ -95,28 +95,28 @@
       <div class="student_head" v-if="false">
         <div class="choose">
           <div class="student_search">
-            <span>课程筛选</span>
+            <span>Course Selection</span>
             <el-select v-model="groupA" @change="search">
-              <el-option value="0" label="我的课程"></el-option>
-              <el-option value="1" label="他人课程"></el-option>
+              <el-option value="0" label="My Courses"></el-option>
+              <el-option value="1" label="Others' Courses"></el-option>
             </el-select>
           </div>
           <div class="all_choose" v-for="(item, index) in CourseType[0]" :key="index">
             <span v-if="CourseTypeJson[item.id].length">{{ item.name }}</span>
-            <el-select v-if="CourseTypeJson[item.id].length" v-model="courseTypeId[item.id]" placeholder="请选择"
+            <el-select v-if="CourseTypeJson[item.id].length" v-model="courseTypeId[item.id]" placeholder="Please select"
               @change="getTypeName">
-              <el-option label="全部" value="1">全部</el-option>
+              <el-option label="All" value="1">All</el-option>
               <el-option v-for="item1 in CourseTypeJson[item.id]" :key="item1.id" :label="item1.name" :value="item1.id">
               </el-option>
             </el-select>
           </div>
-          <div @click="clear" class="clear">重置</div>
+          <div @click="clear" class="clear">Reset</div>
         </div>
 
         <div class="student_right">
           <div class="head_left">
-            <el-input v-model="courseName" class="student_input" placeholder="请输入课程名称"></el-input>
-            <el-button class="course_button" @click="searchCourse">查询</el-button>
+            <el-input v-model="courseName" class="student_input" placeholder="Please enter course name"></el-input>
+            <el-button class="course_button" @click="searchCourse">Search</el-button>
           </div>
         </div>
       </div>
@@ -130,14 +130,14 @@
               他人课程
             </div>
             <div class="xtCourse" v-else>协同课程</div> -->
-            <div class="myCourse" v-if="item.userid == userid">我的课程</div>
+            <div class="myCourse" v-if="item.userid == userid">My Course</div>
             <div class="myCourse" style="background: #4187f0" v-else-if="!item.course_teacher ||
               (item.course_teacher &&
                 item.course_teacher.indexOf(userid) == -1)
               ">
-              他人课程
+              Other People's Course
             </div>
-            <div class="xtCourse" v-else>协同课程</div>
+            <div class="xtCourse" v-else>Collaborative Course</div>
             <div class="tup">
               <img :src="item.cover != null && item.cover != ''
                   ? JSON.parse(item.cover).length > 0
@@ -156,39 +156,39 @@
             <div class="bottom_box">
               <div>{{ item.title }}</div>
               <div class="kc_t" v-if="item.isCourseType == 2 || groupA == 1">
-                负责老师:{{ item.uname }}
+                Responsible Teacher: {{ item.uname }}
               </div>
               <div class="kc_time">
-                <span style="color: #717C8D">创建日期:</span>{{ item.time }}
+                <span style="color: #717C8D">Creation Date:</span>{{ item.time }}
               </div>
               <div class="kc_time">
-                <span style="color: #717C8D">修改日期:</span>{{ item.utime }}
+                <span style="color: #717C8D">Modification Date:</span>{{ item.utime }}
               </div>
             </div>
             <div class="three_bottom">
               <!-- v-if="role == '1'" -->
-              <div @click="get(item)">预览</div>
-              <!-- <div @click="jump(item.courseId)" v-else>评课</div> -->
+              <div @click="get(item)">Preview</div>
+              <!-- <div @click="jump(item.courseId)" v-else>Review</div> -->
               <div v-if="((item.userid == userid) ||
                   (item.course_teacher &&
                     item.course_teacher.indexOf(userid) !== -1) || role == '1') &&
                 item.state == 1
                 " @click="goToCourse(item.courseId)">
-                修改
+                Edit
               </div>
               <div v-if="((item.userid == userid) ||
                   (item.course_teacher &&
                     item.course_teacher.indexOf(userid) !== -1) || role == '1') &&
                 item.state == 2
                 " @click="goToCourse2(item.courseId)">
-                修改
+                Edit
               </div>
               <div v-if="((item.userid == userid) ||
                   (item.course_teacher &&
                     item.course_teacher.indexOf(userid) !== -1) || role == '1') &&
                 item.state == 3
                 " @click="goToCourse3(item.courseId)">
-                修改
+                Edit
               </div>
               <div v-if="groupA == '0'" @click="
                 goTo(
@@ -204,13 +204,13 @@
                   role
                 )
                 ">
-                评价
+                Evaluate
               </div>
               <div @click="copyCourse(item.courseId)">
-                复制
+                Copy
               </div>
               <div v-if="item.isCourseType == 1 || role == '1'" @click="deleteCourse(item.courseId)">
-                删除
+                Delete
               </div>
               <!-- <div class="more">
                 <span style="font-size: 18px; font-weight: 700">...</span>
@@ -223,7 +223,7 @@
               </div> -->
             </div>
           </div>
-          <div class="course_empty" v-if="course.length == 0">暂无数据</div>
+          <div class="course_empty" v-if="course.length == 0">No data available</div>
         </div>
       </div>
     </div>
@@ -234,7 +234,7 @@
     <el-dialog :visible.sync="dialogVisible1" size="tiny">
       <img width="100%" :src="dialogImageUrl" alt />
     </el-dialog>
-    <el-dialog title="查看提问" :visible.sync="dialogVisible" :append-to-body="true" width="750px" :before-close="handleClose"
+    <el-dialog title="View Questions" :visible.sync="dialogVisible" :append-to-body="true" width="750px" :before-close="handleClose"
       class="dialog_diy">
       <div>
         <div class="a_addBox">
@@ -242,10 +242,10 @@
         </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>
-    <el-dialog title="查看协同课程" :visible.sync="dialogVisibleCourse" :append-to-body="true" width="850px"
+    <el-dialog title="View Collaborative Courses" :visible.sync="dialogVisibleCourse" :append-to-body="true" width="850px"
       :before-close="handleClose" class="dialog_diy">
       <div class="ct_box">
         <div class="out_box" v-for="(item, index) in courseTeam" :key="index" style="margin-left: 15px">
@@ -259,11 +259,11 @@
           </div>
           <div class="bottom_box">
             <div>{{ item.title }}</div>
-            <div class="kc_t">创建老师:{{ item.uname }}</div>
+            <div class="kc_t">Created by: {{ item.uname }}</div>
             <div class="kc_time">{{ item.time }}</div>
           </div>
           <div class="three_bottom">
-            <div @click="jump(item.courseId)">查看内容</div>
+            <div @click="jump(item.courseId)">View Content</div>
             <div @click="
               goTo(
                 '/course/addCourse?cid=' +
@@ -276,14 +276,14 @@
                 org
               )
               ">
-              编辑
+              Edit
             </div>
           </div>
         </div>
-        <div class="course_empty" v-if="courseTeam.length == 0">暂无数据</div>
+        <div class="course_empty" v-if="courseTeam.length == 0">No data available</div>
       </div>
       <span slot="footer" class="dialog-footer">
-        <el-button @click="dialogVisibleCourse = false">关 闭</el-button>
+        <el-button @click="dialogVisibleCourse = false">Close</el-button>
       </span>
     </el-dialog>
   </div>
@@ -551,7 +551,7 @@ export default {
       this.dialogVisible1 = true;
     },
     onExceed() {
-      this.$message.error("课程海报仅支持上传一张,请删除后再进行上传");
+      this.$message.error("The course poster only supports uploading one image. Please delete it before uploading.");
     },
     //uuid生成
     guid() {
@@ -617,7 +617,7 @@ export default {
             }
           }
         }
-      } else if (typeName == "专栏") {
+      } else if (typeName == "Column") {
         if (type == 1) {
           if (this.typeE.indexOf(typeid) != -1) {
             if (this.oid == "69893dca-1d47-11ed-8c78-005056b86db5") {
@@ -644,7 +644,7 @@ export default {
             }
           }
         }
-      } else if (typeName == "栏目") {
+      } else if (typeName == "Category") {
         if (type == 1) {
           if (this.typeE.indexOf(typeid) != -1) {
             if (this.oid == "69893dca-1d47-11ed-8c78-005056b86db5") {
@@ -698,7 +698,7 @@ export default {
             }
           }
         }
-      } else if (typeName == "学院") {
+      } else if (typeName == "College") {
         if (type == 1) {
           if (this.typeE.indexOf(typeid) != -1) {
             if (this.oid == "69893dca-1d47-11ed-8c78-005056b86db5") {
@@ -771,11 +771,11 @@ export default {
       //     } else if (this.courseTypeId[this.CourseType[0][i].id] != "") {
       //       if (this.CourseType[0][i].name == "年级") {
       //         typea = this.courseTypeId[this.CourseType[0][i].id];
-      //       } else if (this.CourseType[0][i].name == "专栏") {
+      //       } else if (this.CourseType[0][i].name == "Column") {
       //         typeb = this.courseTypeId[this.CourseType[0][i].id];
-      //       } else if (this.CourseType[0][i].name == "栏目") {
+      //       } else if (this.CourseType[0][i].name == "Category") {
       //         typeb = this.courseTypeId[this.CourseType[0][i].id];
-      //       } else if (this.CourseType[0][i].name == "学院") {
+      //       } else if (this.CourseType[0][i].name == "College") {
       //         typeb = this.courseTypeId[this.CourseType[0][i].id];
       //       } else if (this.CourseType[0][i].name == "主题") {
       //         typeb = this.courseTypeId[this.CourseType[0][i].id];
@@ -847,9 +847,9 @@ export default {
     // },
     deleteCourse(cid) {
       // if (this.time()) {
-      this.$confirm("确定删除此课程吗?", "提示", {
-        confirmButtonText: "确定",
-        cancelButtonText: "取消",
+      this.$confirm("Are you sure you want to delete this course?", "Prompt", {
+        confirmButtonText: "Confirm",
+        cancelButtonText: "Cancel",
         type: "warning",
       })
         .then(() => {
@@ -865,7 +865,7 @@ export default {
             .then((res) => {
               loading.close();
               this.isLoading = false;
-              this.$message.success("删除成功");
+              this.$message.success("Delete successful");
               this.getCourse();
             })
             .catch((err) => {
@@ -892,9 +892,9 @@ export default {
           }
           this.CourseType = res.data;
           this.CourseType2 = [
-            { name: "智见课程", id: [] },
-            { name: "智行课程", id: [] },
-            { name: "智创课程", id: [] },
+            { name: "Intelligent Courses", id: [] },
+            { name: "Smart Courses", id: [] },
+            { name: "Innovative Courses", id: [] },
           ];
 
           for (var cti = 0; cti < res.data[0].length; cti++) {
@@ -910,11 +910,11 @@ export default {
               this.CourseType2[2].id.push(res.data[0][cti].id);
             }
             if (res.data[0][cti].id == "34628934-d02f-11ec-8c78-005056b86db5" || res.data[0][cti].id == "34628934-d02f-11ec-8c78-005056b86ac5") {
-              res.data[0][cti].name = "年级";
+              res.data[0][cti].name = "Grade";
             } else if (res.data[0][cti].id == "34629907-d02f-11ec-8c78-005056b86db5" || res.data[0][cti].id == "34629907-d02f-11ec-8c78-005056b86ac5") {
-              res.data[0][cti].name = "学科";
+              res.data[0][cti].name = "Subject";
             } else if (res.data[0][cti].id == "34629bcc-d02f-11ec-8c78-005056b86db5") {
-              res.data[0][cti].name = "主题";
+              res.data[0][cti].name = "Topic";
             }
           }
           for (var i = 0; i < res.data[0].length; i++) {
@@ -925,8 +925,8 @@ export default {
               this.CourseTypeJson[res.data[0][i].id] = [];
             }
             if (this.oid == "69893dca-1d47-11ed-8c78-005056b86db5") {
-              if (res.data[0][i].name == "栏目") {
-                this.CourseType[0][i].name = "主题";
+              if (res.data[0][i].name == "Category") {
+                this.CourseType[0][i].name = "Topic";
               }
             }
             if (res.data[2].length == 0 && res.data[3].length == 0) {
@@ -967,7 +967,7 @@ export default {
               this.courseTypeId[res.data[0][i].id] = "";
             }
             // if (this.oid == "69893dca-1d47-11ed-8c78-005056b86db5") {
-            //   if (res.data[0][i].name == "栏目") {
+            //   if (res.data[0][i].name == "Category") {
             //     this.CourseType[0][i].name = "主题";
             //   }
             // }
@@ -1075,7 +1075,7 @@ export default {
           } else {
             this.groupA = "0";
           }
-          this.$message.success("复制成功")
+          this.$message.success("Copy successful")
           this.clear();
         })
         .catch((err) => {

+ 11 - 11
src/components/pages/courseDetail.vue

@@ -1,7 +1,7 @@
 <template>
   <div class="pb_content">
     <div class="pb_head">
-      <span>课程管理</span>
+      <span>Course Management</span>
     </div>
     <div
       class="pb_content_body"
@@ -11,7 +11,7 @@
         <div class="cd_bread">
           <el-breadcrumb separator-class="el-icon-arrow-right">
             <el-breadcrumb-item :to="{ path: '/course' }"
-              >课程管理</el-breadcrumb-item
+              >Course Management</el-breadcrumb-item
             >
             <el-breadcrumb-item>{{ course.title }}</el-breadcrumb-item>
           </el-breadcrumb>
@@ -33,12 +33,12 @@
               <el-rate></el-rate>
             </div> -->
               <div class="course_view">
-                <i></i><span>{{ course.learning }}人在学</span>
+                <i></i><span>{{ course.learning }} people learning</span>
               </div>
             </div>
             <div>
               <el-button type="primary" @click="dialogVisible = true"
-                >查看课程视频</el-button
+                >View Course Videos</el-button
               >
             </div>
           </div>
@@ -48,10 +48,10 @@
       <div class="cd_content">
         <div class="cd_content_nav">
           <div :class="{ active: show }" @click="show = true">
-            <span>课程简介</span>
+            <span>Course Introduction</span>
           </div>
           <div :class="{ active: !show }" @click="show = false">
-            <span>学员查看</span>
+            <span>Student View</span>
           </div>
         </div>
         <div class="cd_content_intro" v-if="show">
@@ -60,7 +60,7 @@
         <div class="cd_content_stutents_box" v-else>
           <div class="cd_content_stutents">
             <div v-if="students.length == 0">
-              <span>暂无学生</span>
+              <span>No students at the moment</span>
             </div>
             <div class="student_box" v-for="index in students" :key="index">
               <span>{{ index.name }}</span>
@@ -70,7 +70,7 @@
       </div>
     </div>
     <el-dialog
-      title="查看课程视频"
+      title="View Course Videos"
       :visible.sync="dialogVisible"
       :append-to-body="true"
       width="750px"
@@ -110,14 +110,14 @@
                     active: playerOptions.sources[0].src == media,
                   }"
                 ></i>
-                <span>视频{{ index + 1 }}</span>
+                <span>Video {{ index + 1 }}</span>
               </div>
             </div>
           </div>
         </div>
       </div>
       <span slot="footer" style="display: flex; justify-content: center">
-        <el-button @click="cancelM">关 闭</el-button>
+        <el-button @click="cancelM">Close</el-button>
       </span>
     </el-dialog>
   </div>
@@ -149,7 +149,7 @@ export default {
         ],
         // poster: require("../../assets/tu31.png"), //你的封面地址
         // poster: dataRes.imgUrl, //你的封面地址
-        notSupportedMessage: "此视频暂无法播放,请稍后再试", //允许覆盖Video.js无法播放媒体源时显示的默认信息。
+        notSupportedMessage: "This video is currently unavailable for playback. Please try again later.", //允许覆盖Video.js无法播放媒体源时显示的默认信息。
         controlBar: {
           timeDivider: true, //当前时间和持续时间的分隔符
           durationDisplay: true, //显示持续时间

+ 46 - 46
src/components/pages/courseGM.vue

@@ -2,21 +2,21 @@
   <div class="pb_content" style="height: auto">
     <div class="pb_head top">
       <div>
-        <span>项目管理</span>
+        <span>Project Management</span>
         <span
           class="subClick"
           @click="
             goTo('/worksGM?userid=' + userid + '&oid=' + oid + '&org=' + org)
           "
-          >评价管理</span
+          >Evaluation Management</span
         >
       </div>
       <div class="student_button">
         <el-button type="primary" class="bgColor" @click="openCourse"
-          >协同编辑</el-button
+          >Collaborative Editing</el-button
         >
         <el-button type="primary" class="bgColor" @click="goToCourse()"
-          >添加项目</el-button
+          >Add Project</el-button
         >
       </div>
     </div>
@@ -24,10 +24,10 @@
       <div class="student_head">
         <div class="choose">
           <div class="student_search">
-            <span>项目筛选</span>
+            <span>Project Filter</span>
             <el-select v-model="groupA" @change="search">
-              <el-option value="0" label="我的项目"></el-option>
-              <el-option value="1" label="他人项目"></el-option>
+              <el-option value="0" label="My Projects"></el-option>
+              <el-option value="1" label="Other Projects"></el-option>
             </el-select>
           </div>
           <div
@@ -38,10 +38,10 @@
             <span>{{ item.name }}</span>
             <el-select
               v-model="courseTypeId[item.id]"
-              placeholder="请选择"
+              placeholder="Please select"
               @change="getTypeName"
             >
-              <el-option label="全部" value="1">全部</el-option>
+              <el-option label="All" value="1">All</el-option>
               <el-option
                 v-for="item1 in CourseTypeJson[item.id]"
                 :key="item1.id"
@@ -51,7 +51,7 @@
               </el-option>
             </el-select>
           </div>
-          <div @click="clear" class="clear">重置</div>
+          <div @click="clear" class="clear">Reset</div>
         </div>
 
         <div class="student_right">
@@ -59,10 +59,10 @@
             <el-input
               v-model="courseName"
               class="student_input"
-              placeholder="请输入项目名称"
+              placeholder="Enter Project Name"
             ></el-input>
             <el-button class="course_button" @click="searchCourse"
-              >查询</el-button
+              >Search</el-button
             >
           </div>
         </div>
@@ -71,15 +71,15 @@
         <div class="course_box">
           <div class="out_box" v-for="(item, index) in course" :key="index">
             <div class="myCourse" v-if="item.isCourseType == 1 && groupA == 0">
-              我的项目
+              My Projects
             </div>
             <div
               class="myCourse"
               v-else-if="groupA == 1"
             >
-              他人项目
+              Other Projects
             </div>
-            <div class="xtCourse" v-else>协同项目</div>
+            <div class="xtCourse" v-else>Collaborative Projects</div>
             <div class="tup">
               <img
                 :src="
@@ -102,23 +102,23 @@
             <div class="bottom_box">
               <div>{{ item.title }}</div>
               <div class="kc_t" v-if="item.isCourseType == 2 || groupA == 1">
-                负责老师:{{ item.uname }}
+                Responsible Teacher: {{ item.uname }}
               </div>
               <div class="kc_time" v-if=" groupA == '0'">
-                <span style="color: #4b4b4b">审核状态:</span>{{ item.examine == '1' ? '未审核' : '已审核' }}
+                <span style="color: #4b4b4b">Audit Status:</span>{{ item.examine == '1' ? 'Not Audited' : 'Audited' }}
               </div>
               <div class="kc_time">
-                <span style="color: #4b4b4b">创建日期:</span>{{ item.time }}
+                <span style="color: #4b4b4b">Creation Date:</span>{{ item.time }}
               </div>
               <div class="kc_time">
-                <span style="color: #4b4b4b">修改日期:</span>{{ item.utime }}
+                <span style="color: #4b4b4b">Modification Date:</span>{{ item.utime }}
               </div>
             </div>
             <div class="three_bottom">
               <!-- <div @click="jump(item.courseId)">评课</div> -->
-              <div @click="get(item.courseId)">预览</div>
+              <div @click="get(item.courseId)">Preview</div>
               <div v-if="groupA == '0'" @click="goToCourse(item.courseId)">
-                修改
+                Modify
               </div>
               <div
                 v-if="groupA == '0'"
@@ -135,20 +135,20 @@
                   )
                 "
               >
-                报告
+                Report
               </div>
               <div v-if="(item.isCourseType == 1)" @click="deleteCourse(item.courseId)">
-                删除
+                Delete
               </div>
               <div class="more">
                 <span style="font-size:18px;font-weight:700">...</span>
                 <div>
-                  <span @click="copyCourse(item.courseId)">复制</span>
+                  <span @click="copyCourse(item.courseId)">Copy</span>
                 </div>
               </div>
             </div>
           </div>
-          <div class="course_empty" v-if="course.length == 0">暂无数据</div>
+          <div class="course_empty" v-if="course.length == 0">No Data Available</div>
         </div>
       </div>
     </div>
@@ -167,7 +167,7 @@
       <img width="100%" :src="dialogImageUrl" alt />
     </el-dialog>
     <el-dialog
-      title="查看提问"
+      title="View Questions"
       :visible.sync="dialogVisible"
       :append-to-body="true"
       width="750px"
@@ -180,11 +180,11 @@
         </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>
     <el-dialog
-      title="查看协同项目"
+      title="View Collaborative Projects"
       :visible.sync="dialogVisibleCourse"
       :append-to-body="true"
       width="850px"
@@ -212,11 +212,11 @@
           </div>
           <div class="bottom_box">
             <div>{{ item.title }}</div>
-            <div class="kc_t">创建老师:{{ item.uname }}</div>
+            <div class="kc_t">Created by: {{ item.uname }}</div>
             <div class="kc_time">{{ item.time }}</div>
           </div>
           <div class="three_bottom">
-            <div @click="jump(item.courseId)">查看内容</div>
+            <div @click="jump(item.courseId)">View Content</div>
             <div
               @click="
                 goTo(
@@ -231,14 +231,14 @@
                 )
               "
             >
-              编辑
+              Edit
             </div>
           </div>
         </div>
-        <div class="course_empty" v-if="courseTeam.length == 0">暂无数据</div>
+        <div class="course_empty" v-if="courseTeam.length == 0">No data available</div>
       </div>
       <span slot="footer" class="dialog-footer">
-        <el-button @click="dialogVisibleCourse = false">关 闭</el-button>
+        <el-button @click="dialogVisibleCourse = false">Close</el-button>
       </span>
     </el-dialog>
   </div>
@@ -404,7 +404,7 @@ export default {
       this.dialogVisible1 = true;
     },
     onExceed() {
-      this.$message.error("项目海报仅支持上传一张,请删除后再进行上传");
+      this.$message.error("Only one project poster can be uploaded. Please delete it before proceeding with the upload.");
     },
     //uuid生成
     guid() {
@@ -454,17 +454,17 @@ export default {
           if (this.courseTypeId[this.CourseType[0][i].id] == "1") {
             typeE.push(this.CourseType[0][i].id);
           } else if (this.courseTypeId[this.CourseType[0][i].id] != "") {
-            if (this.CourseType[0][i].name == "年级") {
+            if (this.CourseType[0][i].name == "Grade") {
               typea = this.courseTypeId[this.CourseType[0][i].id];
-            } else if (this.CourseType[0][i].name == "专栏") {
+            } else if (this.CourseType[0][i].name == "Column") {
               typeb = this.courseTypeId[this.CourseType[0][i].id];
-            } else if (this.CourseType[0][i].name == "栏目") {
+            } else if (this.CourseType[0][i].name == "Programme") {
               typeb = this.courseTypeId[this.CourseType[0][i].id];
-            } else if (this.CourseType[0][i].name == "学院") {
+            } else if (this.CourseType[0][i].name == "Faculty") {
               typeb = this.courseTypeId[this.CourseType[0][i].id];
-            } else if (this.CourseType[0][i].name == "新技能") {
+            } else if (this.CourseType[0][i].name == "New Skill") {
               typec = this.courseTypeId[this.CourseType[0][i].id];
-            } else if (this.CourseType[0][i].name == "学科") {
+            } else if (this.CourseType[0][i].name == "Subject") {
               typed = this.courseTypeId[this.CourseType[0][i].id];
             }
             this.courseTypeSon.push(
@@ -528,9 +528,9 @@ export default {
     // },
     deleteCourse(cid) {
       // if (this.time()) {
-      this.$confirm("确定删除此项目吗?", "提示", {
-        confirmButtonText: "确定",
-        cancelButtonText: "取消",
+      this.$confirm("Are you sure you want to delete this project?", "Notification", {
+        confirmButtonText: "Confirm",
+        cancelButtonText: "Cancel",
         type: "warning",
       })
         .then(() => {
@@ -546,7 +546,7 @@ export default {
             .then((res) => {
               loading.close();
               this.isLoading = false;
-              this.$message.success("删除成功");
+              this.$message.success("Deleted successfully");
               this.getCourse();
             })
             .catch((err) => {
@@ -570,8 +570,8 @@ export default {
               this.courseTypeId[res.data[0][i].id] = "";
             }
             if (this.oid == "69893dca-1d47-11ed-8c78-005056b86db5") {
-              if (res.data[0][i].name == "栏目") {
-                this.CourseType[0][i].name = "主题";
+              if (res.data[0][i].name == "Category") {
+                this.CourseType[0][i].name = "Theme";
               }
             }
             for (var j = 0; j < res.data[1].length; j++) {

+ 44 - 44
src/components/pages/data.vue

@@ -35,8 +35,8 @@
           </div> -->
         </div>
         <div class="data_nav">
-          <span @click="type = 1" :class="{ active: type == 1 }">我的资料</span>
-          <span @click="type = 2" :class="{ active: type == 2 }">修改密码</span>
+          <span @click="type = 1" :class="{ active: type == 1 }">My Profile</span>
+          <span @click="type = 2" :class="{ active: type == 2 }">Change Password</span>
         </div>
         <el-form
           v-if="type == 1"
@@ -53,20 +53,20 @@
               placeholder="请输入名字"
             ></el-input>
           </el-form-item>-->
-          <el-form-item label="性别">
+          <el-form-item label="Gender">
             <el-radio-group v-model="ruleForm.sex">
-              <el-radio label=""></el-radio>
-              <el-radio label=""></el-radio>
+              <el-radio label="Male"></el-radio>
+              <el-radio label="Female"></el-radio>
             </el-radio-group>
           </el-form-item>
-          <el-form-item label="教研室" v-if="ruleForm.type == '老师'">
-            <div>{{ ccName ? ccName : '暂无' }}</div>
+          <el-form-item label="Department" v-if="ruleForm.type == 'Teacher'">
+            <div>{{ ccName ? ccName : 'N/A' }}</div>
           </el-form-item>
-          <el-form-item label="姓名" prop="name">
+          <el-form-item label="Name" prop="name">
             <el-input
               v-model="ruleForm.name"
               style="width: 300px"
-              placeholder="请输入姓名"
+              placeholder="Please enter your name"
             ></el-input>
           </el-form-item>
           <!-- <el-form-item label="邮箱" prop="mail">
@@ -91,11 +91,11 @@
               placeholder="请输入手机号码"
             ></el-input>
           </el-form-item> -->
-          <el-form-item label="组织" prop="org">
+          <el-form-item label="Organisation" prop="org">
             <el-select
               v-model="ruleForm.org"
               clearable
-              placeholder="暂无组织"
+              placeholder="No organisation available"
               disabled
             >
               <el-option
@@ -107,11 +107,11 @@
               </el-option>
             </el-select>
           </el-form-item>
-          <el-form-item label="学校" prop="sBySchool">
+          <el-form-item label="School" prop="sBySchool">
             <el-select
               v-model="ruleForm.sBySchool"
               clearable
-              placeholder="请选择学校"
+              placeholder="Please select a school"
               disabled
             >
               <!-- <el-option
@@ -124,50 +124,50 @@
               <el-option :value="ruleForm.sBySchool"> </el-option>
             </el-select>
           </el-form-item>
-          <el-form-item label="身份" prop="type">
+          <el-form-item label="Identity" prop="type">
             <el-select
               v-model="ruleForm.type"
               clearable
-              placeholder="请选择身份"
+              placeholder="Select Identity"
               disabled
             >
               <el-option :value="ruleForm.type"> </el-option>
-              <!-- <el-option >学生 </el-option> -->
+              <!-- <el-option >Student</el-option> -->
             </el-select>
           </el-form-item>
-          <el-form-item label="个人简介" prop="intro">
+          <el-form-item label="Personal Introduction" prop="intro">
             <el-input
               v-model="ruleForm.intro"
               type="textarea"
               :rows="5"
               resize="none"
-              placeholder="想说点什么..."
+              placeholder="Say something..."
               style="width: 300px"
             ></el-input>
           </el-form-item>
           <el-form-item>
             <el-button type="primary" @click="submitForm('ruleForm')"
-              >修改</el-button
+              >Modify</el-button
             >
           </el-form-item>
         </el-form>
         <div class="password" v-if="type == 2">
           <div class="input_box">
-            <span>原密码</span>
+            <span>Current Password</span>
             <el-input
               class="input"
               v-model="opassword"
-              placeholder="请输入原密码"
+              placeholder="Please enter your current password"
             ></el-input>
           </div>
           <div class="input_box">
-            <span>输入新密码</span>
+            <span>Enter New Password</span>
             <div style="position: relative">
               <el-input
                 :type="isLook ? 'type' : 'password'"
                 class="input"
                 v-model="password"
-                placeholder="请输入修改密码"
+                placeholder="Please enter your new password"
               ></el-input>
               <div class="eye" @click="changeEye">
                 <img :src="isLook ? eye : eyeOff" alt="" />
@@ -175,13 +175,13 @@
             </div>
           </div>
           <div class="input_box">
-            <span>再次输入新密码</span>
+            <span>Confirm New Password</span>
             <div style="position: relative">
               <el-input
                 :type="isLook ? 'type' : 'password'"
                 class="input"
                 v-model="password1"
-                placeholder="请再次输入修改密码"
+                placeholder="Please enter your new password again"
               ></el-input>
               <div class="eye" @click="changeEye">
                 <img :src="isLook ? eye : eyeOff" alt="" />
@@ -191,7 +191,7 @@
           <div class="input_box">
             <span></span>
             <div class="input">
-              <el-button type="primary" @click="updatePassword">修改</el-button>
+              <el-button type="primary" @click="updatePassword">Modify</el-button>
             </div>
           </div>
         </div>
@@ -210,7 +210,7 @@ export default {
       var reg =
         /^[A-Za-z\d]+([-_.][A-Za-z\d]+)*@([A-Za-z\d]+[-.])+[A-Za-z\d]{2,4}$/;
       if (!reg.test(value)) {
-        callback(new Error("请输入正确的邮箱"));
+        callback(new Error("Please enter a valid email"));
       } else {
         callback();
       }
@@ -218,7 +218,7 @@ export default {
     var validatePass1 = (rule, value, callback) => {
       var reg = /^1\d{10}$/;
       if (!reg.test(value)) {
-        callback(new Error("请输入正确的手机号码"));
+        callback(new Error("Please enter a valid phone number"));
       } else {
         callback();
       }
@@ -228,7 +228,7 @@ export default {
       ruleForm: {
         name: "",
         type: "",
-        sex: "",
+        sex: "Male",
         intro: "",
         // mail: "",
         phone: "",
@@ -250,11 +250,11 @@ export default {
       userid: this.$route.query.userid,
       rules: {
         pass: [{ validator: validatePass, trigger: "blur" }],
-        name: [{ required: true, message: "请输入你的名字", trigger: "blur" }],
+        name: [{ required: true, message: "Please enter your name", trigger: "blur" }],
         mail: [
           {
             required: true,
-            message: "请输入你的邮箱",
+            message: "Please enter your email",
             trigger: "blur",
           },
         ],
@@ -308,25 +308,25 @@ export default {
         {
           userid: this.userid,
           username: this.ruleForm.name,
-          type: this.ruleForm.type == "老师" ? 1 : 2,
+          type: this.ruleForm.type == "Teacher" ? 1 : 2,
           oid: this.ruleForm.sBySchool,
           phone: this.ruleForm.phone,
           intro: this.ruleForm.intro,
-          sex: this.ruleForm.sex == "" ? "0" : "1",
+          sex: this.ruleForm.sex == "Male" ? "0" : "1",
         },
       ];
       this.ajax
         .post(this.$store.state.api + "updatePblMessage2", params)
         .then((res) => {
           this.$message({
-            message: "修改成功",
+            message: "Modification successful",
             type: "success",
           });
           window.parent.postMessage({ close: "1" }, "*");
           this.getUser();
         })
         .catch((err) => {
-          this.$message.error("修改失败");
+          this.$message.error("Modification failed");
           console.error(err);
         });
     },
@@ -351,17 +351,17 @@ export default {
         .get(this.$store.state.api + "getUser", params)
         .then((res) => {
           if (res.data[0][0]) {
-            res.data[0][0].sex = res.data[0][0].sex ? "女" : "男";
+            res.data[0][0].sex = res.data[0][0].sex ? "Female" : "Male";
             this.ruleForm = res.data[0][0];
             this.ruleForm.org = res.data[0][0].org
               ? res.data[0][0].org.split(",")[0]
               : "";
             this.ruleForm.type =
               res.data[0][0].type == 1
-                ? "老师"
+                ? "Teacher"
                 : res.data[0][0].type == 2
-                ? "学生"
-                : "管理员";
+                ? "Student"
+                : "Administrator";
             this.getCcName(res.data[0][0].organizeid);
             console.log(res.data[0][0]);
           }
@@ -396,10 +396,10 @@ export default {
     },
     updatePassword() {
       if (this.password.length < 6) {
-        this.$message.error("密码长度不少于6位");
+        this.$message.error("Password length should be no less than 6 characters");
         return;
       } else if (this.password != this.password1) {
-        this.$message.error("两次新密码不相同");
+        this.$message.error("The two new passwords do not match");
         return;
       }
       let params = [
@@ -413,15 +413,15 @@ export default {
         .post(this.$store.state.api + "updatePassword", params)
         .then((res) => {
           if (res.data[0] && res.data[0].success == 1) {
-            this.$message.success("修改成功");
+            this.$message.success("Modification successful");
             this.opassword = "";
             this.password = "";
           } else {
-            this.$message.error("修改失败,原密码不正确");
+            this.$message.error("Modification failed, incorrect original password");
           }
         })
         .catch((err) => {
-          this.$message.error("修改失败");
+          this.$message.error("Modification failed");
           console.error(err);
         });
     },

+ 9 - 9
src/components/pages/dataBoard/course/chartList/cateRank.vue

@@ -7,18 +7,18 @@
         :header-cell-style="{ background: '#E0EAFB' }"
         :row-class-name="tableRowClassName"
       >
-        <el-table-column prop="rank" label="排行" min-width="50" align="center">
+        <el-table-column prop="rank" label="Ranking" min-width="50" align="center">
         </el-table-column>
         <el-table-column
           prop="name"
-          label="类别名称"
+          label="Category Name"
           min-width="80"
           align="center"
         >
         </el-table-column>
         <el-table-column
           prop="sum"
-          label="类别平均"
+          label="Category Average"
           min-width="80"
           align="center"
         >
@@ -33,12 +33,12 @@ export default {
   data() {
     return {
       tableData: [
-        { rank: "1", name: "一年级", sum: "2356" },
-        { rank: "2", name: "二年级", sum: "2256" },
-        { rank: "3", name: "三年级", sum: "2156" },
-        { rank: "4", name: "四年级", sum: "1356" },
-        { rank: "5", name: "五年级", sum: "1256" },
-        { rank: "6", name: "六年级", sum: "1056" },
+        { rank: "1", name: "Year 1", sum: "2356" },
+        { rank: "2", name: "Year 2", sum: "2256" },
+        { rank: "3", name: "Year 3", sum: "2156" },
+        { rank: "4", name: "Year 4", sum: "1356" },
+        { rank: "5", name: "Year 5", sum: "1256" },
+        { rank: "6", name: "Year 6", sum: "1056" },
       ],
     };
   },

+ 6 - 6
src/components/pages/dataBoard/course/chartList/courseAna.vue

@@ -24,12 +24,12 @@ export default {
             type: "pie",
             radius: "50%",
             data: [
-              { value: 123, name: "一年级" },
-              { value: 200, name: "二年级" },
-              { value: 250, name: "三年级" },
-              { value: 450, name: "四年级" },
-              { value: 300, name: "五年级" },
-              { value: 100, name: "六年级" },
+              { value: 123, name: "Year 1" },
+              { value: 200, name: "Year 2" },
+              { value: 250, name: "Year 3" },
+              { value: 450, name: "Year 4" },
+              { value: 300, name: "Year 5" },
+              { value: 100, name: "Year 6" },
             ],
             emphasis: {
               itemStyle: {

+ 1 - 1
src/components/pages/dataBoard/course/chartList/toolUse.vue

@@ -48,7 +48,7 @@ export default {
             //   { value: 123, name: "思维类" },
             //   { value: 200, name: "评价类" },
             //   { value: 250, name: "学科类" },
-            //   { value: 450, name: "其他类" },
+            //   { value: 450, name: "Others类" },
             //   { value: 300, name: "逻辑类" },
             //   { value: 100, name: "动作类" },
             // ],

+ 1 - 1
src/components/pages/dataBoard/course/chartList/workTime.vue

@@ -35,7 +35,7 @@ export default {
         },
         yAxis: {
           type: "category",
-          data: ["六年级", "五年级", "四年级", "三年级", "二年级", "一年级"],
+          data: ["Year 6", "Year 5", "Year 4", "Year 3", "Year 2", "Year 1"],
         },
         series: [
           {

+ 30 - 30
src/components/pages/dataBoard/course/index.vue

@@ -4,16 +4,16 @@
     <div class="left">
       <div class="top">
         <div class="titleBox">
-          <div class="title">授课频次</div>
+          <div class="title">Frequency of Lessons</div>
         </div>
         <div class="dataBox">
           <div class="teafre">
             <div class="teaLeft">
-              <div>累计授课次数</div>
+              <div>Total Number of Lessons Given</div>
               <div>{{ wCount }}</div>
             </div>
             <div class="teaLeft teaRigth">
-              <div>相对增幅百分比</div>
+              <div>Relative Percentage Increase</div>
               <div>{{ reInc }}%</div>
             </div>
           </div>
@@ -25,7 +25,7 @@
       </div>
       <div class="bottom">
         <div class="titleBox">
-          <div class="title">工具使用</div>
+          <div class="title">Tool Usage</div>
         </div>
         <div class="dataBox">
           <ToolUse
@@ -38,21 +38,21 @@
     <div class="center">
       <div class="top">
         <div class="titleBox">
-          <div class="title">课程数量</div>
+          <div class="title">Number of Courses</div>
         </div>
         <div class="dataBox middleBox">
           <div class="halfBox">
             <div class="teafre">
               <div class="teaMiddle cNum">
-                <div>课程总数</div>
+                <div>Total Number of Courses</div>
                 <div>{{ cCount }}</div>
               </div>
               <div class="teaMiddle tNum">
-                <div>类别总数</div>
+                <div>Total Number of Categories</div>
                 <div>8412</div>
               </div>
               <div class="teaMiddle tSum">
-                <div>类别平均</div>
+                <div>Category Average</div>
                 <div>3021</div>
               </div>
             </div>
@@ -71,7 +71,7 @@
       </div>
       <div class="bottom">
         <div class="titleBox">
-          <div class="title">课程时间分布</div>
+          <div class="title">Course Time Distribution</div>
         </div>
         <div class="dataBox">
           <CourseTime style="height: calc(100% - 40px)"></CourseTime>
@@ -81,7 +81,7 @@
     <div class="right">
       <div class="top">
         <div class="titleBox">
-          <div class="title">课程分析</div>
+          <div class="title">Course Analysis</div>
         </div>
         <div class="dataBox">
           <CourseAna style="height: calc(100% - 40px)"></CourseAna>
@@ -89,17 +89,17 @@
       </div>
       <div class="bottom">
         <div class="titleBox">
-          <div class="title">授课时长</div>
+          <div class="title">Duration of Lessons</div>
         </div>
         <div class="dataBox">
           <div class="teafre">
             <div class="teaLeft">
-              <div>累计时长</div>
-              <div>15624小时</div>
+              <div>Total Duration</div>
+              <div>15624 Hours</div>
             </div>
             <div class="teaLeft teaRigth">
-              <div>学生在线平均时长</div>
-              <div>268小时</div>
+              <div>Average Online Duration of Students</div>
+              <div>268 Hours</div>
             </div>
           </div>
           <WorkTime style="height: calc(100% - 62px)"></WorkTime>
@@ -166,7 +166,7 @@ export default {
           var workArray = res.data[0];
           var courseList = res.data[1];
           var cList = [];
-          //将数据根据time里面的月份分成多数组
+          //将数据根据time里面的月份分成多Number数组
           var groupedArrayByMonth = [];
           const date = new Date();
           var Month = date.getMonth() + 1;
@@ -219,22 +219,22 @@ export default {
             cList.push(JSON.parse(courseList[i].chapters));
           }
           var toolList = [
-            [10, 65], //互动类
-            [7, 1, 52, 3, 48], //思维类
-            [49], //协作类
-            [4, 45, 15, 16, 50, 41, 47], //测评类
-            [40], //评价类
-            [18, 21, 22, 23, 24, 32, 57, 63], //编程类
-            [28, 31, 39, 66, 67, 68], //学科类
+            [10, 65], //Interaction Category
+            [7, 1, 52, 3, 48], //Thinking Category
+            [49], //Collaboration category
+            [4, 45, 15, 16, 50, 41, 47], //Assessment category
+            [40], //Evaluation Category
+            [18, 21, 22, 23, 24, 32, 57, 63], //Programming Category
+            [28, 31, 39, 66, 67, 68], //Subject Category
           ];
           var toolAllArray = [
-            { name: "互动类", value: 0 },
-            { name: "思维类", value: 0 },
-            { name: "协作类", value: 0 },
-            { name: "测评类", value: 0 },
-            { name: "评价类", value: 0 },
-            { name: "编程类", value: 0 },
-            { name: "学科类", value: 0 },
+            { name: "Interaction Category", value: 0 },
+            { name: "Thinking Category", value: 0 },
+            { name: "Collaboration category", value: 0 },
+            { name: "Assessment category", value: 0 },
+            { name: "Evaluation Category", value: 0 },
+            { name: "Programming Category", value: 0 },
+            { name: "Subject Category", value: 0 },
           ];
           for (var p = 0; p < toolList.length; p++) {
             for (var i = 0; i < cList.length; i++) {

+ 8 - 8
src/components/pages/dataBoard/index.vue

@@ -3,16 +3,16 @@
     <div class="db_header">
       <!-- <div class="logoTop">Logo</div> -->
       <div class="db_header_title">
-        <div v-if="type == 1">综合数据中心</div>
-        <div v-if="type == 2">课程数据中心</div>
-        <div v-if="type == 3">学生数据中心</div>
-        <div v-if="type == 4">教师数据中心</div>
+        <div v-if="type == 1">Comprehensive Data Centre</div>
+        <div v-if="type == 2">Course Data Centre</div>
+        <div v-if="type == 3">Student Data Centre</div>
+        <div v-if="type == 4">Teacher Data Centre</div>
       </div>
       <div class="db_check">
-        <div :class="{ active: type == 1 }" @click="setType(1)">综合数据</div>
-        <div :class="{ active: type == 2 }" @click="setType(2)">课程数据</div>
-        <div :class="{ active: type == 3 }" @click="setType(3)">学生数据</div>
-        <div :class="{ active: type == 4 }" @click="setType(4)">教师数据</div>
+        <div :class="{ active: type == 1 }" @click="setType(1)">Comprehensive Data</div>
+        <div :class="{ active: type == 2 }" @click="setType(2)">Course Data</div>
+        <div :class="{ active: type == 3 }" @click="setType(3)">Student Data</div>
+        <div :class="{ active: type == 4 }" @click="setType(4)">Teacher Data</div>
       </div>
     </div>
     <div class="db_body">

+ 9 - 9
src/components/pages/dataBoard/school/cateRank/index.vue

@@ -7,18 +7,18 @@
         :header-cell-style="{ background: '#E0EAFB' }"
         :row-class-name="tableRowClassName"
       >
-        <el-table-column prop="rank" label="排行" min-width="50" align="center">
+        <el-table-column prop="rank" label="Ranking" min-width="50" align="center">
         </el-table-column>
         <el-table-column
           prop="name"
-          label="类别名称"
+          label="Category Name"
           min-width="80"
           align="center"
         >
         </el-table-column>
         <el-table-column
           prop="sum"
-          label="类别平均"
+          label="Category Average"
           min-width="80"
           align="center"
         >
@@ -33,12 +33,12 @@ export default {
   data() {
     return {
       tableData: [
-        { rank: "1", name: "一年级", sum: "2356" },
-        { rank: "2", name: "二年级", sum: "2256" },
-        { rank: "3", name: "三年级", sum: "2156" },
-        { rank: "4", name: "四年级", sum: "1356" },
-        { rank: "5", name: "五年级", sum: "1256" },
-        { rank: "6", name: "六年级", sum: "1056" },
+        { rank: "1", name: "Year 1", sum: "2356" },
+        { rank: "2", name: "Year 2", sum: "2256" },
+        { rank: "3", name: "Year 3", sum: "2156" },
+        { rank: "4", name: "Year 4", sum: "1356" },
+        { rank: "5", name: "Year 5", sum: "1256" },
+        { rank: "6", name: "Year 6", sum: "1056" },
       ],
     };
   },

+ 6 - 6
src/components/pages/dataBoard/school/courseInfo/index.vue

@@ -33,12 +33,12 @@ export default {
                         },
 
                         data: [
-                            { value: 1048, name: '一年级' },
-                            { value: 735, name: '二年级' },
-                            { value: 580, name: '三年级' },
-                            { value: 484, name: '四年级' },
-                            { value: 484, name: '五年级' },
-                            { value: 300, name: '六年级' }
+                            { value: 1048, name: 'Year 1' },
+                            { value: 735, name: 'Year 2' },
+                            { value: 580, name: 'Year 3' },
+                            { value: 484, name: 'Year 4' },
+                            { value: 484, name: 'Year 5' },
+                            { value: 300, name: 'Year 6' }
                         ]
                     }
                 ]

+ 33 - 33
src/components/pages/dataBoard/school/index.vue

@@ -1,27 +1,27 @@
 <template>
   <div class="body1" v-loading="isLoading">
-    <!-- 综合数据 -->
+    <!-- Comprehensive数据 -->
     <div class="left">
       <div class="top">
         <div class="titleBox">
-          <div class="title">基础概况</div>
+          <div class="title">Basic Overview</div>
         </div>
         <div class="dataBox">
           <div class="info_box">
             <div class="info blueBG">
-              <span>用户总数</span>
+              <span>Basic Overview</span>
               <span>{{ count }}</span>
             </div>
             <div class="info greenBG">
-              <span>周使用频次</span>
+              <span>Weekly Usage Frequency</span>
               <span>{{ weekCount }}</span>
             </div>
             <div class="info blueBG">
-              <span>登录频次</span>
+              <span>Login Frequency</span>
               <span>{{ loginCount }}</span>
             </div>
             <div class="info greenBG">
-              <span>人均使用频次</span>
+              <span>Average Usage Frequency per User</span>
               <span>{{ (loginCount / count).toFixed(0) }}</span>
             </div>
           </div>
@@ -30,17 +30,17 @@
       </div>
       <div class="bottom">
         <div class="titleBox">
-          <div class="title">在线时长</div>
+          <div class="title">Online Duration</div>
         </div>
         <div class="dataBox">
           <div class="info_box">
             <div class="info blueBG">
-              <span>累计时长</span>
-              <span>{{ loginTime.toFixed(0) }}小时</span>
+              <span>Cumulative Duration</span>
+              <span>{{ loginTime.toFixed(0) }}Hours</span>
             </div>
             <div class="info greenBG">
-              <span>人均时长</span>
-              <span>{{ (loginTime / count).toFixed(0) }}小时</span>
+              <span>Average Duration per User</span>
+              <span>{{ (loginTime / count).toFixed(0) }}Hours</span>
             </div>
           </div>
           <loginTime :yearArray="loginCountYearArray" style="height: calc(100% - 70px)"></loginTime>
@@ -50,24 +50,24 @@
     <div class="center">
       <div class="top">
         <div class="titleBox">
-          <div class="title">教师行为数据</div>
+          <div class="title">Teacher Behaviour Data</div>
         </div>
         <div class="dataBox">
           <div class="info_box" style="width: 95%">
             <div class="info2 blueBG">
-              <span>上传课程总数</span>
+              <span>Total Number of Courses Uploaded</span>
               <span>{{ courseCount }}</span>
             </div>
             <div class="info2 greenBG">
-              <span>各年级平均课程数</span>
+              <span>Average Number of Courses per Grade</span>
               <span>{{ gradeCourse.toFixed(0) }}</span>
             </div>
             <div class="info2 blueBG">
-              <span>各学科平均课程数</span>
+              <span>Average Number of Courses per Subject</span>
               <span>{{ subjectCourse.toFixed(0) }}</span>
             </div>
             <div class="info2 greenBG">
-              <span>教师人均课程数</span>
+              <span>Average Number of Courses per Teacher</span>
               <span>{{ (courseCount / teacherCount).toFixed(0) }}</span>
             </div>
           </div>
@@ -76,66 +76,66 @@
       </div>
       <div class="bottom">
         <div class="titleBox">
-          <div class="title">平台使用深度</div>
+          <div class="title">Platform Usage Depth</div>
         </div>
         <div class="dataBox">
           <div class="depth_box">
             <div class="depth">
-              <span>上传课程</span>
+              <span>Upload Course</span>
               <div>
                 <el-progress :width="80" type="circle" :percentage="36" :stroke-width="15" :format="format" color="#106BFF"></el-progress>
               </div>
             </div>
             <div class="depth">
-              <span>指导项目</span>
+              <span>Guiding Projects</span>
               <div>
                 <el-progress :width="80" type="circle" :percentage="76" :stroke-width="15" :format="format" color="#106BFF"></el-progress>
               </div>
             </div>
             <div class="depth">
-              <span>使用工具</span>
+              <span>Use Tools</span>
               <div>
                 <el-progress :width="80" type="circle" :percentage="76" :stroke-width="15" :format="format" color="#106BFF"></el-progress>
               </div>
             </div>
             <div class="depth">
-              <span>课程评价</span>
+              <span>Course Evaluation</span>
               <div>
                 <el-progress :width="80" type="circle" :percentage="76" :stroke-width="15" :format="format" color="#106BFF"></el-progress>
               </div>
             </div>
             <div class="depth">
-              <span>互动交流</span>
+              <span>Interaction and Communication</span>
               <div>
                 <el-progress :width="80" type="circle" :percentage="76" :stroke-width="15" :format="format" color="#106BFF"></el-progress>
               </div>
             </div>
             <div class="depth">
-              <span>参与课程</span>
+              <span>Participate in Courses</span>
               <div>
                 <el-progress :width="80" type="circle" :percentage="36" :stroke-width="15" :format="format" color="#106BFF"></el-progress>
               </div>
             </div>
             <div class="depth">
-              <span>参与项目</span>
+              <span>Participate in Projects</span>
               <div>
                 <el-progress :width="80" type="circle" :percentage="76" :stroke-width="15" :format="format" color="#106BFF"></el-progress>
               </div>
             </div>
             <div class="depth">
-              <span>使用工具</span>
+              <span>Use Tools</span>
               <div>
                 <el-progress :width="80" type="circle" :percentage="25" :stroke-width="15" :format="format" color="#106BFF"></el-progress>
               </div>
             </div>
             <div class="depth">
-              <span>协同合作</span>
+              <span>Collaborative Work</span>
               <div>
                 <el-progress :width="80" type="circle" :percentage="76" :stroke-width="15" :format="format" color="#106BFF"></el-progress>
               </div>
             </div>
             <div class="depth">
-              <span>合作交流</span>
+              <span>Collaboration and Communication</span>
               <div>
                 <el-progress :width="80" type="circle" :percentage="76" :stroke-width="15" :format="format" color="#106BFF"></el-progress>
               </div>
@@ -147,21 +147,21 @@
     <div class="right">
       <div class="top">
         <div class="titleBox">
-          <div class="title">课程数量</div>
+          <div class="title">Number of Courses</div>
         </div>
         <div class="dataBox">
           <div class="course_box">
             <div class="info_box">
               <div class="info3 blueBG">
-                <span>课程总数</span>
+                <span>Total Number of Courses</span>
                 <span>{{ courseCount }}</span>
               </div>
               <div class="info3 greenBG">
-                <span>类别总数</span>
+                <span>Total Number of Categories</span>
                 <span>546</span>
               </div>
               <div class="info3 blueBG">
-                <span>类别平均</span>
+                <span>Category Average</span>
                 <span>12</span>
               </div>
             </div>
@@ -174,7 +174,7 @@
       </div>
       <div class="bottom">
         <div class="titleBox">
-          <div class="title">学生综合评价</div>
+          <div class="title">Student Comprehensive Evaluation</div>
         </div>
         <div class="dataBox">
           <studentInfo></studentInfo>
@@ -350,7 +350,7 @@ export default {
           let _gradeCourse = 0 //各年级上传课程
           let _subjectCourse = 0 //各学科上传课程
           let _courseArray = []
-          _subject.push({ name: '其他' })
+          _subject.push({ name: 'Others' })
 
           for (var i = 0; i < _grade.length; i++) {
             _courseArray.push({

+ 5 - 5
src/components/pages/dataBoard/school/loginCount/index.vue

@@ -26,7 +26,7 @@ export default {
                     trigger: 'axis'
                 },
                 legend: {
-                    data: ['老师', '学生'],
+                    data: ['Teacher', 'Student'],
                     right: '10'
                 },
                 grid: {
@@ -47,13 +47,13 @@ export default {
                 },
                 series: [
                     {
-                        name: '老师',
+                        name: 'Teacher',
                         type: 'line',
                         // data: [120, 50, 101, 130, 110, 120]
                         data: []
                     },
                     {
-                        name: '学生',
+                        name: 'Student',
                         type: 'line',
                         // data: [220, 182, 191, 234, 290, 330]
                         data: []
@@ -95,7 +95,7 @@ export default {
                 }
                 let _array = newValue
                 for (var i = 0; i < _array.length; i++) {
-                    this.ooption.xdata.push(_array[i].Month + '')
+                    this.ooption.xdata.push(_array[i].Month + 'Month')
                     this.ooption.teacher.push(_array[i].teacher)
                     this.ooption.student.push(_array[i].student)
                 }
@@ -120,7 +120,7 @@ export default {
         }
         let _array = this.monthArray
         for (var i = 0; i < _array.length; i++) {
-            this.ooption.xdata.push(_array[i].Month + '')
+            this.ooption.xdata.push(_array[i].Month + 'Month')
             this.ooption.teacher.push(_array[i].teacher)
             this.ooption.student.push(_array[i].student)
         }

+ 4 - 4
src/components/pages/dataBoard/school/loginTime/index.vue

@@ -45,8 +45,8 @@ export default {
                 yAxis: {
                     type: 'category',
                     data: [
-                        '星期天', '星期一', '星期二', '星期三',
-                        '星期四', '星期五', '星期六',
+                        'Sunday', 'Monday', 'Tuesday', 'Wednesday',
+                        'Thursday', 'Friday', 'Saturday',
                     ],
                     splitArea: {
                         show: true
@@ -114,7 +114,7 @@ export default {
                 let _array = newValue
                 let max = []
                 for (var i = 0; i < _array.length; i++) {
-                    this.ooption.xdata.push(_array[i].Month + '')
+                    this.ooption.xdata.push(_array[i].Month + 'Month')
                     this.ooption.sdata.push([i, 0, _array[i].sun])
                     this.ooption.sdata.push([i, 1, _array[i].mon])
                     this.ooption.sdata.push([i, 2, _array[i].tue])
@@ -155,7 +155,7 @@ export default {
         let _array = this.yearArray
         let max = []
         for (var i = 0; i < _array.length; i++) {
-            this.ooption.xdata.push(_array[i].Month + '')
+            this.ooption.xdata.push(_array[i].Month + 'Month')
             this.ooption.sdata.push([i, 0, _array[i].sun])
             this.ooption.sdata.push([i, 1, _array[i].mon])
             this.ooption.sdata.push([i, 2, _array[i].tue])

+ 6 - 6
src/components/pages/dataBoard/school/studentInfo/index.vue

@@ -20,17 +20,17 @@ export default {
                 radar: {
                     // shape: 'circle',
                     indicator: [
-                        { name: '目标一', max: 10 },
-                        { name: '目标二', max: 10 },
-                        { name: '目标三', max: 10 },
-                        { name: '目标四', max: 10 },
-                        { name: '目标五', max: 10 }
+                        { name: 'Target 1', max: 10 },
+                        { name: 'Target 2', max: 10 },
+                        { name: 'Target 3', max: 10 },
+                        { name: 'Target 4', max: 10 },
+                        { name: 'Target 5', max: 10 }
                     ]
                 },
                 series: [
                     {
                         areaStyle: {},
-                        name: '学生综合评价',
+                        name: 'Student Comprehensive Evaluation',
                         type: 'radar',
                         data: [
                             {

+ 1 - 1
src/components/pages/dataBoard/school/teacherInfo/index.vue

@@ -51,7 +51,7 @@ export default {
                 const hours = option.hours
                 // [
                 //     // '语文', '数学', '英语', '科学', '体育', '音乐', '美术',
-                //     // '劳动', '其他',
+                //     // '劳动', 'Others',
                 // ];
                 // prettier-ignore
                 const days = option.days

+ 22 - 22
src/components/pages/dataBoard/student/index.vue

@@ -4,24 +4,24 @@
     <div class="left">
       <div class="top">
         <div class="titleBox">
-          <div class="title">基础概况</div>
+          <div class="title">Basic Overview</div>
         </div>
         <div class="dataBox">
           <div class="info_box">
             <div class="info blueBG">
-              <span>学生总数</span>
+              <span>Total Number of Students</span>
               <span>{{ count }}</span>
             </div>
             <div class="info greenBG">
-              <span>周使用频次</span>
+              <span>Weekly Usage Frequency</span>
               <span>{{weekCount}}</span>
             </div>
             <div class="info blueBG">
-              <span>登录频次</span>
+              <span>Frequency</span>
               <span>{{ loginCount }}</span>
             </div>
             <div class="info greenBG">
-              <span>人均使用频次</span>
+              <span>Average Usage Frequency per User</span>
               <span>{{ (loginCount / count).toFixed(0) }}</span>
             </div>
           </div>
@@ -30,7 +30,7 @@
       </div>
       <div class="bottom">
         <div class="titleBox">
-          <div class="title">学生行为数据</div>
+          <div class="title">Student Behaviour Data</div>
         </div>
         <div class="dataBox">
           <stuAct style="height: calc(100% - 20px)"></stuAct>
@@ -40,20 +40,20 @@
     <div class="center">
       <div class="top">
         <div class="titleBox">
-          <div class="title">学生综合评价</div>
+          <div class="title">Student Comprehensive Evaluation</div>
         </div>
         <div class="dataBox">
           <div class="info_box" style="width: 95%; justify-content: flex-start">
             <div class="info2 blueBG">
-              <span>学生总数</span>
+              <span>Total Number of Students</span>
               <span>{{ count }}</span>
             </div>
             <div class="info2 greenBG">
-              <span>班级总数</span>
+              <span>Total Number of Classes</span>
               <span>15620</span>
             </div>
             <div class="info2 blueBG">
-              <span>平均得分</span>
+              <span>Average Score</span>
               <span>15620</span>
             </div>
           </div>
@@ -62,12 +62,12 @@
       </div>
       <div class="bottom">
         <div class="titleBox">
-          <div class="title">平台使用深度</div>
+          <div class="title">Platform Usage Depth</div>
         </div>
         <div class="dataBox">
           <div class="depth_box">
             <div class="depth">
-              <span>参与课程</span>
+              <span>Participate in Courses</span>
               <div>
                 <el-progress
                   :width="90"
@@ -80,7 +80,7 @@
               </div>
             </div>
             <div class="depth">
-              <span>参与项目</span>
+              <span>Participate in Projects</span>
               <div>
                 <el-progress
                   :width="90"
@@ -93,7 +93,7 @@
               </div>
             </div>
             <div class="depth">
-              <span>使用工具</span>
+              <span>Use Tools</span>
               <div>
                 <el-progress
                   :width="90"
@@ -106,7 +106,7 @@
               </div>
             </div>
             <div class="depth">
-              <span>协同合作</span>
+              <span>Collaborative Work</span>
               <div>
                 <el-progress
                   :width="90"
@@ -119,7 +119,7 @@
               </div>
             </div>
             <div class="depth">
-              <span>互动交流</span>
+              <span>Interaction and Communication</span>
               <div>
                 <el-progress
                   :width="90"
@@ -138,7 +138,7 @@
     <div class="right">
       <div class="top">
         <div class="titleBox">
-          <div class="title">学生综合评价</div>
+          <div class="title">Student Comprehensive Evaluation</div>
         </div>
         <div class="dataBox">
           <studentInfo2></studentInfo2>
@@ -146,17 +146,17 @@
       </div>
       <div class="bottom">
         <div class="titleBox">
-          <div class="title">在线时长</div>
+          <div class="title">Online Duration</div>
         </div>
         <div class="dataBox">
           <div class="info_box">
             <div class="info blueBG">
-              <span>累计在线时长</span>
-              <span>{{ loginTime.toFixed(0) }}小时</span>
+              <span>Cumulative Online Duration</span>
+              <span>{{ loginTime.toFixed(0) }}Hours</span>
             </div>
             <div class="info greenBG">
-              <span>学生在线平均时长</span>
-              <span>{{ (loginTime / count).toFixed(0) }}小时</span>
+              <span>Average Online Duration of Students</span>
+              <span>{{ (loginTime / count).toFixed(0) }}Hours</span>
             </div>
           </div>
           <loginTime style="height: calc(100% - 70px)"></loginTime>

+ 3 - 3
src/components/pages/dataBoard/student/loginCount/index.vue

@@ -42,7 +42,7 @@ export default {
                 },
                 series: [
                     {
-                        name: '学生',
+                        name: 'Student',
                         type: 'line',
                         // data: [220, 182, 191, 234, 290, 330]
                         data: []
@@ -82,7 +82,7 @@ export default {
                 }
                 let _array = newValue
                 for (var i = 0; i < _array.length; i++) {
-                    this.ooption.xdata.push(_array[i].Month + '')
+                    this.ooption.xdata.push(_array[i].Month + 'Month')
                     this.ooption.student.push(_array[i].student)
                 }
 
@@ -104,7 +104,7 @@ export default {
         }
         let _array = this.monthArray
         for (var i = 0; i < _array.length; i++) {
-            this.ooption.xdata.push(_array[i].Month + '')
+            this.ooption.xdata.push(_array[i].Month + 'Month')
             this.ooption.student.push(_array[i].student)
         }
         this.setChart(this.ooption);

+ 1 - 1
src/components/pages/dataBoard/student/loginTime/index.vue

@@ -30,7 +30,7 @@ export default {
                 },
                 yAxis: {
                     type: 'category',
-                    data: ['一年级', '二年级', '三年级', '四年级', '五年级', '六年级']
+                    data: ['Year 1', 'Year 2', 'Year 3', 'Year 4', 'Year 5', 'Year 6']
                 },
                 series: [
                     {

+ 11 - 11
src/components/pages/dataBoard/student/stuAct/index.vue

@@ -7,16 +7,16 @@
         :header-cell-style="{ background: '#E0EAFB' }"
         :row-class-name="tableRowClassName"
       >
-        <el-table-column prop="rank" label="排行" min-width="50" align="center">
+        <el-table-column prop="rank" label="Ranking" min-width="50" align="center">
         </el-table-column>
         <el-table-column
           prop="name"
-          label="类别名称"
+          label="Category Name"
           min-width="80"
           align="center"
         >
         </el-table-column>
-        <el-table-column prop="sum" label="授课次数" min-width="80" align="center">
+        <el-table-column prop="sum" label="Number of Lessons Given" min-width="80" align="center">
         </el-table-column>
       </el-table>
     </div>
@@ -28,14 +28,14 @@ export default {
   data() {
     return {
       tableData: [
-        { rank: "1", name: "一年级", sum: "2356" },
-        { rank: "2", name: "二年级", sum: "2256" },
-        { rank: "3", name: "三年级", sum: "2156" },
-        { rank: "4", name: "四年级", sum: "1356" },
-        { rank: "5", name: "五年级", sum: "1256" },
-        { rank: "6", name: "六年级", sum: "1056" },
-        { rank: "7", name: "七年级", sum: "956" },
-        { rank: "8", name: "八年级", sum: "856" },
+        { rank: "1", name: "Year 1", sum: "2356" },
+        { rank: "2", name: "Year 2", sum: "2256" },
+        { rank: "3", name: "Year 3", sum: "2156" },
+        { rank: "4", name: "Year 4", sum: "1356" },
+        { rank: "5", name: "Year 5", sum: "1256" },
+        { rank: "6", name: "Year 6", sum: "1056" },
+        { rank: "7", name: "Year 7", sum: "956" },
+        { rank: "8", name: "Year 8", sum: "856" },
       ],
     };
   },

Kaikkia tiedostoja ei voida näyttää, sillä liian monta tiedostoa muuttui tässä diffissä