เพิ่มสี

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,9 +470,27 @@ onMounted(() => {
class="row col-12 items-center text-dark q-py-xs q-pl-sm rounded-borders my-list" class="row col-12 items-center text-dark q-py-xs q-pl-sm rounded-borders my-list"
> >
<div> <div>
<div class="text-weight-medium"> <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 }} {{ prop.node.orgTreeName }}
</div> </div>
<div v-else>
{{ prop.node.orgTreeName }}
</div>
{{ prop.node.isOfficer ? "(สกจ.)" : "" }}
</div>
<div class="text-weight-light text-grey-8"> <div class="text-weight-light text-grey-8">
{{ {{
prop.node.orgCode == null prop.node.orgCode == null

View file

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

View file

@ -407,9 +407,27 @@ onMounted(() => {
class="row col-12 items-center text-dark q-py-xs q-pl-sm rounded-borders my-list" class="row col-12 items-center text-dark q-py-xs q-pl-sm rounded-borders my-list"
> >
<div> <div>
<div class="text-weight-medium"> <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 }} {{ prop.node.orgTreeName }}
</div> </div>
<div v-else>
{{ prop.node.orgTreeName }}
</div>
{{ prop.node.isOfficer ? "(สกจ.)" : "" }}
</div>
<div class="text-weight-light text-grey-8"> <div class="text-weight-light text-grey-8">
{{ {{
prop.node.orgCode == null prop.node.orgCode == null