fix report orgTreeDnaId => nodeId

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2025-02-06 11:33:55 +07:00
parent 9d907a71c6
commit 09d812a1f6

View file

@ -100,10 +100,9 @@ function fetchDataReport() {
return false;
}
isLoadPDF.value = true;
pdfSrc.value = null;
pdfSrc.value = undefined;
const queryParams = {
nodeId:
reportType.value.type === "probation" ? orgTreeDnaId.value : nodeId.value,
nodeId: nodeId.value,
node: nodeLevel.value,
startDate: dateToISO(dateStart.value),
endDate: dateToISO(dateEnd.value),