提交
This commit is contained in:
1 parent
9a73e87ce8
commit
4ea71a1bae
70 files changed
+24056
-18383
No files matched your search
@@ -1,4 +1,5 @@
|
||||
import request from '@/utils/http'
|
||||
import type { QcTaskOperateScope } from '@/api/qc-task'
|
||||
|
||||
export type QcTaskResultItem = {
|
||||
paramId?: string
|
||||
@@ -52,10 +53,12 @@ export function fetchCompleteTaskWithResult(
|
||||
usageUnit?: string
|
||||
remark?: string
|
||||
}>
|
||||
}
|
||||
},
|
||||
operateScope?: QcTaskOperateScope
|
||||
) {
|
||||
return request.post({
|
||||
url: `/web/admin/qc-tasks/${taskId}/complete-with-result`,
|
||||
params: operateScope === 'mine' ? { operateScope: 'mine' } : undefined,
|
||||
data
|
||||
})
|
||||
}
|
||||
Reference in new issue
Block a user