diff --git a/src/api/map/mapTask.ts b/src/api/map/mapTask.ts index ac1a347b..c5a67160 100644 --- a/src/api/map/mapTask.ts +++ b/src/api/map/mapTask.ts @@ -30,6 +30,11 @@ export const updateTask = (data) => { return request.post({ url: '/system/robot/task-detail/manuallyCompleted?id=' + data.id }) } +// 更新机器人任务主表 +export const closeTask = (data) => { + return request.put({ url: '/system/robot/task/close', data }) +} + //更新优先级 export const updateRobotTask = (data) => { return request.put({ url: '/system/robot/task/update', data }) diff --git a/src/assets/imgs/jinyong-2.png b/src/assets/imgs/jinyong-2.png deleted file mode 100644 index 9c30e366..00000000 Binary files a/src/assets/imgs/jinyong-2.png and /dev/null differ diff --git a/src/assets/imgs/suoding.png b/src/assets/imgs/suoding.png deleted file mode 100644 index 9eab3dd1..00000000 Binary files a/src/assets/imgs/suoding.png and /dev/null differ diff --git a/src/views/carError/index.vue b/src/views/carError/index.vue index 64203760..e4e1d8dd 100644 --- a/src/views/carError/index.vue +++ b/src/views/carError/index.vue @@ -6,7 +6,7 @@ :model="queryParams" ref="queryFormRef" :inline="true" - label-width="120px" + label-width="80px" > { /** 搜索按钮操作 */ const handleQuery = () => { queryParams.pageNo = 1 + if (queryParams.warnCode) { + queryParams.warnCode = queryParams.warnCode.replace(/\s/g, '') + } + if (queryParams.robotNo) { + queryParams.robotNo = queryParams.robotNo.replace(/\s/g, '') + } getList() } diff --git a/src/views/mapPage/locationList/index.vue b/src/views/mapPage/locationList/index.vue index 2d6cbda9..5a9ddd8e 100644 --- a/src/views/mapPage/locationList/index.vue +++ b/src/views/mapPage/locationList/index.vue @@ -79,6 +79,7 @@ style="width: 100%" row-class-name="table-row-class" :header-cell-style="{ backgroundColor: '#EBF1FF', padding: '13px 0' }" + show-overflow-tooltip > @@ -148,7 +149,8 @@ const queryParams = reactive({ taskStage: null, laneName: null, areaName: null, - skuInfo: null + skuInfo: null, + locationNo: null }) const queryFormRef = ref() // 搜索的表单 @@ -176,6 +178,20 @@ const submitSuccess = () => { /** 搜索按钮操作 */ const handleQuery = () => { queryParams.pageNo = 1 + + if (queryParams.locationNo) { + queryParams.locationNo = queryParams.locationNo.replace(/\s/g, '') + } + if (queryParams.laneName) { + queryParams.laneName = queryParams.laneName.replace(/\s/g, '') + } + if (queryParams.areaName) { + queryParams.areaName = queryParams.areaName.replace(/\s/g, '') + } + if (queryParams.skuInfo) { + queryParams.skuInfo = queryParams.skuInfo.replace(/\s/g, '') + } + getList() } diff --git a/src/views/mapPage/logList/index.vue b/src/views/mapPage/logList/index.vue index 5aae917a..3fa5b3d0 100644 --- a/src/views/mapPage/logList/index.vue +++ b/src/views/mapPage/logList/index.vue @@ -422,6 +422,9 @@ const handleQuery = () => { getCarLogList() } else if (activeName.value == 3) { taskLogParams.pageNo = 1 + if (taskLogParams.taskNo) { + taskLogParams.taskNo = taskLogParams.taskNo.replace(/\s/g, '') + } getTaskLogList() } } diff --git a/src/views/mapPage/realTimeMap/components/storeDialog.vue b/src/views/mapPage/realTimeMap/components/storeDialog.vue index 154a5053..2f5ba108 100644 --- a/src/views/mapPage/realTimeMap/components/storeDialog.vue +++ b/src/views/mapPage/realTimeMap/components/storeDialog.vue @@ -1,5 +1,5 @@