From 18d16e03ba5ad835520da3cf180ac9fea6fcf3fe Mon Sep 17 00:00:00 2001 From: buaixuexideshitongxue <2936013465@qq.com> Date: Thu, 16 Apr 2026 11:46:56 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E6=89=80=E6=9C=89=E9=97=AE=E9=A2=98?= =?UTF-8?q?=E6=9D=A5=E6=BA=90=E9=83=BD=E5=8F=AF=E4=BB=A5=E9=80=89=E6=8B=A9?= =?UTF-8?q?=E4=B8=93=E9=A1=B9=E7=9D=A3=E5=AF=9F=E6=98=8E=E7=BB=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/negative/add.vue | 26 ++++++++++----- src/components/negative/description.vue | 4 +-- src/views/jwpy/query_110jcj.vue | 22 +++++++++---- src/views/jwpy/query_122jcj.vue | 22 +++++++++---- src/views/jwpy/query_cjglfw.vue | 22 +++++++++---- src/views/jwpy/query_jwpy_total.vue | 22 +++++++++---- src/views/jwpy/query_rjckfw.vue | 22 +++++++++---- src/views/jwpy/query_zfba.vue | 22 +++++++++---- src/views/mobileSupervise/Query_xcdc.vue | 22 +++++++++---- src/views/work/Query.vue | 42 ++++++++++++++---------- 10 files changed, 149 insertions(+), 77 deletions(-) diff --git a/src/components/negative/add.vue b/src/components/negative/add.vue index 3400947..626cd44 100644 --- a/src/components/negative/add.vue +++ b/src/components/negative/add.vue @@ -68,22 +68,17 @@ { + if (Array.isArray(form.value.specialSupervision)) { + return form.value.specialSupervision.filter(v => v).join(','); + } + return form.value.specialSupervision; }); watch( @@ -636,6 +639,10 @@ async function handleAddNegative() { form.value.thingFiles = form.value.thingFiles.filter( (item) => item.filePath ); + // 专项督察多选转逗号分隔字符串 + if (Array.isArray(form.value.specialSupervision)) { + form.value.specialSupervision = form.value.specialSupervision.filter(v => v).join(','); + } loading.value = true; try { await addNegative(form.value); @@ -649,6 +656,7 @@ async function handleAddNegative() { hostLevel: HostLevel.THREE, timeLimit: TimeLimit.WORK_137, approvalFlow: ApprovalFlow.SECOND, + specialSupervision: [], }; reportData.value=null; feedback.msgSuccess("下发成功"); diff --git a/src/components/negative/description.vue b/src/components/negative/description.vue index dcbdd2d..3052973 100644 --- a/src/components/negative/description.vue +++ b/src/components/negative/description.vue @@ -40,7 +40,7 @@
- {{ getDictLable(dict.specialSupervision, negative.specialSupervision) }} + {{ getInvolveProblem(negative.specialSupervision, dict.specialSupervision) }}
@@ -82,7 +82,7 @@