This commit is contained in:
duanxiaohai 2024-08-16 16:44:06 +08:00
commit f114cdac7c
1 changed files with 22 additions and 9 deletions

View File

@ -1757,6 +1757,8 @@ const open_detail = () => {
person_detail(age); person_detail(age);
} else if (choose.value.person == "6666") { } else if (choose.value.person == "6666") {
age = ""; age = "";
dialogShow.value = true;
person_detail2();
} else if ( } else if (
choose.value.person == "残疾人" || choose.value.person == "残疾人" ||
choose.value.person == "低边" || choose.value.person == "低边" ||
@ -1796,20 +1798,12 @@ const handlePagination = (current) => {
pagination.currentPage = current; pagination.currentPage = current;
let age = ""; let age = "";
let tagId; let tagId;
// if (choose.value.person == "9999") {
// age = "";
// } else if (choose.value.person == "6666") {
// age = "";
// } else if (choose.value.person == 1) {
// age = "0";
// } else {
// age = choose.value.person - 1;
// }
if (choose.value.person == "9999") { if (choose.value.person == "9999") {
age = ""; age = "";
person_detail(age); person_detail(age);
} else if (choose.value.person == "6666") { } else if (choose.value.person == "6666") {
age = ""; age = "";
person_detail2();
} else if ( } else if (
choose.value.person == "残疾人" || choose.value.person == "残疾人" ||
choose.value.person == "低边" || choose.value.person == "低边" ||
@ -1867,6 +1861,25 @@ const person_detail = (age, tagId) => {
} }
}); });
}; };
//
const person_detail2 = () => {
http
.get(
`/api/ggfwyth/ysyzt/getRyJbxxList?page=${pagination.currentPage}&size=${
pagination.pageSize
}&committee=${cfCsZs.value || ""}&town=${cfJd.value || ""}&sfsw=1`
)
.then((res) => {
if (res.code == 200) {
tableType.data = res.data;
res.data.forEach((item, index) => {
item.index =
index + 1 + (pagination.currentPage - 1) * pagination.pageSize;
});
pagination.total = res.count;
}
});
};
//------------------- //-------------------
// //
const getFwq = () => { const getFwq = () => {