微调
This commit is contained in:
@@ -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