From a433ee2725c601905ab1692eab7bf80b2be2b397 Mon Sep 17 00:00:00 2001 From: maochaoying <925670706@qq.com> Date: Sat, 8 Jul 2023 13:57:39 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=9E=E7=8E=B0=E9=83=A8=E5=88=86=E4=B8=8A?= =?UTF-8?q?=E4=B8=80=E6=AD=A5=E4=B8=8B=E4=B8=80=E6=AD=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/task.js | 12 ++++++++++++ src/components/Excel.vue | 16 ++++++++++++++-- src/pages/index.vue | 28 +++++++++++++++++++++++++++- src/store/modules/check.js | 4 ++++ 4 files changed, 57 insertions(+), 3 deletions(-) diff --git a/src/api/task.js b/src/api/task.js index 5f2734f..74ed61c 100644 --- a/src/api/task.js +++ b/src/api/task.js @@ -43,3 +43,15 @@ export const getProcessTaskInfoApi = () => { method: 'GET', }) } + +export const getNextCoordApi = (coord, taskId, direction) => { + return request({ + url: `/task/next`, + method: 'POST', + data: { + coord, + taskId, + direction, + }, + }) +} diff --git a/src/components/Excel.vue b/src/components/Excel.vue index 2f963c0..a5a9cba 100644 --- a/src/components/Excel.vue +++ b/src/components/Excel.vue @@ -13,10 +13,11 @@