Account Submodule #412
|
@ -22,7 +22,7 @@ const newAccountForm = reactive({
|
||||||
});
|
});
|
||||||
const rolesOptions = ref([]);
|
const rolesOptions = ref([]);
|
||||||
|
|
||||||
const redirectToEntryBasicData = (_, { id }) => {
|
const redirectToAccountBasicData = (_, { id }) => {
|
||||||
router.push({ name: 'AccountBasicData', params: { id } });
|
router.push({ name: 'AccountBasicData', params: { id } });
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
@ -51,7 +51,7 @@ const redirectToEntryBasicData = (_, { id }) => {
|
||||||
url-create="VnUsers"
|
url-create="VnUsers"
|
||||||
model="users"
|
model="users"
|
||||||
:form-initial-data="newAccountForm"
|
:form-initial-data="newAccountForm"
|
||||||
@on-data-saved="redirectToEntryBasicData"
|
@on-data-saved="redirectToAccountBasicData"
|
||||||
>
|
>
|
||||||
<template #form="{ data, validate }">
|
<template #form="{ data, validate }">
|
||||||
<VnRow class="row q-gutter-md q-mb-md">
|
<VnRow class="row q-gutter-md q-mb-md">
|
||||||
|
|
Loading…
Reference in New Issue