diff --git a/src/request/map_settings.js b/src/request/map_settings.js index 1bc157f..08373e1 100644 --- a/src/request/map_settings.js +++ b/src/request/map_settings.js @@ -32,3 +32,4 @@ export const setPathPlanningDelete = (params) => export const setPositioning = (params) => post("/videomanager/setPositioning", params); // 摆放摄像头 export const setLayAdd = (params) => post("/positAlarm/save", params); // 新建图层 +export const setLayEdit = (params) => post("/positAlarm/edit", params); // 新建图层 diff --git a/src/views/map_settings/layer_settings/components/add.vue b/src/views/map_settings/layer_settings/components/add.vue index 64b19d6..63f630f 100644 --- a/src/views/map_settings/layer_settings/components/add.vue +++ b/src/views/map_settings/layer_settings/components/add.vue @@ -4,27 +4,28 @@ :title="type === 'add' ? '新增' : '修改'" :on-close="fnClose" > - + - + - + - + + + + + + +