SanHQin преди 10 месеца
родител
ревизия
60126a3004
променени са 2 файла, в които са добавени 6 реда и са изтрити 5 реда
  1. 3 3
      src/components/pages/classroomObservation/components/chatArea.vue
  2. 3 2
      src/components/pages/classroomObservation/index.vue

+ 3 - 3
src/components/pages/classroomObservation/components/chatArea.vue

@@ -705,7 +705,7 @@ export default {
 				let iiframe = this.$refs["iiframe"];
 				iiframe.contentWindow.window.document.getElementById(
 					"languageOptions"
-				).selectedIndex = 2;
+				).selectedIndex = this.languageRadio;
 				iiframe.contentWindow.testdoContinuousPronunciationAssessment();
 				this.controlsStatus = 1;
 				this.recordedForm.status = 1;
@@ -918,7 +918,7 @@ export default {
 				let iiframe = this.$refs["iiframe"];
 				iiframe.contentWindow.window.document.getElementById(
 					"languageOptions"
-				).selectedIndex = 2;
+				).selectedIndex = this.languageRadio;
 				iiframe.contentWindow.testdoContinuousPronunciationAssessment();
 				this.controlsStatus = 1;
 				this.recordedForm.status = 1;
@@ -1348,7 +1348,7 @@ export default {
 
 			iiframe.contentWindow.window.document.getElementById(
 				"languageOptions"
-			).selectedIndex = 2;
+			).selectedIndex = this.languageRadio;
 			_this.transcriptionData.content = "";
 			iiframe.contentWindow.onRecognizedResult = function (e) {
 				if (flag) {

+ 3 - 2
src/components/pages/classroomObservation/index.vue

@@ -279,9 +279,10 @@ export default {
 			})
 				.then(() => {
 					this.$refs.messageAreaRef.getReport();
-				}).catch(e=>{
-					console.log("取消生成报告")
 				})
+				.catch((e) => {
+					console.log("取消生成报告");
+				});
 		},
 		//预览
 		preview() {