From d85eacf0f770d7c8020b90804025bd4a27dc5442 Mon Sep 17 00:00:00 2001 From: xhf <1424913779@qq.com> Date: Wed, 26 Mar 2025 15:41:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=97=A5=E5=BF=97=E6=97=B6?= =?UTF-8?q?=E9=97=B4=E7=AD=9B=E9=80=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.local | 4 ++-- src/views/mapPage/logList/index.vue | 24 ++++++++++++++++++++++-- 2 files changed, 24 insertions(+), 4 deletions(-) diff --git a/.env.local b/.env.local index 846499c4..b62d369a 100644 --- a/.env.local +++ b/.env.local @@ -4,9 +4,9 @@ NODE_ENV=development VITE_DEV=true # 请求路径 -# VITE_BASE_URL='http://192.168.0.74:48080' +VITE_BASE_URL='http://192.168.0.74:48080' # VITE_BASE_URL='http://192.168.0.226:48080' -VITE_BASE_URL='http://192.168.0.45:48080' +# VITE_BASE_URL='http://192.168.0.45:48080' # 文件上传类型:server - 后端上传, client - 前端直连上传,仅支持 S3 服务 VITE_UPLOAD_TYPE=server diff --git a/src/views/mapPage/logList/index.vue b/src/views/mapPage/logList/index.vue index 9876fe90..50fc7099 100644 --- a/src/views/mapPage/logList/index.vue +++ b/src/views/mapPage/logList/index.vue @@ -189,7 +189,7 @@ /> - + + + { carLogParamsRef.value.resetFields() } else if (activeName.value == 3) { taskLogParamsRef.value.resetFields() + taskLogParams.createTime = [] } handleQuery() } +const handleTaskTimeQuery = () => { + taskLogParams.startTime = taskLogParams.createTime[0] + taskLogParams.endTime = taskLogParams.createTime[1] +} + //查询能用的车辆 const robotList = ref([]) const getCanUseRobotList = async () => {