SanHQin há 11 meses atrás
pai
commit
40b33c8d90

+ 1 - 1
src/components/pages/classroomObservation/components/addNewCourseDialog.vue

@@ -4,7 +4,7 @@
 			<div>
 				<el-form ref="form" :model="form" :rules="rules" label-position="top">
 					<el-form-item label="课堂编号" prop="no">
-						<el-input v-model="form.no" placeholder="请输入课堂编号"></el-input>
+						<el-input v-model="form.no" placeholder="请输入课堂编号,支持英文和数数字结合"></el-input>
 					</el-form-item>
 					<el-form-item label="课堂名称" prop="name">
 						<el-input

+ 14 - 4
src/components/pages/classroomObservation/components/chatArea.vue

@@ -709,6 +709,7 @@ export default {
 			this.showIndexPage = false;
 			this.pageStatus = 1;
 			this.controlsStatus = 2;
+			this.recordedForm.status = 3
 			// let file = this.convertToMp3(recorder.getWAV());
 			const mp3Blob = recorder.getWAVBlob();
 			let audioFile = this.dataURLtoAudio(mp3Blob, "wav");
@@ -1020,16 +1021,23 @@ export default {
 		},
 		wavFileGetText(audioFile) {
 			let flag = true;
-			// if(flag){
+			// if (flag) {
 			// 	// 这里上传文件
-			// 	this.uploadWavFile(audioFile)
+			// 	// _this.uploadWavFile(audioFile);
 			// 	this.controlsStatus = 2;
 			// 	this.showIndexPage = false;
 			// 	this.pageStatus = 1;
+			// 	this.editorBarData.type = "0";
 			// 	flag = false;
+			// 	this.uploadFileLoading = false;
 			// }
-			// this.transcriptionData.content += "这是个测试";
-			// this.editorBarData.content +="这是个测试";
+			// this.showGetTextLoading = true;
+			// this.transcriptionData.content += "这是测试";
+			// this.editorBarData.content += "这是测试";
+
+			// setTimeout(()=>{
+			// 	this.showGetTextLoading = false;
+			// },4000)
 			// return;
 			let iiframe = this.$refs["iiframe"];
 			let _this = this;
@@ -1057,6 +1065,8 @@ export default {
 
 			
 			iiframe.contentWindow.sessionStopped = function(e){
+				console.log('转译完成')
+				console.log(e)
 				_this.$message.success("转译完成")
 				_this.showGetTextLoading = false;
 				_this.saveEditorBar();