微调
This commit is contained in:
@@ -49,9 +49,9 @@ export namespace Device {
|
||||
qRCode?: string| null; //设备关键信息二维码
|
||||
reCheckNum: number; //复检次数
|
||||
planId?:string;//检测计划Id
|
||||
TimeCheckResult?:number;//守时检测结果(0:不符合1:符合)
|
||||
FactorFlag?:number;//是否支持系数校准(0:不支持,1:支持)
|
||||
FactorCheckResult?: number;//系数校准结果(0:不符合1:符合)
|
||||
timeCheckResult?:number;//守时检测结果(0:不符合1:符合)
|
||||
factorFlag?:number;//是否支持系数校准(0:不支持,1:支持)
|
||||
factorCheckResult?: number;//系数校准结果(0:不符合1:符合)
|
||||
state: number; //状态
|
||||
createBy?: string| null; //创建用户
|
||||
createTime?: string| null; //创建时间
|
||||
|
||||
@@ -34,9 +34,9 @@ export namespace TestSource {
|
||||
}
|
||||
export interface ParameterType{
|
||||
id:string;
|
||||
sourceParamType:string;
|
||||
sourceParamDesc:string;
|
||||
sourceParamValue:string;
|
||||
type:string;
|
||||
desc:string;
|
||||
value:string;
|
||||
sort:number;
|
||||
pId:string;
|
||||
children?:ParameterType[];
|
||||
|
||||
@@ -32,7 +32,7 @@ export namespace Plan {
|
||||
|
||||
export interface ReqPlan extends ResPlan {
|
||||
datasourceIds:string;
|
||||
sourceIds: string[];
|
||||
sourceIds: string;
|
||||
planId:string;
|
||||
scriptName: string ;
|
||||
errorSysName: string;
|
||||
|
||||
@@ -15,12 +15,12 @@ export const getPlanList = (params: Plan.ReqPlanParams) => {
|
||||
}
|
||||
|
||||
// 新增检测计划
|
||||
export const addPlan = (params: Plan.ResPlan) => {
|
||||
export const addPlan = (params:any) => {
|
||||
return http.post(`/adPlan/add`, params)
|
||||
}
|
||||
|
||||
// 编辑检测计划
|
||||
export const updatePlan = (params: Plan.ResPlan) => {
|
||||
export const updatePlan = (params: any) => {
|
||||
return http.post(`/adPlan/update`, params)
|
||||
}
|
||||
|
||||
@@ -51,10 +51,15 @@ export const getUnboundPqDevList = (params: Plan.ReqPlan) => {
|
||||
|
||||
//根据检测计划id查询出所有已绑定的设备
|
||||
export const getBoundPqDevList = (params: any) => {
|
||||
return http.post(`/pqDev/listBoundByPlanId`,params)
|
||||
return http.post(`/pqDev/listByPlanId`,params)
|
||||
}
|
||||
|
||||
//检测计划绑定设备
|
||||
export const BindPqDevList = (params: any) => {
|
||||
return http.post(`/adPlan/bindDev`,params)
|
||||
return http.post(`/pqDev/bindDev`,params)
|
||||
}
|
||||
|
||||
// 按照模式查询检测计划(用于首页展示)
|
||||
export const getPlanListByPattern = (params:Plan.ReqPlan) => {
|
||||
return http.get(`/adPlan/listByPattern?pattern=${params.pattern}`)
|
||||
}
|
||||
Reference in New Issue
Block a user