|
@@ -1664,6 +1664,9 @@ ${JSON.stringify(_list)}
|
|
|
0
|
|
|
);
|
|
|
}, 2000);
|
|
|
+ this.transcriptionData.content = "";
|
|
|
+ this.editorBarData.content = "";
|
|
|
+
|
|
|
iiframe.contentWindow.window
|
|
|
.doConversationTranscriber({ files: [_file] })
|
|
|
.then(res => {
|
|
@@ -1677,7 +1680,7 @@ ${JSON.stringify(_list)}
|
|
|
let privOffset = i.offsetMilliseconds;
|
|
|
let privDuration = i.durationMilliseconds;
|
|
|
|
|
|
- _endTime = (privOffset + privDuration) / 10000000;
|
|
|
+ _endTime = (privOffset + privDuration) / 10000;
|
|
|
textList.push({
|
|
|
value: _privText,
|
|
|
startTime: this.updateRecordedTime({ duration: _startTime }),
|
|
@@ -1705,12 +1708,18 @@ ${JSON.stringify(_list)}
|
|
|
|
|
|
this.showGetTextLoading = false;
|
|
|
this.wavGetTextLoading = false;
|
|
|
+ this.uploadFileLoading = false;
|
|
|
+ this.uploadWavFile(audioFile);
|
|
|
if (_timer) {
|
|
|
clearInterval(_timer);
|
|
|
}
|
|
|
this.saveEditorBar();
|
|
|
})
|
|
|
- .catch(err => {});
|
|
|
+ .catch(err => {
|
|
|
+ console.log(err)
|
|
|
+ this.wavGetTextLoading = false;
|
|
|
+ this.showGetTextLoading = false;
|
|
|
+ });
|
|
|
//iiframe.contentWindow.window.onRecognizedResult = function(e) {
|
|
|
// if (flag) {
|
|
|
// // 这里上传文件
|