diff --git a/src/api/mes/baseShiftInfo/types.ts b/src/api/mes/baseShiftInfo/types.ts index d6defdc..be19338 100644 --- a/src/api/mes/baseShiftInfo/types.ts +++ b/src/api/mes/baseShiftInfo/types.ts @@ -4,11 +4,6 @@ export interface BaseShiftInfoVO { */ shiftId: string | number; - /** - * 租户编号 - */ - tenantId: string | number; - /** * 班次编号 */ @@ -50,29 +45,9 @@ export interface BaseShiftInfoVO { activeFlag: string; /** - * 创建部门 + * 班制类型(2两班 3三班) */ - createDept: number; - - /** - * 创建人 - */ - createBy: number; - - /** - * 创建时间 - */ - createTime: string; - - /** - * 更新人 - */ - updateBy: number; - - /** - * 更新时间 - */ - updateTime: string; + classType: string; } @@ -82,11 +57,6 @@ export interface BaseShiftInfoForm extends BaseEntity { */ shiftId?: string | number; - /** - * 租户编号 - */ - tenantId?: string | number; - /** * 班次编号 */ @@ -128,35 +98,9 @@ export interface BaseShiftInfoForm extends BaseEntity { activeFlag?: string; /** - * 创建部门 + * 班制类型(2两班 3三班) */ - createDept?: number; - - /** - * 创建人 - */ - createBy?: number; - - /** - * 创建时间 - */ - createTime?: string; - - /** - * 更新人 - */ - updateBy?: number; - - /** - * 更新时间 - */ - updateTime?: string; - - - productionTimeDays?: number; - productionTimeHours?: number; - productionTimeMinutes?: number; - + classType?: string; } @@ -167,11 +111,6 @@ export interface BaseShiftInfoQuery extends PageQuery { */ shiftId?: string | number; - /** - * 租户编号 - */ - tenantId?: string | number; - /** * 班次编号 */ @@ -213,34 +152,14 @@ export interface BaseShiftInfoQuery extends PageQuery { activeFlag?: string; /** - * 创建部门 + * 班制类型(2两班 3三班) */ - createDept?: number; + classType?: string; /** - * 创建人 + * 日期范围参数 */ - createBy?: number; - - /** - * 创建时间 - */ - createTime?: string; - - /** - * 更新人 - */ - updateBy?: number; - - /** - * 更新时间 - */ - updateTime?: string; - - /** - * 日期范围参数 - */ - params?: any; + params?: any; } diff --git a/src/api/mes/prodBaseMachineInfo/types.ts b/src/api/mes/prodBaseMachineInfo/types.ts index ebcfdb2..c87c6e2 100644 --- a/src/api/mes/prodBaseMachineInfo/types.ts +++ b/src/api/mes/prodBaseMachineInfo/types.ts @@ -4,11 +4,6 @@ export interface ProdBaseMachineInfoVO { */ machineId: string | number; - /** - * 租户编号 - */ - tenantId: string | number; - /** * 机台编号 */ @@ -55,29 +50,64 @@ export interface ProdBaseMachineInfoVO { remark: string; /** - * 创建部门 + * 车间ID */ - createDept: number; + workshopId: string | number; /** - * 创建人 + * 设备模型,关联设备模型dms_device_mode */ - createBy: number; + deviceModeId: string | number; /** - * 创建时间 + * 设备IP地址 */ - createTime: string; + machineIp: string; /** - * 更新人 + * 设备端口 */ - updateBy: number; + machinePort: number; /** - * 更新时间 + * 设备协议 */ - updateTime: string; + accessProtocol: string; + + /** + * 寄存器地址 + */ + registerAddress: string; + + /** + * 数据类型(1、bool,2、short,3int,4long,5float,6byte,7ushort,8uint,9ulong,10double,11字符串) + */ + dataType: string; + + /** + * 数据长度 + */ + dataLength: number; + + /** + * 数据编码格式(1ASCII,2Unicode,3Unicode-big,4UTF-8,5UTF-32,6、ANSI,7、GB2312) + */ + dataEncoding: string; + + /** + * 请求间隔(单位:毫秒) + */ + requestInterval: number; + + /** + * 入库类型(1直接入库 2扫描入库) + */ + instockType: string; + + /** + * 班制类型(2两班 3三班) + */ + classType: string; } @@ -132,7 +162,65 @@ export interface ProdBaseMachineInfoForm extends BaseEntity { */ remark?: string; - baseMachineProcessList?: []; + /** + * 车间ID + */ + workshopId?: string | number; + + /** + * 设备模型,关联设备模型dms_device_mode + */ + deviceModeId?: string | number; + + /** + * 设备IP地址 + */ + machineIp?: string; + + /** + * 设备端口 + */ + machinePort?: number; + + /** + * 设备协议 + */ + accessProtocol?: string; + + /** + * 寄存器地址 + */ + registerAddress?: string; + + /** + * 数据类型(1、bool,2、short,3int,4long,5float,6byte,7ushort,8uint,9ulong,10double,11字符串) + */ + dataType?: string; + + /** + * 数据长度 + */ + dataLength?: number; + + /** + * 数据编码格式(1ASCII,2Unicode,3Unicode-big,4UTF-8,5UTF-32,6、ANSI,7、GB2312) + */ + dataEncoding?: string; + + /** + * 请求间隔(单位:毫秒) + */ + requestInterval?: number; + + /** + * 入库类型(1直接入库 2扫描入库) + */ + instockType?: string; + + /** + * 班制类型(2两班 3三班) + */ + classType?: string; } @@ -183,10 +271,70 @@ export interface ProdBaseMachineInfoQuery extends PageQuery { */ machineStatus?: string; - /** - * 日期范围参数 - */ - params?: any; + /** + * 车间ID + */ + workshopId?: string | number; + + /** + * 设备模型,关联设备模型dms_device_mode + */ + deviceModeId?: string | number; + + /** + * 设备IP地址 + */ + machineIp?: string; + + /** + * 设备端口 + */ + machinePort?: number; + + /** + * 设备协议 + */ + accessProtocol?: string; + + /** + * 寄存器地址 + */ + registerAddress?: string; + + /** + * 数据类型(1、bool,2、short,3int,4long,5float,6byte,7ushort,8uint,9ulong,10double,11字符串) + */ + dataType?: string; + + /** + * 数据长度 + */ + dataLength?: number; + + /** + * 数据编码格式(1ASCII,2Unicode,3Unicode-big,4UTF-8,5UTF-32,6、ANSI,7、GB2312) + */ + dataEncoding?: string; + + /** + * 请求间隔(单位:毫秒) + */ + requestInterval?: number; + + /** + * 入库类型(1直接入库 2扫描入库) + */ + instockType?: string; + + /** + * 班制类型(2两班 3三班) + */ + classType?: string; + + /** + * 日期范围参数 + */ + params?: any; } diff --git a/src/views/mes/baseShiftInfo/index.vue b/src/views/mes/baseShiftInfo/index.vue index 8164aee..cc6a8f3 100644 --- a/src/views/mes/baseShiftInfo/index.vue +++ b/src/views/mes/baseShiftInfo/index.vue @@ -13,6 +13,11 @@ + + + + + + + +