fix(02): form create status
This commit is contained in:
parent
c29d33f963
commit
e2c452dd95
1 changed files with 8 additions and 2 deletions
|
|
@ -1719,6 +1719,12 @@ watch(
|
|||
:caption="`${formData.firstNameEN} ${formData.lastNameEN}`"
|
||||
@view="imageDialog = true"
|
||||
@edit="refImageUpload && refImageUpload.browse()"
|
||||
@update:toggle-status="
|
||||
() => {
|
||||
formData.status =
|
||||
formData.status === 'CREATED' ? 'INACTIVE' : 'CREATED';
|
||||
}
|
||||
"
|
||||
/>
|
||||
</div>
|
||||
<!-- <template #prepend>
|
||||
|
|
@ -1925,8 +1931,8 @@ watch(
|
|||
}
|
||||
|
||||
.status-inactive {
|
||||
--_branch-status-color: var(--red-4-hsl);
|
||||
--_branch-badge-bg: var(--red-4-hsl);
|
||||
--_branch-status-color: var(--stone-5-hsl);
|
||||
--_branch-badge-bg: var(--stone-5-hsl);
|
||||
filter: grayscale(0.5);
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue