From 0e4d4a83f03f385eb3cce777d97ce91865f0ed5d Mon Sep 17 00:00:00 2001 From: wangchengming <15110151257@163.com> Date: Sat, 13 Sep 2025 12:16:07 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=B9=E6=8E=A5=E6=88=B7=E5=A4=96=E5=AA=92?= =?UTF-8?q?=E4=BD=93=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/mediaLibrary.js | 9 + src/views/mediaMap/index.vue | 7 +- src/views/outdoorMedia/index.vue | 309 ++++++++++++++++--------------- src/views/system/dept/index.vue | 42 ++++- 4 files changed, 210 insertions(+), 157 deletions(-) diff --git a/src/api/mediaLibrary.js b/src/api/mediaLibrary.js index b324787..7595fd3 100644 --- a/src/api/mediaLibrary.js +++ b/src/api/mediaLibrary.js @@ -134,4 +134,13 @@ export function mediaByMap(query) { method: 'get', params: query }) +} + +// 获取户外媒介媒体分页列表 +export function outMediaPageList(query) { + return request({ + url: '/media/outdoors/pageList', + method: 'get', + params: query + }) } \ No newline at end of file diff --git a/src/views/mediaMap/index.vue b/src/views/mediaMap/index.vue index f6fd646..0112cbf 100644 --- a/src/views/mediaMap/index.vue +++ b/src/views/mediaMap/index.vue @@ -5,8 +5,6 @@ - { activeLableIndex.value = null circleRadius.value = 2000; // 实际半径(米) selectConfig.value = null - + // 清除现有的圆形和标记 if (centerMarker.value) { mapInstance.value.remove(centerMarker.value); @@ -338,11 +336,8 @@ const loadMap = () => { mapInstance.value = new AMap.Map("mapContainer", { resizeEnable: true, - // center: [116.397428, 39.90923], // 默认中心点 pitch: initialPitch, // 倾斜角度决定2D/3D模式 rotation: initialRotation, // 旋转角度 - // buildingAnimation: true, - // expandZoomRange: true, zoom: 16, zooms: [3, 16], viewMode: mapMode.value // 启用3D视图 diff --git a/src/views/outdoorMedia/index.vue b/src/views/outdoorMedia/index.vue index 7096e46..55f65c8 100644 --- a/src/views/outdoorMedia/index.vue +++ b/src/views/outdoorMedia/index.vue @@ -5,21 +5,21 @@
- - - @@ -40,33 +40,34 @@
- - - - + - - + @@ -90,7 +91,7 @@ - @@ -99,7 +100,7 @@ 查询 重置 PPT批量导出 - 清空所选媒体 + 清空所选媒体 @@ -107,15 +108,17 @@ - + - - - + + +