| | |
| | | this.$parent.addSecurityPlot({ securityId: this.showingSecurityId, position: this.addLabelPosition, type: 9, name: this.labelInput }) |
| | | this.cancelSaveLabel() |
| | | } |
| | | // --------------------------- |
| | | // 调用接口进行保存 |
| | | |
| | | // getlablelist().then(res => { |
| | | // 保存成功后进行添加 |
| | | // let label = new global.DC.Label() |
| | | |
| | | // label.on(global.DC.MouseEventType.RIGHT_DOWN, this.labelDowm) |
| | | |
| | | // global.viewer.on(global.DC.MouseEventType.MOUSE_MOVE, this.viewerLableMove) |
| | | |
| | | // label.on(global.DC.MouseEventType.RIGHT_UP, this.labelUp) |
| | | |
| | | // 添加文字标注的时候,在加的时候要把事件也加入 |
| | | |
| | | // }) |
| | | }, |
| | | |
| | | lableAllEvent (label) { |