手动检测功能修改、一键检测功能修改(均未完成)

This commit is contained in:
caozehui
2025-02-25 10:17:33 +08:00
parent a0c7f79302
commit 280289af37
11 changed files with 1793 additions and 833 deletions

View File

@@ -90,6 +90,11 @@ export namespace CheckData {
deviceId: string; //装置序号Id
deviceName: string; //设备名称
chnNum: number; //设备通道数
planId: string; //计划Id
devType: string; //设备类型
devVolt:number; //设备电压
devCurr:number; //设备电流
}
// 用来描述检测脚本类型
@@ -173,6 +178,16 @@ export namespace CheckData {
type: 'info' | 'warning' | 'error'
log: string
}
/**
* 定义手动检测时,勾选的测试项
*/
export interface SelectTestItem {
preTest: boolean,
timeTest: boolean,
channelsTest: boolean,
test: boolean
}
}

View File

@@ -2,7 +2,7 @@ import http from "@/api";
import {CheckData} from "@/api/check/interface";
export const getBigTestItem = (planId: string) => {
return http.get(`/adPlan/getBigTestItem?planId=${planId}`, {loading: false});
return http.get(`/adPlan/getBigTestItem?planId=${planId}`);
}
/**