From ea4e773e1344f936030ca13ad4b3a6ac7f8a3138 Mon Sep 17 00:00:00 2001 From: zouzhiwen <409053122@qq.com> Date: Thu, 5 Mar 2026 09:34:51 +0800 Subject: [PATCH] =?UTF-8?q?opt:=20=E5=AD=90=E4=BB=BB=E5=8A=A1=E9=87=8A?= =?UTF-8?q?=E6=94=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/vendorLoad.ts | 40 +++++ src/views/vendor/VendorLoadView.vue | 255 ++++++++++++++++++++++++++++ 2 files changed, 295 insertions(+) create mode 100644 src/api/vendorLoad.ts create mode 100644 src/views/vendor/VendorLoadView.vue diff --git a/src/api/vendorLoad.ts b/src/api/vendorLoad.ts new file mode 100644 index 0000000..cf87731 --- /dev/null +++ b/src/api/vendorLoad.ts @@ -0,0 +1,40 @@ +import request from '@/utils/request' + +export interface MachineTaskChainVO { + id?: number + code: string + warehouse?: string + firstTaskVendor?: string + status?: string + type?: string + businessNo?: string + description?: string + sourceLocation?: string + sourcePoint?: string + sourceContainer?: string + targetType?: string + targetCode?: string + targetLocation?: string + targetPoint?: string + elevatorId?: number + priority?: number + executionTime?: number + completeTime?: string + cancelReason?: string + cancelTime?: string + createTime?: string +} + +export interface VendorLoadVO { + vendor: string + vendorName: string + maxConcurrent: number + currentLoad: number + chains: MachineTaskChainVO[] +} + +export function getVendorLoad() { + return request.get( + '/api/robot/external/admin/machine-task/vendor/load', + ) +} diff --git a/src/views/vendor/VendorLoadView.vue b/src/views/vendor/VendorLoadView.vue new file mode 100644 index 0000000..8b478d2 --- /dev/null +++ b/src/views/vendor/VendorLoadView.vue @@ -0,0 +1,255 @@ + + + + +