检测计划

This commit is contained in:
sjl
2024-12-11 19:39:09 +08:00
parent 393ad5fa0b
commit 5dbd6eb8be
15 changed files with 634 additions and 550 deletions

View File

@@ -8,8 +8,10 @@ export namespace Device {
*/
export interface ReqPqDevParams extends ReqPage{
id: string; // 装置序号id 必填
name: string; //设备名称
devType?: string; // 设备名称
createTime?:string; //创建时间
pattern:string;
}
/**
@@ -46,6 +48,10 @@ export namespace Device {
reportPath?: string| null; //报告路径
qRCode?: string| null; //设备关键信息二维码
reCheckNum: number; //复检次数
planId?:string;//检测计划Id
TimeCheckResult?:number;//守时检测结果(0:不符合1:符合)
FactorFlag?:number;//是否支持系数校准(0:不支持,1:支持)
FactorCheckResult?: number;//系数校准结果(0:不符合1:符合)
state: number; //状态
createBy?: string| null; //创建用户
createTime?: string| null; //创建时间

View File

@@ -11,13 +11,14 @@ export namespace TestScript {
id: string; // 装置序号id 必填
name: string;
type: string;
pattern:string;
}
// 检测脚本接口
export interface ResTestScript {
id?: string; //检测脚本ID
name: string; //检测脚本名称
type: string; //检测脚本类型(字典表Code字段脚本还是模板)
type: string; //设定0为脚本1为模板
pattern: string;//检测脚本模式(字典表Code字段数字、模拟、比对)
valueType?: string;//脚本值类型(字典表Code字段相对值脚本、绝对值脚本、无)
standardName: string;//参照标准名称