This commit is contained in:
2025-07-14 19:09:21 +08:00
parent b30a8b4a33
commit c7c239e1ee

View File

@ -79,7 +79,7 @@ const emits = defineEmits(["update:modelValue"]);
const getList = () =>{ const getList = () =>{
pageForm.tableConfiger.loading = true; 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.tableData = res || [];
pageForm.tableConfiger.loading = false; pageForm.tableConfiger.loading = false;
}).catch(()=>{ }).catch(()=>{
@ -87,14 +87,16 @@ const getList = () =>{
}) })
} }
const handleClose = () =>{
pageForm.tableData = []
emits('update:modelValue',false);
}
watch(()=>props.modelValue,val=>{ watch(()=>props.modelValue,val=>{
if(val) getList() if(val) getList()
},{immediate:true,deep:true}) },{immediate:true,deep:true})
const handleClose = () =>{
emits('update:modelValue',false);
}
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>