Account Submodule #412
|
@ -1,15 +1,10 @@
|
||||||
<script setup>
|
<script setup>
|
||||||
import { ref, computed, onMounted } from 'vue';
|
import { ref, computed } from 'vue';
|
||||||
import { useRoute } from 'vue-router';
|
import { useRoute } from 'vue-router';
|
||||||
import { useI18n } from 'vue-i18n';
|
import { useI18n } from 'vue-i18n';
|
||||||
import { toDate, toPercentage } from 'src/filters';
|
|
||||||
import { useState } from 'src/composables/useState';
|
|
||||||
import CardDescriptor from 'components/ui/CardDescriptor.vue';
|
import CardDescriptor from 'components/ui/CardDescriptor.vue';
|
||||||
import VnLv from 'src/components/ui/VnLv.vue';
|
import VnLv from 'src/components/ui/VnLv.vue';
|
||||||
import useCardDescription from 'src/composables/useCardDescription';
|
import useCardDescription from 'src/composables/useCardDescription';
|
||||||
import VnUserLink from 'src/components/ui/VnUserLink.vue';
|
|
||||||
import { getUrl } from 'src/composables/getUrl';
|
|
||||||
import AccountDescriptorMenu from './AccountDescriptorMenu.vue';
|
|
||||||
import { useSession } from 'src/composables/useSession';
|
import { useSession } from 'src/composables/useSession';
|
||||||
const $props = defineProps({
|
const $props = defineProps({
|
||||||
id: {
|
id: {
|
||||||
|
@ -20,7 +15,6 @@ const $props = defineProps({
|
||||||
});
|
});
|
||||||
|
|
||||||
const route = useRoute();
|
const route = useRoute();
|
||||||
const state = useState();
|
|
||||||
const { t } = useI18n();
|
const { t } = useI18n();
|
||||||
const salixUrl = ref();
|
const salixUrl = ref();
|
||||||
const { getTokenMultimedia } = useSession();
|
const { getTokenMultimedia } = useSession();
|
||||||
|
@ -66,9 +60,6 @@ function getAccountAvatar() {
|
||||||
</QTooltip>
|
</QTooltip>
|
||||||
</QBtn>
|
</QBtn>
|
||||||
</template>
|
</template>
|
||||||
<template #menu="{ entity }">
|
|
||||||
<AccountDescriptorMenu :account="entity" />
|
|
||||||
</template>
|
|
||||||
<template #before>
|
<template #before>
|
||||||
<QImg :src="getAccountAvatar()" class="photo">
|
<QImg :src="getAccountAvatar()" class="photo">
|
||||||
<template #error>
|
<template #error>
|
||||||
|
|
|
@ -29,11 +29,20 @@ account:
|
||||||
setPassword: Set password
|
setPassword: Set password
|
||||||
disableAccount:
|
disableAccount:
|
||||||
name: Disable account
|
name: Disable account
|
||||||
title: La cuenta será deshabilitada
|
title: The account will be disabled
|
||||||
subtitle: ¿Seguro que quieres continuar?
|
subtitle: Are you sure you want to continue?
|
||||||
disableUser: Disable user
|
disableUser:
|
||||||
sync: Sync
|
name: Disable user
|
||||||
delete: Delete
|
title: The user will be disabled
|
||||||
|
subtitle: Are you sure you want to continue?
|
||||||
|
sync:
|
||||||
|
name: Sync
|
||||||
|
title: The account will be sync
|
||||||
|
subtitle: Are you sure you want to continue?
|
||||||
|
delete:
|
||||||
|
name: Delete
|
||||||
|
title: The account will be deleted
|
||||||
|
subtitle: Are you sure you want to continue?
|
||||||
search: Search user
|
search: Search user
|
||||||
searchInfo: You can search by id, name or nickname
|
searchInfo: You can search by id, name or nickname
|
||||||
create:
|
create:
|
||||||
|
|
|
@ -11,23 +11,8 @@ export default {
|
||||||
component: RouterView,
|
component: RouterView,
|
||||||
redirect: { name: 'AccountMain' },
|
redirect: { name: 'AccountMain' },
|
||||||
menus: {
|
menus: {
|
||||||
jsegarra marked this conversation as resolved
|
|||||||
main: [
|
main: ['AccountList'],
|
||||||
'AccountList',
|
card: [],
|
||||||
'AccountRoles',
|
|
||||||
'AccountAlias',
|
|
||||||
'AccountAccounts',
|
|
||||||
'AccountLdap',
|
|
||||||
'AccountSamba',
|
|
||||||
'AccountConnections',
|
|
||||||
],
|
|
||||||
card: [
|
|
||||||
'AccountBasicData',
|
|
||||||
'AccountInheritedRoles',
|
|
||||||
'AccountMailForwarding',
|
|
||||||
'AccountMailAlias',
|
|
||||||
'AccountPrivileges',
|
|
||||||
'AccountLog',
|
|
||||||
],
|
|
||||||
},
|
},
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Si solo sube account quitamos las otras secciones que estan vacias