|
@@ -200,7 +200,7 @@ import RemarkChs from "./RemarkChs.vue";
|
|
|
import Soundrecord from "../Soundrecord.vue";
|
|
|
export default {
|
|
|
name: "DialogueNormalModelChs",
|
|
|
- props: ["curQue", "colorBox"],
|
|
|
+ props: ["curQue", "colorBox", "NNPEAnnotationList", "bodyLeft", "bodyWidth"],
|
|
|
components: {
|
|
|
AudioLine,
|
|
|
RoleChs,
|
|
@@ -248,6 +248,7 @@ export default {
|
|
|
clientY: 0,
|
|
|
top: 0,
|
|
|
left: 0,
|
|
|
+ curNoteCon: null,
|
|
|
};
|
|
|
},
|
|
|
computed: {},
|
|
@@ -450,7 +451,12 @@ export default {
|
|
|
let _this = this;
|
|
|
_this.isNoteShow = true;
|
|
|
_this.oldNoteNum = val;
|
|
|
- //this.
|
|
|
+ let noteIndex = Number(val);
|
|
|
+ if (_this.NNPEAnnotationList && _this.NNPEAnnotationList.length > 0) {
|
|
|
+ _this.curNoteCon = _this.NNPEAnnotationList[noteIndex]
|
|
|
+ ? _this.NNPEAnnotationList[noteIndex]
|
|
|
+ : null;
|
|
|
+ }
|
|
|
},
|
|
|
},
|
|
|
//生命周期 - 创建完成(可以访问当前this实例)
|
|
@@ -458,6 +464,7 @@ export default {
|
|
|
//生命周期 - 挂载完成(可以访问DOM元素)
|
|
|
mounted() {
|
|
|
console.log(this.curQue);
|
|
|
+ console.log(this.NNPEAnnotationList);
|
|
|
if (this.curQue) {
|
|
|
this.handleData();
|
|
|
}
|