2 天以前 1c1af9b0fc10778ae5ac13cc68fd4030affbcfe1
src/api/mes/dv/machinery/index.ts
@@ -1,4 +1,4 @@
import type { PageParam, PageResult } from '../../../../packages/effects/request/src';
import type { PageParam, PageResult } from '@vben/request';
import { requestClient } from '#/api/request';
@@ -7,16 +7,22 @@
  export interface Machinery {
    id?: number; // 设备编号
    code?: string; // 设备编码
    tbDeviceId?: string; // 数采设备ID(外部数采 tbDeviceId)
    name?: string; // 设备名称
    brand?: string; // 品牌
    specification?: string; // 规格型号
    machineryTypeId?: number; // 设备类型编号
    machineryTypeName?: string; // 设备类型名称
    itemId?: number; // 设备物料编号(MDM 物料)
    workshopId?: number; // 所属车间编号
    workshopName?: string; // 所属车间名称
    status?: number; // 设备状态
    lastMaintenTime?: Date; // 最近保养时间
    lastCheckTime?: Date; // 最近点检时间
    productionEfficiency?: number; // 生产效率
    conveyorBelt?: number; // 传送履带数量
    workstationId?: number; // 工作站编号
    workstationName?: string; // 工作站名称
    remark?: string; // 备注
    createTime?: Date; // 创建时间
  }