|
@@ -578,13 +578,13 @@ export default {
|
|
|
|
|
|
|
|
},
|
|
},
|
|
|
addNote(item){
|
|
addNote(item){
|
|
|
- this.curNote = item.note;
|
|
|
|
|
- this.$refs.editor.html(this.curNote)
|
|
|
|
|
|
|
+ this.curItem = item;
|
|
|
|
|
+ this.curNote = item.note?item.note:'';
|
|
|
|
|
+ // this.$refs.editor.html(this.curNote)
|
|
|
this.dialogTitle = "为"+'"'+item.label+'"添加批注信息'
|
|
this.dialogTitle = "为"+'"'+item.label+'"添加批注信息'
|
|
|
this.dialogVisible = true;
|
|
this.dialogVisible = true;
|
|
|
},
|
|
},
|
|
|
saveNote(item){
|
|
saveNote(item){
|
|
|
- // this.curItem = item;
|
|
|
|
|
this.curNote=this.$refs.editor.getEditor()
|
|
this.curNote=this.$refs.editor.getEditor()
|
|
|
item.note = this.curNote;
|
|
item.note = this.curNote;
|
|
|
this.dialogVisible = false;
|
|
this.dialogVisible = false;
|