From 83c876b88c9fe80b106f05c0cdf9ba4c9c9c4aa3 Mon Sep 17 00:00:00 2001 From: andy <1042025947@qq.com> Date: Sat, 18 Jul 2026 14:17:41 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/proterminal.ts | 27 +++ src/views/proterminal/index.vue | 328 +++++++++++++++++++++++++------- 2 files changed, 282 insertions(+), 73 deletions(-) create mode 100644 src/api/proterminal.ts diff --git a/src/api/proterminal.ts b/src/api/proterminal.ts new file mode 100644 index 0000000..6131c0e --- /dev/null +++ b/src/api/proterminal.ts @@ -0,0 +1,27 @@ +import { request } from '@/utils/request' + +//登录工位选择 +export function workstation(userId:any) { + return request({ + url: `/terminal/workstation/${userId}`, + method: 'get' + }) +} + +//任务列表 +export function tasklist(data:any) { + return request({ + url: '/terminal/task', + method: 'post', + data + }) +} + +//任务详情 +export function taskdetail(data:any) { + return request({ + url: '/terminal/detail/content', + method: 'post', + data + }) +} \ No newline at end of file diff --git a/src/views/proterminal/index.vue b/src/views/proterminal/index.vue index ec4010d..5bd9222 100644 --- a/src/views/proterminal/index.vue +++ b/src/views/proterminal/index.vue @@ -1,5 +1,5 @@