This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-11-22 11:22:58 +07:00
parent 36e21c2e4e
commit 7f3eb5225f

View file

@ -222,16 +222,18 @@ const qureyBody = reactive<QueryProfile>({
async function selectedOrg(id: string) {
qureyBody.rootId = id;
qureyBody.page = 1;
logData.value = [];
await storeData.fetchLog(
{
rootId: qureyBody.rootId ?? undefined,
size: size.value ?? undefined,
search: inputSearch.value ?? undefined,
systemName: systemName.value ?? undefined,
searchAfter: searchAfter.value ?? undefined,
// searchAfter: searchAfter.value ?? undefined,
sort: sortTime.value,
startDate: new Date(startDate.value) ?? undefined,
endDate: new Date(endDate.value) ?? undefined,
searchStatus: searchStatus.value ?? undefined,
},
true
);
@ -308,6 +310,7 @@ function handleScroll() {
sort: sortTime.value,
startDate: new Date(startDate.value) ?? undefined,
endDate: new Date(endDate.value) ?? undefined,
searchStatus: searchStatus.value ?? undefined,
},
true
);