fix nodeDnaId
This commit is contained in:
parent
b393d899db
commit
e467555e88
5 changed files with 24 additions and 18 deletions
|
|
@ -139,7 +139,7 @@ function updateSelectedTreeMain(data: any) {
|
|||
nodeData.nodeId = null;
|
||||
} else {
|
||||
nodeData.node = data.orgLevel;
|
||||
nodeData.nodeId = data.orgTreeId;
|
||||
nodeData.nodeId = data.orgTreeDnaId;
|
||||
}
|
||||
getSearch();
|
||||
}
|
||||
|
|
@ -246,7 +246,7 @@ onMounted(() => {
|
|||
<q-item
|
||||
clickable
|
||||
@click.stop="updateSelectedTreeMain(prop.node)"
|
||||
:active="nodeData.nodeId === prop.node.orgTreeId"
|
||||
:active="nodeData.nodeId === prop.node.orgTreeDnaId"
|
||||
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"
|
||||
>
|
||||
|
|
@ -352,6 +352,7 @@ onMounted(() => {
|
|||
<q-space />
|
||||
|
||||
<q-checkbox
|
||||
:disable="nodeData.nodeId === null"
|
||||
keep-color
|
||||
v-model="isAll"
|
||||
label="แสดงทั้งหมด"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue