fix log
This commit is contained in:
parent
36e21c2e4e
commit
7f3eb5225f
1 changed files with 4 additions and 1 deletions
|
|
@ -222,16 +222,18 @@ const qureyBody = reactive<QueryProfile>({
|
||||||
async function selectedOrg(id: string) {
|
async function selectedOrg(id: string) {
|
||||||
qureyBody.rootId = id;
|
qureyBody.rootId = id;
|
||||||
qureyBody.page = 1;
|
qureyBody.page = 1;
|
||||||
|
logData.value = [];
|
||||||
await storeData.fetchLog(
|
await storeData.fetchLog(
|
||||||
{
|
{
|
||||||
rootId: qureyBody.rootId ?? undefined,
|
rootId: qureyBody.rootId ?? undefined,
|
||||||
size: size.value ?? undefined,
|
size: size.value ?? undefined,
|
||||||
search: inputSearch.value ?? undefined,
|
search: inputSearch.value ?? undefined,
|
||||||
systemName: systemName.value ?? undefined,
|
systemName: systemName.value ?? undefined,
|
||||||
searchAfter: searchAfter.value ?? undefined,
|
// searchAfter: searchAfter.value ?? undefined,
|
||||||
sort: sortTime.value,
|
sort: sortTime.value,
|
||||||
startDate: new Date(startDate.value) ?? undefined,
|
startDate: new Date(startDate.value) ?? undefined,
|
||||||
endDate: new Date(endDate.value) ?? undefined,
|
endDate: new Date(endDate.value) ?? undefined,
|
||||||
|
searchStatus: searchStatus.value ?? undefined,
|
||||||
},
|
},
|
||||||
true
|
true
|
||||||
);
|
);
|
||||||
|
|
@ -308,6 +310,7 @@ function handleScroll() {
|
||||||
sort: sortTime.value,
|
sort: sortTime.value,
|
||||||
startDate: new Date(startDate.value) ?? undefined,
|
startDate: new Date(startDate.value) ?? undefined,
|
||||||
endDate: new Date(endDate.value) ?? undefined,
|
endDate: new Date(endDate.value) ?? undefined,
|
||||||
|
searchStatus: searchStatus.value ?? undefined,
|
||||||
},
|
},
|
||||||
true
|
true
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue