This commit is contained in:
姚宇浩 2024-08-08 17:23:13 +08:00
parent e9c3003092
commit 38152047ce
1 changed files with 22 additions and 21 deletions

View File

@ -215,7 +215,7 @@
:tableData="tableType.data" :tableData="tableType.data"
:pagination="paginationDialog" :pagination="paginationDialog"
@close="close" @close="close"
@handle="handlePagination" @handle="handlePaginationDialog"
> >
</Dialog> </Dialog>
</div> </div>
@ -578,8 +578,8 @@ const getTable = (url) => {
size: paginationDialog.pageSize, size: paginationDialog.pageSize,
}) })
.then((res) => { .then((res) => {
if(res.code==200){ if (res.code == 200) {
tableType.data=res.data; tableType.data = res.data;
} }
}); });
}; };
@ -587,15 +587,11 @@ const close = (pagination) => {
dialogShow.value = false; dialogShow.value = false;
}; };
// //
const handlePaginationYLJ=(pagination)=>{ const handlePaginationYLJ = (pagination) => {};
}
// //
const handlePaginationYL=(pagination)=>{ const handlePaginationYL = (pagination) => {};
}
// //
const handlePaginationDlog = (pagination) => { const handlePaginationDialog = (pagination) => {
// dialogShow.value = false; // dialogShow.value = false;
}; };
// //
@ -657,14 +653,20 @@ const getData = (identNo) => {
// } // }
// }); // });
// }; // };
const getYlj=()=>{ const getYlj = () => {
http.get('/api/ggfwyth/ysyzt/getRyylxxList',{identNo:identNo.value}).then(res=>{ http
if(res.code==200){ .get("/api/ggfwyth/ysyzt/getRyylxxList", {
data.value=res.data; identNo: identNo.value,
current: pagination.current,
size: pagination.pageSize,
})
.then((res) => {
if (res.code == 200) {
data.value = res.data;
// tableType.total=res.data.total; // tableType.total=res.data.total;
} }
}) });
} };
const back = () => { const back = () => {
if (jump.value == "detail") { if (jump.value == "detail") {
router.back(); router.back();
@ -677,7 +679,7 @@ watch(
(newValue, oldValue) => { (newValue, oldValue) => {
identNo.value = props.message.identNo; identNo.value = props.message.identNo;
getData(props.message.identNo); getData(props.message.identNo);
getYlj() getYlj();
jump.value = "map"; jump.value = "map";
} }
); );
@ -689,11 +691,10 @@ onMounted(() => {
jump.value = "detail"; jump.value = "detail";
// getData("3"); // getData("3");
// identNo.value="3" // identNo.value="3"
getYlj() getYlj();
} else { } else {
jump.value = "map"; jump.value = "map";
} }
}); });
</script> </script>