refs #7355 account cards roles cards
This commit is contained in:
parent
40c3ba15e6
commit
b21ba3dc2c
|
@ -91,9 +91,9 @@ const exprBuilder = (param, value) => {
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<VnSearchbar
|
<VnSearchbar
|
||||||
:label="t('account.search')"
|
|
||||||
data-key="AccountUsers"
|
data-key="AccountUsers"
|
||||||
:expr-builder="exprBuilder"
|
:expr-builder="exprBuilder"
|
||||||
|
:label="t('account.search')"
|
||||||
:info="t('account.searchInfo')"
|
:info="t('account.searchInfo')"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
|
|
|
@ -1,24 +1,9 @@
|
||||||
<script setup>
|
<script setup>
|
||||||
import { computed } from 'vue';
|
|
||||||
import { useI18n } from 'vue-i18n';
|
import { useI18n } from 'vue-i18n';
|
||||||
import { useRoute } from 'vue-router';
|
|
||||||
|
|
||||||
import VnCard from 'components/common/VnCard.vue';
|
import VnCard from 'components/common/VnCard.vue';
|
||||||
import AccountDescriptor from './AccountDescriptor.vue';
|
import AccountDescriptor from './AccountDescriptor.vue';
|
||||||
|
|
||||||
const { t } = useI18n();
|
const { t } = useI18n();
|
||||||
const route = useRoute();
|
|
||||||
|
|
||||||
const routeName = computed(() => route.name);
|
|
||||||
const customRouteRedirectName = computed(() => routeName.value);
|
|
||||||
const searchBarDataKeys = {
|
|
||||||
AccountSummary: 'AccountSummary',
|
|
||||||
AccountInheritedRoles: 'AccountInheritedRoles',
|
|
||||||
AccountMailForwarding: 'AccountMailForwarding',
|
|
||||||
AccountMailAlias: 'AccountMailAlias',
|
|
||||||
AccountPrivileges: 'AccountPrivileges',
|
|
||||||
AccountLog: 'AccountLog',
|
|
||||||
};
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
|
|
|
@ -1,22 +1,9 @@
|
||||||
<script setup>
|
<script setup>
|
||||||
import { computed } from 'vue';
|
|
||||||
import { useI18n } from 'vue-i18n';
|
import { useI18n } from 'vue-i18n';
|
||||||
import { useRoute } from 'vue-router';
|
|
||||||
import VnCard from 'components/common/VnCard.vue';
|
import VnCard from 'components/common/VnCard.vue';
|
||||||
import RoleDescriptor from './RoleDescriptor.vue';
|
import RoleDescriptor from './RoleDescriptor.vue';
|
||||||
|
|
||||||
const { t } = useI18n();
|
const { t } = useI18n();
|
||||||
const route = useRoute();
|
|
||||||
|
|
||||||
const routeName = computed(() => route.name);
|
|
||||||
const customRouteRedirectName = computed(() => routeName.value);
|
|
||||||
const searchBarDataKeys = {
|
|
||||||
RoleSummary: 'RoleSummary',
|
|
||||||
RoleBasicData: 'RoleBasicData',
|
|
||||||
SubRoles: 'SubRoles',
|
|
||||||
InheritedRoles: 'InheritedRoles',
|
|
||||||
RoleLog: 'RoleLog',
|
|
||||||
};
|
|
||||||
</script>
|
</script>
|
||||||
<template>
|
<template>
|
||||||
<VnCard
|
<VnCard
|
||||||
|
|
Loading…
Reference in New Issue