fix: work component & work dialog
This commit is contained in:
parent
6222db1973
commit
bdcda30890
3 changed files with 12 additions and 11 deletions
|
|
@ -50,7 +50,7 @@ function confirmDelete(items: unknown[], index: number) {
|
|||
|
||||
<template>
|
||||
<div class="column col-12 full-height">
|
||||
<div class="app-text-muted row items-start">
|
||||
<div class="app-text-muted row items-start q-mb-md">
|
||||
• {{ $t(`workInformation`) }}
|
||||
<q-btn
|
||||
v-if="!readonly"
|
||||
|
|
@ -65,8 +65,9 @@ function confirmDelete(items: unknown[], index: number) {
|
|||
/>
|
||||
</div>
|
||||
|
||||
<div v-if="workItems.length > 0" class="col q-gutter-y-md">
|
||||
<div v-if="workItems.length > 0" class="col q-gutter-y-md row">
|
||||
<WorkManagementComponent
|
||||
class="col-12"
|
||||
v-for="(work, index) in workItems"
|
||||
:key="work.id"
|
||||
:index="index"
|
||||
|
|
@ -86,6 +87,7 @@ function confirmDelete(items: unknown[], index: number) {
|
|||
@manage-work-name="$emit('manageWorkName')"
|
||||
@work-properties="$emit('workProperties', index)"
|
||||
></WorkManagementComponent>
|
||||
<div class="col-12" style="height: 12px"></div>
|
||||
</div>
|
||||
|
||||
<div
|
||||
|
|
|
|||
|
|
@ -81,8 +81,7 @@ defineEmits<{
|
|||
<div
|
||||
for="select-work-name"
|
||||
class="col rounded q-py-sm q-px-md"
|
||||
:class="{ bordered: !readonly }"
|
||||
:style="`background-color:${readonly ? 'var(--surface-2)' : 'var(--surface-1); z-index: 2'}`"
|
||||
style="background-color: var(--surface-1); z-index: 2"
|
||||
@click="() => (readonly ? '' : fetchListOfWork())"
|
||||
>
|
||||
<span class="text-body2" style="color: var(--foreground)">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue