From 0279e69b0c66a96359be3b73c5839980cfd07513 Mon Sep 17 00:00:00 2001 From: yyy <2605810609@qq.com> Date: Mon, 23 Jun 2025 14:31:32 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BA=93=E4=BD=8D=E6=94=B9=E4=B8=BA=E9=80=89?= =?UTF-8?q?=E6=8B=A9=E5=A4=A7=E5=B0=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.local | 8 +-- .vscode/settings.json | 5 +- src/api/map/map.ts | 7 +++ src/views/board/carBoard/createEditDialog.vue | 32 ++++++++--- .../components-tool/editNodeProperties.vue | 56 ++++++++++++++++--- 5 files changed, 87 insertions(+), 21 deletions(-) diff --git a/.env.local b/.env.local index 835b8acd..66161d67 100644 --- a/.env.local +++ b/.env.local @@ -4,9 +4,9 @@ NODE_ENV=development VITE_DEV=true # 请求路径 -# VITE_BASE_URL='http://192.168.77.50:48080' -# VITE_BASE_URL='http://10.10.100.15:48080' -VITE_BASE_URL='http://10.10.5.5:48080' +VITE_BASE_URL='http://10.10.7.132:48080' +# VITE_BASE_URL='http://10.10.100.15:48080' +# VITE_BASE_URL='http://10.10.5.5:48080' # 文件上传类型:server - 后端上传, client - 前端直连上传,仅支持 S3 服务 VITE_UPLOAD_TYPE=server @@ -33,4 +33,4 @@ VITE_MALL_H5_DOMAIN='http://localhost:3000' VITE_APP_CAPTCHA_ENABLE=false # GoView域名 -VITE_GOVIEW_URL='http://127.0.0.1:3000' \ No newline at end of file +VITE_GOVIEW_URL='http://127.0.0.1:3000' diff --git a/.vscode/settings.json b/.vscode/settings.json index c1f8ea8c..02702d60 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -142,5 +142,8 @@ }, "terminal.integrated.scrollback": 10000, "nuxt.isNuxtApp": false, - "liveServer.settings.port": 5502 + "liveServer.settings.port": 5502, + "[dotenv]": { + "editor.defaultFormatter": "foxundermoon.shell-format" + } } diff --git a/src/api/map/map.ts b/src/api/map/map.ts index cd003216..8a2682b9 100644 --- a/src/api/map/map.ts +++ b/src/api/map/map.ts @@ -248,3 +248,10 @@ export const checkHaveTask = async (data) => { data }) } + +export const getHouseLocationTypeList = async (params) => { + return await request.get({ + url: `/system/ware/house-location-type/getList`, + params + }) +} diff --git a/src/views/board/carBoard/createEditDialog.vue b/src/views/board/carBoard/createEditDialog.vue index cbc57352..5c64638f 100644 --- a/src/views/board/carBoard/createEditDialog.vue +++ b/src/views/board/carBoard/createEditDialog.vue @@ -33,10 +33,10 @@ - + @@ -45,10 +45,23 @@ + + + + + + + + + + + + + % % - 建议自动充电电量大于30% - - + + - - + + + 添加 @@ -235,6 +249,7 @@ const formData = ref({ autoCharge: undefined, robotIp: undefined, robotPort: undefined, + robotStatus: undefined, cameraAddVOList: [] }) const carModelList = ref([]) @@ -436,6 +451,7 @@ const resetForm = () => { autoCharge: undefined, robotIp: undefined, robotPort: undefined, + robotStatus: undefined, cameraAddVOList: [] } floorAreaJsonData.value = [] diff --git a/src/views/mapPage/realTimeMap/components-tool/editNodeProperties.vue b/src/views/mapPage/realTimeMap/components-tool/editNodeProperties.vue index 640b09a3..cb1e6e34 100644 --- a/src/views/mapPage/realTimeMap/components-tool/editNodeProperties.vue +++ b/src/views/mapPage/realTimeMap/components-tool/editNodeProperties.vue @@ -133,6 +133,24 @@ + + + + + + +
cm
@@ -151,10 +170,12 @@ placeholder="请输入" v-model="form.locationWide" :min="10" + :disabled="form.type === 2" /> cm
+