From 79eadc06f341ad2e1d46ba8ae2d9e839edb25193 Mon Sep 17 00:00:00 2001 From: QI_YUJIE <2878090898@qq.com> Date: Thu, 23 Nov 2023 16:24:41 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B5=84=E4=BA=A7=E8=B5=84=E6=BA=90=E5=9C=B0?= =?UTF-8?q?=E5=9B=BE=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/sunVillage_info/fixedAssets.js | 16 ++ src/components/Map/MapGisLine.vue | 120 +++++++- src/components/Map/MapGisTagDTGCopy.vue | 258 ++++++++++++++---- src/views/sunVillage_info/assetMapOpen.vue | 39 ++- src/views/sunVillage_info/fixedAssets.vue | 58 ++-- src/views/sunVillage_info/list_chronicles.vue | 2 - src/views/sunVillage_info/list_contractor.vue | 2 - src/views/sunVillage_info/resource.vue | 60 +++- 8 files changed, 450 insertions(+), 105 deletions(-) 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 @@