diff --git a/src/views/backOfficeSystem/ResearchJudgment/IntelligenceManagement/components/hbDetail.vue b/src/views/backOfficeSystem/ResearchJudgment/IntelligenceManagement/components/hbDetail.vue index dbc0e81..55c20d8 100644 --- a/src/views/backOfficeSystem/ResearchJudgment/IntelligenceManagement/components/hbDetail.vue +++ b/src/views/backOfficeSystem/ResearchJudgment/IntelligenceManagement/components/hbDetail.vue @@ -79,7 +79,7 @@ const emits = defineEmits(["update:modelValue"]); const getList = () =>{ pageForm.tableConfiger.loading = true; - qcckGet({},'/mosty-gsxt/qbcj/getXshbXq').then(res=>{ + qcckGet({hcxsid:props.id},'/mosty-gsxt/qbcj/getXshbXq').then(res=>{ pageForm.tableData = res || []; pageForm.tableConfiger.loading = false; }).catch(()=>{ @@ -87,14 +87,16 @@ const getList = () =>{ }) } +const handleClose = () =>{ + pageForm.tableData = [] + emits('update:modelValue',false); +} + + watch(()=>props.modelValue,val=>{ if(val) getList() },{immediate:true,deep:true}) - -const handleClose = () =>{ - emits('update:modelValue',false); -}