ปรับ โครงสร้างอัตรากำลัง
This commit is contained in:
parent
dd57d5d76a
commit
a48f2afad7
10 changed files with 51 additions and 2 deletions
|
|
@ -29,6 +29,7 @@ interface DataPositionCondition {
|
|||
profilePoslevel: string;
|
||||
profilePostype: string;
|
||||
positions: Positions[];
|
||||
isDirector?: boolean;
|
||||
}
|
||||
|
||||
interface Positions {
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue