diff --git a/src/api/mes/planInfo/index.ts b/src/api/mes/planInfo/index.ts index d93acbf..bc70cac 100644 --- a/src/api/mes/planInfo/index.ts +++ b/src/api/mes/planInfo/index.ts @@ -127,9 +127,9 @@ export const issuePlanInfo = (workshopId: string | number, planId: string | numb * @returns {*} */ -export const queryMoritorPageList = (query?: PlanInfoQuery): AxiosPromise => { +export const queryMoritorList = (query?: PlanInfoQuery): AxiosPromise => { return request({ - url: '/mes/planInfo/queryMoritorPageList', + url: '/mes/planInfo/queryMoritorList', method: 'get', params: query }); diff --git a/src/api/mes/planInfo/types.ts b/src/api/mes/planInfo/types.ts index fb14e68..20ccaf0 100644 --- a/src/api/mes/planInfo/types.ts +++ b/src/api/mes/planInfo/types.ts @@ -537,5 +537,41 @@ export interface PlanInfoQuery extends PageQuery { materialName?: string; } +// 计划监控班次分组视图对象 +export interface ShiftGroupVO { + /** + * 班次ID + */ + shiftId: string | number; + + /** + * 班次名称 + */ + shiftName: string; + + /** + * 该班次下的物料计划列表 + */ + plans: PlanInfoVO[]; +} + +// 生产计划监控视图对象 +export interface PlanMonitorVO { + /** + * 机台ID + */ + machineId: string | number; + + /** + * 机台名称 + */ + machineName: string; + + /** + * 班次分组列表 + */ + shifts: ShiftGroupVO[]; +} + diff --git a/src/views/mes/planInfo/monitorPlan.vue b/src/views/mes/planInfo/monitorPlan.vue index c0e63b3..afeefaa 100644 --- a/src/views/mes/planInfo/monitorPlan.vue +++ b/src/views/mes/planInfo/monitorPlan.vue @@ -6,7 +6,7 @@ - + - + @@ -46,45 +48,57 @@ - - + + - + - +