diff --git a/src/api/work/negative.ts b/src/api/work/negative.ts index 0268b1c..12c8540 100644 --- a/src/api/work/negative.ts +++ b/src/api/work/negative.ts @@ -73,3 +73,11 @@ export function transferTodo(id) { url: `/negative/${id}/transferTodo` }); } + + +export function spotCheckNegative(id, body) { + return request.post({ + url: `/negative/${id}/spotCheck`, + body + }); +} \ No newline at end of file diff --git a/src/components/negative/dialog.vue b/src/components/negative/dialog.vue index 805cad0..77b4550 100644 --- a/src/components/negative/dialog.vue +++ b/src/components/negative/dialog.vue @@ -6,6 +6,7 @@ class="dialog-header-nopadding" style="--el-dialog-padding-primary: 10px; margin-bottom: 2vh" :lock-scroll="false" + ref="dialogRef" >