|
@@ -680,7 +680,7 @@ import {
|
|
|
import PolygonDrawer from './PolygonDrawer.vue'
|
|
import PolygonDrawer from './PolygonDrawer.vue'
|
|
|
import { getPresetPoints } from '@/api/centerMonitor/LabelManagement/setLabel'
|
|
import { getPresetPoints } from '@/api/centerMonitor/LabelManagement/setLabel'
|
|
|
import { getTasks, getRtsp } from '@/api/centerMonitor/camera/camerachannel'
|
|
import { getTasks, getRtsp } from '@/api/centerMonitor/camera/camerachannel'
|
|
|
-import { getRail } from '@/api/centerMonitor/rail/rail'
|
|
|
|
|
|
|
+import { getRail, operatePresetPoint } from '@/api/centerMonitor/rail/rail'
|
|
|
|
|
|
|
|
|
|
|
|
|
/** ----------------------------------摄像头预览结束------------------------------------- */
|
|
/** ----------------------------------摄像头预览结束------------------------------------- */
|
|
@@ -2057,6 +2057,8 @@ export default {
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
getDraws(point) {
|
|
getDraws(point) {
|
|
|
|
|
+ point.operateType = 1
|
|
|
|
|
+ operatePresetPoint(point)
|
|
|
this.infoDraw.pointId = point.presetPointCode
|
|
this.infoDraw.pointId = point.presetPointCode
|
|
|
this.infoDraw.pointName = point.presetPointName
|
|
this.infoDraw.pointName = point.presetPointName
|
|
|
if (this.infoDraw.channelId && this.infoDraw.taskId && this.infoDraw.pointId && this.infoDraw.pointName && this.infoDraw.type) {
|
|
if (this.infoDraw.channelId && this.infoDraw.taskId && this.infoDraw.pointId && this.infoDraw.pointName && this.infoDraw.type) {
|