This commit is contained in:
zlwu committed 2026-05-21 20:56:57 +08:00
1 parent 7541a167c0
commit b0eb80a2d4
37 files changed
+6279 -4732

No files matched your search

+4 -4
View File
@@ -44,21 +44,21 @@ export function fetchDeleteTaskStep(taskId: string, stepId: string) {
return request.del({ url: `/web/admin/production-tasks/${taskId}/steps/${stepId}` })
}
export function fetchReplaceStepReagents(taskId: string, stepId: string, data: Record<string, any>) {
export function fetchReplaceStepReagents(taskId: string, stepId: string, data: any[]) {
return request.put({
url: `/web/admin/production-tasks/${taskId}/steps/${stepId}/reagents`,
params: data
})
}
export function fetchReplaceStepConsumables(taskId: string, stepId: string, data: Record<string, any>) {
export function fetchReplaceStepConsumables(taskId: string, stepId: string, data: any[]) {
return request.put({
url: `/web/admin/production-tasks/${taskId}/steps/${stepId}/consumables`,
params: data
})
}
export function fetchReplaceStepDataCollection(taskId: string, stepId: string, data: Record<string, any>) {
export function fetchReplaceStepDataCollection(taskId: string, stepId: string, data: any[]) {
return request.put({
url: `/web/admin/production-tasks/${taskId}/steps/${stepId}/data-collection`,
params: data
@@ -84,7 +84,7 @@ export function fetchCopyTaskStep(data: { taskId: string; stepId: string }) {
})
}
export function fetchReplaceStepOutputs(taskId: string, stepId: string, data: Record<string, any>) {
export function fetchReplaceStepOutputs(taskId: string, stepId: string, data: any[]) {
return request.put({
url: `/web/admin/production-tasks/${taskId}/steps/${stepId}/outputs`,
params: data