ปรับ โครงสร้างอัตรากำลัง

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2025-01-10 11:34:15 +07:00
parent dd57d5d76a
commit a48f2afad7
10 changed files with 51 additions and 2 deletions

View file

@ -29,6 +29,7 @@ interface DataPositionCondition {
profilePoslevel: string;
profilePostype: string;
positions: Positions[];
isDirector?: boolean;
}
interface Positions {

View file

@ -365,7 +365,7 @@ onMounted(async () => {
<!-- Table -->
<q-card-section
class="col-lg-9 col-md-8 col-xs-12 q-gutter-sm scroll"
style="height: 80vh;"
style="height: 80vh"
v-if="orgTreeId"
>
<div class="row col-12 q-gutter-sm">
@ -458,6 +458,17 @@ onMounted(async () => {
/>
<span v-else>-</span>
</div>
<div v-else-if="col.name === 'posMasterNo'">
{{ col.value }}
<q-icon
name="mdi-star"
color="primary"
v-if="props.row.isDirector"
>
<q-tooltip>อำนวยการ/วหน</q-tooltip>
</q-icon>
</div>
<div v-else>
{{ col.value ? col.value : "-" }}
</div>