From cac7625da79c24543ad19dc6f8cc294fad446769 Mon Sep 17 00:00:00 2001 From: wxc <191104855@qq.com> Date: Fri, 20 Dec 2024 17:55:10 +0800 Subject: [PATCH] 241220 --- src/api/work/negative.ts | 8 + src/components/negative/dialog.vue | 166 ++++++++++++++++-- src/components/negative/verify.vue | 18 ++ src/permission.ts | 6 +- .../sensitivePerception/RiskPersonnel.vue | 2 +- src/views/work/Query.vue | 14 +- 6 files changed, 193 insertions(+), 21 deletions(-) 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" >