แสดง shotname
This commit is contained in:
parent
cbed2ae12b
commit
51b26ba51c
1 changed files with 23 additions and 4 deletions
|
|
@ -280,7 +280,24 @@ onMounted(async () => {});
|
||||||
@update:selected="updateSelected"
|
@update:selected="updateSelected"
|
||||||
>
|
>
|
||||||
<template v-slot:default-header="prop">
|
<template v-slot:default-header="prop">
|
||||||
{{ prop.node.orgTreeName }}
|
<!-- {{ prop.node.orgTreeName }} -->
|
||||||
|
|
||||||
|
<div class="row items-center q-px-xs q-pt-xs q-gutter-sm">
|
||||||
|
<!--แสดงชื่อแผนก พิมพ์ตัวหนา คลิกแล้วกาง/หุบ Tree-->
|
||||||
|
<div>
|
||||||
|
<div class="text-weight-medium">
|
||||||
|
{{ prop.node.orgTreeName }}
|
||||||
|
</div>
|
||||||
|
<div class="text-weight-light">
|
||||||
|
{{ prop.node.orgCode == null ? null : prop.node.orgCode }}
|
||||||
|
{{
|
||||||
|
prop.node.orgTreeShortName == null
|
||||||
|
? null
|
||||||
|
: prop.node.orgTreeShortName
|
||||||
|
}}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<q-btn
|
<q-btn
|
||||||
v-if="store.typeOrganizational === 'draft'"
|
v-if="store.typeOrganizational === 'draft'"
|
||||||
|
|
@ -389,11 +406,13 @@ onMounted(async () => {});
|
||||||
</q-btn>
|
</q-btn>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<template v-slot:default-body="prop">
|
<!-- <template v-slot:default-body="prop">
|
||||||
<div v-if="prop.node.orgCode">
|
<div v-if="prop.node.orgCode">
|
||||||
<span class="text-grey-13">{{ prop.node.orgCode }}</span>
|
<span class="text-grey-13"
|
||||||
|
>{{ prop.node.orgCode }} {{ prop.node.orgTreeShortName }}</span
|
||||||
|
>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template> -->
|
||||||
</q-tree>
|
</q-tree>
|
||||||
|
|
||||||
<!-- <div class="q-pa-md q-gutter-sm">
|
<!-- <div class="q-pa-md q-gutter-sm">
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue