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 @@ -