forked from verdnatura/salix-front
refactor: refs #8194 modified select worker template
This commit is contained in:
parent
cf522684d6
commit
96920dd540
|
@ -68,20 +68,17 @@ const url = computed(() => {
|
|||
<QTooltip>{{ $t($props.hasInfo) }}</QTooltip>
|
||||
</QIcon>
|
||||
</template>
|
||||
<slot name="more-options" />
|
||||
<template #option="scope">
|
||||
<QItem v-bind="scope.itemProps">
|
||||
<QItemSection>
|
||||
<QItemLabel>
|
||||
{{ scope.opt.name }}
|
||||
{{ console.log('scope.opt: ', scope.opt) }}
|
||||
</QItemLabel>
|
||||
<QItemLabel v-if="!scope.opt.id">
|
||||
{{ scope.opt.nickname }}
|
||||
</QItemLabel>
|
||||
<QItemLabel caption v-if="scope.opt.id">
|
||||
{{ scope.opt.nickname }},
|
||||
{{ scope.opt.code }}
|
||||
<QItemLabel caption v-else>
|
||||
{{ scope.opt.nickname }}, {{ scope.opt.code }}
|
||||
</QItemLabel>
|
||||
</QItemSection>
|
||||
</QItem>
|
||||
|
|
Loading…
Reference in New Issue