forked from verdnatura/salix-front
refs #7355 account acls roles cars
This commit is contained in:
parent
3eaa5c864d
commit
40c3ba15e6
|
@ -123,13 +123,6 @@ const deleteAcl = async ({ id }) => {
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<FetchData
|
|
||||||
url="VnRoles"
|
|
||||||
:filter="{ fields: ['name'], order: 'name ASC' }"
|
|
||||||
@on-fetch="(data) => (rolesOptions = data)"
|
|
||||||
auto-load
|
|
||||||
/>
|
|
||||||
|
|
||||||
<VnSearchbar
|
<VnSearchbar
|
||||||
data-key="AccountAcls"
|
data-key="AccountAcls"
|
||||||
url="ACLs"
|
url="ACLs"
|
||||||
|
|
|
@ -76,16 +76,12 @@ const exprBuilder = (param, value) => {
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<template v-if="stateStore.isHeaderMounted()">
|
|
||||||
<Teleport to="#searchbar">
|
|
||||||
<VnSearchbar
|
<VnSearchbar
|
||||||
data-key="Roles"
|
data-key="Roles"
|
||||||
:expr-builder="exprBuilder"
|
:expr-builder="exprBuilder"
|
||||||
:label="t('role.searchRoles')"
|
:label="t('role.searchRoles')"
|
||||||
:info="t('role.searchInfo')"
|
:info="t('role.searchInfo')"
|
||||||
/>
|
/>
|
||||||
</Teleport>
|
|
||||||
</template>
|
|
||||||
<VnTable
|
<VnTable
|
||||||
ref="tableRef"
|
ref="tableRef"
|
||||||
data-key="Roles"
|
data-key="Roles"
|
||||||
|
|
|
@ -22,9 +22,8 @@ const searchBarDataKeys = {
|
||||||
<VnCard
|
<VnCard
|
||||||
data-key="Role"
|
data-key="Role"
|
||||||
:descriptor="RoleDescriptor"
|
:descriptor="RoleDescriptor"
|
||||||
:search-data-key="searchBarDataKeys[routeName]"
|
search-data-key="AccountRoles"
|
||||||
:search-custom-route-redirect="customRouteRedirectName"
|
search-url="VnRoles"
|
||||||
:search-redirect="!!customRouteRedirectName"
|
|
||||||
:searchbar-label="t('role.searchRoles')"
|
:searchbar-label="t('role.searchRoles')"
|
||||||
:searchbar-info="t('role.searchInfo')"
|
:searchbar-info="t('role.searchInfo')"
|
||||||
/>
|
/>
|
||||||
|
|
Loading…
Reference in New Issue