report placement

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2025-02-06 11:54:53 +07:00
parent 86c6bcc4cf
commit 4120aee9f2

View file

@ -102,7 +102,10 @@ function fetchDataReport() {
isLoadPDF.value = true;
pdfSrc.value = undefined;
const queryParams = {
nodeId: nodeId.value,
nodeId:
reportType.value.type === "probation" && reportType.value.id === "2"
? orgTreeDnaId.value
: nodeId.value,
node: nodeLevel.value,
startDate: dateToISO(dateStart.value),
endDate: dateToISO(dateEnd.value),