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" }