เพิ่มสี

This commit is contained in:
setthawutttty 2024-10-28 17:04:55 +07:00
parent d894850460
commit 7fcd4968c5
3 changed files with 48 additions and 6 deletions

View file

@ -470,8 +470,26 @@ onMounted(() => {
class="row col-12 items-center text-dark q-py-xs q-pl-sm rounded-borders my-list"
>
<div>
<div class="text-weight-medium">
{{ prop.node.orgTreeName }}
<div
:class="
prop.node.isOfficer
? 'text-weight-medium text-blue'
: 'text-weight-medium'
"
>
<div
v-if="
prop.node.isDeputy == true &&
prop.node.orgLevel == 0
"
class="text-info"
>
{{ prop.node.orgTreeName }}
</div>
<div v-else>
{{ prop.node.orgTreeName }}
</div>
{{ prop.node.isOfficer ? "(สกจ.)" : "" }}
</div>
<div class="text-weight-light text-grey-8">
{{

View file

@ -260,7 +260,13 @@ onMounted(async () => {
@click.stop="selectedOrg(prop.node.id)"
>
<div>
<div class="text-weight-medium">
<div
v-if="prop.node.isDeputy == true"
class="text-info text-weight-medium"
>
{{ prop.node.orgRootName }}
</div>
<div v-else class="text-weight-medium">
{{ prop.node.orgRootName }}
</div>
<div class="text-weight-light text-grey-8">
@ -436,7 +442,7 @@ onMounted(async () => {
<style scoped>
.tree-container {
overflow: auto;
height: 74vh;
height: 70vh;
border: 1px solid #e6e6e7;
border-radius: 10px;
}

View file

@ -407,8 +407,26 @@ onMounted(() => {
class="row col-12 items-center text-dark q-py-xs q-pl-sm rounded-borders my-list"
>
<div>
<div class="text-weight-medium">
{{ prop.node.orgTreeName }}
<div
:class="
prop.node.isOfficer
? 'text-weight-medium text-blue'
: 'text-weight-medium'
"
>
<div
v-if="
prop.node.isDeputy == true &&
prop.node.orgLevel == 0
"
class="text-info"
>
{{ prop.node.orgTreeName }}
</div>
<div v-else>
{{ prop.node.orgTreeName }}
</div>
{{ prop.node.isOfficer ? "(สกจ.)" : "" }}
</div>
<div class="text-weight-light text-grey-8">
{{