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.
17 lines
485 B
17 lines
485 B
import request from './request' |
|
|
|
export function listInspection(query) { |
|
return request.get({ url: `/task/inspection`, query }) |
|
} |
|
|
|
export function listInspectionProblem(taskId, query) { |
|
return request.get({ url: `/task/inspection/${taskId}/problem`, query }) |
|
} |
|
|
|
export function signInspection(taskId) { |
|
return request.post({ url: `/task/inspection/${taskId}/sign` }) |
|
} |
|
|
|
export function getInspection(taskId) { |
|
return request.get({ url: `/task/inspection/${taskId}` }) |
|
} |