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 @@