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