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