feat: can + employee checkup and work history (include i18n)
This commit is contained in:
parent
7bbdc810a8
commit
16fcec3a54
6 changed files with 689 additions and 478 deletions
|
|
@ -14,6 +14,7 @@ defineProps<{
|
|||
badgeClass?: string;
|
||||
noFooter?: boolean;
|
||||
noAppBox?: boolean;
|
||||
noPaddingTab?: boolean;
|
||||
maxWidth?: number;
|
||||
employee?: boolean;
|
||||
noAddress?: boolean;
|
||||
|
|
@ -92,7 +93,6 @@ const tabsList = defineModel<{ name: string; label: string }[]>('tabsList');
|
|||
dense
|
||||
class="app-text-muted cancel-overflow"
|
||||
v-model="employeeTab"
|
||||
content-class="content-tab"
|
||||
active-class="active-tab"
|
||||
indicator-color="transparent"
|
||||
>
|
||||
|
|
@ -134,13 +134,21 @@ const tabsList = defineModel<{ name: string; label: string }[]>('tabsList');
|
|||
<AppBox
|
||||
v-if="!noAppBox"
|
||||
bordered
|
||||
:noPadding="noPaddingTab"
|
||||
class="column full-height"
|
||||
:class="`${$slots.prepend ? ($q.screen.gt.sm ? 'col-10' : 'col-12') : $slots.append ? 'col-6' : 'col-12'}`"
|
||||
style="padding-right: 0; padding-bottom: 0"
|
||||
>
|
||||
<div
|
||||
class="row col-12 q-col-gutter-y-md q-pr-md q-mb-md items-start"
|
||||
:style="$q.screen.gt.sm ? 'overflow-y: auto; height: 60vh' : ''"
|
||||
class="row col-12 q-col-gutter-y-md q-mb-md items-start"
|
||||
:class="noPaddingTab ? '' : 'q-pr-md'"
|
||||
:style="
|
||||
$q.screen.gt.sm
|
||||
? noPaddingTab
|
||||
? 'height: 60vh'
|
||||
: 'overflow-y: auto; height: 60vh'
|
||||
: ''
|
||||
"
|
||||
>
|
||||
<slot name="information"></slot>
|
||||
<slot name="person"></slot>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue