待检任务检测历史的前后端代码
This commit is contained in:
@@ -41,4 +41,15 @@ export function delCheckTask(taskId) {
|
||||
url: '/qc/checkTask/' + taskId,
|
||||
method: 'delete'
|
||||
})
|
||||
|
||||
//查看历史任务
|
||||
}
|
||||
|
||||
// 查询历史检查任务列表
|
||||
export function listHistoryCheckTask(query) {
|
||||
return request({
|
||||
url: '/qc/checkTask/listHistory',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
@@ -42,3 +42,11 @@ export function delCheckTaskItem(itemId) {
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
export function updateCheckTaskItemStatus(data) {
|
||||
return request({
|
||||
url: '/qc/checkTaskItem/updateStatus',
|
||||
method: 'put',
|
||||
data // 需要包含checkTaskId、checkItemId、status
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user