更新
This commit is contained in:
@ -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>
|
||||||
|
Reference in New Issue
Block a user