默认选中第一条检测计划
This commit is contained in:
@@ -62,4 +62,18 @@ export const BindPqDevList = (params: any) => {
|
||||
// 按照模式查询检测计划(用于首页展示)
|
||||
export const getPlanListByPattern = (params:Plan.ReqPlan) => {
|
||||
return http.get(`/adPlan/listByPattern?pattern=${params.pattern}`)
|
||||
}
|
||||
|
||||
// 导出检测计划
|
||||
export const exportPlan=(params: Device.ReqPqDevParams)=>{
|
||||
return http.download(`/adPlan/export`, params)
|
||||
}
|
||||
|
||||
// 下载模板
|
||||
export const downloadTemplate = () => {
|
||||
return http.download(`/adPlan/downloadTemplate`)
|
||||
}
|
||||
// 导入检测计划
|
||||
export const importPlan=(params: Device.ReqPqDevParams)=>{
|
||||
return http.upload(`/adPlan/import`, params)
|
||||
}
|
||||
Reference in New Issue
Block a user