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 = () =>{
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);
}
</script>
<style lang="scss" scoped>