From 9fe9d3eeb061eca76d2c144fa17babac631465c6 Mon Sep 17 00:00:00 2001 From: yyy <2605810609@qq.com> Date: Sat, 19 Jul 2025 08:52:29 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=88=E5=B9=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/board/carBoard/index.vue | 3 +- src/views/board/device/createEditDialog.vue | 4 +- src/views/board/device/index.vue | 6 + .../components/locationSelectionDialog.vue | 50 +++- .../components-tool/editNodeProperties.vue | 152 +++++------ .../layerSelectionToolDialog.vue | 5 + .../realTimeMap/components/indexPage.vue | 177 ++++++------ src/views/mapPage/realTimeMap/editMap.vue | 255 +++++++++--------- src/views/mapPage/realTimeMap/index.vue | 53 +--- .../mapPage/taskManagement/createTask.vue | 144 ++-------- 10 files changed, 387 insertions(+), 462 deletions(-) diff --git a/src/views/board/carBoard/index.vue b/src/views/board/carBoard/index.vue index e14aebce..d13d3fde 100644 --- a/src/views/board/carBoard/index.vue +++ b/src/views/board/carBoard/index.vue @@ -960,6 +960,7 @@ input::input-placeholder { transition: background 0.2s; } .popover-menu-item:hover { - background: #f5f5f5; + background-color: #f5f7fa; + color: #1677ff; } diff --git a/src/views/board/device/createEditDialog.vue b/src/views/board/device/createEditDialog.vue index 4d036a17..7892d3a1 100644 --- a/src/views/board/device/createEditDialog.vue +++ b/src/views/board/device/createEditDialog.vue @@ -175,7 +175,7 @@ const checkPointList = ref([]) // 获取取放货点位列表 const getTakePointList = async () => { try { - takePointList.value = await DeviceApi.getWareHouseTakePointList({ pointType: 1 }) + takePointList.value = await DeviceApi.getWareHouseTakePointList({ pointType: 0 }) } catch (error) { console.error('获取取放货点位失败:', error) takePointList.value = [] @@ -185,7 +185,7 @@ const getTakePointList = async () => { // 获取检测区点位列表 const getCheckPointList = async () => { try { - checkPointList.value = await DeviceApi.getWareHouseTakePointList({ pointType: 0 }) + checkPointList.value = await DeviceApi.getWareHouseTakePointList({ pointType: 1 }) } catch (error) { console.error('获取检测区点位失败:', error) checkPointList.value = [] diff --git a/src/views/board/device/index.vue b/src/views/board/device/index.vue index 0c4af912..7338ad91 100644 --- a/src/views/board/device/index.vue +++ b/src/views/board/device/index.vue @@ -278,6 +278,9 @@ const clockDevice = (item) => { }) }) .catch(() => {}) + .finally(() => { + loading.value = false // 操作后关闭loading + }) } //新建编辑车辆 const openForm = (type, id) => { @@ -298,6 +301,9 @@ const deleteCar = (id) => { }) }) .catch(() => {}) + .finally(() => { + loading.value = false // 操作后关闭loading + }) } //前往地图定位 diff --git a/src/views/mapPage/components/locationSelectionDialog.vue b/src/views/mapPage/components/locationSelectionDialog.vue index ab6299b5..f3e4a1ab 100644 --- a/src/views/mapPage/components/locationSelectionDialog.vue +++ b/src/views/mapPage/components/locationSelectionDialog.vue @@ -101,7 +101,7 @@ -