You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
437 B
22 lines
437 B
import request from "@/api/request"; |
|
|
|
export function addInspection(body) { |
|
return request.post({ |
|
url: '/task/inspection', |
|
body |
|
}); |
|
} |
|
|
|
export function listInspection(query) { |
|
return request.get({ |
|
url: '/task/inspection', |
|
query |
|
}); |
|
} |
|
|
|
export function listInspectionProblems(taskId, query) { |
|
return request.get({ |
|
url: `/task/inspection/${taskId}/problem`, |
|
query |
|
}); |
|
} |