fix: account create
gitea/salix-front/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Carlos Satorres 2024-12-05 09:03:13 +01:00
parent 95551d9f99
commit c3c10b2238
1 changed files with 9 additions and 9 deletions

View File

@ -37,7 +37,7 @@ const columns = computed(() => [
{ {
align: 'left', align: 'left',
name: 'roleFk', name: 'roleFk',
label: t('role'), label: t('Role'),
component: 'select', component: 'select',
attrs: { attrs: {
url: 'VnRoles', url: 'VnRoles',
@ -74,7 +74,7 @@ const columns = computed(() => [
{ {
align: 'left', align: 'left',
name: 'email', name: 'email',
label: t('email'), label: t('Email'),
component: 'input', component: 'input',
columnField: { columnField: {
component: null, component: null,
@ -85,7 +85,7 @@ const columns = computed(() => [
{ {
align: 'left', align: 'left',
name: 'password', name: 'password',
label: t('password'), label: t('Password'),
columnField: { columnField: {
component: null, component: null,
}, },
@ -97,7 +97,7 @@ const columns = computed(() => [
{ {
align: 'left', align: 'left',
name: 'active', name: 'active',
label: t('active'), label: t('Active'),
component: 'checkbox', component: 'checkbox',
create: true, create: true,
visible: false, visible: false,
@ -170,11 +170,11 @@ const exprBuilder = (param, value) => {
<template #more-create-dialog="{ data }"> <template #more-create-dialog="{ data }">
<QCardSection> <QCardSection>
<VnInput <VnInput
:label="t('Old password')" :label="t('Password')"
v-model="data.password" v-model="data.password"
type="password" type="password"
:required="true" :required="true"
autofocus autocomplete="new-password"
/> />
</QCardSection> </QCardSection>
</template> </template>
@ -186,7 +186,7 @@ const exprBuilder = (param, value) => {
Id: Id Id: Id
Nickname: Nickname Nickname: Nickname
Name: Nombre Name: Nombre
password: Contraseña Password: Contraseña
active: Activo Active: Activo
role: Rol Role: Rol
</i18n> </i18n>