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