[SIT วินัย] ค้นหารายงาน nodeId => dnaId

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2025-04-18 10:38:25 +07:00
parent 151e1d1968
commit 47edf0961c

View file

@ -119,7 +119,7 @@ async function fetchDataTree() {
}
function onSelectedNode(data: any) {
nodeId.value = data.orgTreeId;
nodeId.value = data.orgTreeDnaId;
nodeLevel.value = data.orgLevel;
org.value = data.orgName;
expandedModal.value = false;
@ -463,7 +463,7 @@ onMounted(async () => {
<template v-slot:default-header="prop">
<q-item
@click.stop="onSelectedNode(prop.node)"
:active="nodeId === prop.node.orgTreeId"
:active="nodeId === prop.node.orgTreeDnaId"
clickable
active-class="my-list-link text-primary text-weight-medium"
class="row col-12 items-center text-dark q-py-xs q-pl-sm rounded-borders my-list"