bug remove choice competency in view
This commit is contained in:
parent
9947bc47b3
commit
4a559979a5
1 changed files with 12 additions and 10 deletions
|
|
@ -264,22 +264,24 @@ onMounted(() => {
|
|||
</div>
|
||||
<div class="col-1 text-center">
|
||||
<q-btn
|
||||
v-if="
|
||||
((!checkRoute &&
|
||||
store.competencyTypeVal === 'HEAD' &&
|
||||
index > 4) ||
|
||||
(store.competencyTypeVal === 'GROUP' &&
|
||||
index > 4) ||
|
||||
((store.competencyTypeVal === 'EXECUTIVE' ||
|
||||
store.competencyTypeVal === 'DIRECTOR' ||
|
||||
store.competencyTypeVal === 'INSPECTOR') &&
|
||||
index > 0)) &&
|
||||
!checkRoute
|
||||
"
|
||||
dense
|
||||
flat
|
||||
round
|
||||
color="red"
|
||||
icon="delete"
|
||||
@click="onDeleteLevels(index)"
|
||||
v-if="
|
||||
(!checkRoute &&
|
||||
store.competencyTypeVal === 'HEAD' &&
|
||||
index > 4) ||
|
||||
(store.competencyTypeVal === 'GROUP' && index > 4) ||
|
||||
((store.competencyTypeVal === 'EXECUTIVE' ||
|
||||
store.competencyTypeVal === 'DIRECTOR' ||
|
||||
store.competencyTypeVal === 'INSPECTOR') &&
|
||||
index > 0)
|
||||
"
|
||||
>
|
||||
<q-tooltip>ลบ</q-tooltip></q-btn
|
||||
>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue