flag โครงสร้าง

This commit is contained in:
setthawutttty 2025-01-30 17:54:38 +07:00
parent 8f3e6c85ad
commit 9f9de075a3

View file

@ -439,16 +439,25 @@ watch(
<div>
<div
:class="
prop.node.isOfficer
prop.node.isOfficer || prop.node.isInformation
? 'text-weight-medium text-blue'
: 'text-weight-medium'
"
>
<div
v-if="prop.node.isDeputy == true && prop.node.orgLevel == 0"
v-if="
(prop.node.isDeputy == true && prop.node.orgLevel == 0) ||
(prop.node.isCommission == true &&
prop.node.orgLevel == 0)
"
class="text-info"
>
{{ prop.node.orgTreeName }}
{{ prop.node.orgTreeName
}}{{
prop.node.isCommission == true && prop.node.orgLevel == 0
? ` (กก.)`
: ""
}}
</div>
<div v-else>
{{ prop.node.orgTreeName }}