|
@@ -1850,7 +1850,7 @@ ${JSON.stringify(_list)}
|
|
|
|
|
|
_startTime = _endTime;
|
|
_startTime = _endTime;
|
|
|
|
|
|
- _this.transcriptionData.content += privText;
|
|
|
|
|
|
+ _this.transcriptionData.content += privSpeakerId + ":" + privText +"\n";
|
|
|
|
|
|
// console.log(textList);
|
|
// console.log(textList);
|
|
|
|
|
|
@@ -3133,7 +3133,10 @@ ${JSON.stringify(_list)}
|
|
}
|
|
}
|
|
this.showGetTextLoading = true;
|
|
this.showGetTextLoading = true;
|
|
let privText = e.privText;
|
|
let privText = e.privText;
|
|
- if (privText == undefined || privText == "undefined") return;
|
|
|
|
|
|
+ let privSpeakerId = e.privSpeakerId;
|
|
|
|
+ if (!privText || !privSpeakerId || privSpeakerId == "Unknown") {
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
console.log("👇转译对象👇");
|
|
console.log("👇转译对象👇");
|
|
console.log(e);
|
|
console.log(e);
|
|
console.log("👇转译结果👇");
|
|
console.log("👇转译结果👇");
|
|
@@ -3153,7 +3156,7 @@ ${JSON.stringify(_list)}
|
|
};
|
|
};
|
|
this.recordedForm.textList.push(newItem);
|
|
this.recordedForm.textList.push(newItem);
|
|
this.recordedForm.startTime = this.recordedForm.timeDuration + 1;
|
|
this.recordedForm.startTime = this.recordedForm.timeDuration + 1;
|
|
- this.transcriptionData.content += privText;
|
|
|
|
|
|
+ this.transcriptionData.content += privSpeakerId + ":" + privText +"\n";;
|
|
this.onRecordAddLine(newItem);
|
|
this.onRecordAddLine(newItem);
|
|
};
|
|
};
|
|
},
|
|
},
|
|
@@ -3188,7 +3191,10 @@ ${JSON.stringify(_list)}
|
|
this.recordedForm.endTime = this.recordedForm.timeDuration;
|
|
this.recordedForm.endTime = this.recordedForm.timeDuration;
|
|
this.showGetTextLoading = true;
|
|
this.showGetTextLoading = true;
|
|
let privText = e.privText;
|
|
let privText = e.privText;
|
|
- if (privText == undefined || privText == "undefined") return;
|
|
|
|
|
|
+ let privSpeakerId = e.privSpeakerId;
|
|
|
|
+ if (!privText || !privSpeakerId || privSpeakerId == "Unknown") {
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
console.log("👇转译对象👇");
|
|
console.log("👇转译对象👇");
|
|
console.log(e);
|
|
console.log(e);
|
|
console.log("👇转译结果👇");
|
|
console.log("👇转译结果👇");
|
|
@@ -3208,7 +3214,7 @@ ${JSON.stringify(_list)}
|
|
};
|
|
};
|
|
this.recordedForm.textList.push(newItem);
|
|
this.recordedForm.textList.push(newItem);
|
|
this.recordedForm.startTime = this.recordedForm.timeDuration + 1;
|
|
this.recordedForm.startTime = this.recordedForm.timeDuration + 1;
|
|
- this.transcriptionData.content += privText;
|
|
|
|
|
|
+ this.transcriptionData.content += privSpeakerId + ":" + privText +"\n";;
|
|
this.onRecordAddLine(newItem);
|
|
this.onRecordAddLine(newItem);
|
|
};
|
|
};
|
|
},
|
|
},
|