待检任务检测历史的前后端代码

This commit is contained in:
2025-07-25 17:10:33 +08:00
parent 3f455b773a
commit b41c015b57
19 changed files with 251 additions and 174 deletions

View File

@@ -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
})
}

View File

@@ -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
})
}