From 141eacaf71a7067ad45a93669f4bf4beaed5244c Mon Sep 17 00:00:00 2001 From: pengwei Date: Fri, 31 Oct 2025 17:53:19 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E5=89=8D=E7=AB=AF=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/police-picker.vue | 2 +- src/views/mobileSupervise/Inspection.vue | 1 + src/views/mobileSupervise/TaskProblem.vue | 70 ++++++++++++----------- 3 files changed, 39 insertions(+), 34 deletions(-) diff --git a/src/components/police-picker.vue b/src/components/police-picker.vue index 08052c1..2481775 100644 --- a/src/components/police-picker.vue +++ b/src/components/police-picker.vue @@ -224,7 +224,7 @@ watch(()=>props.modelValue,(val)=>{ watch(()=>props.dataDepartId,(val)=>{ console.log('val',val) if(val){ - query.value.departId = node.id; + query.value.departId = val.id; getList(); } },{immediate:true,deep:true}) diff --git a/src/views/mobileSupervise/Inspection.vue b/src/views/mobileSupervise/Inspection.vue index b39a693..13bd027 100644 --- a/src/views/mobileSupervise/Inspection.vue +++ b/src/views/mobileSupervise/Inspection.vue @@ -2657,6 +2657,7 @@ watch(departs, () => { watch(() => form.value.specialType, (newVal) => { + console.log('newVal',newVal) if (newVal === '六项规定督察') { form.value.samplingTarget = '自定义人员' } diff --git a/src/views/mobileSupervise/TaskProblem.vue b/src/views/mobileSupervise/TaskProblem.vue index d272ced..5c94ca0 100644 --- a/src/views/mobileSupervise/TaskProblem.vue +++ b/src/views/mobileSupervise/TaskProblem.vue @@ -93,36 +93,39 @@ @@ -186,9 +189,10 @@ getDictLable(dict.distributionState, activeRow.distributionState) }} - -
- +
+ + +
@@ -769,7 +773,7 @@ async function handleGenReport() { { method: 'POST', body: JSON.stringify(formData.value), - headers: { + headers: { "Authorization": getToken(), "Content-Type": "application/json" }