diff --git a/src/api/sunVillage_info/fixedAssets.js b/src/api/sunVillage_info/fixedAssets.js index c38449eb..c4b75313 100644 --- a/src/api/sunVillage_info/fixedAssets.js +++ b/src/api/sunVillage_info/fixedAssets.js @@ -126,6 +126,15 @@ export function getPermanent(id) { method: 'get' }) } + +// 清除固定资产图层 +export function clearPermanentGeom(id) { + return request({ + url: '/asset/permanent/clear/' + id, + method: 'get' + }); +} + // 修改固定资产 export function updatePermanent(data) { return request({ @@ -1036,6 +1045,13 @@ export function getResource(id) { }) } +export function clearResourceGeom(id) { + return request({ + url: '/asset/resource/clear/' + id, + method: 'get' + }); +} + // 资源新增 export function addResource(data) { return request({ diff --git a/src/components/Map/MapGisLine.vue b/src/components/Map/MapGisLine.vue index 5033dd4c..36339b17 100644 --- a/src/components/Map/MapGisLine.vue +++ b/src/components/Map/MapGisLine.vue @@ -1,7 +1,7 @@ @@ -18,6 +19,7 @@